:root {
  --bg-900: #041420;
  --bg-800: #071f2e;
  --bg-700: #0b2b3e;
  --surface: rgba(8, 32, 48, 0.75);
  --surface-strong: rgba(7, 28, 42, 0.94);
  --line: rgba(123, 167, 197, 0.22);
  --text: #e7f3fb;
  --muted: #9bbdd1;
  --primary: #0de4a5;
  --primary-strong: #06b986;
  --accent: #ff8a46;
  --accent-soft: #ffba84;
  --radius: 18px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-900);
  color: var(--text);
  font-family: 'Segoe UI', 'Trebuchet MS', system-ui, -apple-system, sans-serif;
  line-height: 1.45;
}

.background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(13, 228, 165, 0.24), transparent 36%),
    radial-gradient(circle at 80% 8%, rgba(255, 138, 70, 0.18), transparent 34%),
    radial-gradient(circle at 70% 80%, rgba(43, 120, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #03111b, #041724 52%, #031420 100%);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(4, 20, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), #73ffe6);
  box-shadow: 0 0 18px rgba(13, 228, 165, 0.7);
}

.nav-links {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.07;
  max-width: 14ch;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.14;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-copy p {
  font-size: 1.07rem;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(7, 31, 47, 0.92), rgba(10, 37, 54, 0.8));
  box-shadow: var(--shadow);
}

.panel-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(155, 189, 209, 0.16);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a4558;
}

.panel-top p {
  margin: 0 0 0 6px;
  font-size: 0.84rem;
}

.panel-body {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.mini-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.55rem;
}

.mini-card small {
  color: var(--muted);
}

.mini-card.wide {
  grid-column: span 2;
}

.mini-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
}

.mini-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(4, 20, 32, 0.56);
}

.pain-grid,
.feature-grid,
.pricing-grid,
.faq-list,
.stats-row,
.cost-grid,
.authority-grid,
.footer-row {
  display: grid;
}

.section-sub {
  margin-bottom: 24px;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pain-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  color: #d3e6f3;
}

.pain-end {
  margin-top: 16px;
  color: var(--accent-soft);
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px;
}

.authority-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: stretch;
}

.stats-row {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats-row article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.stats-row strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.audience-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface-strong);
}

.audience-card ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.pricing-grid {
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-cycle-toggle {
  margin-top: 16px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.cycle-option {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cycle-option.is-active {
  color: #073628;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.cycle-chip {
  border-radius: 999px;
  border: 1px solid rgba(7, 54, 40, 0.3);
  background: rgba(7, 54, 40, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
}

.checkout-note {
  margin: 16px 0 4px;
  color: #b6d8ea;
  font-size: 0.95rem;
}

.checkout-feedback {
  min-height: 24px;
  margin: 0;
  color: #95f7d9;
  font-weight: 600;
}

.checkout-feedback.error {
  color: #ffb8a4;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  position: relative;
}

.price-card ul {
  margin: 0 0 16px;
  padding-left: 17px;
  color: #c9dfed;
  display: grid;
  gap: 7px;
}

.price {
  color: var(--text);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.price-value {
  font-weight: 800;
}

.price-prefix {
  font-size: 0.95rem;
  font-weight: 700;
}

.price-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.price-alt {
  margin-bottom: 4px;
  color: var(--accent-soft);
  font-size: 0.9rem;
}

.price-saving {
  margin: 0 0 14px;
  min-height: 20px;
  color: #95f7d9;
  font-size: 0.86rem;
  font-weight: 700;
}

.price-description {
  margin: 0 0 12px;
  color: #b8d5e7;
  font-size: 0.9rem;
}

.price-card.featured {
  border-color: rgba(13, 228, 165, 0.72);
  box-shadow: 0 24px 52px rgba(13, 228, 165, 0.2);
  transform: translateY(-10px);
  background: linear-gradient(180deg, rgba(13, 228, 165, 0.11), rgba(9, 33, 49, 0.92));
}

.badge {
  position: absolute;
  top: -12px;
  right: 14px;
  border-radius: 999px;
  background: linear-gradient(140deg, #ffd54f, #ff9f42);
  color: #4a2300;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 10px;
  letter-spacing: 0.04em;
}

.badge.is-hidden {
  display: none;
}

.cost-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cost-grid ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 10px;
  color: #d5e9f6;
}

.faq-list {
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 14px 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-list p {
  margin: 10px 0 0;
}

.final-cta {
  padding-top: 30px;
}

.cta-box {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13, 228, 165, 0.13), rgba(4, 20, 32, 0.9));
  box-shadow: var(--shadow);
  padding: 36px;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
  margin-top: 50px;
}

.footer-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.footer-row p:last-child {
  text-align: right;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.checkout-modal.open {
  display: flex;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 15, 0.72);
}

.checkout-modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(8, 33, 49, 0.98), rgba(3, 20, 31, 0.98));
  padding: 24px;
  box-shadow: var(--shadow);
}

.checkout-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.checkout-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--accent-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-modal__desc {
  margin-bottom: 14px;
}

.checkout-form {
  display: grid;
  gap: 8px;
}

.checkout-cycle {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.checkout-cycle span {
  font-size: 0.9rem;
  color: #d3e7f4;
  font-weight: 600;
}

.checkout-cycle label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--muted);
}

.checkout-cycle input[type='radio'] {
  accent-color: var(--primary);
}

.checkout-form label {
  font-size: 0.9rem;
  color: #d3e7f4;
  font-weight: 600;
}

.checkout-form input {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.checkout-form input:focus {
  border-color: rgba(13, 228, 165, 0.7);
}

.checkout-submit {
  margin-top: 6px;
}

.checkout-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.checkout-modal__message {
  min-height: 22px;
  margin: 2px 0 0;
  color: #95f7d9;
  font-size: 0.9rem;
}

.checkout-modal__message.error {
  color: #ffb8a4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 10px 14px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #053727;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-nav:hover {
  border-color: rgba(13, 228, 165, 0.6);
  color: var(--text);
}

.btn-outline,
.btn-nav {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 980px) {
  .hero-grid,
  .authority-grid,
  .cost-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .pain-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card.featured {
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: rgba(4, 20, 32, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 84px;
  }

  .feature-grid,
  .pain-grid,
  .pricing-grid,
  .stats-row,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .footer-row p:last-child {
    text-align: left;
  }

  .cta-box {
    padding: 26px;
  }
}
