/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-deep:    #F8F7F5;
  --bg-primary: #F0EFED;
  --bg-card:    #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --accent:     #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.08);
  --accent-glow: rgba(59, 130, 246, 0.15);
  --green:      #16a34a;
  --emerald:    #10b981;
  --amber:      #eab308;
  --red:        #ef4444;
  --text:       #1a1a1a;
  --text-dim:   #4a4a5a;
  --text-faint: #6b6b80;
  --border:     #E5E5E5;
  --border-light: #D4D4D4;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text-dim);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Grid Background Pattern ── */
.grid-bg {
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(248,247,245,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand svg.logo-mark { width: 28px; height: 28px; }
.nav-brand span { font-size: 18px; font-weight: 900; color: #0d0d0d; letter-spacing: -0.05em; }
.nav-brand .blue { color: #60a5fa; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white;
  padding: 7px 28px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer; white-space: nowrap;
}
.nav-cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-cta:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 4px 24px var(--accent-glow); }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: visible;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,0.06), transparent);
  pointer-events: none;
}
.hero-inner { max-width: 900px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(59,130,246,0.2);
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 32px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900; color: #0d0d0d;
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero h2 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900; color: var(--accent);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--text-dim);
  max-width: 600px; margin: 0 auto 40px;
}
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  padding: 16px 36px; border-radius: 10px;
  font-size: 16px; font-weight: 700;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 4px 32px var(--accent-glow);
}
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 40px rgba(59,130,246,0.35); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--border-light); color: var(--text);
  background: rgba(0,0,0,0.03);
  padding: 16px 36px; border-radius: 10px;
  font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.05); }
/* Gradient text utility */
.gradient-text {
  background: linear-gradient(90deg, var(--accent) 30%, var(--green) 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-note { font-size: 14px; color: var(--text-faint); margin-top: 8px; }

/* ── App Preview ── */
.preview {
  max-width: 1650px; margin: 60px auto 0;
  position: relative; padding: 0 24px;
  transition: max-width 0.05s linear; /* smooths out JS-driven scroll updates */
}
.preview::before {
  content: ''; position: absolute;
  inset: -20px; z-index: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(60px); opacity: 0.2;
}
/* ── Browser Chrome Frame ── */
.browser-frame {
  position: relative; z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05) inset;
  background: var(--bg-card);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: #E8E8E8;
}
.browser-dots {
  display: flex; gap: 6px;
}
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.browser-url {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: #666;
  background: #fff; border-radius: 6px;
  padding: 4px 12px; flex: 1; max-width: 240px;
}
.browser-url svg { color: #888; flex-shrink: 0; }
.browser-frame video,
.browser-frame img {
  width: 100%; height: auto; display: block;
}
/* Legacy fallback if video is not inside browser-frame */
.preview > video,
.preview > img {
  position: relative; z-index: 1;
  width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05) inset;
}

/* ── Sections shared ── */
section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-label.green { color: var(--green); }
.section-label.red   { color: var(--red); }
.section-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800; color: #0d0d0d;
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 18px; line-height: 1.6;
  color: var(--text-dim); max-width: 600px;
}

/* ── Problem Section ── */
.problems { background: var(--bg-primary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid rgba(239,68,68,0.25);
  border-radius: 12px; padding: 32px;
  transition: all 0.3s;
}
.problem-card:hover { border-color: var(--border-light); background: var(--bg-card-hover); transform: translateY(-2px); }
.problem-card h3 { font-size: 18px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.problem-card p { font-size: 16px; line-height: 1.6; color: var(--text-dim); }
.problem-illustration {
  height: 40px; width: auto;
  margin-bottom: 16px;
}

/* ── How It Works ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.step {
  position: relative; text-align: center;
  padding: 48px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.3s;
}
.step:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(59,130,246,0.08); }
@keyframes step-glow {
  0%, 100% { box-shadow: none; border-color: var(--border); }
  15%, 35% { box-shadow: 0 0 24px 4px rgba(59,130,246,0.25), 0 0 60px 8px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.5); }
}
@keyframes step-glow-green {
  0%, 100% { box-shadow: none; border-color: var(--border); }
  15%, 35% { box-shadow: 0 0 24px 4px rgba(22,163,74,0.25), 0 0 60px 8px rgba(22,163,74,0.12); border-color: rgba(22,163,74,0.5); }
}
.steps-grid.glowing .step:nth-child(1) { animation: step-glow 5s ease-in-out infinite; animation-delay: 0s; }
.steps-grid.glowing .step:nth-child(2) { animation: step-glow 5s ease-in-out infinite; animation-delay: 1.2s; }
.steps-grid.glowing .step:nth-child(3) { animation: step-glow-green 5s ease-in-out infinite; animation-delay: 2.4s; }
/* Arrow connectors between steps (desktop only) */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -24px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid var(--accent);
  opacity: 0.4;
}
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: var(--accent);
  margin: 0 auto 20px;
}
.step h3 { font-size: 18px; font-weight: 700; color: #0d0d0d; margin-bottom: 10px; }
.step p { font-size: 16px; line-height: 1.6; }
/* Step 3 payoff — transitions to green when revealed */
.step-payoff .step-num,
.step-payoff h3 {
  transition: color 0.6s ease, background 0.6s ease, border-color 0.6s ease;
}
.step-payoff.visible .step-num {
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.3);
  color: var(--green);
}
.step-payoff.visible h3 { color: var(--green); }

/* ── Features Grid ── */
.features { background: var(--bg-primary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: all 0.3s;
}
.feature:hover { border-color: var(--border-light); background: var(--bg-card-hover); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 18px;
}
.fi-blue   { background: rgba(59,130,246,0.12); color: var(--accent); }
.fi-green  { background: rgba(16,185,129,0.12); color: var(--emerald); }
.fi-amber  { background: rgba(234,179,8,0.12); color: var(--amber); }
.fi-purple { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.fi-cyan   { background: rgba(34,211,238,0.12); color: #22d3ee; }
.fi-white  { background: rgba(0,0,0,0.05); color: #4a4a5a; }
.feature h3 { font-size: 18px; font-weight: 700; color: #0d0d0d; margin-bottom: 8px; }
.feature p { font-size: 15px; line-height: 1.6; }

/* ── Mini Matrix Demo ── */
.demo-section { text-align: center; scroll-margin-top: 220px; }
.matrix-demo {
  max-width: 560px; margin: 48px auto 0;
  background: #10101c; border: 1px solid #1a1a2e;
  border-radius: 12px; padding: 28px; overflow: hidden;
  color: #e8e8f0;
}
.matrix-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #252540;
}
.matrix-header span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #8a8aa8; }
.matrix-legend { display: flex; gap: 16px; }
.matrix-legend span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #8a8aa8; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.ld-green { background: var(--emerald); }
.ld-gray { background: #6b7280; }
.ld-red { background: var(--red); }
.matrix-grid {
  display: grid;
  grid-template-columns: 56px repeat(4, 1fr);
  gap: 6px;
}
.m-label {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #8a8aa8;
  padding: 8px 0;
}
.m-header { font-weight: 700; color: #9898b0; }
.m-cell {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 4px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #e8e8f0;
  font-variant-numeric: tabular-nums;
  transition: all 0.2s;
}
.m-cell:hover { transform: scale(1.06); }
.mc-green { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); }
.mc-gray  { background: rgba(107,114,128,0.12); border: 1px solid rgba(107,114,128,0.2); }
.mc-red   { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); }
.mc-amber { background: rgba(234,179,8,0.10); border: 1px solid rgba(234,179,8,0.25); }
/* Pre-animation muted state (applied by JS, so graceful degradation if JS fails) */
.m-cell.pre-count {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.15);
  transition: background 0.6s ease, border-color 0.6s ease, color 0.4s ease, transform 0.2s;
}
/* ── Margin Slider ── */
.margin-slider-wrap {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid #252540;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transition: opacity 0.5s ease;
}
.margin-slider-wrap.active { opacity: 1; }
.margin-slider-wrap label {
  font-size: 12px; font-weight: 600; color: #8a8aa8;
  text-transform: uppercase; letter-spacing: 0.5px;
  white-space: nowrap;
}
.margin-slider {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 4px; border-radius: 2px;
  background: #252540; outline: none; cursor: pointer;
}
@keyframes thumb-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(59,130,246,0.5)); }
  50% { filter: drop-shadow(0 0 16px rgba(59,130,246,0.9)); }
}
.margin-slider.pulsing {
  animation: thumb-pulse 1.2s ease-in-out infinite;
}
.margin-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid #10101c;
  box-shadow: 0 0 8px rgba(59,130,246,0.4);
  cursor: pointer; transition: transform 0.15s;
}
.margin-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.margin-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 2px solid #10101c;
  box-shadow: 0 0 8px rgba(59,130,246,0.4);
  cursor: pointer;
}
.margin-badge {
  font-size: 14px; font-weight: 700; color: var(--accent);
  min-width: 36px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.slider-prompt {
  text-align: center; margin-top: 10px;
  font-size: 12px; color: var(--accent); font-weight: 500;
  opacity: 0; transition: opacity 0.4s ease;
}
.slider-prompt.visible { opacity: 1; }
.slider-prompt.hidden { opacity: 0; }

/* ── Pricing ── */
.pricing-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-card {
  max-width: 480px; margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 12px; padding: 40px 36px;
  position: relative;
  box-shadow: 0 4px 40px rgba(59,130,246,0.1);
}
.pricing-price {
  display: flex; align-items: flex-start; justify-content: center; gap: 2px;
  margin-bottom: 4px;
}
.pricing-dollar {
  font-size: 28px; font-weight: 700; color: var(--green);
  margin-top: 12px;
}
.pricing-amount {
  font-size: 80px; font-weight: 900; color: #0d0d0d;
  line-height: 1; letter-spacing: -0.04em;
}
.pricing-label {
  font-size: 15px; font-weight: 600; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none; text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { flex-shrink: 0; }

/* ── Final CTA ── */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
}
.final-cta h2 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900; color: #0d0d0d;
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.final-cta .accent {
  background: linear-gradient(90deg, var(--accent) 20%, var(--green) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-cta p { font-size: 18px; max-width: 500px; margin: 0 auto 36px; }

/* ── Footer ── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand svg.logo-mark { width: 22px; height: 22px; }
.footer-brand span { font-size: 14px; font-weight: 900; color: var(--text-dim); letter-spacing: -0.05em; }
.footer-right { font-size: 14px; color: var(--text-faint); }
.footer-tag { font-size: 14px; color: var(--text-faint); font-style: italic; }

/* ── Credibility Banner ── */
.credibility {
  text-align: center;
  padding: 48px 24px 0;
}
.credibility-inner {
  max-width: 700px; margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.credibility p {
  font-size: 16px; line-height: 1.6;
  color: var(--text-dim); font-style: italic;
}
.credibility strong { color: #0d0d0d; font-style: normal; font-weight: 600; }

/* ── FAQ Section ── */
.faq-section { background: var(--bg-deep); }
.faq-grid {
  max-width: 700px; margin: 48px auto 0;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-grid details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.faq-grid details[open] { border-color: var(--border-light); }
.faq-grid summary {
  padding: 18px 24px;
  font-size: 17px; font-weight: 600; color: #0d0d0d;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: '+'; font-size: 20px; font-weight: 400;
  color: var(--text-faint); transition: transform 0.2s;
}
.faq-grid details[open] summary::after { content: '−'; }
.faq-grid .faq-answer {
  padding: 0 24px 18px;
  font-size: 16px; line-height: 1.6; color: var(--text-dim);
}

/* ── Email Capture ── */
.signup-section {
  background: var(--bg-deep);
  position: relative; overflow: hidden;
}
.signup-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(59,130,246,0.04), transparent);
  pointer-events: none;
}
.signup-card {
  max-width: 560px; margin: 40px auto 0;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 12px; padding: 36px 32px;
  position: relative;
  box-shadow: 0 4px 40px rgba(59,130,246,0.1);
}
.signup-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(59,130,246,0.2);
  padding: 5px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.signup-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 2s infinite; }
.signup-lead-magnet {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 10px; padding: 16px 20px;
  margin-bottom: 28px; text-align: left;
}
.signup-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(16,185,129,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.signup-lead-text strong {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.signup-lead-text span {
  font-size: 14px; line-height: 1.6; color: var(--text-dim);
}
.signup-form-wrap { text-align: center; }
.signup-form { display: flex; flex-direction: column; gap: 12px; }
.signup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-input, .signup-select {
  width: 100%; padding: 14px 16px;
  background: var(--bg-deep); color: var(--text);
  border: 1px solid var(--border-light); border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 16px;
  outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
}
.signup-input::placeholder { color: var(--text-faint); }
.signup-input:focus, .signup-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.signup-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238888a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.signup-select option { background: var(--bg-card); color: var(--text); }
.signup-btn {
  width: 100%; justify-content: center;
  font-size: 16px; padding: 16px 0; margin-top: 4px;
}
.signup-note {
  font-size: 13px; color: var(--text-faint); margin-top: 14px;
}

/* ── Kit (ConvertKit) form overrides ── */
.signup-form-wrap .formkit-form {
  background: transparent !important; border: none !important;
  padding: 0 !important; font-family: 'Outfit', sans-serif !important;
}
.signup-form-wrap .formkit-input {
  background: var(--bg-deep) !important; color: var(--text) !important;
  border: 1px solid var(--border-light) !important; border-radius: 8px !important;
  padding: 14px 16px !important; font-family: 'Outfit', sans-serif !important; font-size: 16px !important;
}
.signup-form-wrap .formkit-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-dim) !important;
}
.signup-form-wrap .formkit-submit {
  background: var(--accent) !important; border-radius: 10px !important;
  font-family: 'Outfit', sans-serif !important; font-weight: 700 !important;
  font-size: 16px !important; padding: 16px 0 !important;
  width: 100% !important; transition: all 0.25s !important;
}
.signup-form-wrap .formkit-submit:hover {
  background: #2563eb !important; transform: translateY(-2px) !important;
  box-shadow: 0 8px 40px rgba(59,130,246,0.35) !important;
}

/* ── Scroll Animations ── */
/* Visible by default — never invisible on initial load */
.reveal {
  opacity: 1; transform: translateY(0);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Only animate if user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.visible) {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .problem-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .browser-bar { padding: 8px 12px; }
  .browser-dots span { width: 8px; height: 8px; }
  .browser-url { font-size: 11px; padding: 3px 10px; }
  .hero { padding: 120px 20px 60px; }
  section { padding: 72px 20px; }
  .preview { margin-top: 40px; }
  .matrix-grid { grid-template-columns: 48px repeat(3, 1fr); }
  .m-col-hide { display: none; }
  .nav-cta { padding: 6px 18px; font-size: 14px; }
  .signup-fields { grid-template-columns: 1fr; }
  .signup-card { padding: 28px 20px; }
  .signup-lead-magnet { flex-direction: column; align-items: center; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .problem-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Comparison Table ── */
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: var(--text);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-table th {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table tbody tr:hover { background: rgba(59,130,246,0.04); }
.cmp-yes { color: var(--emerald); font-weight: 600; }
.cmp-no { color: var(--red); opacity: 0.7; }

@media (max-width: 580px) {
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; }
}
