:root {
  --navy: #0a1628;
  --blue: #1a56db;
  --blue2: #2563eb;
  --sky: #e8f0fe;
  --mist: #f4f7ff;
  --white: #ffffff;
  --slate: #475569;
  --rule: rgba(26,86,219,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  padding: 20px 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: padding .3s;
}
nav.scrolled { padding: 12px 0; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-link-item {
  color: var(--slate);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-link-item:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: .88rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--blue2); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .6;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,86,219,.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
  animation: fade-up .6s ease both;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
  animation: fade-up .7s .1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  opacity: .25;
  border-radius: 2px;
}
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  max-width: 520px;
  margin: 24px 0 40px;
  animation: fade-up .7s .2s ease both;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fade-up .7s .3s ease both;
}
.btn-primary-cl {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-cl:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.3);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10,22,40,.15);
  border-radius: 10px;
  padding: 14px 30px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ── HERO CARD ── */
.hero-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(10,22,40,.08), 0 4px 16px rgba(26,86,219,.06);
  overflow: hidden;
  animation: fade-left .8s .2s ease both;
}
.card-topbar {
  background: var(--mist);
  border-bottom: 1px solid var(--rule);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #fc6358; }
.dot-y { background: #fdbc40; }
.dot-g { background: #33c748; }
.card-title-bar {
  flex: 1;
  text-align: center;
  font-size: .75rem;
  color: var(--slate);
  font-weight: 500;
}
.card-body-inner { padding: 24px; }
.schedule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: .84rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(12px);
  transition: background .2s;
}
.schedule-row:hover { background: var(--mist); }
.schedule-row .badge-sched {
  background: var(--sky);
  color: var(--blue);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: .72rem;
  font-weight: 500;
  min-width: 32px;
  text-align: center;
}
.schedule-row .amt {
  margin-left: auto;
  font-weight: 500;
  color: var(--navy);
}
.schedule-row .amt.pos { color: #16a34a; }
.schedule-row .amt.neg { color: #dc2626; }
.check-icon {
  width: 16px; height: 16px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-icon::after {
  content: '✓';
  font-size: .6rem;
  color: #16a34a;
  font-weight: 700;
}
.card-footer-inner {
  background: var(--mist);
  border-top: 1px solid var(--rule);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--slate);
}
.export-btn-fake {
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 500;
}

@keyframes fade-up { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes fade-left{ from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:none; } }

/* ── STATS BAND ── */
.stats-band {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stat-item { text-align: center; padding: 16px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-num .stat-accent { color: #60a5fa; }
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
  font-weight: 400;
  display: block;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
}

/* ── FEATURES ── */
.features { padding: 120px 0; background: var(--white); }
.section-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-sub {
  color: var(--slate);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin-top: 16px;
}
.feat-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
  height: 100%;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feat-card:hover {
  border-color: rgba(26,86,219,.25);
  box-shadow: 0 12px 40px rgba(26,86,219,.08);
  transform: translateY(-4px);
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 48px; height: 48px;
  background: var(--sky);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.feat-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.feat-card p {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
  font-weight: 300;
}

/* ── HOW IT WORKS ── */
.how { padding: 120px 0; background: var(--mist); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-desc {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
  font-weight: 300;
}

/* ── REVIEWS ── */
.reviews { padding: 120px 0; background: var(--white); }
.review-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.review-card:hover {
  border-color: rgba(26,86,219,.2);
  box-shadow: 0 10px 36px rgba(26,86,219,.07);
  transform: translateY(-3px);
}
.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: .92rem;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
  font-style: italic;
}
.reviewer-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.reviewer-role {
  font-size: .78rem;
  color: var(--slate);
  margin-top: 2px;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── PRICING ── */
.pricing { padding: 120px 0; background: var(--mist); }
.price-card {
  border: 1.5px solid var(--rule);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  background: var(--white);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,86,219,.1);
}
.price-card.featured {
  border-color: var(--blue);
  background: var(--navy);
}
.popular-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 14px;
  white-space: nowrap;
}
.price-plan {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.price-card.featured .price-plan { color: #60a5fa; }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-card.featured .price-amount { color: #fff; }
.price-period {
  font-size: .85rem;
  color: var(--slate);
  margin-left: 4px;
}
.price-card.featured .price-period { color: rgba(255,255,255,.5); }
.price-desc {
  font-size: .85rem;
  color: var(--slate);
  margin: 12px 0 28px;
  line-height: 1.6;
}
.price-card.featured .price-desc { color: rgba(255,255,255,.6); }
.price-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem;
  color: var(--slate);
  margin-bottom: 12px;
  line-height: 1.5;
}
.price-card.featured .price-feature { color: rgba(255,255,255,.75); }
.price-check {
  width: 18px; height: 18px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 1px;
}
.price-card.featured .price-check {
  background: rgba(96,165,250,.2);
  color: #60a5fa;
}

/* ── STRIPE SECTION & TRIAL BUTTON ── */
.stripe-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.price-card.featured .stripe-section {
  border-top-color: rgba(255,255,255,.1);
}

.btn-start-trial {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  background: var(--blue);
  color: #fff;
  border: none;
  box-sizing: border-box;
}
.btn-start-trial:hover {
  background: var(--blue2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.3);
}
.btn-start-trial.featured-trial {
  background: #fff;
  color: var(--navy);
}
.btn-start-trial.featured-trial:hover {
  background: #f0f4ff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.trial-note {
  font-size: .73rem;
  color: var(--slate);
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.trial-note::before,
.trial-note::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 40px;
}
.price-card.featured .trial-note {
  color: rgba(255,255,255,.35);
}
.price-card.featured .trial-note::before,
.price-card.featured .trial-note::after {
  background: rgba(255,255,255,.1);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--blue);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: -.02em;
  position: relative;
}
.cta-band p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  font-weight: 300;
  margin: 16px auto 36px;
  max-width: 480px;
  position: relative;
}
.btn-white {
  background: #fff;
  color: var(--blue);
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  color: var(--blue);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 48px 0 32px;
}
.foot-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.foot-logo span { color: #60a5fa; }
.foot-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
}
.foot-link {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color .2s;
}
.foot-link:hover { color: #60a5fa; }
.foot-divider {
  border-color: rgba(255,255,255,.08);
  margin: 32px 0 24px;
}
.foot-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── COUNTER ── */
.counter-val { display: inline; }

/* ── THANKS / CANCEL PAGES ── */
.standalone-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.standalone-page .page-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .5;
}
.standalone-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 28px;
  position: relative;
}
.standalone-icon.success { background: #dcfce7; }
.standalone-icon.cancel  { background: #fef2f2; }
.standalone-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 16px;
  position: relative;
}
.standalone-page p {
  font-size: 1.05rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
}
.standalone-page .back-link {
  font-size: .88rem;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: gap .2s;
}
.standalone-page .back-link:hover { gap: 10px; }