@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #000000;
  --deep:       #06070d;
  --void:       #090a12;
  --surface:    #0d0e18;
  --surface2:   #12131f;
  --border:     rgba(255,255,255,0.055);
  --border2:    rgba(255,255,255,0.10);
  --blue-dim:   #1b3358;
  --blue:       #3272b8;
  --blue-mid:   #4e8fd4;
  --blue-light: #6eaef0;
  --blue-glow:  #9bcbff;
  --white:      #ffffff;
  --w70:        rgba(255,255,255,0.70);
  --w50:        rgba(255,255,255,0.50);
  --w30:        rgba(255,255,255,0.30);
  --w15:        rgba(255,255,255,0.08);
  --font-disp:  'Big Shoulders Display', sans-serif;
  --font-body:  'Outfit', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CURSOR ─── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--blue-light); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s, opacity .15s;
  mix-blend-mode: screen;
}
.cursor-follower {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid rgba(110,174,240,0.35); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all .1s ease;
}
.cursor.hover { width: 14px; height: 14px; }
.cursor-follower.hover { width: 52px; height: 52px; border-color: rgba(110,174,240,.6); }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--blue-dim); border-radius: 2px; }

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; background: var(--black);
  z-index: 10000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity .5s ease, visibility .5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-wordmark {
  font-family: var(--font-disp);
  font-size: 72px; font-weight: 900;
  letter-spacing: -0.02em; line-height: 1;
}
.loader-wordmark em { font-style: normal; color: var(--blue-light); }

.loader-bar {
  width: 160px; height: 1px; background: var(--border2);
  position: relative; overflow: hidden;
}
.loader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
  transform: translateX(-100%);
  animation: lslide 1.1s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes lslide { to { transform: translateX(0); } }

.loader-pct {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--w30); letter-spacing: .12em;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; display: flex; align-items: center;
  justify-content: space-between; padding: 28px 64px;
  transition: padding .4s, background .4s, border-color .4s;
}
nav.scrolled {
  background: rgba(6,7,13,.88); backdrop-filter: blur(20px);
  padding: 16px 64px; border-bottom: 1px solid var(--border);
}

.nav-logo {
  text-decoration: none; color: var(--white);
  font-family: var(--font-disp); font-size: 26px; font-weight: 900;
  letter-spacing: -.01em; line-height: 1;
}
.nav-logo em { font-style: normal; color: var(--blue-light); }

.nav-center {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-center a {
  color: var(--w50); text-decoration: none; font-size: 14px;
  font-weight: 500; letter-spacing: .02em;
  transition: color .2s; position: relative;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--blue-light);
  transition: width .25s ease;
}
.nav-center a:hover { color: var(--white); }
.nav-center a:hover::after { width: 100%; }

.nav-right {
  display: flex; align-items: center; gap: 16px;
}

.nav-x-link {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--w50);
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border: 1px solid var(--border2);
  border-radius: 6px; transition: all .2s;
}
.nav-x-link:hover {
  color: var(--white); border-color: var(--blue);
  background: rgba(50,114,184,.1);
}
.nav-x-link svg { flex-shrink: 0; }

.nav-btn {
  background: var(--white); color: var(--black);
  padding: 9px 20px; border-radius: 6px;
  font-family: var(--font-body); font-size: 13px;
  font-weight: 700; text-decoration: none; border: none;
  cursor: none; transition: background .2s, transform .2s;
  letter-spacing: .01em;
}
.nav-btn:hover { background: var(--blue-glow); transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}

.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 80px 64px;
  padding-top: 160px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-light);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.25;} }

.hero-eyebrow-text {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-light);
}

.hero-eyebrow-sep {
  width: 1px; height: 14px; background: var(--border2);
}

.hero-x-handle {
  font-size: 11px; font-weight: 500; color: var(--w30);
  text-decoration: none; letter-spacing: .06em;
  transition: color .2s;
}
.hero-x-handle:hover { color: var(--blue-light); }

.hero-display {
  font-family: var(--font-disp);
  font-size: clamp(72px, 8.5vw, 138px);
  font-weight: 900; line-height: .95;
  letter-spacing: -.01em;
  margin-bottom: 36px;
}

.hero-display .line { overflow: hidden; display: block; }
.hero-display .word { display: inline-block; transform: translateY(110%); }
.hero-display .blue { color: var(--blue-light); }

.hero-body {
  font-size: 17px; color: var(--w70); line-height: 1.65;
  max-width: 440px; margin-bottom: 48px;
  opacity: 0; transform: translateY(16px);
}

.hero-actions {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(16px);
}

.btn-main {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--black);
  padding: 13px 26px; border-radius: 6px;
  font-family: var(--font-body); font-size: 14px;
  font-weight: 700; text-decoration: none; border: none;
  cursor: none; transition: all .25s; position: relative; overflow: hidden;
}
.btn-main::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--blue-mid), var(--blue-glow));
  opacity: 0; transition: opacity .25s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(110,174,240,.2); }
.btn-main:hover::before { opacity: 1; }
.btn-main span, .btn-main svg { position: relative; z-index: 1; }
.btn-main svg { transition: transform .2s; }
.btn-main:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--w50); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 13px 0;
  transition: color .2s; cursor: none;
}
.btn-ghost:hover { color: var(--white); }

/* Hero right — visual */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px;
}

.hero-visual-wrap {
  position: relative; width: 500px; height: 600px;
}

.hero-img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 100px rgba(50,114,184,.38));
  animation: heroFloat 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  40%      { transform: translateY(-22px) rotate(3deg); }
  70%      { transform: translateY(-10px) rotate(-2deg); }
}

.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(110,174,240,.1);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spinRing 30s linear infinite;
}
.hero-ring:nth-child(2) { width: 460px; height: 460px; }
.hero-ring:nth-child(3) { width: 600px; height: 600px; animation-duration: 45s; animation-direction: reverse; border-style: dashed; opacity: .4; }
@keyframes spinRing { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-glow-orb {
  position: absolute; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(50,114,184,.14) 0%, transparent 70%);
  border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%); pointer-events: none;
}

/* Hero bottom strip */
.hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr);
}

.hero-bottom-item {
  padding: 20px 32px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-bottom-item:last-child { border-right: none; }

.hb-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--w30); letter-spacing: .1em; text-transform: uppercase;
}
.hb-val {
  font-family: var(--font-disp); font-size: 28px; font-weight: 800;
  letter-spacing: -.01em; line-height: 1;
}

.hero-scroll-hint {
  position: absolute; right: 64px; bottom: 32px; z-index: 4;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  color: var(--w30); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll-hint::before {
  content: ''; display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollTick 2s ease-in-out infinite;
}
@keyframes scrollTick {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── TICKER ─── */
.ticker {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 14px 0;
  overflow: hidden; position: relative;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--surface), transparent); }

.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: tickerMove 40s linear infinite;
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 40px; white-space: nowrap;
  font-size: 12px; font-weight: 500; color: var(--w30);
  letter-spacing: .06em;
}
.ticker-item strong { color: var(--w70); font-weight: 600; }
.ticker-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

/* ─── BENTO FEATURES ─── */
#features {
  padding: 120px 64px;
  max-width: 1440px; margin: 0 auto;
}

.section-sup {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 28px;
}
.section-sup::before {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--blue-light);
}

.section-hed {
  font-family: var(--font-disp);
  font-size: clamp(44px, 5.5vw, 84px);
  font-weight: 900; line-height: .95;
  letter-spacing: -.01em; margin-bottom: 64px;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.bento-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px; position: relative;
  overflow: hidden; transition: border-color .3s, background .3s;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, rgba(50,114,184,.07) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.bento-card:hover { border-color: var(--border2); background: var(--surface2); }
.bento-card:hover::after { opacity: 1; }

/* Bento layout */
.bc-1 { grid-column: span 4; grid-row: span 1; }
.bc-2 { grid-column: span 2; grid-row: span 2; }
.bc-3 { grid-column: span 2; }
.bc-4 { grid-column: span 2; }
.bc-5 { grid-column: span 3; }
.bc-6 { grid-column: span 3; }

/* Wide card (bc-1) special layout */
.bc-1 .bento-inner {
  display: flex; align-items: flex-start;
  gap: 48px;
}
.bc-1 .bento-text { max-width: 380px; }

.bc-2 .bento-inner {
  display: flex; flex-direction: column; height: 100%; min-height: 320px;
}
.bc-2 .bento-visual {
  flex: 1; display: flex; align-items: center; justify-content: center;
  margin: 24px -36px -36px; background: var(--deep);
  border-top: 1px solid var(--border); border-radius: 0 0 14px 14px;
  overflow: hidden; position: relative;
}
.bc-2 .bento-img {
  width: 180px; height: 180px; object-fit: contain; opacity: .85;
  animation: heroFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(50,114,184,.3));
}

.bento-icon {
  width: 44px; height: 44px; border: 1px solid var(--border2);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px;
  background: var(--surface2); flex-shrink: 0;
  transition: border-color .3s, background .3s;
}
.bento-card:hover .bento-icon { border-color: var(--blue); background: rgba(50,114,184,.12); }
.bento-icon svg { color: var(--blue-light); }

.bento-tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--w30); letter-spacing: .06em;
}

.bento-title {
  font-family: var(--font-disp); font-size: 22px; font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 12px;
}
.bc-1 .bento-title { font-size: 28px; }

.bento-desc {
  font-size: 14px; color: var(--w50); line-height: 1.7;
}

/* Mini stat inside bento */
.bento-stat {
  display: flex; align-items: baseline; gap: 6px; margin-top: 24px;
}
.bento-stat-num {
  font-family: var(--font-disp); font-size: 42px; font-weight: 900;
  letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(135deg, var(--white), var(--blue-glow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bento-stat-label { font-size: 13px; color: var(--w30); }

/* Pulse rings in bento */
.bento-pulse {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; margin-bottom: 20px; position: relative;
}
.pulse-dot { width: 14px; height: 14px; background: var(--blue); border-radius: 50%; position: relative; z-index: 1; }
.pulse-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(50,114,184,.4);
  animation: pulseRing 2s ease-out infinite;
}
.pulse-ring:nth-child(2) { width: 34px; height: 34px; animation-delay: 0s; }
.pulse-ring:nth-child(3) { width: 56px; height: 56px; animation-delay: .5s; }
.pulse-ring:nth-child(4) { width: 78px; height: 78px; animation-delay: 1s; }
@keyframes pulseRing { 0%{opacity:.8;transform:scale(.6);} 100%{opacity:0;transform:scale(1.1);} }

/* ─── PULL QUOTE ─── */
#pullquote {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: space-between;
  gap: 80px;
}

.pq-left {
  flex: 1; max-width: 680px;
}
.pq-text {
  font-family: var(--font-disp);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 900; letter-spacing: -.01em; line-height: 1.0;
}
.pq-text em { font-style: normal; color: var(--blue-light); }

.pq-right {
  display: flex; flex-direction: column; gap: 24px;
  flex-shrink: 0;
}

.pq-handle {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; padding: 20px 24px;
  border: 1px solid var(--border2); border-radius: 12px;
  transition: all .25s; background: var(--surface2);
}
.pq-handle:hover {
  border-color: var(--blue);
  background: rgba(50,114,184,.08);
  transform: translateY(-2px);
}
.pq-handle-icon {
  width: 42px; height: 42px; background: var(--black);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.pq-handle-text strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.pq-handle-text span { font-size: 12px; color: var(--w30); font-family: var(--font-mono); }

/* ─── HOW IT WORKS — VERTICAL TIMELINE ─── */
#how {
  padding: 120px 64px;
  max-width: 1440px; margin: 0 auto;
}

.how-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.how-left { padding-top: 0; }

.timeline {
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid var(--border);
  margin-left: 20px;
}

.tl-step {
  position: relative; padding: 0 0 56px 40px;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.tl-step.visible { opacity: 1; transform: translateX(0); }
.tl-step:last-child { padding-bottom: 0; }

.tl-node {
  position: absolute; left: -20px; top: 4px;
  width: 40px; height: 40px; background: var(--surface);
  border: 1px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-size: 15px; font-weight: 800;
  color: var(--blue-light); transition: all .3s;
}
.tl-step:hover .tl-node {
  background: rgba(50,114,184,.15);
  border-color: var(--blue-light);
  box-shadow: 0 0 24px rgba(110,174,240,.2);
}

.tl-title {
  font-family: var(--font-disp); font-size: 24px; font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.tl-desc { font-size: 14px; color: var(--w50); line-height: 1.7; }

.how-right {
  position: sticky; top: 120px;
}

.how-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}

.how-card-head {
  background: var(--surface2); border-bottom: 1px solid var(--border);
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
}
.how-card-dots { display: flex; gap: 5px; }
.how-card-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); }
.how-card-title { font-family: var(--font-mono); font-size: 11px; color: var(--w30); margin-left: 6px; }

.how-card-body { padding: 24px; }

.how-code {
  font-family: var(--font-mono); font-size: 12.5px;
  line-height: 1.8; color: var(--w50);
}
.hc-k { color: var(--blue-light); }
.hc-s { color: #a5d6a7; }
.hc-n { color: #ffcc80; }
.hc-c { color: var(--w30); font-style: italic; }
.hc-fn { color: #ce93d8; }

.how-result {
  margin-top: 20px; padding: 18px;
  background: var(--deep); border: 1px solid var(--border);
  border-radius: 10px; font-family: var(--font-mono); font-size: 12px;
  line-height: 1.8;
}
.hr-line { margin-bottom: 6px; }
.hr-label { color: var(--blue-light); }
.hr-pos { color: #4ade80; }
.hr-neg { color: #f87171; }

/* ─── DEMO ─── */
#demo {
  padding: 120px 64px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}

.demo-interface {
  background: var(--deep); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 100px rgba(0,0,0,.5);
}
.demo-bar {
  background: var(--surface2); border-bottom: 1px solid var(--border);
  padding: 13px 18px; display: flex; align-items: center; gap: 10px;
}
.demo-dots { display: flex; gap: 5px; }
.demo-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); }
.demo-bar-title { font-family: var(--font-mono); font-size: 11px; color: var(--w30); margin-left: 8px; }
.demo-body { padding: 24px; }

.demo-qlabel {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--w30); margin-bottom: 10px;
}
.demo-row { display: flex; gap: 8px; margin-bottom: 20px; }

.demo-input {
  flex: 1; background: var(--surface); border: 1px solid var(--border2);
  border-radius: 7px; padding: 11px 14px; color: var(--white);
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color .2s; cursor: text;
}
.demo-input:focus { border-color: var(--blue); }
.demo-input::placeholder { color: var(--w30); }

.demo-run {
  background: var(--blue); border: none; border-radius: 7px;
  padding: 11px 18px; color: var(--white);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: none; transition: all .2s;
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
}
.demo-run:hover { background: var(--blue-light); transform: translateY(-1px); }

.demo-chips {
  display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px;
}
.demo-chip {
  padding: 5px 12px; border: 1px solid var(--border2);
  border-radius: 100px; font-size: 12px; color: var(--w30);
  cursor: none; transition: all .2s; background: transparent;
  font-family: var(--font-body);
}
.demo-chip:hover, .demo-chip.active {
  border-color: var(--blue); color: var(--blue-light);
  background: rgba(50,114,184,.08);
}

.demo-output {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; padding: 18px; min-height: 260px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.85;
}
.demo-ph { color: var(--w30); font-style: italic; }

.demo-result-line { margin-bottom: 8px; color: var(--w70); }
.dk { color: var(--blue-light); }
.dg { color: #4ade80; }
.dr { color: #f87171; }
.dy { color: #fbbf24; }

.demo-sources { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.ds-head {
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--w30); margin-bottom: 10px;
}
.ds-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.ds-item:last-child { border-bottom: none; }
.ds-num { font-size: 10px; color: var(--w30); min-width: 16px; margin-top: 1px; }
.ds-link { color: var(--blue-glow); text-decoration: none; font-size: 11.5px; border-bottom: 1px solid rgba(155,203,255,.25); transition: border-color .2s; }
.ds-link:hover { border-color: var(--blue-glow); }
.ds-excerpt { font-size: 10.5px; color: var(--w30); margin-top: 2px; }

.demo-cursor { display: inline-block; width: 2px; height: 13px; background: var(--blue-light); animation: blink 1s step-end infinite; vertical-align: text-bottom; }

/* Demo right */
.demo-right-hed {
  font-family: var(--font-disp); font-size: clamp(36px,4vw,60px);
  font-weight: 900; letter-spacing: -.01em; line-height: .97;
  margin-bottom: 22px;
}
.demo-right-sub {
  font-size: 16px; color: var(--w70); line-height: 1.65; margin-bottom: 40px;
}

.feat-list { display: flex; flex-direction: column; gap: 0; }
.feat-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.feat-item:first-child { border-top: 1px solid var(--border); }
.feat-icon {
  width: 34px; height: 34px; border: 1px solid var(--border2);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
  background: var(--surface2);
}
.feat-icon svg { color: var(--blue-light); }
.feat-text strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.feat-text span { font-size: 13px; color: var(--w50); line-height: 1.6; }

/* ─── GALLERY ─── */
#gallery { padding: 0 0 120px; overflow: hidden; }

.gallery-track {
  display: flex; gap: 16px; width: max-content;
  animation: gallScroll 30s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes gallScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gallery-item {
  width: 300px; height: 300px; border-radius: 14px;
  overflow: hidden; flex-shrink: 0; border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ─── PRICING ─── */
#pricing {
  padding: 120px 64px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.pricing-inner { max-width: 1200px; margin: 0 auto; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; margin-top: 72px;
}

.price-card {
  background: var(--deep); padding: 44px 36px;
  transition: background .3s; position: relative;
}
.price-card.feat { background: var(--surface2); }

.price-badge {
  display: inline-block; padding: 4px 12px; margin-bottom: 24px;
  background: rgba(110,174,240,.12);
  border: 1px solid rgba(110,174,240,.25);
  border-radius: 100px; font-size: 10.5px; font-weight: 600;
  color: var(--blue-light); letter-spacing: .07em; text-transform: uppercase;
}
.price-name {
  font-family: var(--font-disp); font-size: 28px; font-weight: 900;
  letter-spacing: -.01em; margin-bottom: 12px;
}
.price-num {
  font-family: var(--font-disp); font-size: 56px; font-weight: 900;
  letter-spacing: -.04em; line-height: 1;
}
.price-num sup { font-size: 22px; font-weight: 700; vertical-align: super; letter-spacing: 0; }
.price-per { font-size: 13px; color: var(--w30); margin: 8px 0 28px; }
.price-div { height: 1px; background: var(--border); margin-bottom: 28px; }

.price-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.price-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--w70); }
.price-feats li svg { color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.price-feats li.off { color: var(--w30); }
.price-feats li.off svg { color: var(--w30); }

.btn-prc {
  display: block; width: 100%; text-align: center;
  padding: 13px; border-radius: 7px; font-weight: 600;
  font-size: 14px; text-decoration: none; cursor: none;
  border: 1px solid var(--border2); color: var(--w70);
  background: transparent; transition: all .22s;
  font-family: var(--font-body);
}
.btn-prc:hover { border-color: var(--blue); color: var(--white); background: rgba(50,114,184,.1); transform: translateY(-1px); }
.btn-prc.solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-prc.solid:hover { background: var(--blue-glow); border-color: var(--blue-glow); }

/* ─── CTA ─── */
#cta {
  padding: 160px 64px; text-align: center; position: relative; overflow: hidden;
}
.cta-orb {
  position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(50,114,184,.08) 0%, transparent 65%);
  border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%); pointer-events: none;
}
.cta-hed {
  font-family: var(--font-disp);
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 900; letter-spacing: -.02em; line-height: .92;
  position: relative; z-index: 1; margin-bottom: 32px;
}
.cta-hed em { font-style: normal; color: var(--blue-light); }
.cta-sub {
  font-size: 18px; color: var(--w70); position: relative; z-index: 1;
  margin-bottom: 48px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.cta-acts {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; position: relative; z-index: 1;
}

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px;
}
.footer-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand-logo {
  font-family: var(--font-disp); font-size: 24px; font-weight: 900;
  letter-spacing: -.01em; text-decoration: none; color: var(--white);
  display: inline-block; margin-bottom: 18px;
}
.footer-brand-logo em { font-style: normal; color: var(--blue-light); }

.footer-tagline {
  font-size: 13.5px; color: var(--w50); line-height: 1.7;
  max-width: 260px; margin-bottom: 28px;
}

.footer-social {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.footer-social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--border2);
  border-radius: 6px; text-decoration: none;
  color: var(--w50); font-size: 13px; font-weight: 500;
  transition: all .2s;
}
.footer-social-link:hover {
  border-color: var(--blue); color: var(--white);
  background: rgba(50,114,184,.08);
}
.footer-social-link svg { flex-shrink: 0; }

.footer-col-head {
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--w30); margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--w70); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1440px; margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12.5px; color: var(--w30); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12.5px; color: var(--w30); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--w70); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ─── DOCS ─── */
.docs-layout {
  display: grid; grid-template-columns: 256px 1fr;
  min-height: 100vh; padding-top: 80px;
}
.docs-sidebar {
  position: fixed; top: 80px; left: 0; bottom: 0; width: 256px;
  background: var(--surface); border-right: 1px solid var(--border);
  overflow-y: auto; padding: 28px 0;
}
.docs-sidebar::-webkit-scrollbar { width: 0; }

.docs-nav-section { margin-bottom: 28px; padding: 0 20px; }
.docs-nav-section-head {
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--w30); margin-bottom: 8px;
  padding-left: 12px;
}
.docs-nav-links { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.docs-nav-links a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--w70); text-decoration: none; font-size: 13.5px;
  transition: all .15s; border-left: 2px solid transparent;
}
.docs-nav-links a:hover { color: var(--white); background: var(--w15); }
.docs-nav-links a.active { color: var(--blue-light); border-left-color: var(--blue-light); background: rgba(110,174,240,.06); }

.docs-content { margin-left: 256px; padding: 56px 80px; max-width: 900px; }

.docs-hero { margin-bottom: 72px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.docs-hero-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--blue-light); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.docs-hero h1 { font-family: var(--font-disp); font-size: 56px; font-weight: 900; letter-spacing: -.02em; line-height: 1; margin-bottom: 18px; }
.docs-hero p { font-size: 17px; color: var(--w70); line-height: 1.7; max-width: 580px; }

.docs-section { margin-bottom: 72px; scroll-margin-top: 100px; }
.docs-section h2 { font-family: var(--font-disp); font-size: 32px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.docs-section h3 { font-family: var(--font-disp); font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 32px; margin-bottom: 12px; }
.docs-section p { font-size: 15px; color: var(--w70); line-height: 1.75; margin-bottom: 16px; }
.docs-section ul, .docs-section ol { padding-left: 20px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.docs-section li { font-size: 15px; color: var(--w70); line-height: 1.65; }
.docs-section li strong { color: var(--white); }

.code-block {
  background: var(--deep); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px; margin-bottom: 22px;
  overflow-x: auto; position: relative;
}
.code-label {
  position: absolute; top: 11px; right: 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--w30);
}
.code-block pre { font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: var(--w70); white-space: pre; }
.c-k { color: var(--blue-light); } .c-s { color: #a5d6a7; } .c-n { color: #ffcc80; }
.c-c { color: var(--w30); font-style: italic; } .c-fn { color: #ce93d8; }

.callout {
  border: 1px solid var(--border2); border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0; padding: 16px 18px; margin-bottom: 22px;
  background: rgba(50,114,184,.05);
}
.callout-head { font-size: 12px; font-weight: 600; color: var(--blue-light); margin-bottom: 5px; letter-spacing: .04em; text-transform: uppercase; }
.callout p { font-size: 13.5px; margin-bottom: 0; }

.ptable { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13.5px; }
.ptable th { text-align: left; padding: 10px 14px; background: var(--surface2); color: var(--w30); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.ptable td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: var(--w70); vertical-align: top; }
.ptable tr:last-child td { border-bottom: none; }
.p-name { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue-light); }
.p-type { font-family: var(--font-mono); font-size: 11.5px; color: #a5d6a7; }
.p-req { font-size: 10.5px; padding: 2px 8px; background: rgba(110,174,240,.1); border: 1px solid rgba(110,174,240,.2); border-radius: 4px; color: var(--blue-light); display: inline-block; white-space: nowrap; }
.p-opt { font-size: 10.5px; padding: 2px 8px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 4px; color: var(--w30); display: inline-block; white-space: nowrap; }

.docs-div { height: 1px; background: var(--border); margin: 56px 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  nav, nav.scrolled { padding-left: 32px; padding-right: 32px; }
  #hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero-right { display: none; }
  .hero-left { padding: 140px 32px 120px; }
  #features, #how, #demo, #pricing, #cta { padding: 100px 32px; }
  #pullquote { padding: 80px 32px; gap: 40px; flex-direction: column; }
  .how-grid { grid-template-columns: 1fr; }
  .how-right { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bc-1, .bc-2, .bc-3, .bc-4, .bc-5, .bc-6 { grid-column: span 1; }
  .bc-2 .bento-visual { display: none; }
  .bc-1 .bento-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 768px) {
  .nav-center { display: none; }
  .bento { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-bottom { display: none; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-content { margin-left: 0; padding: 40px 20px; }
}

@media (max-width: 500px) {
  .hero-left { padding: 120px 20px 100px; }
  #features, #how, #demo, #pricing, #cta { padding: 80px 20px; }
  footer { padding: 48px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-acts { flex-direction: column; width: 100%; }
  .btn-main, .btn-ghost { width: 100%; justify-content: center; }
}
