/* ═══════════════════════════════════════════════
   LearnWorlds Interactive Guide — CSS
   Theme: Dark Navy + Violet + Cyan
   ═══════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────── */
:root {
  --bg:       #060b14;
  --bg-2:     #0b1220;
  --bg-3:     #101828;
  --bg-card:  rgba(255,255,255,.04);
  --primary:  #7c3aed;
  --primary-l:#a78bfa;
  --cyan:     #06b6d4;
  --amber:    #f59e0b;
  --emerald:  #10b981;
  --pink:     #ec4899;
  --text:     #f0f4ff;
  --text-2:   rgba(240,244,255,.65);
  --text-3:   rgba(240,244,255,.35);
  --border:   rgba(255,255,255,.07);
  --border-2: rgba(124,58,237,.35);
  --sidebar-w: 240px;
  --nav-h:    60px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;
  --ease:     cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
ul { list-style: none; }
img, canvas { display: block; }

/* ── Progress Bar ──────────────────────────────── */
#progress-bar-track {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(124,58,237,.15);
  z-index: 600;
}
#progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 0 2px 2px 0;
  transition: width .1s linear;
  box-shadow: 0 0 8px var(--primary);
}

/* ── Nav ───────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: var(--sidebar-w); right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(6,11,20,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 500;
  transition: left .3s var(--ease);
}
.nav-left {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.nav-back {
  color: var(--text-3);
  transition: color .2s;
  letter-spacing: .04em;
}
.nav-back:hover { color: var(--primary-l); }
.nav-sep { color: var(--border); }
.nav-title { color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; }

.nav-chapter-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
}
.ncp-num { color: var(--primary-l); }
.ncp-name { color: var(--text-2); }

.nav-cta {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: #6d28d9; transform: translateY(-1px); }

/* ── Sidebar ───────────────────────────────────── */
#chapter-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  display: flex; flex-direction: column;
  padding: 28px 0 24px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  z-index: 500;
  overflow-y: auto;
}
#chapter-sidebar::-webkit-scrollbar { width: 3px; }
#chapter-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sidebar-header {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600;
  margin-bottom: 6px;
}
.sidebar-subtitle {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-left: 37px;
}

.sidebar-nav { flex: 1; padding: 0 12px; }
.ch-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: background .18s, color .18s;
  font-size: 12.5px;
}
.ch-link:hover { background: rgba(124,58,237,.1); }
.ch-link.active { background: rgba(124,58,237,.15); }
.ch-link.active .ch-n { color: var(--primary-l); }
.ch-link.active .ch-t { color: var(--text); }
.ch-link.visited .ch-done { opacity: 1; }
.ch-n {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .08em;
  color: var(--text-3);
  flex-shrink: 0; width: 22px;
}
.ch-t { color: var(--text-2); flex: 1; }
.ch-done {
  font-size: 10px; color: var(--emerald);
  opacity: 0;
  transition: opacity .3s;
  flex-shrink: 0;
}

.sidebar-cta {
  margin: 16px 16px 0;
  display: block; text-align: center;
  padding: 10px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--primary-l);
  transition: background .2s;
}
.sidebar-cta:hover { background: rgba(124,58,237,.35); }

/* ── Main Content ──────────────────────────────── */
#main-content {
  margin-left: var(--sidebar-w);
  padding-top: var(--nav-h);
}

/* ── Chapter Base ──────────────────────────────── */
.chapter {
  position: relative;
  padding: 100px 80px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.chapter::after {
  content: '';
  position: absolute;
  bottom: 0; left: 80px; right: 80px;
  height: 1px;
  background: var(--border);
}
.chapter-inner { width: 100%; max-width: 1100px; margin: 0 auto; }

/* Chapter header */
.chapter-header { margin-bottom: 60px; }
.ch-label-pill {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .1em;
  color: var(--primary-l);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ch-label-pill.light { color: rgba(240,244,255,.5); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.chapter-h {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.chapter-h em { font-style: italic; color: var(--primary-l); }
.chapter-intro {
  font-size: 18px; line-height: 1.7;
  color: var(--text-2);
  max-width: 680px;
}

/* ── Reveal Animation ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* ── Buttons ───────────────────────────────────── */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(124,58,237,.35);
}
.btn-hero-primary:hover { background: #6d28d9; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,.5); }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px; font-weight: 500;
  color: var(--text-2);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-hero-ghost:hover { border-color: var(--primary-l); color: var(--text); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   CH.00 — HERO
   ═══════════════════════════════════════════════ */
#hero {
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 120px 80px 80px;
  max-width: none;
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.hero-eyebrow { margin-bottom: 24px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow-pill.violet {
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  color: var(--primary-l);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  max-width: 900px;
}
.hero-headline em { font-style: italic; color: var(--primary-l); }
.hero-sub {
  font-size: 19px; line-height: 1.65;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  margin-bottom: 48px;
}
.hs-item { text-align: center; padding: 0 32px; }
.hs-num {
  font-family: var(--font-serif);
  font-size: 36px; font-style: italic;
  color: var(--primary-l);
  line-height: 1;
  margin-bottom: 6px;
}
.hs-label { font-size: 12px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }
.hs-div { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }
.hero-scroll-hint {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.scroll-chevron {
  width: 18px; height: 18px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  animation: chev-pulse 1.8s ease-in-out infinite;
}
@keyframes chev-pulse { 0%,100%{opacity:.3;transform:rotate(45deg) translateY(-3px)} 50%{opacity:.8;transform:rotate(45deg) translateY(3px)} }

/* ═══════════════════════════════════════════════
   CH.01 — OPPORTUNITY
   ═══════════════════════════════════════════════ */
#opportunity { background: var(--bg); }
.opp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.opp-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .25s, transform .25s;
}
.opp-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.opp-num {
  font-family: var(--font-serif);
  font-size: 52px; font-style: italic;
  color: var(--primary-l);
  line-height: 1;
  margin-bottom: 10px;
}
.opp-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.opp-desc { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.opp-callout {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 28px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.2);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  font-size: 15px; line-height: 1.7;
  color: var(--text-2);
}
.callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.opp-callout strong { color: var(--text); }

/* ═══════════════════════════════════════════════
   CH.02 — PLATFORM
   ═══════════════════════════════════════════════ */
#platform { background: var(--bg-2); }
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.plat-card {
  padding: 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .25s, background .25s, transform .2s;
}
.plat-card:hover { border-color: var(--border-2); background: rgba(124,58,237,.06); transform: translateY(-3px); }
.plat-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  margin-bottom: 16px;
}
.plat-icon.violet { background: rgba(124,58,237,.15); color: var(--primary-l); }
.plat-icon.cyan   { background: rgba(6,182,212,.15);  color: var(--cyan); }
.plat-icon.amber  { background: rgba(245,158,11,.15); color: var(--amber); }
.plat-icon.emerald{ background: rgba(16,185,129,.15); color: var(--emerald); }
.plat-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.plat-card p  { font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

/* ═══════════════════════════════════════════════
   CH.03 — BUILD (Content Type Tabs + Mockups)
   ═══════════════════════════════════════════════ */
#build { background: var(--bg); }
.ct-wrapper { width: 100%; }
.ct-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.ct-tab {
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px; color: var(--text-2);
  transition: all .18s;
}
.ct-tab:hover { border-color: var(--primary-l); color: var(--text); }
.ct-tab.active {
  background: rgba(124,58,237,.2);
  border-color: var(--primary);
  color: var(--text);
  font-weight: 600;
}
.ct-body { position: relative; }
.ct-panel { display: none; }
.ct-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  animation: fadeIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: none; } }

/* Mockup frame */
.mockup-frame {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.mf-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.mf-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mf-dot.r { background: #ff5f57; }
.mf-dot.y { background: #febc2e; }
.mf-dot.g { background: #28c840; }
.live-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .08em;
  color: #ff5f57;
}

/* Video mockup */
.mock-player {
  padding: 24px 20px 16px;
  background: rgba(0,0,0,.3);
}
.mp-play {
  display: flex; justify-content: center;
  margin-bottom: 16px;
}
.mp-scrub {
  height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden;
}
.mp-fill { height: 100%; width: 38%; background: var(--primary); }
.mock-lessons { padding: 12px 0 8px; }
.ml-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 12px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ml-item.active { background: rgba(124,58,237,.1); color: var(--text); }
.ml-num {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--primary-l); flex-shrink: 0;
}
.ml-title { flex: 1; }
.ml-dur { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); }

/* Interactive mockup */
.mock-interactive { padding: 20px; }
.mi-pause {
  font-size: 11px; color: var(--amber);
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 6px; padding: 8px 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.mi-q { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.mi-opts { display: flex; flex-direction: column; gap: 8px; }
.mi-opt {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px; color: var(--text-2);
  cursor: pointer;
}
.mi-opt.correct {
  background: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.4);
  color: var(--emerald);
}

/* Live mockup */
.mock-live { padding: 20px; display: flex; gap: 16px; }
.ml-host { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ml-avatar {
  width: 64px; height: 64px;
  background: rgba(124,58,237,.2);
  border: 2px solid var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--primary-l);
}
.ml-hname { font-size: 10px; color: var(--text-3); font-family: var(--font-mono); text-align: center; }
.ml-attendees { flex: 1; }
.ml-att {
  font-size: 12px; color: var(--text-2);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ml-att.muted { color: var(--text-3); }
.ml-chat {
  font-size: 11.5px; color: var(--text-2);
  padding: 6px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  margin-top: 6px;
}

/* eBook mockup */
.mock-ebook { padding: 20px 24px; font-size: 12.5px; }
.me-chapter { font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.me-line {
  height: 8px; background: rgba(255,255,255,.08);
  border-radius: 3px; margin-bottom: 6px;
}
.me-line.short { width: 65%; }
.me-highlight {
  background: rgba(245,158,11,.1);
  border-left: 3px solid var(--amber);
  padding: 8px 12px; margin: 12px 0;
  font-size: 12px; color: var(--amber);
  border-radius: 0 6px 6px 0;
}
.me-note {
  font-style: italic; color: var(--text-3);
  font-size: 11.5px; margin-top: 10px;
}

/* Quiz mockup */
.mock-quiz { padding: 20px; }
.mq-progress {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-3); margin-bottom: 14px;
  letter-spacing: .06em;
}
.mq-q { font-size: 13px; font-weight: 600; margin-bottom: 14px; line-height: 1.5; }
.mq-opts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.mq-opt {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12.5px; color: var(--text-2);
}
.mq-opt.correct {
  background: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.4);
  color: var(--emerald);
}
.mq-cert {
  font-size: 11.5px; color: var(--amber);
  background: rgba(245,158,11,.08); padding: 8px 12px; border-radius: 6px;
}

/* SCORM mockup */
.mock-scorm {
  padding: 28px 24px; text-align: center;
}
.ms-icon { font-size: 32px; margin-bottom: 10px; }
.ms-name { font-size: 12px; color: var(--text-2); margin-bottom: 14px; font-family: var(--font-mono); }
.ms-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.ms-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.ms-status { font-size: 12px; color: var(--emerald); margin-bottom: 8px; }
.ms-lti { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); }

/* Info panel */
.ct-info { padding-top: 8px; }
.ct-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.ct-info p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 20px; }
.ct-checklist { display: flex; flex-direction: column; gap: 10px; }
.ct-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
  padding-left: 4px;
}
.ct-checklist li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CH.04 — BRAND
   ═══════════════════════════════════════════════ */
#brand { background: var(--bg-2); }
.brand-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}
.brand-items { display: flex; flex-direction: column; gap: 0; }
.brand-item {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.brand-item:last-child { border-bottom: none; }
.bi-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.bi-title { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.bi-desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* Branded school mockup */
.brand-mockup { display: flex; justify-content: center; }
.bm-device {
  width: 100%; max-width: 380px;
  position: relative;
}
.bm-screen {
  background: #0a0f1e;
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(124,58,237,.1);
}
.bm-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.bm-logo {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary-l);
  border: 1px solid rgba(124,58,237,.4);
  padding: 3px 8px; border-radius: 4px;
}
.bm-links { display: flex; gap: 12px; flex: 1; color: var(--text-3); font-size: 10.5px; }
.bm-cta-btn {
  padding: 4px 10px;
  background: var(--primary);
  border-radius: 5px;
  font-size: 10px; font-weight: 600;
}
.bm-hero { padding: 20px 16px; }
.bm-tag {
  display: inline-block;
  font-size: 10px; background: rgba(245,158,11,.15);
  color: var(--amber); border-radius: 5px; padding: 3px 8px;
  margin-bottom: 10px;
}
.bm-h { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 7px; }
.bm-meta { font-size: 11px; color: var(--text-3); margin-bottom: 12px; }
.bm-start {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  border-radius: 7px;
  font-size: 12px; font-weight: 600;
}
.bm-stats {
  display: flex;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--border);
  gap: 0;
}
.bm-stat {
  flex: 1; text-align: center;
  font-size: 11px; color: var(--text-2);
  border-right: 1px solid var(--border);
  padding: 4px 0;
}
.bm-stat:last-child { border-right: none; }
.bm-stat strong { display: block; font-size: 16px; color: var(--text); font-weight: 700; }
.bm-tag-badge {
  position: absolute; bottom: -14px; right: 20px;
  background: var(--emerald);
  color: #000; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
}

/* ═══════════════════════════════════════════════
   CH.05 — SELL
   ═══════════════════════════════════════════════ */
#sell { background: var(--bg); }
.rev-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.rev-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .25s, transform .2s;
  position: relative; overflow: hidden;
}
.rev-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rev-c, var(--primary));
  border-radius: 2px 2px 0 0;
}
.rev-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.rc-icon { font-size: 32px; margin-bottom: 14px; }
.rev-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; }
.rev-card p  { font-size: 13.5px; line-height: 1.65; color: var(--text-2); margin-bottom: 16px; }
.rc-plan-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  font-size: 10.5px; font-family: var(--font-mono);
  color: var(--text-3); letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════
   CH.06 — GROW
   ═══════════════════════════════════════════════ */
#grow { background: var(--bg-2); }
.grow-layout {
  display: grid; grid-template-columns: 1fr 420px; gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.grow-features { display: flex; flex-direction: column; gap: 0; }
.gf-item {
  display: flex; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.gf-item:last-child { border-bottom: none; }
.gf-num {
  font-family: var(--font-serif);
  font-size: 36px; font-style: italic;
  color: rgba(124,58,237,.25);
  flex-shrink: 0; width: 44px; line-height: 1;
  user-select: none;
}
.gf-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.gf-item p  { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* Dashboard mockup */
.grow-dashboard { position: sticky; top: calc(var(--nav-h) + 24px); }
.dash-window {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.dash-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.dash-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.dash-title {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); letter-spacing: .06em;
  margin-left: 6px;
}
.dash-query {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: rgba(124,58,237,.06);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-2);
}
.dash-prompt { color: var(--primary-l); }
#ai-query { flex: 1; }
.cursor-blink {
  color: var(--primary-l);
  animation: blink .9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.dash-results { padding: 20px 16px; }
.dash-chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 90px; margin-bottom: 16px;
}
.dash-bar {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 5px;
}
.db-fill {
  width: 100%;
  height: calc(var(--bh) * 80px / 100);
  background: linear-gradient(180deg, var(--primary), rgba(124,58,237,.3));
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.db-fill.animated { transform: scaleY(1); }
.db-label { font-size: 9px; color: var(--text-3); text-align: center; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.db-val { font-size: 10px; color: var(--primary-l); font-weight: 600; font-family: var(--font-mono); }
.dash-insight {
  padding: 10px 12px;
  background: rgba(16,185,129,.07);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 8px;
  font-size: 12px; line-height: 1.55; color: var(--text-2);
}
.di-tag { color: var(--emerald); font-weight: 600; }

/* Integrations row */
.integrations-row {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.int-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
}
.int-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.int-chips span {
  padding: 6px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px; color: var(--text-2);
  transition: border-color .2s;
}
.int-chips span:hover { border-color: var(--primary-l); }
.int-chips span:last-child { color: var(--primary-l); border-color: rgba(124,58,237,.3); }

/* ═══════════════════════════════════════════════
   CH.07 — PRICING
   ═══════════════════════════════════════════════ */
#pricing { background: var(--bg); }
.price-toggle-wrap {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
}
.pt-opt {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-3);
  transition: color .2s;
}
.pt-opt.active { color: var(--text); }
.pt-save {
  display: inline-block;
  padding: 2px 9px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 20px;
  font-size: 11px; color: var(--emerald);
  font-family: var(--font-mono);
}
.pt-toggle {
  width: 44px; height: 24px;
  background: var(--primary);
  border-radius: 12px;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}
.pt-toggle[aria-pressed="false"] { background: rgba(255,255,255,.15); }
.pt-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s var(--ease);
}
.pt-toggle[aria-pressed="true"] .pt-thumb { transform: translateX(20px); }

.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 24px;
}
.price-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  transition: transform .2s, border-color .25s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.popular {
  border-color: var(--primary);
  background: rgba(124,58,237,.07);
  box-shadow: 0 0 0 1px rgba(124,58,237,.2), 0 16px 40px rgba(124,58,237,.15);
}
.pcard-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--primary);
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .04em; white-space: nowrap;
}
.pcard-tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.pcard-price { display: flex; align-items: flex-end; gap: 2px; margin-bottom: 6px; }
.pc-dollar { font-size: 22px; color: var(--text-2); margin-bottom: 4px; }
.pc-num { font-family: var(--font-serif); font-size: 52px; line-height: 1; letter-spacing: -.03em; }
.pc-mo { font-size: 14px; color: var(--text-3); margin-bottom: 6px; padding-left: 2px; }
.pc-num.hidden { display: none; }
.pcard-sub { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }
.yearly-save { color: var(--emerald); }
.monthly-save.hidden { display: none; }
.yearly-save.hidden { display: none; }
.pcard-div { height: 1px; background: var(--border); margin-bottom: 20px; }
.pcard-feats { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.pcard-feats li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-2);
}
.pcard-feats li.yes::before { content: '✓'; color: var(--emerald); font-weight: 700; flex-shrink: 0; }
.pcard-feats li.no  { color: var(--text-3); }
.pcard-feats li.no::before  { content: '—'; color: var(--text-3); flex-shrink: 0; }
.pcard-btn {
  display: block; width: 100%; text-align: center;
  padding: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  transition: background .2s, border-color .2s;
}
.pcard-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.pcard-btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
}
.pcard-btn.primary:hover { background: #6d28d9; border-color: #6d28d9; }
.price-footnote {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-3);
}
.price-footnote a { color: var(--primary-l); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════════════════════════════════════
   CH.08 — PROOF
   ═══════════════════════════════════════════════ */
#proof { background: var(--bg-2); }
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 48px;
}
.proof-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.proof-stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.proof-quote { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 20px; font-style: italic; }
.proof-quote::before { content: '"'; }
.proof-quote::after  { content: '"'; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-avatar {
  width: 38px; height: 38px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: var(--primary-l); flex-shrink: 0;
}
.pa-name { font-size: 13.5px; font-weight: 600; }
.pa-source { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

.g2-section { text-align: center; }
.g2-heading {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 24px;
}
.g2-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.g2-badge {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, transform .2s;
}
.g2-badge:hover { border-color: var(--border-2); transform: translateY(-2px); }
.g2-b-icon { font-size: 22px; }
.g2-b-text { font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.g2-b-text span { font-weight: 400; color: var(--text-3); font-size: 11px; display: block; }

/* ═══════════════════════════════════════════════
   CH.09 — FINALE
   ═══════════════════════════════════════════════ */
#finale {
  background: var(--bg);
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
#finale::after { display: none; }
#finale-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.finale-inner {
  position: relative; z-index: 1;
  max-width: none;
  width: 100%;
  padding: 100px 80px;
  display: flex; flex-direction: column;
  align-items: center;
}
.finale-h {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 100px);
  line-height: 1.0; letter-spacing: -.03em;
  margin: 24px 0 20px;
}
.finale-h em { font-style: italic; color: var(--primary-l); }
.finale-sub {
  font-size: 18px; line-height: 1.7;
  color: var(--text-2);
  max-width: 580px;
  margin-bottom: 40px;
}
.btn-finale {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 17px; font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(124,58,237,.45);
  margin-bottom: 20px;
}
.btn-finale:hover { background: #6d28d9; transform: translateY(-3px); box-shadow: 0 16px 48px rgba(124,58,237,.6); }
.finale-trust {
  display: flex; gap: 24px;
  font-size: 13px; color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  margin-bottom: 60px;
}

/* Certificate */
.finale-cert { width: 100%; max-width: 540px; margin: 0 auto 60px; }
.cert-frame {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 14px;
  box-shadow: inset 0 0 40px rgba(124,58,237,.05), 0 0 0 1px rgba(124,58,237,.08);
  text-align: left;
}
.cert-seal {
  font-size: 40px; color: var(--amber);
  flex-shrink: 0;
  text-shadow: 0 0 20px rgba(245,158,11,.4);
}
.cert-title {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 5px;
}
.cert-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cert-sub { font-size: 12.5px; color: var(--text-2); line-height: 1.55; }

.finale-footer {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--text-3);
  flex-wrap: wrap; justify-content: center;
}
.finale-footer a:hover { color: var(--primary-l); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  :root { --sidebar-w: 200px; }
  .chapter { padding: 80px 60px; }
  .hero-inner { padding: 120px 60px 80px; }
  .brand-layout { grid-template-columns: 1fr; gap: 40px; }
  .brand-mockup { justify-content: flex-start; }
  .grow-layout { grid-template-columns: 1fr; }
  .grow-dashboard { position: static; }
}

@media (max-width: 1024px) {
  .opp-grid,
  .platform-grid,
  .rev-grid,
  .price-grid,
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-panel.active { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hs-item { padding: 16px 20px; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  #chapter-sidebar { transform: translateX(-100%); transition: transform .3s var(--ease); }
  #chapter-sidebar.open { transform: translateX(0); --sidebar-w: 240px; width: 240px; }
  #main-nav { left: 0; }
  #main-content { margin-left: 0; }
  .chapter { padding: 60px 28px; min-height: auto; }
  .hero-inner { padding: 90px 28px 60px; }
  .finale-inner { padding: 80px 28px; }
  .nav-chapter-pill { display: none; }
}

@media (max-width: 700px) {
  .opp-grid,
  .platform-grid,
  .rev-grid,
  .price-grid,
  .proof-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hs-div { width: 100%; height: 1px; }
  .hs-item { padding: 16px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .ct-tabs { gap: 6px; }
  .ct-tab { font-size: 12px; padding: 8px 12px; }
  .g2-badges { flex-direction: column; align-items: center; }
  .finale-trust { flex-direction: column; gap: 8px; align-items: center; }
}

/* ── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,.5); }
