:root {
  --primary-blue: #072b62;
  --light-blue: #3bc5f3;
  --primary-green: #28a745;
  --accent-yellow: #ffc810;
  --background-light: #f0f4f8;
  --background-dark: #0f172a;
  --surface-light: #ffffff;
  --surface-dark: #1e293b;
  --text-light: #1a202c;
  --text-dark: #f8fafc;
  --muted-light: #4a5568;
  --muted-dark: #94a3b8;
  --border-light: #e2e8f0;
  --border-dark: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--background-light);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark {
  background-color: var(--background-dark);
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 6rem 1rem;
  }
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .header {
    margin-bottom: 5rem;
  }
}

.header h1 {
  font-size: 1.675rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .header h1 {
    font-size: 3rem;
  }
}

.header p {
  font-size: 925rem;
  color: var(--muted-light);
  max-width: 40rem;
  margin: 0 auto;
}

body.dark .header p {
  color: var(--muted-dark);
}

@media (min-width: 768px) {
  .header p {
    font-size: 1.05rem;
  }
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background-color: var(--surface-light);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease;
}

body.dark .plan-card {
  background-color: var(--surface-dark);
  border-color: var(--border-dark);
}

.plan-card:hover {
  transform: scale(1.05);
}

.plan-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-card h2.yellow {
  color: var(--primary-blue);
}

.plan-card h2.blue {
  color: var(--primary-blue);
}

.plan-card h2.light-blue {
  color: var(--light-blue);
}

.plan-card h2.green {
  color: var(--primary-green);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
  font-size: 0.675rem;
  font-weight: 500;
}

.badge.no-signature {
  background-color: #fee2e2;
  color: #dc2626;
}

body.dark .badge.no-signature {
  background-color: rgba(127, 29, 29, 0.4);
  color: #f87171;
}

.badge.with-signature {
  background-color: #d1fae5;
  color: #059669;
}

body.dark .badge.with-signature {
  background-color: rgba(20, 83, 45, 0.4);
  color: #34d399;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1rem;
  margin-right: 0.375rem;
}

.price-circle {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.price-circle.yellow {
  background: linear-gradient(135deg, #ffc810, #ffc810);
}

.price-circle.blue {
  background: linear-gradient(135deg, #072b62, #072b62);
}

.price-circle.light-blue {
  background: linear-gradient(135deg, #3bc5f3, #3bc5f3);
}

.price-circle.green {
  background: linear-gradient(135deg, #28c745, #28a745);
}

.price-circle p {
  color: white;
  font-size: 2.25rem;
  font-weight: 800;
}

.price-circle .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.25rem;
}

.price-circle .cents {
  font-size: 1.5rem;
  vertical-align: top;
}

.description {
  color: var(--muted-light);
  margin-bottom: 1.3rem;
  font-size: 1.125rem;
  font-weight: 600;
}

body.dark .description {
  color: var(--muted-dark);
}

.features {
  list-style: none;
  flex-grow: 1;
  font-size: 1rem;
  color: var(--muted-light);
}

body.dark .features {
  color: var(--muted-dark);
}

.features li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

body.dark .features li {
  border-bottom-color: var(--border-dark);
}

.btn {
  margin-top: 2rem;
  width: 100%;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.btn:hover {
  opacity: 0.9;
}

.btn-yellow {
  background-color: var(--accent-yellow);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: white;
}

.btn-light-blue {
  background-color: var(--light-blue);
  color: white;
}

.btn-green {
  background-color: var(--primary-green);
  color: white;
}

/* Offer Styles */
.plan-card-offer {
  position: relative;
  border: 2px solid var(--light-blue);
  box-shadow: 0 0 20px rgba(59, 197, 243, 0.3);
  animation: pulse-offer 2s ease-in-out infinite;
}

body.dark .plan-card-offer {
  border-color: var(--light-blue);
  box-shadow: 0 0 20px rgba(59, 197, 243, 0.4);
}

@keyframes pulse-offer {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 197, 243, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 197, 243, 0.5);
  }
}

.offer-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  animation: bounce-offer 1.5s ease-in-out infinite;
  z-index: 10;
}

.offer-badge .material-symbols-outlined {
  font-size: 1.2rem;
  margin-right: 0.25rem;
}

@keyframes bounce-offer {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.price-circle-offer {
  position: relative;
}

.original-price {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: line-through;
  font-weight: 500 !important;
}

.original-price .currency {
  font-size: 0.75rem !important;
}

.price-circle-offer > p:not(.original-price):not(.savings-text) {
  margin-top: 0.5rem;
}

.savings-text {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

