/* ═══════════════ VARIABLES ═══════════════ */
:root {
  --bg-main: #1a1815;
  --bg-card: #242220;
  --bg-card-alt: #1f1d1b;
  --bg-dark: #0f0e0c;
  --bg-dark-card: #1a1815;
  --border: #3a3835;
  --border-dark: #2e2c29;

  --text-primary: #e7e5e3;
  --text-secondary: #a8a5a0;
  --text-muted: #6b6864;
  --text-on-dark: #e7e5e3;
  --text-on-dark-secondary: #a8a5a0;
  --text-on-dark-muted: #6b6864;

  --accent: #a78bfa;
  --accent-dim: #8b5cf6;
  --accent-glow: rgba(167, 139, 250, 0.15);
  --accent-light: rgba(167, 139, 250, 0.12);

  --amber: #f59e0b;
  --amber-light: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.12);

  --emerald: #34d399;
  --emerald-light: rgba(52, 211, 153, 0.12);

  --red: #f87171;
  --red-light: rgba(248, 113, 113, 0.12);

  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim); }
img { max-width: 100%; }

/* ═══════════════ LAYOUT ═══════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dim);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* Dark section buttons */
.dark-section .btn-ghost {
  color: var(--text-on-dark-secondary);
  border-color: var(--border-dark);
}
.dark-section .btn-ghost:hover {
  color: var(--text-on-dark);
  border-color: var(--text-on-dark-muted);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black, transparent);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.glow-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -200px; left: 20%;
  opacity: 0.15;
}
.glow-2 {
  width: 400px; height: 400px;
  background: var(--amber);
  top: -100px; right: 15%;
  opacity: 0.1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 500;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 8px;
}
.hero-sub strong { color: var(--text-primary); }

.hero-sub-small {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* ═══════════════ DEMO WINDOW ═══════════════ */
.demo-window {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px var(--accent-glow);
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-dark);
}

.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #44403c;
}
.demo-dots span:first-child { background: #ef4444; }
.demo-dots span:nth-child(2) { background: #eab308; }
.demo-dots span:last-child { background: #22c55e; }

.demo-url {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  background: rgba(0,0,0,0.3);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}

.demo-content {
  padding: 24px;
  color: var(--text-on-dark);
}

.demo-input-area {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.demo-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-on-dark);
  min-height: 44px;
}

.demo-cursor {
  animation: blink 1s infinite;
  color: var(--accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.demo-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
}

.phase {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  opacity: 0.4;
  transition: all 0.4s;
  color: var(--text-on-dark);
}

.phase.active {
  opacity: 1;
  border-color: var(--accent);
  background: var(--accent-glow);
}

.phase.done { opacity: 0.7; }

.phase-icon { font-size: 1.2rem; }
.phase-name { font-weight: 600; font-size: 0.85rem; }
.phase-detail { font-size: 0.75rem; color: var(--text-on-dark-muted); }

.phase-status {
  margin-left: auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #44403c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.phase.done .phase-status {
  background: var(--accent);
  border-color: var(--accent);
}
.phase.done .phase-status::after {
  content: '✓';
  color: #fff;
}

.phase.active .phase-status {
  border-color: var(--accent);
  animation: spin 1s linear infinite;
}
.phase.active .phase-status::after {
  content: '';
  width: 8px; height: 8px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════ PROBLEM ═══════════════ */
.problem {
  background: var(--bg-main);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.problem-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.problem-icon { font-size: 2rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ═══════════════ TRIANGULATION ═══════════════ */
.triangulation {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.triangulation h2 { color: var(--text-on-dark); }
.triangulation .gradient-text {
  background: linear-gradient(135deg, #a78bfa, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.triangulation .section-sub { color: var(--text-on-dark-secondary); }

.tri-comparison {
  display: flex;
  align-items: stretch;
  gap: 24px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.tri-card {
  flex: 1;
  max-width: 400px;
  min-width: 280px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.tri-new {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.tri-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  margin-bottom: 24px;
  font-weight: 600;
}
.tri-new .tri-label { color: var(--accent); }

.tri-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tri-step {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-on-dark-secondary);
}

.tri-step.faded { opacity: 0.5; font-style: italic; }
.tri-step.highlight {
  background: var(--accent-glow);
  color: #a78bfa;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.tri-arrow { color: var(--text-on-dark-muted); font-size: 0.8rem; }

.tri-engines {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.tri-engines span {
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.tri-vs {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-on-dark-muted);
}

.tri-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  justify-content: center;
}
.tri-result.bad { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.tri-result.good { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }

.tri-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.tri-stat { text-align: center; }
.tri-stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.tri-stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  line-height: 1.4;
}

/* ═══════════════ PROOF ═══════════════ */
.proof {
  background: var(--bg-card-alt);
}

.proof-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.proof-quote {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 24px;
}

.proof-stat { text-align: center; }
.proof-stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.proof-stat-number.old {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}
.proof-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.proof-arrow {
  font-size: 2rem;
  color: var(--accent);
  display: flex;
  align-items: center;
}

.proof-context {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════ HOW IT WORKS ═══════════════ */
.how-it-works {
  background: var(--bg-main);
}

.phases-visual {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: center;
}

.phase-card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.phase-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.phase-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.phase-card-icon { font-size: 2rem; margin-bottom: 12px; }
.phase-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.phase-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; }

.phase-stat {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-light);
  border-radius: 100px;
  display: inline-block;
}

.phase-connector {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  padding: 0 4px;
}

/* ═══════════════ MODES ═══════════════ */
.modes {
  background: var(--bg-card-alt);
}

.mode-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  max-width: 360px;
  margin: 0 auto 48px;
}

.mode-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s;
}
.mode-btn.active {
  background: var(--accent);
  color: #fff;
}

.mode-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mode-panel.active { display: grid; }

.mode-info h3 { font-size: 1.6rem; margin-bottom: 4px; }
.mode-tagline { color: var(--accent); font-style: italic; margin-bottom: 20px; }

.mode-info ul { list-style: none; margin-bottom: 24px; }
.mode-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

.mode-example {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.mode-example-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mode-example-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

/* Output Mockup */
.output-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.output-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}
.output-tab {
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.output-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.output-body { padding: 16px; }

.output-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.convergence-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.convergence-badge.high {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.convergence-badge.medium {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
}
.convergence-badge.low {
  background: var(--emerald-light);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.creative-spark {
  border: 1px solid rgba(217, 119, 6, 0.3);
  background: var(--amber-light);
}
.spark-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
  white-space: nowrap;
}

/* ═══════════════ OUTPUT FEATURES ═══════════════ */
.output-section {
  background: var(--bg-main);
}

.output-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.output-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.output-feature:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }

.of-icon { font-size: 2rem; margin-bottom: 12px; }
.output-feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.output-feature p { color: var(--text-secondary); font-size: 0.9rem; }

/* ═══════════════ PRICING ═══════════════ */
.pricing {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.pricing h2 { color: var(--text-on-dark); }
.pricing .section-sub { color: var(--text-on-dark-secondary); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 32px;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-card:hover { border-color: #57534e; }
.pricing-card.featured:hover { border-color: var(--accent); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-on-dark-secondary);
  margin-bottom: 4px;
  margin-top: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}
.pricing-amount { margin: 12px 0 8px; }
.price { font-size: 3.5rem; font-weight: 800; color: var(--text-on-dark); }
.period { color: var(--text-on-dark-muted); font-size: 1.1rem; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-on-dark-secondary);
  font-size: 0.95rem;
}
.pricing-features .check { color: #a78bfa; }

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.pricing-note-block {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.pricing-trial {
  font-size: 0.85rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
  margin-top: 8px;
}

/* ═══════════════ FAQ ═══════════════ */
.faq { background: var(--bg-main); }

.faq-list { max-width: 700px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════ FINAL CTA ═══════════════ */
.final-cta {
  text-align: center;
  padding: 120px 0;
  background: var(--bg-card-alt);
}

.final-cta h2 { margin-bottom: 12px; }
.final-cta > .container > p { color: var(--text-secondary); margin-bottom: 32px; }

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 12px;
}
.waitlist-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input { color: var(--text-primary); }

.waitlist-note { font-size: 0.8rem; color: var(--text-muted); }

/* ═══════════════ FOOTER ═══════════════ */
footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-main);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo { font-weight: 700; font-size: 1.2rem; color: var(--text-primary); }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; max-width: 300px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--accent); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 960px) {
  .phases-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .phase-card { max-width: 100%; min-width: 0; }
  .phase-connector { display: none; }
}

@media (max-width: 900px) {
  .output-features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2.2rem; }

  .phases-visual { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .phase-card { max-width: 100%; }
  .phase-connector { display: none; }

  .mode-panel { grid-template-columns: 1fr; }
  .mode-panel.active { display: flex; flex-direction: column; }

  .waitlist-form { flex-direction: column; }
  .footer-content { flex-direction: column; }

  .tri-comparison { flex-direction: column; align-items: center; }
  .tri-vs { padding: 8px 0; font-size: 1rem; }
  .tri-card { max-width: 100%; }
  .tri-stats { gap: 24px; }
  .tri-stat-number { font-size: 2rem; }

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

  .proof-stats { gap: 24px; }
  .proof-stat-number { font-size: 2rem; }
  .proof-card { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .output-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .demo-window { margin: 0 -8px; border-radius: var(--radius); }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@media (prefers-reduced-motion: no-preference) {
  .phase-card,
  .problem-card,
  .output-feature,
  .faq-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
  }
  @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

  .problem-card:nth-child(1) { animation-delay: 0.1s; }
  .problem-card:nth-child(2) { animation-delay: 0.2s; }
  .problem-card:nth-child(3) { animation-delay: 0.3s; }
  .phase-card:nth-child(1) { animation-delay: 0.1s; }
  .phase-card:nth-child(3) { animation-delay: 0.2s; }
  .phase-card:nth-child(5) { animation-delay: 0.3s; }
  .phase-card:nth-child(7) { animation-delay: 0.4s; }
}
