* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #fff8fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --border: rgba(122, 87, 179, 0.14);
  --border-strong: rgba(160, 83, 255, 0.28);
  --text: #2d1746;
  --muted: #6f6180;
  --soft: #4eb94e;
  --accent-start: #7c3aed;
  --accent-mid: #d946ef;
  --accent-end: #fb923c;
  --button-start: #7c3aed;
  --button-end: #db2777;
  --shadow: 0 24px 55px rgba(120, 63, 170, 0.16);
  --shadow-strong: 0 28px 72px rgba(145, 76, 170, 0.24);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fff5fb 52%, #fffaf4 100%);
}

.page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 44px 24px 64px;
}

.hero {
  position: relative;
  margin-bottom: 26px;
  padding: 30px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(217, 70, 239, 0.08) 48%, rgba(251, 146, 60, 0.1)),
    var(--surface-soft);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.65), transparent 22%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: #7b2fd2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.subtitle {
  max-width: 720px;
  margin: 16px auto 18px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.license-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(113, 74, 146, 0.08);
}

.license-badge.ok {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.24);
  color: #166534;
}

.license-badge.warn {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.2);
  color: #6d28d9;
}

.license-badge.expired {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 253, 0.95)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.plan-card.featured {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow:
    0 0 0 3px rgba(217, 70, 239, 0.08),
    var(--shadow-strong);
}

.plan-flag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(90deg, #7c3aed, #d946ef 52%, #fb923c);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 10px 22px rgba(124, 58, 237, 0.32),
    0 0 0 3px rgba(217, 70, 239, 0.12);
}

.plan-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-limit {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.plan-pill {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: #7b2fd2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-price-label {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--soft);
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-price strong {
  font-size: clamp(38px, 4vw, 46px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.plan-price span {
  padding-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
}

.plan-price-note,
.plan-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.plan-highlight {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.1), rgba(217, 70, 239, 0.08), rgba(251, 146, 60, 0.12));
  color: #6e2ccf;
  font-size: 13px;
  font-weight: 700;
}

.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--button-start), var(--button-end));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(147, 51, 234, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.plan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(147, 51, 234, 0.28);
  filter: saturate(1.04);
}

.plan-price-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(118, 94, 150, 0.14);
}

.plan-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.plan-price-row dt {
  color: var(--muted);
}

.plan-price-row dd {
  margin: 0;
  font-weight: 800;
  color: var(--text);
}

.plan-price-row.highlight {
  padding: 8px 10px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
}

.plan-price-row.highlight dt,
.plan-price-row.highlight dd {
  color: #166534;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(118, 94, 150, 0.14);
  color: var(--muted);
  font-size: 14px;
}

.plan-features li {
  position: relative;
  padding-left: 20px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b2fe2;
  font-weight: 800;
}

.free-plan-highlight {
  margin-bottom: 22px;
}

.free-plan-card {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 245, 251, 0.92), rgba(255, 248, 237, 0.96)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.free-plan-copy {
  max-width: 470px;
}

.free-plan-copy h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.free-plan-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.free-plan-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.12);
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.free-plan-actions {
  flex: 1;
  display: grid;
  gap: 14px;
  min-width: 280px;
}

.free-plan-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.free-plan-list li {
  position: relative;
  padding-left: 20px;
}

.free-plan-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #db2777;
}

.cta-card {
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.cta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--button-start), var(--button-end));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(147, 51, 234, 0.2);
}

.whatsapp-button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.hint {
  margin-top: 14px !important;
  font-size: 13px;
  color: var(--soft) !important;
}

@media (max-width: 1120px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .free-plan-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 28px 16px 40px;
  }

  .hero {
    padding: 24px 18px;
    text-align: left;
  }

  .hero h1,
  .subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .free-plan-card,
  .cta-card {
    padding: 20px 18px;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card-header {
    flex-direction: column;
  }

  .free-plan-actions {
    min-width: 0;
    width: 100%;
  }

  .free-plan-copy h2 {
    font-size: 28px;
  }
}
