/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #000000;
  --white:   #ffffff;
  --gray-50: #f5f5f7;
  --gray-100:#e8e8ed;
  --gray-400:#86868b;
  --gray-600:#424245;
  --accent:  #0071e3;
  --accent-hover: #0077ed;

  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 48px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
  letter-spacing: -0.2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  color: var(--accent);
}
.btn-ghost:hover { opacity: 0.8; }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 19px;
  color: rgba(255,255,255,0.56);
  margin-bottom: 8px;
  letter-spacing: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 16px;
}
.hero-title::selection {
  background-color: rgba(0,113,227,0.45);
}

.hero-subtitle {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* Orb */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-orb {
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 30%,
    rgba(0, 113, 227, 0.35) 0%,
    rgba(88, 0, 227, 0.18) 40%,
    transparent 70%
  );
  filter: blur(60px);
  animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50%       { transform: scale(1.12) rotate(180deg); opacity: 1; }
}

/* ── Statement ────────────────────────────────────────────── */
.statement {
  padding: 140px 24px;
  text-align: center;
  background: var(--black);
}

.statement p {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: rgba(255,255,255,0.32);
  max-width: 900px;
  margin: 0 auto;
}

.statement p span {
  color: var(--white);
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 80px 24px 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: #1c1c1e;
  border-radius: 24px;
  padding: 48px 40px;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: #2c2c2e;
}

.feature-card--large {
  grid-column: span 2;
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.55;
}

/* ── Immersive ────────────────────────────────────────────── */
.immersive {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.immersive-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%,
      rgba(0,113,227,0.15) 0%,
      transparent 70%),
    linear-gradient(180deg, #111 0%, #000 100%);
  z-index: 0;
}

.immersive-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(0,0,0,0.7) 0%,
    transparent 60%
  );
}

.immersive-text {
  position: relative;
  z-index: 1;
  padding: 80px;
  max-width: 700px;
}

.immersive-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.immersive-text p {
  font-size: 19px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ── Specs ────────────────────────────────────────────────── */
.specs {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.specs-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
  text-align: center;
}

.specs-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 17px;
}

.spec-label {
  color: var(--gray-400);
  font-weight: 400;
}

.spec-value {
  color: var(--white);
  font-weight: 400;
  text-align: right;
}

/* ── Buy ──────────────────────────────────────────────────── */
.buy {
  padding: 120px 24px;
  text-align: center;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.buy-eyebrow {
  font-size: 19px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.buy-price {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 100px);
  font-weight: 800;
  letter-spacing: -3px;
  margin-bottom: 16px;
}

.buy-tagline {
  font-size: 19px;
  color: var(--gray-400);
  margin-bottom: 48px;
}

.buy-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-400);
}

/* ── Section eyebrow ─────────────────────────────────────── */
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
}

/* ── Render 1 — Hand / Gesture Scene ─────────────────────── */
.render-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 100px 80px;
  background: linear-gradient(160deg, #050505 0%, #0a0a12 100%);
  overflow: hidden;
}

.render-hero-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.render-sub {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 380px;
}

.render-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.device-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 700px;
}

/* Hand gesture scene */
.hand-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hand-svg-wrap {
  position: relative;
  width: 300px;
  height: 360px;
  animation: device-float 6s ease-in-out infinite;
}

.skeleton-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Tracking nodes */
.track-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(0,200,255,0.9);
  box-shadow: 0 0 12px rgba(0,200,255,0.7), 0 0 4px rgba(0,200,255,1);
  z-index: 3;
  animation: node-pulse 2s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.7; }
}

.tn-1 { top: 8%;  left: 48%; animation-delay: 0s; }
.tn-2 { top: 26%; left: 20%; animation-delay: 0.2s; }
.tn-3 { top: 26%; left: 74%; animation-delay: 0.4s; }
.tn-4 { top: 52%; left: 28%; animation-delay: 0.6s; }
.tn-5 { top: 52%; left: 68%; animation-delay: 0.3s; }
.tn-6 { top: 82%; left: 18%; animation-delay: 0.5s; }
.tn-7 { top: 82%; left: 56%; animation-delay: 0.1s; }

/* Scan line */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.6), transparent);
  top: 0;
  animation: scan-sweep 3s ease-in-out infinite;
  z-index: 4;
}
@keyframes scan-sweep {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Corner brackets */
.corner-bracket {
  position: absolute;
  width: 20px; height: 20px;
  z-index: 5;
}
.cb-tl { top: 0; left: 0; border-top: 2px solid rgba(0,200,255,0.6); border-left: 2px solid rgba(0,200,255,0.6); }
.cb-tr { top: 0; right: 0; border-top: 2px solid rgba(0,200,255,0.6); border-right: 2px solid rgba(0,200,255,0.6); }
.cb-bl { bottom: 0; left: 0; border-bottom: 2px solid rgba(0,200,255,0.6); border-left: 2px solid rgba(0,200,255,0.6); }
.cb-br { bottom: 0; right: 0; border-bottom: 2px solid rgba(0,200,255,0.6); border-right: 2px solid rgba(0,200,255,0.6); }

.device-shadow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 40px;
  background: radial-gradient(ellipse, rgba(0,113,227,0.3) 0%, transparent 70%);
  filter: blur(16px);
  animation: shadow-pulse 6s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.6; }
  50%       { transform: translateX(-50%) scaleX(0.82); opacity: 0.3; }
}

.device {
  animation: device-float 6s ease-in-out infinite;
}

@keyframes device-float {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(3deg); }
  50%       { transform: translateY(-20px) rotateY(8deg) rotateX(-2deg); }
}

.device-frame {
  position: relative;
  width: 260px;
  height: 540px;
  background: linear-gradient(145deg, #2a2a2e 0%, #1a1a1c 40%, #111113 100%);
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 40px 80px rgba(0,0,0,0.8);
}

.device-btn {
  position: absolute;
  background: linear-gradient(90deg, #1a1a1c, #2e2e32);
  border-radius: 2px;
}
.device-btn--vol-up  { left: -3px; top: 120px; width: 3px; height: 36px; }
.device-btn--vol-down{ left: -3px; top: 168px; width: 3px; height: 36px; }
.device-btn--power   { right: -3px; top: 140px; width: 3px; height: 56px; }

.device-screen {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
}

.device-island {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.device-wallpaper { position: absolute; inset: 0; overflow: hidden; }

.wp-layer { position: absolute; border-radius: 50%; }
.wp-1 {
  width: 300px; height: 300px; top: -60px; left: -80px;
  background: radial-gradient(circle, rgba(0,113,227,0.55) 0%, transparent 70%);
  animation: wp-drift 8s ease-in-out infinite;
}
.wp-2 {
  width: 250px; height: 250px; bottom: -40px; right: -60px;
  background: radial-gradient(circle, rgba(120,0,255,0.4) 0%, transparent 70%);
  animation: wp-drift 10s ease-in-out infinite reverse;
}
.wp-3 {
  width: 180px; height: 180px; top: 60%; left: 20%;
  background: radial-gradient(circle, rgba(0,200,255,0.2) 0%, transparent 70%);
  animation: wp-drift 12s ease-in-out infinite;
}
@keyframes wp-drift {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

.device-status-bar {
  position: absolute;
  bottom: 12px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  z-index: 2;
}

.device-camera-bump {
  position: absolute;
  top: 18px; left: 18px;
  width: 90px; height: 90px;
  background: linear-gradient(145deg, #252528, #1a1a1c);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    2px 4px 12px rgba(0,0,0,0.6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 10px;
  align-items: center;
  justify-items: center;
}

.camera-ring {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c1 { width: 32px; height: 32px; background: linear-gradient(135deg, #1a1a1e, #0e0e10); box-shadow: 0 0 0 2px rgba(255,255,255,0.1); }
.c2 { width: 26px; height: 26px; background: linear-gradient(135deg, #1a1a1e, #0e0e10); box-shadow: 0 0 0 2px rgba(255,255,255,0.09); }
.c3 { width: 26px; height: 26px; background: linear-gradient(135deg, #1a1a1e, #0e0e10); box-shadow: 0 0 0 2px rgba(255,255,255,0.09); }

.camera-lens-inner {
  width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3a5a, #0a0a14);
  position: relative;
}
.lens-shine {
  position: absolute;
  top: 15%; left: 20%; width: 30%; height: 20%;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.camera-flash-dot {
  width: 10px; height: 10px;
  background: radial-gradient(circle, #ffe8a0, #c8a040);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255,220,100,0.35);
}
.camera-lidar {
  width: 8px; height: 8px;
  background: #1a0a20; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07);
}

/* ── Render 2 — Input Modalities ──────────────────────────── */
.render-colors {
  padding: 120px 40px;
  text-align: center;
  background: #050505;
}

.render-colors h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 72px;
}

.color-gallery {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.color-device-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: default;
  transition: transform 0.3s var(--ease-out);
  max-width: 220px;
}
.color-device-wrap:hover { transform: translateY(-8px); }

.modality-card {
  width: 160px; height: 160px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modality-gesture {
  background: linear-gradient(145deg, #0a1a2e, #060c18);
  box-shadow: 0 0 0 1px rgba(0,180,255,0.15), 0 24px 48px rgba(0,0,0,0.6);
}
.modality-voice {
  background: linear-gradient(145deg, #120a2e, #0a0618);
  box-shadow: 0 0 0 1px rgba(120,80,255,0.15), 0 24px 48px rgba(0,0,0,0.6);
}
.modality-behavior {
  background: linear-gradient(145deg, #0a2014, #060e0a);
  box-shadow: 0 0 0 1px rgba(0,220,130,0.15), 0 24px 48px rgba(0,0,0,0.6);
}

.mod-icon-wrap { width: 80px; height: 80px; }
.mod-icon-svg  { width: 100%; height: 100%; }

.color-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.modality-sub {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
  text-align: center;
}

/* ── Render 3 — Neural Visualization ─────────────────────── */
.render-camera {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 80vh;
  padding: 80px;
  background: #030303;
  gap: 60px;
  overflow: hidden;
}

.camera-detail-scene {
  display: flex;
  justify-content: center;
  align-items: center;
}

.neural-vis {
  position: relative;
  width: 340px; height: 340px;
  background: linear-gradient(145deg, #080810, #04040a);
  border-radius: 32px;
  box-shadow:
    0 0 0 1px rgba(0,180,255,0.12),
    0 40px 80px rgba(0,0,0,0.9);
  overflow: hidden;
}

.neural-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(0,100,255,0.07) 0%, transparent 60%);
}

.neural-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.n-node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(0,180,255,0.7);
  box-shadow: 0 0 10px rgba(0,180,255,0.5);
  transform: translate(-50%, -50%);
}

.n-output {
  width: 18px; height: 18px;
  background: rgba(0,230,255,0.9);
  box-shadow: 0 0 20px rgba(0,220,255,0.6);
  animation: output-pulse 2s ease-in-out infinite;
}
@keyframes output-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,220,255,0.6); }
  50%       { box-shadow: 0 0 36px rgba(0,220,255,1); }
}

/* L0 input nodes */
.n0 { left: 60px; top: 70px; }
.n1 { left: 60px; top: 120px; }
.n2 { left: 60px; top: 170px; }
.n3 { left: 60px; top: 220px; }
/* L1 */
.n4 { left: 155px; top: 100px; }
.n5 { left: 155px; top: 170px; }
.n6 { left: 155px; top: 240px; }
/* L2 */
.n7 { left: 225px; top: 120px; }
.n8 { left: 225px; top: 220px; }
/* Output */
.n9 { left: 290px; top: 170px; }

.neural-label {
  position: absolute;
  font-size: 10px;
  color: rgba(0,200,255,0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nl-in  { left: 12px; bottom: 20px; }
.nl-out { right: 8px; bottom: 20px; }
.nl-conf {
  right: 20px; top: 20px;
  font-size: 11px;
  color: rgba(0,230,255,0.8);
  font-weight: 600;
}

.camera-detail-copy h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}

/* ── Render 4 — Latency Visualization ────────────────────── */
.render-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 70vh;
  padding: 80px;
  background: #060608;
  gap: 60px;
}

.profile-copy h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.profile-scene {
  display: flex;
  align-items: center;
  justify-content: center;
}

.latency-vis {
  width: 100%;
  max-width: 420px;
}

.latency-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.latency-bar {
  display: grid;
  grid-template-columns: 110px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.lb-label {
  font-size: 13px;
  color: var(--gray-400);
  text-align: right;
}

.lb-fill {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(0,180,255,0.7), rgba(0,220,255,0.4));
  position: relative;
  transform-origin: left;
  transform: scaleX(0);
}

.lb-capture .lb-fill    { background: linear-gradient(90deg, #0071e3, #0099ff); }
.lb-preprocess .lb-fill { background: linear-gradient(90deg, #4a20e0, #7040ff); }
.lb-infer .lb-fill      { background: linear-gradient(90deg, #0055cc, #0088ee); }
.lb-post .lb-fill       { background: linear-gradient(90deg, #003fa0, #0066cc); }

@keyframes bar-grow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.lb-ms {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}

.latency-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.latency-total span:first-child {
  font-size: 15px;
  color: var(--gray-400);
}

.lt-val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: rgba(0,220,255,0.9);
}

/* ── Responsive — renders ─────────────────────────────────── */
@media (max-width: 768px) {
  .render-hero, .render-camera, .render-profile {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }
  .device-scene { height: 440px; }
  .color-gallery { gap: 24px; }
  .neural-vis { width: 260px; height: 260px; }
  .latency-vis { max-width: 100%; }
}

/* ── Scroll progress bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(0,200,255,0.8));
  z-index: 200;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── Scroll animations ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide up (stronger lift) */
.slide-up {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* Slide from left */
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ── Clip-reveal text (Apple-style line slide-up) ─────────── */
.cr-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.08;
  padding-bottom: 0.06em;
}
.cr-line {
  display: block;
  transform: translateY(108%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.cr-wrap.visible .cr-line { transform: translateY(0); }

/* ── Face mesh dot pulse (applied via JS) ─────────────────── */
@keyframes face-dot-pulse {
  0%, 100% { opacity: var(--dot-op, 0.8); }
  50%       { opacity: 1; }
}

/* ── Statement word-highlight ─────────────────────────────── */
.stmt-word {
  display: inline;
  color: rgba(255,255,255,0.22);
  transition: color 0.35s ease;
}
.stmt-word.lit { color: var(--white); }

/* ── Hero orbital rings ───────────────────────────────────── */
.orb-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  pointer-events: none;
}
.r1 {
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border: 1px solid rgba(0,140,255,0.22);
  animation: ring-spin 22s linear infinite;
}
.r1::after {
  content: ''; position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,210,255,0.95);
  box-shadow: 0 0 16px rgba(0,200,255,0.9), 0 0 4px rgba(0,200,255,1);
  top: -4px; left: 50%; margin-left: -4px;
}
.r2 {
  width: 650px; height: 210px;
  margin: -105px 0 0 -325px;
  border: 1px solid rgba(0,100,255,0.13);
  animation: ring-spin 38s linear infinite reverse;
}
.r2::after {
  content: ''; position: absolute;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(80,160,255,0.9);
  box-shadow: 0 0 10px rgba(80,160,255,0.7);
  top: -2.5px; left: 50%; margin-left: -2.5px;
}
.r3 {
  width: 840px; height: 310px;
  margin: -155px 0 0 -420px;
  border: 1px solid rgba(100,60,255,0.09);
  animation: ring-spin 60s linear infinite;
}
.r3::after {
  content: ''; position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(150,100,255,0.75);
  box-shadow: 0 0 8px rgba(150,100,255,0.5);
  top: -2px; left: 50%; margin-left: -2px;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ── Hero spark particles ─────────────────────────────────── */
.orb-sparks { position: absolute; inset: 0; pointer-events: none; }
.orb-sparks span {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(0,210,255,0.65);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,200,255,0.6);
  animation: spark-float 7s ease-in-out infinite;
}
.orb-sparks span:nth-child(1) { left:44%; top:32%; animation-delay:0s;   animation-duration:7s; }
.orb-sparks span:nth-child(2) { left:56%; top:26%; animation-delay:1.2s; animation-duration:8s; }
.orb-sparks span:nth-child(3) { left:36%; top:42%; animation-delay:2.4s; animation-duration:6s; }
.orb-sparks span:nth-child(4) { left:64%; top:46%; animation-delay:0.8s; animation-duration:9s; }
.orb-sparks span:nth-child(5) { left:50%; top:22%; animation-delay:3.5s; animation-duration:7s; }
.orb-sparks span:nth-child(6) { left:39%; top:62%; animation-delay:1.9s; animation-duration:8s; }
.orb-sparks span:nth-child(7) { left:61%; top:36%; animation-delay:3.0s; animation-duration:6s; }
.orb-sparks span:nth-child(8) { left:47%; top:71%; animation-delay:0.5s; animation-duration:9s; }
@keyframes spark-float {
  0%   { transform: translateY(0)   scale(1);   opacity: 0; }
  18%  { opacity: 0.9; }
  82%  { opacity: 0.4; }
  100% { transform: translateY(-70px) scale(0); opacity: 0; }
}

/* ── Enhanced hero orb ────────────────────────────────────── */
.hero-orb {
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 32%,
    rgba(0,140,255,0.55) 0%,
    rgba(60,0,200,0.30) 36%,
    rgba(0,50,130,0.14) 58%,
    transparent 72%
  );
  filter: blur(52px);
  animation: orb-pulse 8s ease-in-out infinite;
}

/* ── Render section grid overlay ─────────────────────────── */
.render-hero, .render-camera, .render-face, .render-profile {
  position: relative;
}
.render-hero::before, .render-camera::before,
.render-face::before, .render-profile::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,100,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,100,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Feature card glow hover ──────────────────────────────── */
.feature-card {
  border: 1px solid rgba(255,255,255,0.055);
}
.feature-card:hover {
  transform: translateY(-6px);
  background: #202022;
  border-color: rgba(0,180,255,0.18);
  box-shadow: 0 0 40px rgba(0,80,200,0.08), 0 0 0 1px rgba(0,180,255,0.08);
}

/* ── Latency bars — scroll-triggered ─────────────────────── */
.latency-vis.bars-live .lb-fill {
  animation: bar-grow 1.4s var(--ease-out) forwards;
}
.latency-vis.bars-live .lb-preprocess .lb-fill { animation-delay: 0.08s; }
.latency-vis.bars-live .lb-infer .lb-fill      { animation-delay: 0.18s; }
.latency-vis.bars-live .lb-post .lb-fill       { animation-delay: 0.28s; }

/* ── Neural network output node pulse ─────────────────────── */
.n-output {
  box-shadow: 0 0 20px rgba(0,220,255,0.8), 0 0 50px rgba(0,180,255,0.3);
  animation: n-out-pulse 2s ease-in-out infinite !important;
}
@keyframes n-out-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,220,255,0.7), 0 0 50px rgba(0,180,255,0.3); transform: scale(1); }
  50%       { box-shadow: 0 0 30px rgba(0,240,255,1),   0 0 80px rgba(0,200,255,0.5); transform: scale(1.12); }
}

/* ── How-step number accent ───────────────────────────────── */
.step-num {
  background: linear-gradient(135deg, rgba(0,140,255,0.15), rgba(0,60,140,0.05));
  border: 1px solid rgba(0,140,255,0.18);
}

/* ── Phase card entrance ──────────────────────────────────── */
.phase-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}

/* ── Render label entrance ────────────────────────────────── */
.render-label {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.render-label.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-logo { font-size: 18px; }

  /* Hero */
  .hero { padding: 100px 20px 60px; }
  .hero-eyebrow { font-size: 11px; }
  .hero-subtitle { font-size: clamp(16px, 4.5vw, 22px); margin-bottom: 32px; }
  .hero-cta { gap: 12px; }
  .btn { font-size: 15px; padding: 10px 22px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large,
  .feature-card--wide { grid-column: span 1; }

  /* Immersive / Specs */
  .immersive-text { padding: 40px 20px; }
  .spec-row { flex-direction: column; gap: 4px; }
  .spec-value { text-align: left; }

  /* Voice demo */
  .voice-demo { grid-template-columns: 1fr; padding: 80px 20px; gap: 48px; }
  .voice-live-card { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   Phase 2 — Voice Demo Section
═══════════════════════════════════════════════════════════ */

.voice-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px 80px;
  background: linear-gradient(160deg, #060610 0%, #0b0b18 60%, #08080e 100%);
  position: relative;
  overflow: hidden;
}

.voice-demo::before {
  content: "";
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(120,80,255,0.10) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.voice-demo-copy h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin-bottom: 20px;
}

/* Hint chips */
.voice-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.voice-hint-chip {
  background: none;
  border: 1px solid rgba(120,80,255,0.4);
  color: rgba(160,120,255,0.9);
  font-family: var(--font);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.voice-hint-chip:hover {
  background: rgba(120,80,255,0.14);
  border-color: rgba(120,80,255,0.75);
  color: rgba(200,160,255,1);
}

.voice-browser-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-400);
  opacity: 0.7;
}

/* ── Voice Live Card ── */
.voice-live-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
  max-width: 460px;
}

.voice-live-card[data-state="listening"] {
  border-color: rgba(120,80,255,0.45);
  box-shadow: 0 0 0 1px rgba(120,80,255,0.1), 0 0 60px rgba(120,80,255,0.06);
}

/* Status row */
.vlc-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vlc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.vlc-dot.active {
  background: rgba(120,80,255,1);
  box-shadow: 0 0 0 3px rgba(120,80,255,0.25), 0 0 12px rgba(120,80,255,0.4);
  animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(120,80,255,0.25), 0 0 12px rgba(120,80,255,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(120,80,255,0.12), 0 0 22px rgba(120,80,255,0.6); }
}

.vlc-state-text {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}

/* Waveform canvas */
.vlc-canvas {
  width: 100%;
  height: 80px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  display: block;
}

/* Transcript */
.vlc-transcript-wrap {
  min-height: 40px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  word-break: break-word;
}
.vlc-interim {
  color: rgba(255,255,255,0.42);
  font-style: italic;
}
.vlc-final {
  color: rgba(255,255,255,0.95);
}

/* Intent badge */
.vlc-intent-badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 980px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  align-self: flex-start;
}
.vlc-intent-badge.visible {
  opacity: 1;
  transform: translateY(0);
}
.vlc-intent-badge.vlc-intent--match {
  background: rgba(120,80,255,0.18);
  border: 1px solid rgba(120,80,255,0.45);
  color: rgba(180,140,255,1);
}
.vlc-intent-badge.vlc-intent--no-match {
  background: rgba(255,100,60,0.10);
  border: 1px solid rgba(255,100,60,0.3);
  color: rgba(255,140,100,0.9);
}

/* CTA button inside card */
.vlc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(120,80,255,0.5);
  background: rgba(120,80,255,0.08);
  color: rgba(180,140,255,1);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.vlc-btn svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.vlc-btn:hover {
  background: rgba(120,80,255,0.18);
  border-color: rgba(120,80,255,0.8);
  box-shadow: 0 0 24px rgba(120,80,255,0.2);
}
.vlc-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Active (listening) state on button */
.voice-live-card[data-state="listening"] .vlc-btn {
  background: rgba(120,80,255,0.2);
  border-color: rgba(120,80,255,0.9);
  color: rgba(220,190,255,1);
}

.vlc-not-supported {
  font-size: 13px;
  color: rgba(255,100,60,0.8);
  text-align: center;
  padding: 8px 0;
}

/* ── Help overlay ── */
.voice-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s;
  padding: 24px;
}
.voice-help-overlay.visible { opacity: 1; }

.vho-inner {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
}

.vho-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.vho-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.vho-list li {
  font-size: 14px;
  color: var(--gray-400);
  padding-left: 16px;
  position: relative;
}
.vho-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: rgba(120,80,255,0.8);
}

.vho-close {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.vho-close:hover { background: rgba(255,255,255,0.10); }

/* ── Face Mesh Section ────────────────────────────────────── */
.render-face {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 80px;
  background: #050508;
  position: relative;
  overflow: hidden;
}

.render-face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0,180,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.render-face-copy { max-width: 520px; }

.render-face-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.face-signals {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.face-signals li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-400);
}

.sig-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,200,255,0.8);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,200,255,0.6);
}

.face-scene {
  display: flex;
  align-items: center;
  justify-content: center;
}

.face-mesh-wrap {
  position: relative;
  width: 300px;
  height: 360px;
}

.face-mesh-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0,180,255,0.15));
}

.face-mesh-wrap .corner-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(0,200,255,0.4);
  border-style: solid;
  border-width: 0;
}
.face-mesh-wrap .cb-tl { top: -4px; left: -4px;  border-top-width: 1.5px; border-left-width: 1.5px; }
.face-mesh-wrap .cb-tr { top: -4px; right: -4px; border-top-width: 1.5px; border-right-width: 1.5px; }
.face-mesh-wrap .cb-bl { bottom: -4px; left: -4px;  border-bottom-width: 1.5px; border-left-width: 1.5px; }
.face-mesh-wrap .cb-br { bottom: -4px; right: -4px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

@media (max-width: 768px) {
  .render-face { grid-template-columns: 1fr; padding: 80px 24px; }
  .face-mesh-wrap { width: 240px; height: 288px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   Phase 1 — Gesture Live Demo Section
═══════════════════════════════════════════════════════════ */

.gesture-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  padding: 120px 80px;
  background: linear-gradient(160deg, #060810 0%, #090b12 60%, #060708 100%);
  position: relative;
  overflow: hidden;
}

.gesture-demo::before {
  content: "";
  position: absolute;
  left: 20%; top: 40%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(0,180,255,0.07) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.gesture-demo-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.gesture-demo-copy h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.06;
  margin-bottom: 4px;
}

/* Sign guide */
.gesture-sign-guide { display: flex; flex-direction: column; gap: 10px; }

.sign-guide-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}

.sign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.sign-grid span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Finger state indicators */
.finger-state-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

.fi {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fi.active {
  background: rgba(0,200,255,0.15);
  color: rgba(0,220,255,1);
  border-color: rgba(0,200,255,0.4);
}

/* ── Gesture Live Card ───────────────────────────────────── */
.gesture-demo-visual {
  position: relative;
  z-index: 1;
}

.gesture-live-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.glc-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.25);
  font-size: 12px;
}

.nav-status { color: rgba(255,255,255,0.38); font-size: 12px; }
.nav-status.ready { color: rgba(0,220,100,0.9); }
.nav-status.error { color: rgba(255,80,80,0.85); }

.glc-stats {
  color: rgba(255,255,255,0.28);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* Camera viewport */
.camera-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
}

#video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  display: block;
}

#canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
  pointer-events: none;
}

.no-cam {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0,0,0,0.88);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}
.no-cam.visible { display: flex; }
.no-cam .btn { margin-top: 4px; font-size: 14px; padding: 10px 24px; }

/* Gesture readout */
.glc-readout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.glc-gesture-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--white);
  min-width: 155px;
  white-space: nowrap;
  transition: color 0.2s;
}

.glc-gesture-name.activated {
  color: rgba(0,240,140,1);
  text-shadow: 0 0 20px rgba(0,240,140,0.4);
}

.glc-conf {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glc-conf-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.glc-conf-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(0,180,255,0.8), rgba(0,220,255,0.95));
  border-radius: 2px;
  transition: width 0.12s ease;
}

.glc-conf-val {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: right;
}

.glc-lm {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  white-space: nowrap;
}

/* Gesture log */
.glc-log {
  padding: 12px 16px 16px;
  min-height: 80px;
}

.glc-log-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 120px;
  overflow: hidden;
}

.log-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}

.log-gesture { color: rgba(255,255,255,0.72); }

.log-time {
  color: rgba(255,255,255,0.25);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .gesture-demo { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
  .sign-grid { grid-template-columns: repeat(2, 1fr); }
  .glc-gesture-name { min-width: 120px; font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════
   About Section
═══════════════════════════════════════════════════════════ */

.about {
  padding: 120px 80px;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.about-col--lead h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-top: 16px;
  color: var(--white);
}

.about-col--body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-col--body p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: 980px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   How It Works Section
═══════════════════════════════════════════════════════════ */

.how-section {
  padding: 120px 80px;
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.how-header {
  max-width: 680px;
  margin-bottom: 80px;
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.04;
  margin-top: 12px;
  color: var(--white);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin-bottom: 80px;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.how-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  padding-top: 4px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--white);
  margin-bottom: 14px;
}

.step-content p {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  max-width: 700px;
}

.step-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-stack span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
}

/* Architecture diagram */
.arch-diagram {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  max-width: 900px;
  flex-wrap: wrap;
}

.arch-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-input-pill {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  white-space: nowrap;
}

.arch-input-pill span {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  font-weight: 400;
}

.arch-arrow {
  flex-shrink: 0;
  width: 60px;
  opacity: 0.6;
}

.arch-arrow svg { width: 100%; display: block; }

.arch-model {
  padding: 16px 28px;
  background: rgba(120,80,255,0.1);
  border: 1px solid rgba(120,80,255,0.3);
  border-radius: 12px;
  white-space: nowrap;
}

.arch-model-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(180,140,255,0.9);
  letter-spacing: -0.2px;
}

.arch-output {
  padding: 16px 28px;
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.25);
  border-radius: 12px;
  white-space: nowrap;
}

.arch-output-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,210,255,0.85);
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {
  .how-section { padding: 80px 24px; }
  .how-step { grid-template-columns: 48px 1fr; gap: 20px; padding: 36px 0; }
  .step-num { font-size: 36px; }
  .arch-diagram { gap: 12px; padding: 24px; }
  .arch-arrow { width: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   Privacy Section
═══════════════════════════════════════════════════════════ */

.privacy {
  padding: 120px 80px;
  background: #020408;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.privacy::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(48,209,88,0.05) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}

.privacy-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.privacy-header {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}

.privacy-header h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.03;
  margin: 16px 0 24px;
  color: var(--white);
}

.privacy-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.52);
  max-width: 580px;
  margin: 0 auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.priv-card {
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(48,209,88,0.03);
  border: 1px solid rgba(48,209,88,0.13);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.priv-card:hover {
  background: rgba(48,209,88,0.07);
  border-color: rgba(48,209,88,0.25);
  transform: translateY(-3px);
}

.priv-icon {
  font-size: 30px;
  margin-bottom: 18px;
  line-height: 1;
}

.priv-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--white);
}

.priv-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.46);
}

.privacy-badge {
  display: flex;
  justify-content: center;
}

.priv-badge-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 14px;
  background: rgba(48,209,88,0.06);
  border: 1px solid rgba(48,209,88,0.20);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}

.priv-check {
  color: var(--green);
  font-weight: 700;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .privacy { padding: 80px 20px; }
  .privacy-header { margin-bottom: 48px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 14px; }
  .priv-badge-row { gap: 14px 20px; padding: 16px 24px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════
   Roadmap / Phases Section
═══════════════════════════════════════════════════════════ */

.roadmap {
  padding: 120px 80px;
  background: #060608;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.roadmap-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.roadmap-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.04;
  margin-top: 12px;
  color: var(--white);
}

.roadmap-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
}

.phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.phase-card {
  padding: 36px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, background 0.3s;
}

.phase-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.phase-done  { border-color: rgba(0,200,100,0.2);  }
.phase-live  { border-color: rgba(120,80,255,0.3); background: rgba(120,80,255,0.04); }
.phase-building { border-color: rgba(0,160,255,0.2); }
.phase-planned  { border-color: rgba(255,255,255,0.06); }

.phase-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phase-num {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.phase-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 980px;
}

.status-done {
  background: rgba(0,200,100,0.12);
  border: 1px solid rgba(0,200,100,0.3);
  color: rgba(0,220,120,0.9);
}

.status-live {
  background: rgba(120,80,255,0.18);
  border: 1px solid rgba(120,80,255,0.5);
  color: rgba(180,140,255,1);
  animation: livePulse 2.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(120,80,255,0); }
  50%       { box-shadow: 0 0 0 4px rgba(120,80,255,0.12); }
}

.status-building {
  background: rgba(0,160,255,0.10);
  border: 1px solid rgba(0,160,255,0.3);
  color: rgba(80,180,255,0.9);
}

.status-planned {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
}

.phase-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
}

.phase-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  flex: 1;
}

.phase-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.phase-stack span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.35);
}

.phase-live .phase-stack span {
  background: rgba(120,80,255,0.08);
  border-color: rgba(120,80,255,0.2);
  color: rgba(160,120,255,0.7);
}

@media (max-width: 768px) {
  .roadmap { padding: 80px 24px; }
  .phase-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   Mobile — comprehensive fixes
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Hero text ── */
  .hero { padding: 88px 20px 56px; }
  .hero-title {
    font-size: clamp(38px, 10vw, 64px);
    letter-spacing: -2px;
    line-height: 1.02;
  }
  .hero-eyebrow { font-size: 12px; }
  .hero-subtitle { font-size: clamp(15px, 4vw, 19px); letter-spacing: 0; margin-bottom: 28px; }
  .hero-cta { gap: 10px; margin-bottom: 0; }
  .btn { font-size: 14px; padding: 10px 20px; }

  /* ── Orb rings — scale way down so they don't overflow ── */
  .r1 { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .r2 { width: 340px; height: 110px; margin: -55px 0 0 -170px; }
  .r3 { display: none; }
  .hero-orb { width: 320px; height: 320px; }

  /* ── Hide complex decorative visuals — they look poor at small sizes ── */
  .device-scene         { display: none; }
  .camera-detail-scene  { display: none; }
  .face-scene           { display: none; }
  .profile-scene        { display: none; }

  /* ── Render sections become text-only on mobile ── */
  .render-hero,
  .render-camera,
  .render-face,
  .render-profile {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 20px;
    gap: 0;
  }

  /* ── Section text sizes ── */
  .render-hero-copy h2,
  .camera-detail-copy h2,
  .render-face-copy h2,
  .profile-copy h2 {
    font-size: clamp(30px, 8vw, 44px);
    letter-spacing: -1.2px;
  }
  .render-sub { font-size: 15px; max-width: 100%; }

  /* ── Statement ── */
  .statement { padding: 80px 20px; }

  /* ── Immersive ── */
  .immersive { height: auto; min-height: 52vh; }
  .immersive-text { padding: 52px 20px; }
  .immersive-text h2 { font-size: clamp(24px, 7vw, 36px); letter-spacing: -0.8px; }
  .immersive-text p { font-size: 15px; }

  /* ── About ── */
  .about { padding: 64px 20px; }
  .about-inner { gap: 32px; }
  .about-col--lead h2 { font-size: clamp(26px, 7vw, 38px); letter-spacing: -1px; }
  .about-col--body p { font-size: 15px; }

  /* ── How it works ── */
  .how-section { padding: 64px 20px; }
  .how-header { margin-bottom: 48px; }
  .how-header h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1.2px; }
  .how-step { grid-template-columns: 40px 1fr; gap: 16px; padding: 28px 0; }
  .step-num { font-size: 28px; }
  .step-content h3 { font-size: 18px; }
  .step-content p { font-size: 14px; }
  .arch-diagram { display: none; }

  /* ── Features ── */
  .features { padding: 64px 20px 80px; }
  .feature-card { padding: 28px 22px; }
  .feature-card h2 { font-size: 19px; }
  .feature-card p { font-size: 14px; }

  /* ── Privacy ── */
  .privacy { padding: 64px 20px; }
  .privacy-header h2 { font-size: clamp(28px, 7vw, 42px); letter-spacing: -1.5px; }
  .privacy-lead { font-size: 15px; }
  .priv-card { padding: 24px 20px; }

  /* ── Roadmap ── */
  .roadmap { padding: 64px 20px; }
  .roadmap-header h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1.2px; }
  .roadmap-sub { font-size: 15px; }
  .phase-card { padding: 24px; }
  .phase-card h3 { font-size: 18px; }
  .phase-card p { font-size: 14px; }

  /* ── Specs ── */
  .specs { padding: 64px 20px; }
  .specs-title { font-size: 32px; }
  .spec-row { font-size: 14px; }

  /* ── Buy / CTA ── */
  .buy { padding: 80px 20px; }
  .buy-eyebrow { font-size: 14px; }
  .buy-price { font-size: clamp(40px, 10vw, 70px); letter-spacing: -2px; }
  .buy-tagline { font-size: 15px; }

  /* ── Voice demo section on homepage ── */
  .voice-demo { padding: 64px 20px; gap: 36px; }
  .voice-demo-copy h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1px; }
  .voice-live-card { max-width: 100%; }

  /* ── Gesture demo section on homepage ── */
  .gesture-demo { padding: 64px 20px; gap: 36px; }
  .gesture-demo-copy h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1px; }

  /* ── Modality cards ── */
  .render-colors { padding: 64px 20px; }
  .render-colors h2 { font-size: clamp(28px, 7vw, 40px); letter-spacing: -1px; margin-bottom: 40px; }
  .color-gallery { gap: 20px; }
  .modality-card { width: 120px; height: 120px; }

  /* ── Face signals list ── */
  .face-signals li { font-size: 14px; }

  /* ── Nav padding ── */
  .nav { padding: 0 14px; }

  /* ── Download section ── */
  .download-section { padding: 72px 20px; }
  .download-title { font-size: clamp(26px, 7vw, 36px); letter-spacing: -1px; }
  .download-sub { font-size: 14px; }
  .dl-platform { flex-wrap: wrap; gap: 12px; }
  .dl-btn { width: 100%; text-align: center; }
}
