/* ============================================
   EON StoryBoard — Premium Landing Page v2
   Visual-first, Bento Grid, Cinematic
   ============================================ */

:root {
  --bg-deep: #06060c;
  --bg-section: #0a0a14;
  --bg-card: #111120;
  --bg-elevated: #181828;
  --bg-glass: rgba(255,255,255,0.04);
  --text-hero: #ffffff;
  --text-primary: #dcdce6;
  --text-body: #9898b0;
  --text-muted: #5a5a72;
  --accent-blue: #4d7cff;
  --accent-blue-glow: rgba(77,124,255,0.35);
  --accent-amber: #e8a838;
  --accent-warm: #ff6b35;
  --border: rgba(255,255,255,0.06);
  --border-active: rgba(77,124,255,0.25);
  --gradient-card: linear-gradient(135deg, rgba(77,124,255,0.06), rgba(139,92,246,0.04), rgba(232,168,56,0.03));
  --radius-sm: 12px; --radius-md: 20px; --radius-lg: 28px; --radius-xl: 40px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --page-max: 1200px;
  --section-pad: clamp(5rem, 10vh, 8rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body { font-family: var(--font-body); background: var(--bg-deep); color: var(--text-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

/* Grain */
.grain { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.container { width: min(var(--page-max), calc(100% - 48px)); margin: 0 auto; }

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 24px; transition: background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,6,12,0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-color: var(--border); }
.nav-inner { max-width: var(--page-max); margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-hero); font-size: 1.05rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand-tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-blue); background: rgba(77,124,255,0.12); padding: 3px 8px; border-radius: 6px; margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 0.85rem; font-weight: 500; color: var(--text-body); border-radius: 8px; transition: color 0.2s, background 0.2s; min-height: 44px; display: flex; align-items: center; }
.nav-link:hover { color: var(--text-hero); background: var(--bg-glass); }
.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.85rem; font-weight: 600; color: #fff; background: var(--accent-blue); border-radius: 999px; min-height: 44px; display: flex; align-items: center; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 0 20px var(--accent-blue-glow); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 30px var(--accent-blue-glow); }
.nav-menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--text-primary); padding: 8px 14px; border-radius: 8px; cursor: pointer; min-height: 44px; }

/* === HERO === */
.s-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 130px 24px 40px; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: orbFloat 12s ease-in-out infinite alternate; }
.orb-1 { width: 600px; height: 600px; top: -15%; left: -10%; background: rgba(77,124,255,0.25); }
.orb-2 { width: 500px; height: 500px; bottom: -10%; right: -8%; background: rgba(139,92,246,0.18); animation-delay: -4s; }
.orb-3 { width: 350px; height: 350px; top: 20%; right: 20%; background: rgba(232,168,56,0.1); animation-delay: -8s; }
@keyframes orbFloat { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px,-20px) scale(1.08); } }

.film-corners { position: absolute; inset: 28px; z-index: 1; pointer-events: none; }
.film-corners::before, .film-corners::after, .film-corners span::before, .film-corners span::after {
  content: ''; position: absolute; width: 32px; height: 32px; border-color: rgba(255,255,255,0.1); border-style: solid; border-width: 0;
}
.film-corners::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.film-corners::after { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.film-corners span::before { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.film-corners span::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px; border-radius: 999px; background: rgba(255,107,53,0.1); border: 1px solid rgba(255,107,53,0.2); color: var(--accent-warm); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-warm); box-shadow: 0 0 8px var(--accent-warm); animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-family: var(--font-display); color: var(--text-hero); font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 20px; }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(30px); }
.hero-title em { font-style: italic; color: var(--accent-blue); }
.hero-sub { max-width: 600px; margin: 0 auto 28px; font-size: clamp(0.92rem, 1.2vw, 1.08rem); line-height: 1.75; color: var(--text-body); opacity: 0; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; opacity: 0; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: #fff; background: var(--accent-blue); border: none; cursor: pointer; box-shadow: 0 0 24px var(--accent-blue-glow); transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 32px var(--accent-blue-glow); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); background: transparent; border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text-hero); }

/* Hero 3D Screenshot */
.hero-showcase { position: relative; z-index: 2; width: 100%; max-width: 1000px; margin: 48px auto 0; perspective: 1200px; }
.hero-screenshot-frame { position: relative; border-radius: 16px; overflow: hidden; transform: rotateX(6deg); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px var(--border); }
.hero-screenshot-frame:hover { transform: rotateX(2deg); }
.hero-screenshot { width: 100%; display: block; }
.screenshot-glow { position: absolute; inset: -2px; border-radius: 18px; background: linear-gradient(135deg, rgba(77,124,255,0.15), transparent 40%, transparent 60%, rgba(232,168,56,0.1)); pointer-events: none; }

.scroll-cue { position: relative; z-index: 2; margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-muted), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* === Hook Hero === */
.hook-hero {
  min-height: 100vh;
  padding: 112px 24px 34px;
  justify-content: center;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.88) 0%, rgba(8, 13, 28, 0.68) 42%, rgba(8, 13, 28, 0.2) 100%),
    url("/static/images/hero_mockup.png") center / cover no-repeat;
}
.hook-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,6,12,0.18), rgba(6,6,12,0.88)),
    rgba(6, 6, 12, 0.2);
  pointer-events: none;
}
.hook-hero .hero-content {
  width: min(var(--page-max), calc(100% - 48px));
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  justify-items: start;
}
.hook-hero .hero-title {
  max-width: 760px;
  font-family: var(--font-body);
  font-weight: 750;
  font-size: clamp(3rem, 7.6vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hook-hero .hero-title em {
  color: #7dd3fc;
  font-style: normal;
}
.hook-hero .hero-sub {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(226, 232, 240, 0.86);
}
.hook-hero .hero-actions {
  justify-content: flex-start;
}
.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  opacity: 0;
}
.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(241,245,249,0.9);
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}
.hook-showcase {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  margin: 34px auto 0;
  perspective: 1400px;
}
.hook-workspace {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(248,250,252,0.9);
  box-shadow: 0 38px 90px rgba(0,0,0,0.48);
  color: #0f172a;
  backdrop-filter: blur(22px);
}
.hook-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #d7dee8;
  background: rgba(255,255,255,0.92);
}
.hook-toolbar strong {
  color: #111827;
  font-size: 0.86rem;
}
.hook-toolbar > span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
}
.hook-window-dots {
  display: flex;
  gap: 6px;
}
.hook-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.hook-window-dots span:nth-child(1) { background: #ef4444; }
.hook-window-dots span:nth-child(2) { background: #f59e0b; }
.hook-window-dots span:nth-child(3) { background: #22c55e; }
.hook-workspace-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.55fr) minmax(180px, 0.78fr);
  min-height: 388px;
}
.hook-script,
.hook-inspector {
  padding: 18px;
  background: #f8fafc;
}
.hook-script {
  border-right: 1px solid #d7dee8;
}
.hook-inspector {
  border-left: 1px solid #d7dee8;
}
.hook-panel-label {
  display: block;
  margin-bottom: 10px;
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hook-script > strong {
  display: block;
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 1rem;
}
.hook-script-block {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d7dee8;
  background: #ffffff;
  margin-bottom: 10px;
}
.hook-script-block.muted {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.hook-scene-heading {
  display: block;
  margin-bottom: 8px;
  color: #1e40af;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hook-script-block p {
  color: #475569;
  font-size: 0.76rem;
  line-height: 1.45;
  margin-bottom: 8px;
}
.hook-script-block p:last-child {
  margin-bottom: 0;
}
.hook-board {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.hook-board-visual {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  border-radius: 18px;
  border: 1px solid #d7dee8;
  background: #0f172a;
}
.hook-board-visual img {
  width: 100%;
  height: 282px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.02);
}
.hook-frame-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(15,23,42,0.76);
  color: #fff;
  backdrop-filter: blur(16px);
}
.hook-frame-overlay strong {
  font-size: 0.98rem;
}
.hook-frame-overlay span {
  color: rgba(226,232,240,0.86);
  font-size: 0.76rem;
  line-height: 1.45;
}
.hook-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.hook-board-grid span {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #d7dee8;
  background: linear-gradient(135deg, #dbeafe, #ffffff);
}
.hook-decision {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d7dee8;
  background: #ffffff;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.hook-decision.active {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateX(-3px);
}
.hook-decision strong,
.hook-decision span {
  display: block;
}
.hook-decision strong {
  color: #0f172a;
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.hook-decision span {
  color: #64748b;
  font-size: 0.72rem;
}
.hook-stage-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-top: 1px solid #d7dee8;
  background: rgba(248,250,252,0.92);
}
.hook-stage {
  min-height: 78px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d7dee8;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hook-stage:hover,
.hook-stage.active {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: 0 14px 28px rgba(37,99,235,0.14);
}
.hook-stage strong,
.hook-stage span {
  display: block;
}
.hook-stage strong {
  color: #0f172a;
  font-size: 0.84rem;
  margin-bottom: 5px;
}
.hook-stage span {
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
}

/* === TRUST BAR === */
.s-trust { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.trust-strip { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; }
.trust-number { font-size: 1.8rem; font-weight: 700; color: var(--text-hero); font-family: var(--font-display); letter-spacing: -0.03em; }
.trust-suffix { font-size: 1.2rem; font-weight: 700; color: var(--accent-blue); }
.trust-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.trust-icon { font-size: 1.4rem; }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* === Section Shared === */
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-blue); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); color: var(--text-hero); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 20px; }
.big-text { font-family: var(--font-display); color: var(--text-hero); font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 24px; max-width: 800px; }

/* === PROBLEM === */
.s-problem { padding: var(--section-pad) 0; }
.before-after { margin: 48px 0 56px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); border: 1px solid var(--border); }
.before-after-img { width: 100%; display: block; }

/* Marquee */
.problem-marquee { overflow: hidden; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 48px; animation: marqueeScroll 25s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 10px; color: var(--text-body); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.marquee-item svg { color: var(--accent-blue); flex-shrink: 0; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === WORKFLOW === */
.s-workflow { padding: var(--section-pad) 0; }
.workflow-visual { margin: 40px 0 56px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); border: 1px solid var(--border); }
.workflow-strip-img { width: 100%; display: block; }

.workflow-steps { display: grid; gap: 2px; }
.wf-row { display: flex; align-items: flex-start; gap: 24px; padding: 24px 28px; border-radius: var(--radius-md); background: transparent; border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.wf-row:hover { background: var(--gradient-card); border-color: var(--border); }
.wf-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-blue); opacity: 0.4; font-weight: 400; min-width: 36px; padding-top: 2px; }
.wf-row:hover .wf-num { opacity: 1; }
.wf-content h3 { font-size: 1.05rem; color: var(--text-hero); margin-bottom: 4px; font-weight: 600; }
.wf-content p { font-size: 0.88rem; line-height: 1.6; color: var(--text-body); }

/* === BENTO FEATURES === */
.s-features { padding: var(--section-pad) 0; }
.bento-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 48px; }
.bento-card { position: relative; border-radius: var(--radius-lg); background: var(--gradient-card); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; }
.bento-card:hover { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.bento-large { grid-row: span 2; display: flex; flex-direction: column; }
.bento-large .bento-visual { flex: 1; overflow: hidden; }
.bento-large .bento-visual img { width: 100%; height: 100%; object-fit: cover; }
.bento-large .bento-text { padding: 28px; }

.bento-small { padding: 28px; }

.bento-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px; align-items: center; }

.feat-tag { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(232,168,56,0.08); color: var(--accent-amber); border: 1px solid rgba(232,168,56,0.15); margin-bottom: 14px; }
.bento-card h3 { font-size: 1.1rem; color: var(--text-hero); margin-bottom: 8px; font-weight: 600; letter-spacing: -0.02em; }
.bento-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-body); }

/* Continuity viz */
.continuity-viz { display: grid; gap: 14px; }
.cont-bar { position: relative; height: 36px; background: rgba(255,255,255,0.04); border-radius: 8px; display: flex; align-items: center; padding: 0 14px; overflow: hidden; }
.cont-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(77,124,255,0.2), rgba(77,124,255,0.08)); border-radius: 8px; z-index: 0; }
.cont-label { position: relative; z-index: 1; font-size: 0.78rem; font-weight: 600; color: var(--text-primary); }
.cont-val { position: relative; z-index: 1; margin-left: auto; font-size: 0.78rem; font-weight: 700; color: var(--accent-blue); }

/* === USE CASES === */
.s-cases { padding: var(--section-pad) 0; }
.cases-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.case-card { position: relative; padding: 24px 20px; border-radius: var(--radius-md); background: var(--gradient-card); border: 1px solid var(--border); transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; text-align: center; }
.case-card:hover { border-color: var(--border-active); transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,0.25); }
.case-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.case-card h3 { font-size: 0.95rem; color: var(--text-hero); margin-bottom: 6px; font-weight: 600; }
.case-card p { font-size: 0.8rem; line-height: 1.6; color: var(--text-body); }

/* === WAITLIST === */
.s-waitlist { padding: var(--section-pad) 0; position: relative; }
.s-waitlist::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, var(--accent-blue-glow), transparent 70%); opacity: 0.1; pointer-events: none; }
.waitlist-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.waitlist-copy { padding-top: 20px; }
.waitlist-copy .section-sub { margin-top: 12px; font-size: 0.95rem; line-height: 1.7; color: var(--text-body); max-width: 440px; }
.waitlist-card { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.waitlist-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-hero); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 3px rgba(77,124,255,0.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(77,124,255,0.1); border: 1px solid rgba(77,124,255,0.2); color: var(--accent-blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.flash.error { background: rgba(255,80,50,0.1); border-color: rgba(255,80,50,0.2); color: #ff6b35; }

/* === FOOTER === */
.site-footer { padding: 32px 24px 48px; border-top: 1px solid var(--border); max-width: var(--page-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

/* === GSAP States === */
.gs-reveal { opacity: 0; transform: translateY(40px); }
.gs-reveal-scale { opacity: 0; transform: scale(0.95); }

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .hook-workspace-body { grid-template-columns: 1fr; }
  .hook-script { border-right: 0; border-bottom: 1px solid #d7dee8; }
  .hook-inspector { border-left: 0; border-top: 1px solid #d7dee8; }
  .hook-stage-row { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-row: auto; }
  .bento-wide { grid-column: auto; grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .waitlist-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav.menu-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,6,12,0.96); backdrop-filter: blur(20px); padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .trust-strip { gap: 24px; }
}
@media (max-width: 600px) {
  .hook-hero { padding: 96px 16px 28px; }
  .hook-hero .hero-content,
  .hook-showcase { width: 100%; }
  .hook-hero .hero-title { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .hook-toolbar { grid-template-columns: 1fr; gap: 4px; padding: 12px; }
  .hook-window-dots { display: none; }
  .hook-board,
  .hook-script,
  .hook-inspector { padding: 12px; }
  .hook-board-visual,
  .hook-board-visual img { min-height: 230px; height: 230px; }
  .hook-stage-row,
  .hook-board-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .container { width: calc(100% - 32px); }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .trust-divider { display: none; }
  .trust-strip { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .gs-reveal, .gs-reveal-scale, .hero-title .word, .hero-sub, .hero-actions, .hero-proof-row, .scroll-cue { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================
   Director Desk Light Theme Overrides
   Aligned to LADING_PAGE_CONTEXT.md
   ============================================ */
:root {
  --bg-deep: #fffdf8;
  --bg-section: #f5f8fc;
  --bg-card: #ffffff;
  --bg-elevated: #eef5ff;
  --bg-glass: rgba(255,255,255,0.72);
  --text-hero: #172033;
  --text-primary: #172033;
  --text-body: #4c5d73;
  --text-muted: #708097;
  --accent-blue: #1f5eff;
  --accent-blue-glow: rgba(31,94,255,0.18);
  --accent-amber: #0f8b8d;
  --accent-warm: #0f8b8d;
  --border: #dbe5f0;
  --border-active: rgba(31,94,255,0.28);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8fbff 44%, #f5f8fc 100%);
  color: var(--text-body);
}

.grain {
  display: none;
}

.nav {
  background: rgba(255,253,248,0.82);
  border-bottom-color: rgba(219,229,240,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-color: var(--border);
  box-shadow: 0 12px 32px rgba(23,32,51,0.06);
}

.brand,
.nav-link {
  color: var(--text-primary);
}

.brand-tag {
  color: var(--accent-blue);
  background: #eef5ff;
}

.nav-link:hover {
  color: var(--accent-blue);
  background: #eef5ff;
}

.nav-cta,
.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(31,94,255,0.18);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #1746b8;
  box-shadow: 0 18px 34px rgba(23,70,184,0.2);
}

.btn-ghost {
  color: var(--text-primary);
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 12px 24px rgba(23,32,51,0.06);
}

.btn-ghost:hover {
  color: var(--accent-blue);
  border-color: rgba(31,94,255,0.24);
  background: #f7fbff;
}

.hook-hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.94), rgba(245,248,252,0.92)),
    radial-gradient(circle at 20% 12%, rgba(31,94,255,0.10), transparent 30rem),
    radial-gradient(circle at 86% 22%, rgba(15,139,141,0.08), transparent 26rem) !important;
}

.hook-hero::before {
  background:
    linear-gradient(90deg, rgba(31,94,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31,94,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), transparent 92%);
  opacity: 0.55;
}

.film-corners::before,
.film-corners::after,
.film-corners span::before,
.film-corners span::after {
  border-color: rgba(31,94,255,0.16);
}

.hook-hero .hero-title {
  max-width: 820px;
  color: var(--text-primary);
}

.hook-hero .hero-title em {
  color: var(--accent-blue);
}

.hero-badge {
  background: #eef5ff;
  border-color: #cfe0ff;
  color: var(--accent-blue);
}

.badge-dot {
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(31,94,255,0.45);
}

.hook-hero .hero-sub {
  color: var(--text-body);
}

.hero-proof-row span {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-body);
  box-shadow: 0 10px 26px rgba(23,32,51,0.05);
}

.hook-workspace {
  background: rgba(255,255,255,0.9);
  border-color: rgba(219,229,240,0.95);
  box-shadow: 0 30px 80px rgba(23,32,51,0.14);
}

.hook-toolbar,
.hook-stage-row {
  background: #ffffff;
  border-color: var(--border);
}

.hook-script,
.hook-inspector,
.hook-board {
  background: #f8fbff;
}

.hook-script,
.hook-inspector,
.hook-board-visual,
.hook-stage,
.hook-decision,
.hook-script-block,
.preview-desk,
.preview-script,
.preview-scenes,
.preview-boards,
.preview-cast,
.preview-continuity {
  border-color: var(--border);
}

.hook-board-visual {
  background: #eef5ff;
}

.hook-board-visual img {
  opacity: 0.78;
  filter: saturate(0.92) contrast(0.95);
}

.hook-frame-overlay {
  background: rgba(255,255,255,0.88);
  color: var(--text-primary);
  border: 1px solid rgba(219,229,240,0.9);
}

.hook-frame-overlay span {
  color: var(--text-body);
}

.hook-stage:hover,
.hook-stage.active,
.hook-decision.active {
  border-color: rgba(31,94,255,0.34);
  background: #eef5ff;
  box-shadow: 0 14px 28px rgba(31,94,255,0.10);
}

.hook-panel-label,
.hook-scene-heading,
.section-label,
.wf-num,
.cont-val,
.recent-workspace-filter-count,
.trust-suffix {
  color: var(--accent-blue);
}

.s-trust,
.s-problem,
.s-workflow,
.s-features,
.s-showcase,
.s-cases,
.s-waitlist {
  background: transparent;
  border-color: var(--border);
}

.trust-strip,
.before-after,
.workflow-visual,
.bento-card,
.case-card,
.waitlist-card {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 18px 44px rgba(23,32,51,0.07);
}

.trust-number,
.section-title,
.big-text,
.wf-content h3,
.bento-card h3,
.case-card h3 {
  color: var(--text-primary);
}

.trust-label,
.wf-content p,
.bento-card p,
.case-card p,
.waitlist-copy .section-sub,
.marquee-item,
.hook-stage span,
.hook-decision span,
.hook-script-block p {
  color: var(--text-body);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.problem-marquee {
  border-color: var(--border);
}

.wf-row {
  border-color: transparent;
}

.wf-row:hover {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 14px 34px rgba(23,32,51,0.06);
}

.feat-tag {
  background: #eefafa;
  color: #0f8b8d;
  border-color: rgba(15,139,141,0.16);
}

.cont-bar {
  background: #eef5ff;
}

.cont-fill {
  background: linear-gradient(90deg, rgba(15,139,141,0.20), rgba(31,94,255,0.12));
}

.case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.field label {
  color: var(--text-primary);
}

.field input,
.field textarea,
.field select {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-primary);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.site-footer {
  border-color: var(--border);
  color: var(--text-muted);
}

.s-showcase {
  padding: var(--section-pad) 0;
}

.preview-desk {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.4fr;
  gap: 14px;
  margin-top: 42px;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(31,94,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31,94,255,0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 42px 42px;
  box-shadow: 0 24px 70px rgba(23,32,51,0.08);
}

.preview-script,
.preview-scenes,
.preview-boards,
.preview-cast,
.preview-continuity {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
}

.preview-boards {
  grid-row: span 2;
}

.preview-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-script strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.preview-script p,
.preview-continuity p {
  color: var(--text-body);
  font-size: 0.86rem;
  line-height: 1.6;
}

.preview-line {
  height: 9px;
  margin-top: 12px;
  border-radius: 999px;
  background: #dbe5f0;
}

.preview-line.short {
  width: 62%;
}

.preview-chip,
.cast-pill {
  display: block;
  padding: 10px 12px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: #f8fbff;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 700;
}

.preview-chip.active,
.cast-pill {
  background: #eef5ff;
  border-color: #cfe0ff;
  color: var(--accent-blue);
}

.preview-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.preview-frame {
  min-height: 126px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid #cfe0ff;
  background:
    linear-gradient(135deg, rgba(31,94,255,0.18), rgba(15,139,141,0.10)),
    linear-gradient(160deg, #f8fbff, #ffffff);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-frame.wide {
  grid-column: span 2;
  min-height: 160px;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe5f0;
  margin-bottom: 12px;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f8b8d, #1f5eff);
}

@media (max-width: 1000px) {
  .preview-desk {
    grid-template-columns: 1fr;
  }

  .preview-boards {
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .nav.menu-open .nav-links {
    background: rgba(255,255,255,0.98);
    border-color: var(--border);
  }
}
