/* ═══════════════════════════════════════════════════════════
   TMTradesFx — Stripe-inspired blue gradient theme
   Font: Bricolage Grotesque (display) + DM Sans (body)
═══════════════════════════════════════════════════════════ */

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --navy:     #0f172a;
  --navy-mid: #0c1a3a;
  --slate:    #64748b;
  --s-radius: 16px;
  --s-font-display: 'Inter', system-ui, sans-serif;
  --s-font-body: 'Inter', system-ui, sans-serif;
  --s-font-serif: 'Fraunces', 'Instrument Serif', Georgia, serif;
}

/* Override base font */
body { font-family: var(--s-font-body); }
h1,h2,h3,h4 { font-family: var(--s-font-display); }

/* ── Navbar override — only applies on dark-hero pages (homepage) ── */
body.has-dark-hero .navbar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
body.has-dark-hero .navbar.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* Light text on dark hero (NO filter — proper color overrides) */
body.has-dark-hero .navbar:not(.scrolled) .nav-links > a,
body.has-dark-hero .navbar:not(.scrolled) .dropdown-toggle {
  color: rgba(255,255,255,0.92) !important;
}
body.has-dark-hero .navbar:not(.scrolled) .nav-links > a:hover,
body.has-dark-hero .navbar:not(.scrolled) .dropdown-toggle:hover {
  color: white !important;
}

/* Join Now button: glass style on dark hero, normal blue when scrolled */
body.has-dark-hero .navbar:not(.scrolled) .nav-cta-btn {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(59,130,246,0.45), 0 0 0 1px rgba(255,255,255,0.1) !important;
  border: none !important;
}
body.has-dark-hero .navbar:not(.scrolled) .nav-cta-btn:hover {
  box-shadow: 0 8px 30px rgba(59,130,246,0.6) !important;
  transform: translateY(-2px);
}

/* Mobile menu icon white on dark hero */
body.has-dark-hero .navbar:not(.scrolled) .mobile-menu-btn span {
  background: white !important;
}


/* ═══════════════ HERO ═══════════════ */
.s-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 4rem;
  background: var(--navy);
}

/* Gradient mesh layers — Stripe's signature look in blue */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(99,130,246,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(29,78,216,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(147,197,253,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-mesh-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 75% 80%, rgba(14,165,233,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero-mesh-3 {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.s-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 3rem;
}

/* Hero text */
.s-hero-text { color: white; }

.s-hero-heading {
  font-family: var(--s-font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: white;
  margin-bottom: 1.5rem;
}
.s-heading-blue {
  font-family: var(--s-font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.s-asterisk {
  color: var(--blue-400);
  font-size: 0.8em;
  vertical-align: super;
  margin-left: 4px;
  display: inline-block;
  animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.s-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}
.s-hero-sub strong { color: white; }

.s-hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Buttons */
.s-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--navy) !important;
  font-family: var(--s-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.s-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.35);
  background: var(--blue-50);
}

/* On dark section, use blue primary */
.s-proof .s-btn-primary,
.s-contact .s-btn-primary {
  background: var(--blue-500);
  color: white !important;
}
.s-proof .s-btn-primary:hover,
.s-contact .s-btn-primary:hover {
  background: var(--blue-600);
}

.s-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--s-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.25s ease;
}
.s-btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: white !important;
  background: rgba(255,255,255,0.08);
}

.s-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--blue-600) !important;
  font-family: var(--s-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  border: 1.5px solid var(--blue-500);
  text-decoration: none;
  transition: all 0.25s ease;
}
.s-btn-outline:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.s-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}
.s-guarantee svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-400); }
.s-guarantee strong { color: rgba(255,255,255,0.9); }

/* Hero stats bar */
.s-hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-top: 0;
}
.s-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.s-stat-num {
  font-family: var(--s-font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}
.s-stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  text-align: center;
}
.s-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}


/* ── Hero mockup ── */
.s-hero-mockup {
  position: relative;
  z-index: 3;
}

.s-mockup-card {
  background: rgba(255,255,255,0.97);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}

.s-mockup-main { position: relative; }

.s-mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.s-mockup-dots { display: flex; gap: 5px; }
.s-mockup-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e2e8f0;
}
.s-mockup-dots span:first-child { background: #fca5a5; }
.s-mockup-dots span:nth-child(2) { background: #fde68a; }
.s-mockup-dots span:last-child { background: #6ee7b7; }
.s-mockup-title {
  font-family: var(--s-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
}
.s-status-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.s-mockup-balance { margin-bottom: 1rem; }
.s-bal-label { display: block; font-size: 0.72rem; color: #94a3b8; font-weight: 600; margin-bottom: 2px; }
.s-bal-value {
  font-family: var(--s-font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
}

.s-mockup-chart { margin-bottom: 1rem; height: 80px; }
.s-mockup-chart svg { width: 100%; height: 100%; }

.s-mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.s-m-stat {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}
.s-m-label { font-size: 0.68rem; color: #94a3b8; font-weight: 600; }
.s-m-val { font-family: var(--s-font-display); font-size: 0.9rem; font-weight: 700; color: #0f172a; margin-top: 2px; }
.s-m-val.green { color: #16a34a; }

/* Floating cards */
.s-mockup-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  animation: float-card 4s ease-in-out infinite;
}
.s-float-1 {
  bottom: -20px;
  left: -40px;
  animation-delay: 0s;
}
.s-float-2 {
  top: -20px;
  right: -30px;
  animation-delay: 2s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.s-float-icon { font-size: 1.5rem; }
.s-float-label { font-size: 0.7rem; color: #94a3b8; font-weight: 600; }
.s-float-value {
  font-family: var(--s-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}


/* ═══════════════ TRUST LOGOS ═══════════════ */
.s-trust {
  padding: 2.5rem 0;
  background: white;
  border-bottom: 1px solid #f1f5f9;
}
.s-trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}
.s-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.s-trust-logo {
  font-family: var(--s-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: -0.5px;
  transition: color 0.3s;
  cursor: default;
}
.s-trust-logo:hover { color: #94a3b8; }


/* ═══════════════ FEATURES ═══════════════ */
.s-features {
  padding: 7rem 0;
  background: white;
}
.s-features-header {
  margin-bottom: 4rem;
}
.s-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.s-eyebrow-light {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-400);
  margin-bottom: 1rem;
}
.s-section-title {
  font-family: var(--s-font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #0f172a;
}
.s-section-sub {
  margin-top: 1rem;
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 520px;
}

.s-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.s-feature-card {
  padding: 1.75rem;
  border: 1px solid #f1f5f9;
  border-radius: var(--s-radius);
  background: white;
  transition: all 0.3s ease;
}
.s-feature-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 8px 30px rgba(59,130,246,0.08);
  transform: translateY(-4px);
}
.s-feature-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.s-feature-card h4 {
  font-family: var(--s-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}
.s-feature-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin: 0; }


/* ═══════════════ PROOF (dark) ═══════════════ */
.s-proof {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background: var(--navy);
}
.s-proof-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(37,99,235,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 20%, rgba(99,130,246,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.s-proof-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.s-proof-title {
  font-family: var(--s-font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.s-proof-sub { color: rgba(255,255,255,0.6); line-height: 1.7; font-size: 1rem; }

.s-proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.s-p-stat { }
.s-p-num {
  display: block;
  font-family: var(--s-font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}
.s-p-lbl { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 2px; display: block; }

/* Payout stack */
.s-payout-stack { display: flex; flex-direction: column; gap: 1rem; }
.s-payout-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.s-payout-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.s-pc-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.s-pc-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-400); }
.s-pc-date { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.s-pc-amount {
  font-family: var(--s-font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
}
.s-payout-small .s-pc-amount { font-size: 1.4rem; margin-bottom: 0; }
.s-pc-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 0.5rem; }
.s-pc-fill { height: 100%; background: linear-gradient(90deg, var(--blue-500), #38bdf8); border-radius: 2px; }
.s-pc-meta { font-size: 0.75rem; color: rgba(255,255,255,0.35); }


/* ═══════════════ HOW IT WORKS ═══════════════ */
.s-steps {
  padding: 7rem 0;
  background: #fafbff;
}
.s-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 4rem;
}
.s-step {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--s-radius);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.s-step:hover {
  border-color: var(--blue-300);
  box-shadow: 0 8px 30px rgba(59,130,246,0.1);
  transform: translateY(-4px);
}
.s-step-num {
  font-family: var(--s-font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-100);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 1rem;
}
.s-step h4 {
  font-family: var(--s-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}
.s-step p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin: 0; }
.s-step-arrow {
  font-size: 1.5rem;
  color: var(--blue-300);
  text-align: center;
  flex-shrink: 0;
}


/* ═══════════════ VIP PEEK ═══════════════ */
.s-vip {
  padding: 7rem 0;
  background: white;
}
.s-vip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.s-vip-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.s-vip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #334155;
}
.s-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}
.s-vip-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(59,130,246,0.15);
}


/* ═══════════════ PRICING ═══════════════ */
.s-pricing {
  padding: 7rem 0;
  background: #fafbff;
}
.s-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 4rem auto 0;
}
.s-plan {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}
.s-plan:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.s-plan-featured {
  border-color: var(--blue-500);
  border-width: 2px;
  box-shadow: 0 20px 60px rgba(59,130,246,0.12);
}
.s-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white;
  font-family: var(--s-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.s-plan-icon { font-size: 2rem; margin-bottom: 1rem; }
.s-plan-name {
  font-family: var(--s-font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.s-plan-desc { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin-bottom: 1.5rem; }
.s-plan-price {
  font-family: var(--s-font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.s-price-dollar { font-size: 1.5rem; font-weight: 700; color: var(--slate); }
.s-price-period { font-size: 0.9rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.s-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.s-plan-features li {
  font-size: 0.88rem;
  color: #334155;
  padding-left: 1.4rem;
  position: relative;
}
.s-plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 800;
}
.s-plan-btn {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.9rem;
  border-radius: 50px;
  font-family: var(--s-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  background: white;
  transition: all 0.25s ease;
}
.s-plan-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.s-plan-btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white !important;
  border: none;
}
.s-plan-btn-primary:hover { box-shadow: 0 8px 25px rgba(59,130,246,0.4); transform: translateY(-2px); }

.s-guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  max-width: 860px;
  margin: 2rem auto 0;
}
.s-gb-icon { font-size: 1.75rem; flex-shrink: 0; }
.s-guarantee-box h4 {
  font-family: var(--s-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.4rem;
}
.s-guarantee-box p { font-size: 0.88rem; color: var(--blue-700); line-height: 1.6; margin: 0; }


/* ═══════════════ TESTIMONIALS ═══════════════ */
.s-testimonials {
  padding: 7rem 0;
  background: white;
}
.s-tcard {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 2rem;
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.s-tcard:hover { border-color: var(--blue-200); box-shadow: 0 10px 40px rgba(59,130,246,0.08); }
.s-tcard .stars { color: #fbbf24; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.s-tcard p { font-size: 0.92rem; color: #334155; line-height: 1.65; margin-bottom: 1.25rem; font-style: italic; }
.s-tcard-author { display: flex; align-items: center; gap: 10px; }
.s-tcard-author .client-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.s-tcard-author strong { display: block; font-size: 0.9rem; color: #0f172a; font-weight: 700; }
.s-tcard-author span { font-size: 0.78rem; color: var(--slate); }

/* Override track to use new card class */
.testimonials-track { display: flex; gap: 1.25rem; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonials-track-wrapper { overflow: hidden; }
.testimonials-carousel { position: relative; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #e2e8f0; background: white; font-size: 1rem; cursor: pointer; transition: all 0.2s ease; }
.carousel-btn:hover { border-color: var(--blue-500); color: var(--blue-500); }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #e2e8f0; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.carousel-dot.active { background: var(--blue-500); width: 22px; border-radius: 4px; }


/* ═══════════════ BLOG ═══════════════ */
.s-blog {
  padding: 7rem 0;
  background: #fafbff;
}
.s-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.s-blog-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.s-blog-card:hover { box-shadow: 0 15px 50px rgba(0,0,0,0.07); transform: translateY(-4px); }
.s-blog-img { height: 200px; overflow: hidden; }
.s-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.s-blog-card:hover .s-blog-img img { transform: scale(1.04); }
.s-blog-body { padding: 1.5rem; }
.s-blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.s-blog-body h4 {
  font-family: var(--s-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.s-blog-body p { font-size: 0.85rem; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }
.s-blog-link { font-size: 0.85rem; font-weight: 700; color: var(--blue-600); text-decoration: none; }
.s-blog-link:hover { color: var(--blue-800); }


/* ═══════════════ FAQ ═══════════════ */
.s-faq {
  padding: 7rem 0;
  background: white;
}
.s-faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.s-faq-left { position: sticky; top: 6rem; }
.s-faq-right .faq-container { border-top: 1px solid #f1f5f9; }
.s-faq-right .faq-item { border-bottom: 1px solid #f1f5f9; }
.s-faq-right .faq-item summary {
  font-family: var(--s-font-display);
  font-weight: 700;
  color: #0f172a;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.s-faq-right .faq-item summary::-webkit-details-marker { display: none; }
.s-faq-right .faq-item[open] summary { color: var(--blue-600); }
.s-faq-right .faq-content { color: var(--slate); font-size: 0.9rem; line-height: 1.7; padding-bottom: 1.25rem; }


/* ═══════════════ CONTACT ═══════════════ */
.s-contact {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.s-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(37,99,235,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.s-contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.s-contact-text { color: rgba(255,255,255,0.8); }
.s-contact-title {
  font-family: var(--s-font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.s-contact-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.s-contact-email {
  display: inline-block;
  color: white !important;
  font-family: var(--s-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--blue-500);
  padding-bottom: 2px;
}
.s-contact-socials { margin-top: 1.5rem; }
.s-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white !important;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.s-social-btn:hover { background: rgba(255,255,255,0.14); }

/* Contact form */
.s-contact-form-wrap {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.s-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.s-form-group { margin-bottom: 1rem; }
.s-form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.s-form-group input,
.s-form-group select,
.s-form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  font-size: 0.9rem;
  font-family: var(--s-font-body);
  transition: border-color 0.2s ease;
}
.s-form-group input:focus,
.s-form-group select:focus,
.s-form-group textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.s-form-group textarea { resize: none; }
.s-form-group:last-child { margin-bottom: 0; }


/* ═══════════════ SCROLL TO TOP ═══════════════ */
#scrollTopBtn {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
}


/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .s-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .s-hero-mockup { display: none; }
  .s-hero-stats { flex-wrap: wrap; gap: 1rem; }
  .s-proof-inner { grid-template-columns: 1fr; gap: 3rem; }
  .s-features-grid { grid-template-columns: repeat(2, 1fr); }
  .s-steps-grid { grid-template-columns: 1fr; }
  .s-step-arrow { transform: rotate(90deg); text-align: center; }
  .s-vip-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .s-faq-inner { grid-template-columns: 1fr; gap: 2rem; }
  .s-faq-left { position: static; }
  .s-contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .s-hero { padding: 8rem 0 3rem; }
  .s-hero-stats { padding: 1rem; }
  .s-stat-num { font-size: 1.2rem; }
  .s-stat-divider { display: none; }
  .s-hero-stat { flex: 1; min-width: 45%; }
  .s-hero-stats { flex-wrap: wrap; gap: 1rem; }
  .s-trust-logos { gap: 1.5rem; }
  .s-features-grid { grid-template-columns: 1fr; }
  .s-pricing-grid { grid-template-columns: 1fr; }
  .s-blog-grid { grid-template-columns: 1fr; }
  .s-proof-stats { grid-template-columns: 1fr 1fr; }
  .s-form-row { grid-template-columns: 1fr; }

}


/* ═══════════════════════════════════════════════════════════
   LEGACY PAGE UNIFICATION — make all OLD sections match new theme
═══════════════════════════════════════════════════════════ */

/* Body & base — apply Inter to everything */
body { font-family: var(--s-font-body) !important; }
h1, h2, h3, h4, h5, h6 { font-family: var(--s-font-display) !important; letter-spacing: -0.5px; }
h1 { letter-spacing: -1.5px !important; }

/* Tool headers (used by calculator, journal, sessions, calendar etc.) — give Stripe-style dark hero */
.tool-header {
    background: var(--navy) !important;
    color: white !important;
    padding: 8.5rem 0 5rem !important;
    position: relative;
    overflow: hidden;
}
.tool-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(99,130,246,0.45) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(29,78,216,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(147,197,253,0.25) 0%, transparent 60%);
    pointer-events: none;
}
.tool-header > * { position: relative; z-index: 2; }
.tool-header h1 {
    color: white !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-top: 1rem !important;
}
.tool-header p,
.tool-header .section-desc {
    color: rgba(255,255,255,0.75) !important;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 1rem auto 0;
}
.tool-header .accent-text,
.tool-header .text-gradient {
    font-family: var(--s-font-serif) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 40%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: -1px !important;
}

/* Apply dark navbar styling on ALL pages with a tool-header (or has-dark-hero) */
body:has(.tool-header) .navbar:not(.scrolled) {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
body:has(.tool-header) .navbar.scrolled {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}
body:has(.tool-header) .navbar:not(.scrolled) .nav-links > a,
body:has(.tool-header) .navbar:not(.scrolled) .dropdown-toggle {
    color: rgba(255,255,255,0.92) !important;
}
body:has(.tool-header) .navbar:not(.scrolled) .nav-cta-btn {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(59,130,246,0.45), 0 0 0 1px rgba(255,255,255,0.1) !important;
    border: none !important;
}
body:has(.tool-header) .navbar:not(.scrolled) .mobile-menu-btn span {
    background: white !important;
}

/* Sections that were "bg-darker" — make them subtle soft blue instead of jarring */
.bg-darker {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
}

/* Legacy section titles — apply same italic serif treatment */
.section-title .accent-text,
.section-title .text-gradient {
    font-family: var(--s-font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1px;
}

/* Container max width consistency */
.container { max-width: 1200px; }

/* Buttons — unify with Stripe theme */
.btn { font-family: var(--s-font-display); }
.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(59,130,246,0.4); }
.btn-outline {
    border: 1.5px solid var(--blue-500) !important;
    color: var(--blue-600) !important;
}

/* Footer — clean it up */
.footer { background: white !important; padding-top: 5rem; }
.footer h4 { font-family: var(--s-font-display); }


/* ═══════════════ VERIFIED PROOF GALLERY ═══════════════ */
.s-verified {
    padding: 7rem 0;
    background: white;
}
.s-proof-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    margin-top: 4rem;
    aspect-ratio: 16 / 9;
    max-height: 700px;
}
.s-proof-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    transition: all 0.3s ease;
    cursor: zoom-in;
    display: block;
    text-decoration: none;
}
.s-proof-img:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.s-proof-img img { width: 100%; height: 100%; object-fit: cover; }
.s-proof-feature { grid-row: span 2; }
.s-proof-img-tag {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(10px);
    color: white;
    font-family: var(--s-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}
.s-proof-feature .s-proof-img-tag {
    font-size: 0.95rem;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    border: none;
}

@media (max-width: 768px) {
    .s-proof-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
        max-height: none;
    }
    .s-proof-feature { grid-column: span 2; grid-row: auto; aspect-ratio: 1/1; }
    .s-proof-img:not(.s-proof-feature) { aspect-ratio: 1/1; }
}


/* ═══════════════ MOBILE POLISH ═══════════════ */
@media (max-width: 768px) {
    /* Larger tap targets */
    .nav-links a, .dropdown-toggle, .btn { min-height: 44px; }

    /* Tool header sizing */
    .tool-header { padding: 7rem 0 3rem !important; }
    .tool-header h1 { font-size: 2rem !important; }

    /* Typography downscale */
    .s-section-title { font-size: 1.85rem !important; line-height: 1.15 !important; }
    .s-hero-heading { font-size: 2.4rem !important; line-height: 1.1 !important; }
    .s-proof-title { font-size: 2rem !important; }
    .s-contact-title { font-size: 2.2rem !important; }

    /* Hero on mobile */
    .s-hero { padding: 6rem 0 2.5rem; }
    .s-hero-cta { gap: 0.75rem; }
    .s-btn-primary, .s-btn-ghost { padding: 0.7rem 1.3rem; font-size: 0.9rem; }

    /* Stat tiles tighten */
    .s-hero-stats { padding: 1rem; gap: 0.5rem; flex-wrap: wrap; }
    .s-stat-num { font-size: 1.1rem; }
    .s-stat-lbl { font-size: 0.7rem; }
    .s-stat-divider { display: none; }

    /* Verified gallery */
    .s-verified { padding: 4rem 0; }
    .s-verified .s-section-title { font-size: 1.7rem !important; }

    /* Trust logos */
    .s-trust-logos { gap: 1rem; }
    .s-trust-logo { font-size: 0.85rem; }

    /* Pricing cards */
    .s-plan { padding: 1.75rem; }
    .s-plan-price { font-size: 2.2rem; }

    /* FAQ */
    .s-faq-right .faq-item summary { font-size: 0.9rem; padding: 1rem 0; }

    /* Contact form */
    .s-contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .s-hero-heading { font-size: 2rem !important; }
    .s-section-title { font-size: 1.6rem !important; }
    .container { padding: 0 1rem; }
    /* Make stats stack 2x2 on tiny screens */
    .s-hero-stat { min-width: 47%; }
    /* Step grid on phone */
    .s-steps-grid { gap: 0.5rem; }
}

/* Prevent horizontal scroll anywhere */
html, body { overflow-x: hidden; max-width: 100vw; }


/* ═══════════════════════════════════════════════════════════
   REDESIGNED TRUST WALL
═══════════════════════════════════════════════════════════ */
.s-trust {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid #f1f5f9;
}
.s-trust-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.s-trust-line {
    height: 1px;
    flex: 1;
    max-width: 100px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}
.s-trust-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #475569;
    margin: 0;
    white-space: nowrap;
}
.s-trust-wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.s-trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: white;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.s-trust-card:hover {
    color: var(--blue-600);
    border-color: var(--blue-300);
    background: var(--blue-50);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(59,130,246,0.1);
}
.s-trust-icon { color: inherit; opacity: 0.85; transition: opacity 0.3s; }
.s-trust-card:hover .s-trust-icon { opacity: 1; }
.s-trust-name {
    font-family: var(--s-font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.3px;
    color: inherit;
}
.s-trust-tag {
    position: absolute;
    top: -8px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #422006;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 50px;
}
.s-trust-featured {
    border-color: var(--blue-200);
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}


/* ═══════════════════════════════════════════════════════════
   BENTO FEATURE GRID
═══════════════════════════════════════════════════════════ */
.s-section-italic {
    font-family: var(--s-font-serif);
    font-style: italic;
    font-weight: 500;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    letter-spacing: -1.5px;
    color: var(--blue-600);
}

.s-bento {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 320px 280px;
    gap: 1.25rem;
}
.s-bento-card {
    border-radius: 24px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}
.s-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    border-color: var(--blue-200);
}

/* Large card (top-left, spans 2 rows) */
.s-bento-large {
    grid-row: span 2;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}
.s-bento-content { flex-shrink: 0; }
.s-bento-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}
.s-bento-card h3 {
    font-family: var(--s-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}
.s-bento-card h3 em {
    font-family: var(--s-font-serif);
    font-style: italic;
    font-weight: 500;
    font-variation-settings: 'opsz' 144;
    color: var(--blue-600);
    letter-spacing: -1px;
}
.s-bento-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}
.s-bento-visual {
    flex: 1;
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    align-items: flex-end;
}
.s-bento-visual svg { width: 100%; height: auto; }

/* Small blue card (framework) */
.s-bento-blue {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    border: none;
    color: white;
}
.s-bento-blue h3 { color: white; font-size: 1.15rem; }
.s-bento-blue p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.s-framework-icon { margin-bottom: auto; }
.s-framework-icon svg { width: 60px; height: 60px; }

/* Risk rules card */
.s-risk-meter {
    background: #fafbff;
    border: 1px solid #eef2ff;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    flex: 1;
}
.s-risk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.78rem;
    color: var(--slate);
    border-bottom: 1px solid #eef2ff;
}
.s-risk-row:last-child { border-bottom: none; }
.s-risk-pill {
    font-family: var(--s-font-display);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 50px;
    background: #dcfce7;
    color: #15803d;
}

/* Wide card (bottom, spans 2 columns) */
.s-bento-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}
.s-bento-wide .s-bento-content { flex: 2; }
.s-psych-stat {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    border: 1px solid #fcd34d;
}
.s-psych-num {
    display: block;
    font-family: var(--s-font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: #92400e;
}
.s-psych-lbl {
    display: block;
    font-size: 0.75rem;
    color: #78350f;
    margin-top: 0.5rem;
    line-height: 1.4;
    font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════
   CONNECTED JOURNEY (3 STEPS REDESIGN)
═══════════════════════════════════════════════════════════ */
.s-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
}
.s-journey-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
}
.s-journey-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.s-journey-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
    color: var(--blue-600);
    box-shadow: 0 4px 20px rgba(59,130,246,0.08);
    transition: all 0.3s ease;
}
.s-journey-step:hover .s-journey-circle {
    transform: scale(1.05) rotate(-3deg);
    border-color: var(--blue-400);
    box-shadow: 0 10px 30px rgba(59,130,246,0.2);
}
.s-journey-num {
    position: absolute;
    top: -10px;
    right: -8px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--s-font-display);
    font-weight: 800;
    font-size: 0.78rem;
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
}
.s-journey-icon {
    width: 32px;
    height: 32px;
    color: var(--blue-600);
}
.s-journey-final {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(59,130,246,0.35);
}
.s-journey-final .s-journey-icon { color: white; }
.s-journey-final .s-journey-num {
    background: white;
    color: var(--blue-700);
}

.s-journey-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    transition: all 0.3s ease;
    width: 100%;
}
.s-journey-step:hover .s-journey-card {
    border-color: var(--blue-200);
    box-shadow: 0 12px 30px rgba(59,130,246,0.08);
}
.s-journey-card h4 {
    font-family: var(--s-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}
.s-journey-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.s-journey-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--slate);
    background: #fafbff;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid #eef2ff;
}
.s-meta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}
.s-meta-dot-active {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.05); }
}


/* Mobile responsive for new sections */
@media (max-width: 1024px) {
    .s-trust-wall { grid-template-columns: repeat(3, 1fr); }
    .s-trust-card:nth-child(4), .s-trust-card:nth-child(5) { grid-column: span 1; }
    .s-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .s-bento-large { grid-row: span 1; grid-column: span 2; }
    .s-bento-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
    .s-trust-wall { grid-template-columns: 1fr 1fr; }
    .s-trust-header { flex-direction: column; gap: 0.5rem; }
    .s-trust-line { width: 60px; max-width: none; }
    .s-trust-label { white-space: normal; text-align: center; }
    .s-bento { grid-template-columns: 1fr; }
    .s-bento-large, .s-bento-wide { grid-column: span 1; }
    .s-bento-large { grid-row: auto; }
    .s-bento-wide { flex-direction: column; align-items: stretch; }
    .s-bento-card { padding: 1.5rem; }
    .s-journey { grid-template-columns: 1fr; gap: 2.5rem; }
    .s-journey-line { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   GLOBAL BUTTON RULES — blue by default, white only on dark
═══════════════════════════════════════════════════════════ */

/* Default: blue gradient (visible on white backgrounds) */
.s-btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
    border: none;
}
.s-btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.45);
}

/* WHITE button override — only inside dark sections */
.s-hero .s-btn-primary,
.s-proof .s-btn-primary,
.s-contact .s-btn-primary,
.s-steps .s-btn-primary,
.s-pricing .s-btn-primary,
.s-testimonials .s-btn-primary,
.s-blog .s-btn-primary {
    background: white !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.s-hero .s-btn-primary:hover,
.s-proof .s-btn-primary:hover,
.s-contact .s-btn-primary:hover,
.s-steps .s-btn-primary:hover,
.s-pricing .s-btn-primary:hover,
.s-testimonials .s-btn-primary:hover,
.s-blog .s-btn-primary:hover {
    background: var(--blue-50) !important;
    color: var(--navy) !important;
}


/* ═══════════════════════════════════════════════════════════
   ALTERNATING DARK SECTIONS — all sky-blue → dark navy
═══════════════════════════════════════════════════════════ */

/* Steps now DARK */
.s-steps {
    background: var(--navy) !important;
    color: white;
    position: relative;
    overflow: hidden;
}
.s-steps::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.s-steps > .container { position: relative; z-index: 2; }
.s-steps .s-section-title { color: white !important; }
.s-steps .s-section-title em.s-section-italic { color: #93c5fd !important; }
.s-steps .s-eyebrow { color: var(--blue-400) !important; }
/* Journey cards on dark */
.s-steps .s-journey-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.1);
}
.s-steps .s-journey-card h4 { color: white; }
.s-steps .s-journey-card p { color: rgba(255,255,255,0.7); }
.s-steps .s-journey-card p strong { color: white; }
.s-steps .s-journey-circle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: var(--blue-300);
}
.s-steps .s-journey-icon { color: var(--blue-300); }
.s-steps .s-journey-meta {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}


/* Pricing now DARK */
.s-pricing {
    background: var(--navy) !important;
    position: relative;
    overflow: hidden;
}
.s-pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 70% at 20% 50%, rgba(37,99,235,0.2) 0%, transparent 65%),
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(99,102,241,0.15) 0%, transparent 65%);
    pointer-events: none;
}
.s-pricing > .container { position: relative; z-index: 2; }
.s-pricing .s-section-title { color: white !important; }
.s-pricing .s-section-title em.s-section-italic { color: #93c5fd !important; }
.s-pricing .s-eyebrow { color: var(--blue-400) !important; }
.s-pricing .s-section-sub { color: rgba(255,255,255,0.7) !important; }
/* Plan cards stay white for high contrast */
.s-pricing .s-plan {
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
/* Guarantee box adjusted for dark bg */
.s-pricing .s-guarantee-box {
    background: rgba(59,130,246,0.1) !important;
    border-color: rgba(59,130,246,0.3) !important;
    backdrop-filter: blur(10px);
}
.s-pricing .s-guarantee-box h4 { color: white !important; }
.s-pricing .s-guarantee-box p { color: rgba(255,255,255,0.75) !important; }


/* Testimonials now DARK with colored card accents */
.s-testimonials {
    background: var(--navy) !important;
    position: relative;
    overflow: hidden;
}
.s-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 30% 30%, rgba(99,130,246,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 70%, rgba(168,85,247,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.s-testimonials > .container { position: relative; z-index: 2; }
.s-testimonials .s-section-title { color: white !important; }
.s-testimonials .s-section-title em.s-section-italic { color: #93c5fd !important; }
.s-testimonials .s-eyebrow { color: var(--blue-400) !important; }

/* Testimonial cards: white with colored accent border + ribbon */
.s-testimonials .s-tcard {
    background: white;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
/* Color-coded top accent stripe */
.s-testimonials .s-tcard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), #6366f1);
}
.s-testimonials .s-tcard:nth-child(2)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.s-testimonials .s-tcard:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.s-testimonials .s-tcard:nth-child(4)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.s-testimonials .s-tcard:nth-child(5)::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.s-testimonials .s-tcard:nth-child(6)::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.s-testimonials .s-tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}
/* Avatar with gradient ring */
.s-testimonials .s-tcard-author .client-avatar {
    width: 44px; height: 44px;
    border: 2px solid var(--blue-100);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
/* Carousel buttons on dark */
.s-testimonials .carousel-btn {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: white;
}
.s-testimonials .carousel-btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    color: white;
}
.s-testimonials .carousel-dot {
    background: rgba(255,255,255,0.2);
}
.s-testimonials .carousel-dot.active {
    background: var(--blue-400);
}


/* Blog now DARK */
.s-blog {
    background: var(--navy) !important;
    position: relative;
    overflow: hidden;
}
.s-blog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59,130,246,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.s-blog > .container { position: relative; z-index: 2; }
.s-blog .s-section-title { color: white !important; }
.s-blog .s-section-title em.s-section-italic { color: #93c5fd !important; }
.s-blog .s-eyebrow { color: var(--blue-400) !important; }
/* Blog cards stay white for max contrast */
.s-blog .s-blog-card {
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}


/* ═══════════════════════════════════════════════════════════
   LEGACY .bg-darker → also dark navy (was sky blue)
═══════════════════════════════════════════════════════════ */
.bg-darker {
    background: var(--navy) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}
.bg-darker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(59,130,246,0.15) 0%, transparent 65%);
    pointer-events: none;
}
.bg-darker > .container { position: relative; z-index: 2; }
.bg-darker h1, .bg-darker h2, .bg-darker h3, .bg-darker h4 { color: white !important; }
.bg-darker p, .bg-darker .section-desc { color: rgba(255,255,255,0.75) !important; }
.bg-darker .accent-text,
.bg-darker .text-gradient {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 40%, #38bdf8 100%) !important;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* s-btn-outline visible on dark sections */
.s-blog .s-btn-outline,
.s-testimonials .s-btn-outline,
.s-steps .s-btn-outline,
.s-pricing .s-btn-outline {
    color: white !important;
    border-color: rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.06);
}
.s-blog .s-btn-outline:hover,
.s-testimonials .s-btn-outline:hover,
.s-steps .s-btn-outline:hover,
.s-pricing .s-btn-outline:hover {
    background: white !important;
    color: var(--navy) !important;
    border-color: white !important;
}

/* Plan card subtle (non-featured) button — make sure it's readable on dark pricing */
.s-pricing .s-plan-btn:not(.s-plan-btn-primary) {
    background: white;
    color: #0f172a;
    border-color: #e2e8f0;
}
.s-pricing .s-plan-btn:not(.s-plan-btn-primary):hover {
    background: var(--blue-50);
    border-color: var(--blue-400);
    color: var(--blue-700);
}

/* Add a 100KB legacy text override: force "Find Out More" / "See All" / etc. legacy buttons on dark bg */
.bg-darker .btn-outline {
    background: rgba(255,255,255,0.08) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.bg-darker .btn-outline:hover {
    background: white !important;
    color: var(--navy) !important;
    border-color: white !important;
}


/* ═══════════════════════════════════════════════════════════
   LEGACY CONTENT — make ALL other pages match new theme
═══════════════════════════════════════════════════════════ */

/* Old .section (white default) — refined typography */
.section { padding: 5rem 0 !important; }
.section-header { margin-bottom: 3rem; }
.section-title {
    font-family: var(--s-font-display) !important;
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
    color: #0f172a !important;
}
.bg-darker .section-title { color: white !important; }
.section-desc {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 640px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Cards everywhere — unified treatment */
.card, .feature-card, .price-card, .blog-card, .info-card, .pricing-card,
.service-card, .module-card, .faq-item, .step-card, .timeline-step {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}
.card:hover, .feature-card:hover, .pricing-card:hover, .blog-card:hover {
    border-color: var(--blue-200) !important;
    box-shadow: 0 12px 30px rgba(59,130,246,0.08) !important;
    transform: translateY(-3px);
}

/* Inside dark sections, cards become semi-transparent glass */
.bg-darker .card,
.bg-darker .feature-card,
.bg-darker .info-card,
.bg-darker .step-card,
.bg-darker .timeline-step {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
}
.bg-darker .card h3, .bg-darker .card h4,
.bg-darker .feature-card h3, .bg-darker .feature-card h4 {
    color: white !important;
}
.bg-darker .card p, .bg-darker .feature-card p { color: rgba(255,255,255,0.7) !important; }

/* Forms — modern unified styling */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="password"], select, textarea {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-family: var(--s-font-body);
    color: #0f172a;
    transition: all 0.2s ease;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, input[type="search"]:focus, input[type="password"]:focus,
select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* Calculator-specific UI improvements */
.calc-result, .result-display, .output-display {
    background: linear-gradient(135deg, var(--blue-50) 0%, white 100%) !important;
    border: 1px solid var(--blue-200) !important;
}

/* Tool header containers — make them sit on top of dark hero properly */
.tool-header + .section,
.tool-header + section {
    padding-top: 4rem !important;
}

/* Text colors in dark sections — be aggressive */
.bg-darker label,
.bg-darker .form-label,
.bg-darker dt,
.bg-darker .info-label { color: rgba(255,255,255,0.7) !important; }

.bg-darker input, .bg-darker select, .bg-darker textarea {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: white !important;
}
.bg-darker input::placeholder, .bg-darker textarea::placeholder { color: rgba(255,255,255,0.4) !important; }


/* ═══════════════════════════════════════════════════════════
   DARK FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
    background: #0a1226 !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 5rem 0 2rem !important;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer h4 {
    color: white !important;
    font-family: var(--s-font-display);
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem !important;
}
.footer p { color: rgba(255,255,255,0.6) !important; }
.footer-brand p { color: rgba(255,255,255,0.6) !important; line-height: 1.6; margin-bottom: 1.25rem; }
.footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.2s ease;
    display: block;
    padding: 0.3rem 0;
    font-size: 0.92rem;
}
.footer a:hover { color: var(--blue-400) !important; }
.footer-email {
    color: white !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}
.footer-email:hover { border-color: var(--blue-400) !important; }
.footer-disclaimer {
    color: rgba(255,255,255,0.45) !important;
    font-size: 0.78rem !important;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}
.footer-disclaimer strong { color: rgba(255,255,255,0.7) !important; }
.footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { color: rgba(255,255,255,0.4) !important; font-size: 0.85rem; margin: 0; }
.footer-form input[type="email"] {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: white !important;
}
.footer-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4) !important; }
.footer-secondary-links {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding-top: 1rem;
}
.footer-secondary-links a { color: rgba(255,255,255,0.55) !important; }
.footer-secondary-links a:hover { color: white !important; }
.footer-secondary-links > a:first-child {
    color: white !important;
    font-weight: 700;
    border-bottom: none;
}
.footer-secondary-links > div { border-top-color: rgba(255,255,255,0.06) !important; }
/* Social icon override for dark footer */
.footer [style*="background: #f8fafc"] {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: white !important;
}


/* ═══════════════════════════════════════════════════════════
   ACADEMY (education page) — refresh design
═══════════════════════════════════════════════════════════ */
.academy-wrapper {
    background: #fafbff !important;
    padding-top: 5rem;
}
.academy-sidebar {
    background: white !important;
    border-right: 1px solid #e2e8f0 !important;
    padding: 2rem 1.5rem !important;
}
.academy-sidebar h3 {
    font-family: var(--s-font-display);
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-600) !important;
    margin-bottom: 1.5rem;
}
.phase-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.phase-group:last-child { border-bottom: none; }
.phase-title {
    display: block;
    font-family: var(--s-font-display);
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}
.module-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0.85rem !important;
    border-radius: 10px;
    color: var(--slate) !important;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}
.module-link:hover {
    background: var(--blue-50) !important;
    color: var(--blue-700) !important;
}
.module-link.active {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.module-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}
.module-link.active .module-dot { background: white; }
.module-link:hover .module-dot { background: var(--blue-400); }

.academy-status-bar {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(15,23,42,0.04);
    margin-bottom: 2rem;
}
.xp-progress-bg {
    background: #f1f5f9 !important;
    height: 8px !important;
    border-radius: 50px;
    overflow: hidden;
}
.xp-progress-fill {
    background: linear-gradient(90deg, var(--blue-500), #38bdf8) !important;
    border-radius: 50px;
    transition: width 0.6s ease;
}
.streak-counter, .rank-badge {
    background: var(--blue-50) !important;
    color: var(--blue-700) !important;
    border: 1px solid var(--blue-200);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 50px;
    font-family: var(--s-font-display);
}

.lesson-container {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
}
.lesson-tag {
    display: inline-block;
    background: var(--blue-50);
    color: var(--blue-700);
    font-family: var(--s-font-display);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}
.lesson-title {
    font-family: var(--s-font-display);
    font-weight: 800 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem;
}
.lesson-content { color: #334155; line-height: 1.7; font-size: 1rem; }
.lesson-content p { margin-bottom: 1.25rem; }
.lesson-content h3 {
    font-family: var(--s-font-display);
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
.concept-card {
    background: linear-gradient(135deg, #fafbff 0%, white 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
}
.concept-card h4 {
    font-family: var(--s-font-display);
    font-weight: 700 !important;
    color: var(--blue-700) !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
}
.concept-card p { font-size: 0.85rem !important; color: var(--slate); margin: 0; line-height: 1.5; }

.sim-theater {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.sim-prompt {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.sim-feedback { color: white !important; }
@media (max-width: 768px) {
    .concept-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   ITEM 8 — Accessibility
═══════════════════════════════════════════════════════════ */

/* Visible focus ring for keyboard nav */
*:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid var(--blue-500) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--blue-700);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0 0 8px 0;
    font-weight: 700;
    z-index: 10000;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .fade-in-up { opacity: 1 !important; transform: none !important; }
    .pulse-dot, .s-meta-dot-active { animation: none !important; }
    .s-mockup-float { animation: none !important; }
    .s-asterisk { animation: none !important; }
}

/* Better contrast: rgba blue text on dark navy */
.s-eyebrow { color: #93c5fd !important; }
.bg-darker .s-eyebrow, .s-proof .s-eyebrow, .s-contact .s-eyebrow { color: #93c5fd !important; }


/* ═══════════════ FOOTER FINAL FIXES ═══════════════ */

/* X social icon — proper styling */
.footer-social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px;
    color: white !important;
    transition: all 0.25s ease !important;
    padding: 0 !important;
}
.footer-social-icon:hover {
    background: rgba(59,130,246,0.2) !important;
    border-color: var(--blue-400) !important;
    color: var(--blue-400) !important;
    transform: translateY(-2px);
}
.footer-social-icon svg { width: 16px; height: 16px; }

/* Risk Warning disclaimer — kill the white background */
.footer-disclaimer {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.55) !important;
    padding: 1.5rem 2rem !important;
    border-radius: 14px !important;
    margin-top: 3rem !important;
}
.footer-disclaimer strong { color: #fbbf24 !important; }

/* "Our Socials" label and similar inline-styled labels — recolor for dark footer */
.footer span[style*="color:#94a3b8"],
.footer span[style*="color: #94a3b8"] {
    color: #93c5fd !important;
}

/* Footer "Contact Us" + secondary links inline styles override */
.footer a[style*="color: var(--text-primary)"],
.footer a[style*="color:var(--text-primary)"] {
    color: white !important;
}
.footer a[style*="color: #64748b"],
.footer a[style*="color:#64748b"] {
    color: rgba(255,255,255,0.6) !important;
}
.footer-secondary-links a:hover { color: var(--blue-400) !important; }


/* ═══════════════════════════════════════════════════════════
   FAQ SECTION REDESIGN
═══════════════════════════════════════════════════════════ */
.s-faq-intro {
    color: var(--slate);
    margin: 1.25rem 0 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.s-faq-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-50), white);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    margin-bottom: 1.5rem;
}
.s-faq-contact:hover {
    border-color: var(--blue-400);
    box-shadow: 0 12px 30px rgba(59,130,246,0.15);
    transform: translateY(-2px);
}
.s-faq-contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.s-faq-contact-body { flex: 1; display: flex; flex-direction: column; }
.s-faq-contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-600);
    margin-bottom: 2px;
}
.s-faq-contact-value {
    font-family: var(--s-font-display);
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}
.s-faq-contact-arrow {
    color: var(--blue-500);
    font-size: 1.4rem;
    font-weight: 600;
    transition: transform 0.25s ease;
}
.s-faq-contact:hover .s-faq-contact-arrow { transform: translateX(4px); }

.s-faq-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}
.s-faq-stat {
    text-align: center;
    padding: 1rem 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.s-faq-stat-num {
    display: block;
    font-family: var(--s-font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue-600);
    letter-spacing: -0.5px;
    line-height: 1;
}
.s-faq-stat-lbl {
    display: block;
    font-size: 0.72rem;
    color: var(--slate);
    margin-top: 4px;
}

/* Iconified accordion */
.s-faq-right .faq-container { border-top: none !important; }
.s-faq-right .faq-item {
    background: white;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.s-faq-right .faq-item:hover {
    border-color: var(--blue-200) !important;
    box-shadow: 0 8px 25px rgba(59,130,246,0.06);
}
.s-faq-right .faq-item[open] {
    border-color: var(--blue-400) !important;
    box-shadow: 0 8px 30px rgba(59,130,246,0.12);
}
.s-faq-right .faq-item summary {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 1.1rem 1.4rem !important;
    font-family: var(--s-font-display);
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    cursor: pointer;
    list-style: none;
}
.s-faq-right .faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    border-radius: 10px;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.s-faq-right .faq-item[open] .faq-icon {
    background: var(--blue-500);
    color: white;
    transform: scale(1.05);
}
.faq-q { flex: 1; line-height: 1.4; }
.faq-chevron {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    color: var(--slate);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.s-faq-right .faq-item[open] .faq-chevron {
    background: var(--blue-100);
    color: var(--blue-700);
    transform: rotate(45deg);
}
.s-faq-right .faq-content {
    padding: 0 1.4rem 1.4rem 4.6rem !important;
    color: var(--slate) !important;
    line-height: 1.7 !important;
    font-size: 0.92rem !important;
}


/* ═══════════════════════════════════════════════════════════
   PRICING REDESIGN — proper SVG icons + trust badges
═══════════════════════════════════════════════════════════ */
.s-plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.s-plan-icon-svg {
    width: 56px;
    height: 56px;
    background: var(--blue-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
}
.s-plan-icon-svg svg { width: 28px; height: 28px; }
.s-icon-featured {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: white;
    box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}
.s-plan-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 50px;
}
.s-plan-meta {
    font-size: 0.8rem;
    color: var(--slate);
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.s-plan-features li { padding-left: 1.6rem !important; position: relative; }
.s-plan-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 16px; height: 16px;
    background: var(--blue-50);
    border-radius: 50%;
}
.s-plan-features li::after {
    content: '✓';
    position: absolute;
    left: 4px; top: 6px;
    color: var(--blue-600);
    font-weight: 800;
    font-size: 0.7rem;
}
.s-feat-save {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
    margin-left: 4px;
}
.s-plan-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
    color: var(--slate);
    font-weight: 500;
}
.s-proof-pulse {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

/* Featured plan badge upgrade */
.s-plan-featured .s-plan-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #422006;
    font-size: 0.7rem;
    padding: 5px 16px;
}

/* Trust badges row */
.s-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 860px;
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}
.s-tb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
}
.s-tb svg { color: #93c5fd; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   VIP SECTION REDESIGN
═══════════════════════════════════════════════════════════ */
.s-vip {
    padding: 7rem 0;
    background: linear-gradient(180deg, white 0%, #fafbff 100%);
}
.s-vip-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

/* Live indicator */
.s-vip-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 50px;
    font-size: 0.82rem;
    color: #15803d;
    margin: 1.25rem 0;
    font-weight: 500;
}
.s-vip-live strong { color: #047857; font-weight: 700; }
.s-vip-live-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
    animation: pulse-dot 2s infinite;
}

.s-vip-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.s-vip-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.55;
}
.s-vip-list li strong { color: #0f172a; }
.s-vip-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(59,130,246,0.3);
}

.s-vip-cta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.s-vip-price {
    font-family: var(--s-font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: #0f172a;
    letter-spacing: -1px;
}
.s-vip-price span { font-size: 0.85rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }

/* Visual frame with floating cards */
.s-vip-visual { position: relative; }
.s-vip-frame {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}
.s-vip-frame img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(15,23,42,0.18);
}

.s-vip-float {
    position: absolute;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 50px rgba(15,23,42,0.18);
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: float-card 4s ease-in-out infinite;
}
.s-vip-float-1 { top: 20px; left: -30px; min-width: 200px; animation-delay: 0s; }
.s-vip-float-2 { bottom: 20px; right: -20px; min-width: 180px; animation-delay: 1.5s; }

.s-vip-float-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.s-vip-pair {
    font-family: var(--s-font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: #0f172a;
}
.s-vip-side {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}
.s-vip-float-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    padding: 3px 0;
}
.s-vip-float-row span:first-child { color: var(--slate); }
.s-vip-float-row .mono {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-weight: 700;
    color: #0f172a;
}
.s-vip-float-row .red { color: #dc2626; }
.s-vip-float-row .green { color: #16a34a; }

.s-vip-float-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate);
}
.s-vip-float-big {
    display: block;
    font-family: var(--s-font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: -0.5px;
    margin: 4px 0 6px;
}
.s-vip-mini-chart svg { width: 100%; height: 28px; }


/* Mobile adjustments */
@media (max-width: 1024px) {
    .s-faq-stats { grid-template-columns: repeat(3, 1fr); }
    .s-trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .s-faq-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; }
    .s-faq-stat-num { font-size: 1.1rem; }
    .s-faq-right .faq-content { padding-left: 1.4rem !important; }
    .faq-icon { display: none; }
    .s-trust-badges { grid-template-columns: 1fr 1fr; }
    .s-vip-float-1 { left: 10px; top: 10px; min-width: 160px; padding: 0.75rem 0.85rem; }
    .s-vip-float-2 { right: 10px; bottom: 10px; min-width: 150px; padding: 0.75rem 0.85rem; }
    .s-vip-cta-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
