/* ==========================================================================
   Oculiz: page sections
   ========================================================================== */

/* ---------- Waitlist form (shared by hero + final CTA) ---------- */
.wl-form {
  position: relative; display: flex; gap: 10px; max-width: 540px; margin-top: 36px; padding: 7px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px); transition: border-color 0.3s, box-shadow 0.3s;
}
.wl-form:focus-within { border-color: var(--line-accent); box-shadow: 0 0 0 6px rgba(31, 227, 161, 0.08); }
.wl-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 20px; font-size: 16px; }
.wl-form input::placeholder { color: var(--muted-2); }
.wl-form.big { margin-inline: auto; max-width: 580px; }
.wl-msg { position: absolute; left: 22px; top: calc(100% + 12px); font-size: 13.5px; color: #ff9d8a; margin: 0; }
.wl-form.is-error { animation: shake 0.45s; border-color: rgba(255, 157, 138, 0.5); }
.wl-form.is-error + .micro { opacity: 0; }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.wl-form.is-busy .btn { opacity: 0.7; pointer-events: none; }
.hero .micro, .cta .micro { transition: opacity 0.2s; }


/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 36px) 0 96px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; left: 50%; top: -22%; width: 1500px; height: 950px; translate: -50% 0; background: radial-gradient(closest-side, rgba(31, 227, 161, 0.17), transparent 72%); }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 8%, transparent 76%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 30px; align-items: center; }
.hero-title { font: 800 clamp(42px, 5.7vw, 82px)/0.98 var(--font-display); letter-spacing: -0.045em; margin: 32px 0 28px; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); max-width: 540px; }
.hero-sub kbd.inline { color: var(--accent-2); }

.hero-stage { position: relative; width: min(100%, 580px); aspect-ratio: 1; margin-inline: auto; perspective: 1200px; }
.ring-wrap { position: absolute; inset: 13%; transform: translate3d(var(--rx, 0px), var(--ry, 0px), 0) scale(var(--rs, 1)); transition: transform 0.25s linear; will-change: transform; }
.ring { width: 100%; height: auto; filter: drop-shadow(0 0 44px rgba(31, 227, 161, 0.4)); animation: ringFloat 10s ease-in-out infinite; }
@keyframes ringFloat { 0%, 100% { transform: translateY(0) rotate(-5deg) scale(1); } 50% { transform: translateY(-16px) rotate(6deg) scale(1.03); } }
.glow { position: absolute; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; pointer-events: none; }
.g1 { inset: 12%; background: radial-gradient(circle, rgba(31, 227, 161, 0.6), transparent 62%); animation: glowA 8s ease-in-out infinite; }
.g2 { inset: 0; background: radial-gradient(circle at 62% 38%, rgba(124, 255, 206, 0.4), transparent 60%); animation: glowB 11s ease-in-out infinite; }
@keyframes glowA { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(3%, -4%) scale(1.1); } 66% { transform: translate(-4%, 3%) scale(0.95); } }
@keyframes glowB { 0%, 100% { transform: translate(0, 0) scale(1); } 40% { transform: translate(-4%, 4%) scale(1.06); } 75% { transform: translate(4%, -3%) scale(0.95); } }

.orbit { position: absolute; inset: 3%; border-radius: 50%; border: 1px solid rgba(124, 255, 206, 0.15); transform-style: preserve-3d; transform: rotateX(70deg) rotateZ(var(--rz)); animation: orbit var(--t) linear infinite; }
.o1 { --rz: -24deg; --t: 46s; }
.o2 { inset: -7%; --rz: 38deg; --t: 62s; border-color: rgba(124, 255, 206, 0.08); animation-direction: reverse; }
.o3 { inset: 20%; --rz: 80deg; --t: 34s; border-color: rgba(124, 255, 206, 0.11); }
.orbit i { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px 3px var(--accent); }
@keyframes orbit { to { transform: rotateX(70deg) rotateZ(calc(var(--rz) + 360deg)); } }

.float-card {
  position: absolute; z-index: 3; padding: 15px 18px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 22, 20, 0.84), rgba(7, 11, 10, 0.7));
  border: 1px solid rgba(124, 255, 206, 0.17); backdrop-filter: blur(18px);
  box-shadow: 0 34px 70px -22px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.fc-label { font: 400 9px/1 var(--font-brand); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fc-keys { left: -3%; bottom: 13%; animation-delay: -2s; }
.fc-route { right: -3%; top: 11%; animation-delay: -4s; min-width: 190px; }
.fc-live { left: 4%; top: 15%; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; animation-delay: -1s; }
.fc-live-text { font-size: 13px; color: var(--accent-2); font-weight: 500; }
.keys { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.keys kbd { min-width: 0; height: 34px; padding: 0 12px; font-size: 10px; animation: keyPress 3.4s ease-in-out infinite; }
.keys kbd:nth-child(2) { animation-delay: 0.12s; }
.keys kbd:nth-child(3) { animation-delay: 0.24s; }
@keyframes keyPress {
  0%, 58%, 100% { transform: none; border-bottom-width: 3px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  68%, 80% { transform: translateY(2px); border-bottom-width: 1px; color: #fff; box-shadow: 0 0 22px rgba(31, 227, 161, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}
.route-line { display: flex; align-items: baseline; gap: 10px; transition: opacity 0.35s, transform 0.35s var(--ease); }
.route-line.swap { opacity: 0; transform: translateY(6px); }
.route-model { font: 700 18px/1 var(--font-display); color: var(--accent-2); letter-spacing: -0.02em; }
.route-why { font-size: 12.5px; color: var(--muted); }
.mini-wave { display: flex; align-items: center; gap: 3px; height: 18px; }
.mini-wave i { width: 3px; border-radius: 2px; background: var(--accent-2); height: 5px; animation: mw 1s ease-in-out infinite; }
.mini-wave i:nth-child(2) { animation-delay: -0.2s; }
.mini-wave i:nth-child(3) { animation-delay: -0.4s; }
.mini-wave i:nth-child(4) { animation-delay: -0.6s; }
.mini-wave i:nth-child(5) { animation-delay: -0.8s; }
@keyframes mw { 0%, 100% { height: 5px; } 50% { height: 18px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 400 9px/1 var(--font-brand); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--accent)); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee-sec { padding: 38px 0 14px; border-block: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(31, 227, 161, 0.03), transparent); }
.marquee-label { text-align: center; font: 400 10.5px/1 var(--font-brand); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; }
.marquee { overflow: hidden; padding-bottom: 26px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { margin-right: 64px; font: 700 clamp(24px, 3.2vw, 38px)/1 var(--font-display); letter-spacing: -0.035em; color: rgba(238, 244, 241, 0.34); white-space: nowrap; transition: color 0.3s; }
.marquee-track span:hover { color: var(--text); }
.marquee-track span.soft { font: 400 12px/1 var(--font-brand); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); align-self: center; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Demo ---------- */
.demo { overflow: hidden; }
.demo::before { content: ""; position: absolute; left: 50%; top: 38%; width: 1200px; height: 700px; translate: -50% 0; background: radial-gradient(closest-side, rgba(31, 227, 161, 0.1), transparent 70%); pointer-events: none; }
.demo-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto 48px; }
.demo-tab {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left; overflow: hidden;
  padding: 16px 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); color: var(--muted);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.demo-tab:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.demo-tab .ico { width: 24px; height: 24px; color: var(--muted-2); transition: color 0.4s; }
.demo-tab b { display: block; color: var(--text); font: 600 15.5px/1.2 var(--font-display); letter-spacing: -0.01em; }
.demo-tab small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted-2); }
.demo-tab.is-active { background: rgba(31, 227, 161, 0.07); border-color: var(--line-accent); }
.demo-tab.is-active .ico { color: var(--accent); }
.demo-tab .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.05); }
.demo-tab .bar u { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }
.demo-tab.is-active .bar u { animation: tabFill var(--dur, 14s) linear forwards; }
.demo-tabs.paused .demo-tab .bar u { animation-play-state: paused; }
@keyframes tabFill { to { transform: scaleX(1); } }

.monitor-wrap { position: relative; max-width: 1060px; margin: 0 auto; }
.monitor {
  position: relative; padding: 12px; border-radius: 24px;
  background: linear-gradient(160deg, #1b2322, #090d0c); border: 1px solid var(--line-strong);
  box-shadow: 0 70px 150px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 140px -20px rgba(31, 227, 161, 0.2);
}
.monitor::after { content: ""; position: absolute; inset: 12px; border-radius: 13px; pointer-events: none; z-index: 5; background: linear-gradient(115deg, rgba(255, 255, 255, 0.075), transparent 26%); }
.screen { position: relative; aspect-ratio: var(--ar, 1120 / 700); border-radius: 13px; overflow: hidden; background: #070a0c; }
.monitor-neck { width: 130px; height: 50px; margin: 0 auto; background: linear-gradient(90deg, #090d0c, #1b2322 50%, #090d0c); }
.monitor-base { width: 320px; height: 11px; margin: 0 auto; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #1c2523, #090d0c); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8); }
.demo-note { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 30px; }

/* ---------- Real app gallery ---------- */
.product { overflow: hidden; }
.fan { position: relative; max-width: 1120px; margin: 0 auto; aspect-ratio: 16 / 8.6; perspective: 1700px; }
.win {
  position: absolute; border-radius: 14px; overflow: hidden; background: #05070a; border: 1px solid var(--line-strong);
  box-shadow: 0 60px 110px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.win-bar { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px; background: #0a0d0f; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--font-body); color: var(--muted); }
.win-bar img { width: 14px; height: auto; }
.wc { margin-left: auto; width: 46px; height: 8px; background: radial-gradient(circle at 4px 4px, #3a4543 3.5px, transparent 4px), radial-gradient(circle at 23px 4px, #3a4543 3.5px, transparent 4px), radial-gradient(circle at 42px 4px, #3a4543 3.5px, transparent 4px); }
.shot { width: 100%; height: auto; }
/* No 3D transform at rest: a perspective-transformed layer is rasterised softer. The tilt class is added only while hovering. */
.w-center.is-tilting { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.w-center { left: 20%; width: 60%; top: 0; z-index: 3; transform: none; box-shadow: 0 70px 130px -30px rgba(0, 0, 0, 0.95), 0 0 90px -20px rgba(31, 227, 161, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.5); }
.w-left { left: 0; top: 13%; width: 50%; z-index: 1; transform: rotateY(15deg) rotateZ(-3deg) translateZ(-70px); }
.w-right { right: 0; top: 13%; width: 50%; z-index: 2; transform: rotateY(-15deg) rotateZ(3deg) translateZ(-70px); }
.fan:hover .w-left { transform: rotateY(9deg) rotateZ(-4deg) translate3d(-3%, 0, -50px); }
.fan:hover .w-right { transform: rotateY(-9deg) rotateZ(4deg) translate3d(3%, 0, -50px); }
.fan-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 56px auto 0; text-align: center; }
.fan-caps li { color: var(--muted); font-size: 14.5px; }
.fan-caps b { display: block; color: var(--text); font: 600 17px/1.2 var(--font-display); margin-bottom: 6px; letter-spacing: -0.015em; }

/* ---------- Old way vs Oculiz ---------- */
.on-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; max-width: 1040px; margin: 0 auto; }
.on-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)); }
.on-tag { display: flex; justify-content: space-between; align-items: center; font: 400 10.5px/1 var(--font-brand); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.on-tag b { font-weight: 400; color: var(--muted-2); }
.steps-old { margin-top: 28px; display: grid; gap: 10px; counter-reset: s; }
.steps-old li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.steps-old li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); font: 400 9.5px/1 var(--font-brand); color: var(--muted-2); flex-shrink: 0; }
.js .steps-old li { opacity: 0.12; transform: translateX(-16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .on-card.old.is-in .steps-old li { opacity: 1; transform: none; }
.steps-old li:nth-child(1) { transition-delay: 0.2s; } .steps-old li:nth-child(2) { transition-delay: 0.4s; }
.steps-old li:nth-child(3) { transition-delay: 0.6s; } .steps-old li:nth-child(4) { transition-delay: 0.8s; }
.steps-old li:nth-child(5) { transition-delay: 1s; } .steps-old li:nth-child(6) { transition-delay: 1.2s; }
.steps-old li:nth-child(7) { transition-delay: 1.4s; } .steps-old li:nth-child(8) { transition-delay: 1.6s; }
.on-card.new { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; border-color: var(--line-accent); background: radial-gradient(120% 90% at 100% 0%, rgba(31, 227, 161, 0.18), transparent 60%), linear-gradient(160deg, rgba(31, 227, 161, 0.05), transparent); }
.on-card.new .on-tag { width: 100%; color: var(--accent-2); }
.on-card.new .on-tag b { color: var(--accent); }
.on-keys { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.on-keys kbd { height: 62px; min-width: 66px; font-size: 16px; border-radius: 15px; animation: keyPress 3.4s ease-in-out infinite; }
.on-keys kbd:nth-child(2) { animation-delay: 0.12s; } .on-keys kbd:nth-child(3) { animation-delay: 0.24s; }
.on-done { font: 800 clamp(38px, 4.6vw, 62px)/1 var(--font-display); letter-spacing: -0.045em; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 330px; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 227, 161, 0.14), transparent 60%); }
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 255, 206, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile:hover { transform: translateY(-4px); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 46ch; }
.t1 { grid-column: span 4; min-height: 400px; }
.t2, .t3, .t4, .t5 { grid-column: span 2; }
.t6 { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 34px; min-height: 250px; }
.t6-copy { max-width: 500px; }
.tile-vis { position: absolute; inset: 0 0 auto 0; height: 58%; display: flex; align-items: center; justify-content: center; }
.soft-chip { display: inline-block; margin-bottom: 16px; padding: 7px 12px; border-radius: 999px; font: 400 9px/1 var(--font-brand); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(255, 196, 107, 0.4); background: rgba(255, 196, 107, 0.08); }

.route-vis { gap: 26px; padding: 0 34px; }
.rv-prompt { position: relative; padding: 13px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); font-size: 14px; color: var(--text); white-space: nowrap; }
.rv-prompt::after, .rv-core::after { content: ""; position: absolute; top: 50%; left: 100%; width: 28px; height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--accent)); }
.rv-core { position: relative; width: 68px; height: 68px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(31, 227, 161, 0.2), transparent 70%); }
.rv-core::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--line-accent); animation: ripple 2.6s ease-out infinite; }
.rv-core img { width: 46px; animation: spinSlow 18s linear infinite; }
@keyframes ripple { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes spinSlow { to { rotate: 360deg; } }
.rv-models { display: grid; gap: 9px; }
.rv-models li { padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); animation: pick 8s ease-in-out infinite; }
.rv-models li:nth-child(2) { animation-delay: 2s; } .rv-models li:nth-child(3) { animation-delay: 4s; } .rv-models li:nth-child(4) { animation-delay: 6s; }
@keyframes pick { 0%, 22% { color: var(--accent-2); border-color: var(--line-accent); background: rgba(31, 227, 161, 0.1); box-shadow: 0 0 24px -6px rgba(31, 227, 161, 0.5); } 28%, 100% { color: var(--muted-2); border-color: var(--line); background: transparent; box-shadow: none; } }

.wave-vis { gap: 6px; }
.wave-vis i { width: 6px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); animation: wv 1.3s ease-in-out infinite; }
.wave-vis i:nth-child(2) { animation-delay: -0.15s; } .wave-vis i:nth-child(3) { animation-delay: -0.3s; } .wave-vis i:nth-child(4) { animation-delay: -0.45s; }
.wave-vis i:nth-child(5) { animation-delay: -0.6s; } .wave-vis i:nth-child(6) { animation-delay: -0.75s; } .wave-vis i:nth-child(7) { animation-delay: -0.9s; }
.wave-vis i:nth-child(8) { animation-delay: -1.05s; } .wave-vis i:nth-child(9) { animation-delay: -1.2s; }
@keyframes wv { 0%, 100% { height: 14px; opacity: 0.55; } 50% { height: 74px; opacity: 1; } }

.scan-screen { position: relative; width: 160px; height: 104px; overflow: hidden; display: grid; align-content: start; gap: 9px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.scan-screen i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.scan-screen i:nth-child(1) { width: 70%; } .scan-screen i:nth-child(2) { width: 90%; } .scan-screen i:nth-child(3) { width: 55%; }
.scan-screen::after { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px; background: linear-gradient(180deg, transparent, rgba(31, 227, 161, 0.4), transparent); animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0% { top: -34px; } 100% { top: 110%; } }
.scan-chip { position: absolute; right: 12%; top: 22%; padding: 6px 10px; border-radius: 999px; font: 400 8.5px/1 var(--font-brand); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); border: 1px solid var(--line-accent); background: rgba(5, 7, 10, 0.8); }

.lock-vis svg { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(31, 227, 161, 0.55)); animation: lockPulse 3.2s ease-in-out infinite; }
@keyframes lockPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.keys-vis { gap: 8px; }
.keys-vis kbd { height: 50px; min-width: 62px; font-size: 12.5px; animation: keyPress 3.4s ease-in-out infinite; }
.keys-vis kbd:nth-child(2) { animation-delay: 0.12s; } .keys-vis kbd:nth-child(3) { animation-delay: 0.24s; }
.apps-vis { position: relative; inset: auto; height: auto; flex-wrap: wrap; gap: 12px; max-width: 440px; justify-content: flex-end; }
.apps-vis span { padding: 13px 20px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); font: 500 14.5px/1 var(--font-body); color: var(--text); animation: cardFloat 6s ease-in-out infinite; }
.apps-vis span:nth-child(2n) { animation-delay: -2s; } .apps-vis span:nth-child(3n) { animation-delay: -4s; }

/* ---------- Waitlist CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 210px) 0; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-ring { position: absolute; left: 50%; top: 50%; width: min(940px, 130vw); translate: -50% -50%; opacity: 0.17; mix-blend-mode: screen; animation: spinSlow 140s linear infinite; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 1200px; height: 760px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(31, 227, 161, 0.2), transparent 70%); }
.cta-inner { position: relative; }
.cta-title { font: 800 clamp(42px, 8vw, 116px)/0.98 var(--font-display); letter-spacing: -0.05em; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 48px; }
.perks li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.perks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 4px; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.7vw, 20px)/1.3 var(--font-display); letter-spacing: -0.02em; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.ans { padding: 0 4px 30px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 66ch; }
.faq details[open] .ans { animation: ansIn 0.55s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.foot .brand-ring { width: 26px; }
.foot .brand-word { height: 12px; }
.foot-tag { margin-inline: auto; font: 400 10.5px/1.4 var(--font-brand); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); text-align: center; }
.foot-meta { display: flex; gap: 22px; color: var(--muted-2); font-size: 13px; }
.foot-meta a { transition: color 0.3s; }
.foot-meta a:hover { color: var(--text); }

/* ---------- Ring scroll progress + mobile sticky CTA ---------- */
.ring-top { position: fixed; right: 26px; bottom: 26px; z-index: 110; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(8, 12, 11, 0.8); backdrop-filter: blur(14px); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8); opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none; transition: opacity 0.5s, transform 0.5s var(--ease); }
.ring-top.show { opacity: 1; transform: none; pointer-events: auto; }
.ring-top svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2.4; }
.ring-top .track { stroke: rgba(255, 255, 255, 0.1); }
.ring-top .prog { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); filter: drop-shadow(0 0 4px var(--accent)); }
.ring-top .up { position: relative; width: 18px; height: 18px; fill: none; stroke: var(--accent-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; rotate: -90deg; transition: transform 0.4s var(--ease); }
.ring-top:hover .up { transform: translateX(3px); }
.sticky-cta { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .demo-tabs { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: left; }
  .hero-stage { width: min(100%, 460px); }
  .hero-title { font-size: clamp(42px, 10.5vw, 76px); }
  .scroll-cue { display: none; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t1, .t6 { grid-column: span 2; }
  .t2, .t3, .t4, .t5 { grid-column: span 1; }
  .t5 { grid-column: span 2; }
  .on-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .site-header { --header-h: 64px; }
  .brand-word { height: 12px; }
  .hero { padding-top: calc(64px + 24px); }
  .wl-form { flex-direction: column; border-radius: 26px; padding: 8px; }
  .wl-form input { height: 52px; padding: 0 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
  .wl-form .btn { width: 100%; }
  .wl-msg { position: static; margin: 4px 14px 8px; }
  .chip { line-height: 1.5; padding: 11px 16px; border-radius: 22px; }
  .float-card { transform: scale(0.84); }
  .fc-live { display: none; }
  .fc-keys { left: -2%; bottom: 6%; } .fc-route { right: -2%; top: 4%; }
  .demo-tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .demo-tab small { display: none; }
  .demo-tab { padding: 14px 14px 18px; gap: 10px; }
  .monitor { padding: 7px; border-radius: 16px; }
  .monitor::after { inset: 7px; }
  .monitor-neck { height: 26px; width: 80px; } .monitor-base { width: 200px; }
  .fan { aspect-ratio: auto; display: grid; gap: 18px; perspective: none; }
  .win, .w-left, .w-right, .w-center { position: relative; inset: auto; width: 100%; transform: none; }
  .w-left, .w-right { display: none; }
  .w-center .shot { width: 215%; max-width: none; margin-left: -57.5%; }
  .fan-caps { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .on-card { padding: 26px 22px; }
  .on-keys { gap: 7px; flex-wrap: nowrap; } .on-keys kbd { height: 50px; min-width: 0; padding: 0 12px; font-size: 12px; }
  .bento { grid-template-columns: 1fr; }
  .t1, .t2, .t3, .t4, .t5, .t6 { grid-column: span 1; }
  .tile { min-height: 300px; padding: 26px; }
  .t6 { flex-direction: column; align-items: flex-start; }
  .apps-vis { justify-content: flex-start; max-width: none; }
  .t1 { min-height: 430px; }
  .route-vis { flex-direction: column; gap: 10px; padding: 0 18px; height: 60%; }
  .rv-prompt::after, .rv-core::after { display: none; }
  .rv-core { width: 56px; height: 56px; }
  .rv-core img { width: 38px; }
  .rv-models { grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; max-width: 300px; }
  .rv-models li { padding: 7px 10px; text-align: center; font-size: 12.5px; }
  .foot { flex-direction: column; text-align: center; gap: 18px; }
  .foot-tag { margin: 0; }
  .ring-top { display: none; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 105; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.92) 40%); transform: translateY(110%); transition: transform 0.6s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .site-footer { padding-bottom: 110px; }
}
