/* ==========================================================================
   Cleepyz Landing Page — Nocturne Atelier & Living 3D Cinema
   ========================================================================== */
@font-face {
  font-family: "Heebo";
  src: url(assets/fonts/Heebo-Variable.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  src: url(assets/fonts/FrankRuhlLibre-Variable.ttf) format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #07060d;
  --bg-2: #0d0b17;
  --surface: rgba(20, 18, 34, 0.62);
  --surface-strong: rgba(24, 22, 42, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --ink: #f6f4ff;
  --ink-2: #b9b4d0;
  --mut: #8680a0;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --accent: #7460ff;
  --accent-2: #b28dff;
  --gold: #fbbf24;
  --cyan: #38bdf8;
  --ok: #34d399;
  --accent-soft: rgba(116, 96, 255, 0.16);
  --accent-line: rgba(145, 128, 255, 0.42);
  --accent-grad: linear-gradient(135deg, #6b54ff 0%, #8e6eff 52%, #b57bff 100%);
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "Heebo", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 28px 80px -24px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 12px 36px -8px rgba(116, 96, 255, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 15.5px/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.xs { width: 14px; height: 14px; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 26px; height: 26px; }

/* Scroll progress beam */
.scroll-beam {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold));
  box-shadow: 0 0 14px rgba(124, 106, 255, 0.8);
  z-index: 90;
  pointer-events: none;
}

/* Full-bleed Three.js WebGL canvas */
#bg3d {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.ambient-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(65% 45% at 75% 10%, rgba(116, 96, 255, 0.14), transparent 70%),
    radial-gradient(50% 45% at 15% 82%, rgba(251, 191, 36, 0.08), transparent 70%),
    radial-gradient(120% 95% at 50% 50%, transparent 45%, rgba(7, 6, 13, 0.72) 100%);
}

main, header, footer { position: relative; z-index: 2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Liquid Glass + Cursor Specular Spotlight */
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: var(--shadow-lg);
}
.spotlight {
  position: relative;
  overflow: hidden;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, -400px) var(--my, -400px), rgba(146, 126, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 260ms var(--ease);
  pointer-events: none;
  z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* Scroll reveal choreography */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Floating Top Navbar
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 50;
  padding: 0 20px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1120px;
  margin: 0 auto;
  height: 58px;
  padding: 0 14px 0 10px;
  padding-inline: 14px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(14, 12, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.brand-ic { border-radius: 8px; display: block; box-shadow: 0 4px 14px rgba(116, 96, 255, 0.4); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--accent-grad);
  color: #ffffff;
  font: 600 13.5px var(--sans);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform 200ms var(--ease), filter 180ms var(--ease);
}
.btn-nav:hover { filter: brightness(1.1); }
.nav-end { display: inline-flex; align-items: center; gap: 8px; }
.nav-auth-slot { position: relative; display: inline-flex; align-items: center; }
.btn-nav-login {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font: 500 13.5px var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.btn-nav-login:hover { color: var(--ink); background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.25); }
.nav-acct { position: relative; }
.nav-acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 6px;
  padding-inline: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: 500 13px var(--sans);
  cursor: pointer;
}
.nav-acct-btn:hover { background: rgba(255, 255, 255, 0.12); }
.nav-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #ffffff;
  font: 700 12px var(--sans);
  display: grid;
  place-items: center;
  text-transform: uppercase;
  flex: none;
}
.nav-acct-name { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-pop {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 256px;
  border-radius: 16px;
  padding: 14px;
  background: #141225;
  border: 1px solid var(--accent-line);
  box-shadow: 0 26px 64px -12px rgba(0, 0, 0, 0.88);
  display: grid;
  gap: 10px;
  z-index: 60;
}
.nav-pop[hidden] { display: none; }
.nav-pop-head b { display: block; font-size: 14px; color: var(--ink); }
.nav-pop-head span { display: block; font-size: 12px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; }
.nav-pop-status {
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.11);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #a7f3d0;
}
.nav-pop-out {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  font: 500 13px var(--sans);
  cursor: pointer;
}
.nav-pop-out:hover { background: rgba(239, 68, 68, 0.14); border-color: rgba(248, 113, 113, 0.35); color: #fecaca; }
.os-ic { display: inline-flex; align-items: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 124px 0 72px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(116, 96, 255, 0.14);
  border: 1px solid rgba(164, 146, 255, 0.34);
  color: #dcd4ff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24), 0 0 12px var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 50% { transform: scale(1.22); opacity: 0.7; } }

.hero-title {
  margin: 0 0 18px;
  font: 300 clamp(40px, 5.2vw, 66px)/1.08 var(--serif);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.kinetic-word {
  font-weight: 600;
  background: linear-gradient(120deg, #ffffff 8%, #c9b8ff 46%, #fde047 92%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 6s ease-in-out infinite alternate;
}
@keyframes shimmerText { to { background-position: 100% center; } }

.hero-lead {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 540px;
}

/* OS-Aware Download Hub */
.dl-hub { display: grid; gap: 13px; margin-bottom: 34px; }
.dl-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  background: var(--accent-grad);
  color: #ffffff;
  font: 600 16px var(--sans);
  cursor: pointer;
  box-shadow: 0 18px 42px -10px rgba(116, 96, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 200ms var(--ease), filter 180ms var(--ease), box-shadow 200ms var(--ease);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 22px 52px -10px rgba(138, 114, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
  transform: translateX(120%);
  animation: btnSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnSweep { 0%, 62% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }
.btn-primary .arr { opacity: 0.9; }

.os-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
}
.os-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font: 500 13.5px var(--sans);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.os-opt:hover { color: var(--ink); }
.os-opt[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dl-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mut);
}
.meta-chip { display: inline-flex; align-items: center; gap: 6px; }
.meta-sep { opacity: 0.45; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font: 600 24px/1.1 var(--mono);
  color: var(--ink);
  margin-bottom: 3px;
}
.stat span { font-size: 12.5px; color: var(--mut); line-height: 1.4; display: block; }

/* ==========================================================================
   HERO INTERACTIVE 3D STUDIO SHOWCASE
   ========================================================================== */
.hero-stage { position: relative; perspective: 1300px; }
.studio-shell {
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(252, 251, 250, 0.98), rgba(244, 241, 252, 0.96));
  color: #17161d;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 80px -15px rgba(116, 96, 255, 0.45),
    inset 0 1px 0 #ffffff;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease);
}
.studio-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(23, 22, 29, 0.08);
  font-size: 12px;
  color: #5b586a;
}
.traffic { display: flex; gap: 6px; direction: ltr; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; background: #e2e0ea; }
.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }
.chrome-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #17161d; }
.chrome-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b49e8; box-shadow: 0 0 0 3px rgba(91, 73, 232, 0.16); }
.chrome-ver { font: 500 11px var(--mono); color: #726f80; }

.studio-body {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  align-items: start;
}

/* Interactive 9:16 Reel inside Hero */
.reel-col { display: grid; gap: 10px; justify-items: center; }
.reel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14.5;
  border-radius: 20px;
  overflow: hidden;
  background: #141222;
  box-shadow: 0 16px 36px -12px rgba(23, 22, 29, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.reel-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #4b3d72 0%, #2a2442 52%, #12101e 100%);
  transition: filter 320ms var(--ease);
}
.reel-viewport[data-mode="before"] .reel-bg { filter: saturate(0.45) brightness(0.84); }
.reel-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.55;
}
.reel-glow.a { width: 150px; height: 150px; top: -20px; inset-inline-end: -20px; background: #fbbf24; }
.reel-glow.b { width: 160px; height: 160px; bottom: 20px; inset-inline-start: -30px; background: #7460ff; }
.reel-sil {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 68%;
  filter: blur(1px);
}
.reel-sil i:first-child {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  aspect-ratio: 0.82;
  border-radius: 50%;
  background: radial-gradient(70% 60% at 40% 30%, #8e7aa0, #39314d 78%);
}
.reel-sil i:last-child {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  height: 54%;
  border-radius: 48% 48% 0 0 / 62% 62% 0 0;
  background: linear-gradient(175deg, #443b5c, #191628);
}

.reel-hook {
  position: absolute;
  top: 17.5%;
  left: 12%;
  right: 16%;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: #17161d;
  font: 700 12px/1.25 var(--sans);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.reel-viewport[data-mode="before"] .reel-hook,
.reel-viewport[data-mode="before"] .reel-cap {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.reel-cap {
  position: absolute;
  bottom: 28.5%;
  left: 10%;
  right: 16%;
  text-align: center;
  font: 800 15px/1.3 var(--sans);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.reel-cap mark { background: transparent; color: #fde047; }
.reel-viewport[data-cap="clean"] .reel-cap mark { color: #ffffff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 4px; }
.reel-viewport[data-cap="box"] .cap-line {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(15, 14, 24, 0.84);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.reel-viewport[data-cap="box"] .reel-cap mark { color: #c4b5fd; }

.raw-badge {
  position: absolute;
  top: 50%;
  inset-inline: 12px;
  transform: translateY(-50%);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(15, 14, 24, 0.78);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: #e4e1f2;
  font-size: 11.5px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.raw-badge[hidden] { display: none; }

/* Safe Zone HUD inside Hero Reel */
.safe-hud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  font-size: 9.5px;
  font-weight: 600;
}
.safe-hud[hidden] { display: none; }
.sh-top {
  position: absolute; top: 0; inset-inline: 0; height: 15%;
  background: rgba(239, 68, 68, 0.26); border-bottom: 1px dashed rgba(248, 113, 113, 0.8);
  display: grid; place-items: center; color: #fecaca;
}
.sh-bot {
  position: absolute; bottom: 0; inset-inline: 0; height: 26%;
  background: rgba(239, 68, 68, 0.26); border-top: 1px dashed rgba(248, 113, 113, 0.8);
  display: grid; place-items: center; color: #fecaca;
}
.sh-side {
  position: absolute; top: 15%; bottom: 26%; right: 0; width: 14%;
  background: rgba(245, 158, 11, 0.24); border-left: 1px dashed rgba(251, 191, 36, 0.75);
  writing-mode: vertical-rl; display: grid; place-items: center; color: #fde68a; font-size: 8.5px;
}
.sh-box {
  position: absolute; top: 15%; bottom: 26%; left: 5%; right: 14%;
  border: 1.5px solid rgba(52, 211, 153, 0.9);
  background: rgba(52, 211, 153, 0.06);
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 5px 6px;
}
.sh-box span {
  background: rgba(16, 185, 129, 0.9); color: #052e16; padding: 1px 6px; border-radius: 99px; font-size: 9px;
}

.reel-scrub {
  position: absolute;
  bottom: 8px;
  inset-inline: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.rs-time { font: 600 10px var(--mono); color: rgba(255, 255, 255, 0.86); white-space: nowrap; }
.rs-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}
.rs-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 44%;
  border-radius: 99px;
  background: linear-gradient(90deg, #8e7cff, #fde047);
  animation: scrubLoop 7s linear infinite;
}
@keyframes scrubLoop { 0% { width: 10%; } 100% { width: 92%; } }
.rs-cut, .rs-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.rs-cut { background: #34d399; }
.rs-pin { background: #fde047; box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.35); }

.reel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}
.rc-group {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: #eceaf5;
}
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #555265;
  font: 500 11.5px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.rc-btn.on { background: #ffffff; color: #17161d; box-shadow: 0 1px 4px rgba(23, 22, 29, 0.12); }
.safe-btn {
  border: 1px solid rgba(23, 22, 29, 0.14);
  background: #ffffff;
}
.safe-btn[aria-pressed="true"] {
  background: rgba(91, 73, 232, 0.12);
  border-color: rgba(91, 73, 232, 0.4);
  color: #4a38d4;
}

.cap-pills { display: flex; gap: 5px; width: 100%; }
.cpill {
  flex: 1;
  height: 28px;
  padding: 0 6px;
  border: 1px solid rgba(23, 22, 29, 0.1);
  border-radius: 7px;
  background: #ffffff;
  color: #555265;
  font: 500 11.5px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: all 140ms var(--ease);
}
.cpill.on { background: #17161d; color: #ffffff; border-color: #17161d; }

/* Chat Side of Hero Showcase */
.chat-col { display: grid; gap: 10px; }
.chat-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.chat-bubble.user {
  background: #ffffff;
  border: 1px solid rgba(23, 22, 29, 0.08);
  color: #17161d;
  box-shadow: 0 2px 10px rgba(23, 22, 29, 0.04);
}
.chat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 99px;
  background: #f2f0fa;
  color: #4a38d4;
  font-size: 11px;
  font-weight: 500;
}
.chat-tag i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.chat-bubble.ai {
  background: linear-gradient(180deg, #f6f4ff, #ffffff);
  border: 1px solid rgba(91, 73, 232, 0.18);
  color: #2f2c3d;
}
.ai-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.ai-head b { font-size: 12.5px; color: #5b49e8; }
.ai-took { font-size: 11px; color: #726f80; background: rgba(91, 73, 232, 0.08); padding: 1px 7px; border-radius: 99px; }
.chat-bubble.ai p { margin: 0 0 9px; }
.mini-checks { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-checks span {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.11);
  color: #047857;
}

.studio-wave {
  padding: 11px 13px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(23, 22, 29, 0.08);
}
.wave-head { display: flex; justify-content: space-between; font-size: 11px; color: #726f80; margin-bottom: 8px; }
.wave-cut { color: #5b49e8; font-weight: 600; }
.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.wave-bars i {
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(180deg, #7460ff, #b39dff);
  transition: height 320ms var(--ease), opacity 320ms var(--ease), background 320ms var(--ease);
}
.wave-bars i.silence {
  background: rgba(239, 68, 68, 0.38);
  opacity: 0.35;
}
.studio-shell.is-raw .wave-bars i.silence {
  opacity: 0.9;
  background: #ef4444;
}

/* Floating Glass Satellites */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(16, 14, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.65);
  color: var(--ink);
  pointer-events: none;
  animation: floatY 5.5s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 12.5px; font-weight: 600; }
.float-chip span { display: block; font-size: 11px; color: var(--ink-2); }
.fc-1 { top: -56px; inset-inline-start: 10px; }
.fc-2 { bottom: -46px; inset-inline-end: 12px; animation-delay: -2.6s; }
.fc-dot.ok { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); flex: none; }
.fc-sw { display: inline-flex; }
.fc-sw i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #161428; margin-inline-start: -4px; }
.fc-sw i:nth-child(1) { margin-inline-start: 0; background: #7460ff; }
.fc-sw i:nth-child(2) { background: #fde047; }
.fc-sw i:nth-child(3) { background: #38bdf8; }
@keyframes floatY { 50% { transform: translateY(-7px); } }

/* ==========================================================================
   KINETIC MARQUEE RIBBON
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(15, 13, 28, 0.66);
  backdrop-filter: blur(14px);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  direction: ltr;
  animation: marqueeMove 36s linear infinite;
}
.marquee-track span { font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent-2); font-size: 11px; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS SHARED HEADERS
   ========================================================================== */
.sec { padding: 108px 0; }
.sec-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.sec-head h2, .cta-card h2 {
  margin: 0 0 14px;
  font: 300 clamp(30px, 3.8vw, 48px)/1.14 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.sec-head p { margin: 0; font-size: 16.5px; color: var(--ink-2); }

/* ==========================================================================
   HAPPY FLOW — 4-STEP INTERACTIVE SHOWCASE
   ========================================================================== */
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}
.flow-steps { display: grid; gap: 10px; }
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: start;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(16, 14, 28, 0.45);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.flow-step:hover { background: rgba(26, 22, 46, 0.65); border-color: var(--line-strong); }
.flow-step.on {
  background: linear-gradient(135deg, rgba(116, 96, 255, 0.18), rgba(20, 18, 36, 0.78));
  border-color: var(--accent-line);
  box-shadow: 0 12px 34px -12px rgba(116, 96, 255, 0.35);
}
.fnum {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 600 12.5px var(--mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.flow-step.on .fnum { background: var(--accent); border-color: transparent; color: #ffffff; }
.ftxt h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; color: var(--ink); }
.ftxt p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }

.flow-stage {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 410px;
}
.fstage-panel[hidden] { display: none; }
.fstage-panel.on { animation: panelIn 320ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.fs-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

/* Stage 0 */
.drop-demo { display: grid; gap: 14px; }
.drop-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
}
.df-ic {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2);
  font: 700 11px var(--mono);
}
.drop-file b { display: block; font-size: 14px; direction: ltr; text-align: end; }
.drop-file span { font-size: 12px; color: var(--mut); }
.df-ok { margin-inline-start: auto; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.prompt-demo {
  padding: 18px;
  border-radius: 16px;
  background: rgba(116, 96, 255, 0.1);
  border: 1px solid var(--accent-line);
}
.prompt-demo p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink); line-height: 1.65; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; padding: 4px 11px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.pd-chips .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Stage 1: Storyboard */
.sb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.sb-frame {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}
.sb-frame:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.sb-frame.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18); }
.sbf-n {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  padding: 1px 6px; border-radius: 6px; background: rgba(7, 6, 13, 0.72);
  font: 600 10px var(--mono); color: #ffffff;
}
.sbf-vis {
  aspect-ratio: 9 / 13;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  font: 700 13px/1.3 var(--sans);
  color: #ffffff;
}
.sbf-vis.v1 { background: linear-gradient(155deg, #4338ca, #1e1b4b); }
.sbf-vis.v2 { background: linear-gradient(155deg, #6d28d9, #1f1638); }
.sbf-vis.v3 { background: linear-gradient(155deg, #0f766e, #132a2e); }
.sbf-vis mark { background: transparent; color: var(--gold); }
.sb-frame small { font: 500 11px var(--mono); color: var(--mut); text-align: center; }
.sb-note-box {
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 13.5px;
  color: #fef3c7;
}
.sb-note-box b { margin-inline-end: 6px; color: var(--gold); }

/* Stage 2: Draggable A/B Version Compare */
.ab-wrap {
  position: relative;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  user-select: none;
  margin-bottom: 14px;
  direction: ltr;
}
.ab-side {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  direction: rtl;
}
.ab-a { background: linear-gradient(145deg, #211e34, #121020); }
.ab-b {
  background: linear-gradient(145deg, #4b31a8, #1c1538);
  clip-path: inset(0 0 0 50%);
}
.ab-tag {
  position: absolute;
  top: 12px;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(7, 6, 13, 0.72);
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.ab-tag.a { left: 12px; }
.ab-tag.b { right: 12px; background: var(--accent); border-color: transparent; }
.ab-cap {
  font: 800 24px/1.25 var(--sans);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.ab-cap.a { font-weight: 500; opacity: 0.78; }
.ab-cap mark { background: transparent; color: var(--gold); text-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
.ab-sub {
  font-size: 12px;
  color: var(--mut);
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}
.ab-sub.b { color: #e9e3ff; background: rgba(116, 96, 255, 0.28); }
.ab-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}
.ab-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #17161d;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.ab-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ab-pins { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-pins span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2);
}
.ab-pins i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Stage 3: Export */
.exp-demo {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.12), rgba(116, 96, 255, 0.1));
  border: 1px solid rgba(52, 211, 153, 0.34);
  display: grid;
  gap: 10px;
}
.exp-badge {
  width: fit-content;
  font: 600 12px var(--mono);
  color: var(--ok);
  background: rgba(52, 211, 153, 0.14);
  padding: 4px 11px;
  border-radius: 99px;
}
.exp-demo h4 { margin: 4px 0 0; font-size: 22px; font-weight: 600; }
.exp-demo p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.exp-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.exp-checks span {
  font-size: 12.5px; padding: 5px 12px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.07); color: var(--ink);
}

/* ==========================================================================
   INTERACTIVE BRAND STUDIO PLAYGROUND
   ========================================================================== */
.brand-stage {
  border-radius: 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 260px;
  gap: 36px;
  align-items: center;
}
.brand-controls { display: grid; gap: 22px; }
.bc-block { display: grid; gap: 10px; }
.bc-lbl { font-size: 12.5px; font-weight: 600; color: var(--accent-2); letter-spacing: 0.04em; }

.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font: 500 13.5px var(--sans);
  cursor: pointer;
  transition: all 180ms var(--ease);
}
.bp-btn:hover { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.bp-btn.on { background: var(--accent-soft); border-color: var(--accent-line); color: #ffffff; }
.bp-dots { display: inline-flex; }
.bp-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #161426; margin-inline-start: -4px; }
.bp-dots i:first-child { margin-inline-start: 0; }

.swatch-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.swatches { display: flex; gap: 9px; }
.sw-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.sw-dot:hover { transform: scale(1.14); }
.sw-dot.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px #ffffff; }

.hex-box {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font: 600 13px var(--mono);
  color: var(--mut);
}
.hex-box input {
  width: 68px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-transform: uppercase;
  outline: none;
}

.font-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font: 500 13.5px var(--sans);
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.fbtn.on { background: #ffffff; color: #17161d; border-color: #ffffff; }
.bc-note { margin: 0; font-size: 13px; color: var(--mut); }

.brand-phone-wrap { display: grid; justify-items: center; gap: 12px; }
.phone-frame {
  width: 236px;
  aspect-ratio: 9 / 16;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(145deg, #2d2942, #0d0c16);
  box-shadow: 0 28px 65px -16px rgba(0, 0, 0, 0.8), 0 0 42px -10px rgba(116, 96, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, #625684, #342d4c 52%, #191627);
}
.ps-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 45% at 30% 16%, rgba(255, 214, 170, 0.42), transparent 70%);
}
.ps-person { position: absolute; inset-inline: 0; bottom: 0; height: 64%; filter: blur(1.4px); }
.ps-person i:first-child { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); width: 32%; aspect-ratio: 0.82; border-radius: 50%; background: radial-gradient(70% 60% at 40% 30%, #867387, #3a3146 76%); }
.ps-person i:last-child { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 82%; height: 55%; border-radius: 48% 48% 0 0 / 60% 60% 0 0; background: linear-gradient(170deg, #433b56, #1d1a2a); }
.ps-logo {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  font: 700 10.5px var(--sans);
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.ps-title {
  position: absolute;
  top: 18%;
  inset-inline: 14px;
  width: fit-content;
  margin-inline: auto;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bp-bg);
  color: var(--bp-title);
  font: 700 16.5px/1.25 var(--sans);
  text-align: center;
  transition: all 240ms var(--ease);
}
.ps-cap {
  position: absolute;
  bottom: 16%;
  inset-inline: 12px;
  text-align: center;
  font: 800 19px/1.28 var(--sans);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  transition: font-family 200ms var(--ease);
}
.ps-cap mark { background: transparent; color: var(--bp-acc); transition: color 220ms var(--ease); }
.phone-frame.font-frank .ps-title,
.phone-frame.font-frank .ps-cap { font-family: var(--serif); }
.phone-caption { font-size: 12.5px; color: var(--mut); }

/* ==========================================================================
   BENTO GRID
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bcard {
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 270px;
}
.bcard.span-2 { grid-column: span 2; }
.btag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.bcard h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--ink); }
.bcard p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* Demo 1: Animated RTL Word Highlight */
.demo-rtl {
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #161428, #0e0c1b);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.rtl-screen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font: 800 clamp(22px, 3vw, 30px)/1.3 var(--sans);
}
.rtl-w { color: rgba(255, 255, 255, 0.72); transition: color 220ms var(--ease), transform 220ms var(--ease); }
.rtl-w.hi { color: var(--gold); transform: scale(1.08); text-shadow: 0 0 24px rgba(251, 191, 36, 0.45); }

/* Demo 2: Playable Web Audio SFX pills */
.sfx-demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sfx-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: all 160ms var(--ease);
}
.sfx-pill:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.sfx-pill.ring { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2); }
.sfx-pill b { font-size: 13px; font-weight: 600; direction: ltr; }
.sfx-pill small { margin-inline-start: auto; font-size: 11px; color: var(--mut); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq span { width: 2.5px; height: 5px; border-radius: 2px; background: var(--accent-2); transition: height 120ms ease; }
.sfx-pill.ring .eq span:nth-child(1) { height: 12px; background: var(--gold); }
.sfx-pill.ring .eq span:nth-child(2) { height: 14px; background: var(--gold); }
.sfx-pill.ring .eq span:nth-child(3) { height: 9px; background: var(--gold); }

/* Demo 3: Motion Mini Tiles */
.fx-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fxm {
  height: 58px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #121022;
  display: grid;
  place-items: center;
  overflow: hidden;
  font: 700 11px var(--mono);
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.fxm-1 span { animation: zoomBeat 2.4s var(--ease) infinite; color: var(--accent-2); }
@keyframes zoomBeat { 50% { transform: scale(1.28); color: #ffffff; } }
.fxm-2 { display: flex; gap: 3px; padding: 6px; }
.fxm-2 i { flex: 1; height: 100%; border-radius: 6px; background: linear-gradient(160deg, var(--accent), #2a214a); animation: splitShift 2.8s ease-in-out infinite alternate; }
.fxm-2 i:last-child { background: linear-gradient(160deg, var(--gold), #5b3a12); animation-direction: alternate-reverse; }
@keyframes splitShift { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
.fxm-3 span { color: var(--gold); animation: flicker 3s steps(2) infinite; }
@keyframes flicker { 50% { opacity: 0.55; } }
.fxm-4 span { animation: typeSlide 2.6s var(--ease) infinite; color: var(--cyan); }
@keyframes typeSlide { 0%, 100% { letter-spacing: 0.06em; } 50% { letter-spacing: 0.28em; color: #ffffff; } }

/* Demo 4: URL Scanner */
.scan-demo { display: grid; gap: 10px; }
.scan-url {
  position: relative;
  overflow: hidden;
  padding: 10px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  font: 500 13px var(--mono);
  color: var(--ink);
}
.scan-url span { color: var(--mut); }
.scan-beam {
  position: absolute;
  inset-block: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(142, 110, 255, 0.45), transparent);
  animation: scanMove 2.8s ease-in-out infinite;
}
@keyframes scanMove { to { left: 110%; } }
.scan-out { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.so-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.so-pill { font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); color: var(--ink-2); }

/* Demo 5: Privacy */
.priv-demo { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.25); }
.priv-ring { width: 46px; height: 46px; border-radius: 13px; background: rgba(52, 211, 153, 0.16); color: var(--ok); display: grid; place-items: center; flex: none; }
.priv-txt { font: 600 12px var(--mono); color: #a7f3d0; direction: ltr; }

/* ==========================================================================
   COMPARISON STRIP
   ========================================================================== */
.cmp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cmp-card { border-radius: 24px; padding: 30px; }
.cmp-card.new { border-color: var(--accent-line); background: linear-gradient(155deg, rgba(116, 96, 255, 0.16), rgba(16, 14, 30, 0.78)); }
.cmp-kicker { display: inline-block; font-size: 12px; font-weight: 600; color: var(--mut); margin-bottom: 10px; }
.cmp-card.new .cmp-kicker { color: var(--gold); }
.cmp-card h3 { margin: 0 0 18px; font: 400 26px/1.2 var(--serif); }
.cmp-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.cmp-card li { position: relative; padding-inline-start: 24px; font-size: 14.5px; color: var(--ink-2); }
.cmp-card.old li::before { content: "×"; position: absolute; inset-inline-start: 0; color: #f87171; font-weight: 700; }
.cmp-card.new li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap { max-width: 780px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; padding: 0 20px; transition: border-color 180ms var(--ease); }
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  list-style: none;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 400 22px/1 var(--sans);
  color: var(--accent-2);
  transition: transform 200ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }

/* ==========================================================================
   FINAL CTA & FOOTER
   ========================================================================== */
.cta-sec { padding-top: 40px; padding-bottom: 90px; }
.cta-card {
  border-radius: 30px;
  padding: 58px 34px;
  text-align: center;
  background: linear-gradient(160deg, rgba(116, 96, 255, 0.22), rgba(14, 12, 26, 0.84) 65%);
  border-color: var(--accent-line);
}
.cta-card p { margin: 0 auto 28px; max-width: 540px; font-size: 16.5px; color: var(--ink-2); }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-sub { margin: 14px auto 0 !important; font-size: 13px !important; color: var(--mut) !important; text-align: center; }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  background: rgba(7, 6, 13, 0.72);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-note { margin: 0; font-size: 13.5px; color: var(--mut); }
.foot-links { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mut); }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-ver { font: 500 12px var(--mono); color: var(--mut); }

/* ==========================================================================
   DOWNLOAD MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 4, 11, 0.74);
  backdrop-filter: blur(10px);
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(440px, 100%);
  border-radius: 24px;
  padding: 32px 28px 28px;
  text-align: center;
  background: rgba(18, 16, 32, 0.94);
  border-color: var(--accent-line);
  animation: panelIn 220ms var(--ease);
}
.modal-x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal-x:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.modal-ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-2);
  display: grid;
  place-items: center;
}
.modal-card h3 { margin: 0 0 8px; font: 400 24px var(--serif); }
.modal-card p { margin: 0 0 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.modal-spec {
  display: block;
  width: fit-content;
  margin: 10px auto;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  font: 500 12px var(--mono);
  color: var(--ink);
}
.modal-acts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font: 500 14px var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stage { max-width: 660px; margin: 0 auto; width: 100%; }
  .fc-1, .fc-2 { display: none; }
  .flow-grid { grid-template-columns: 1fr; }
  .brand-stage { grid-template-columns: 1fr; justify-items: center; }
  .brand-controls { width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  #bg3d { opacity: 0.58; }
  .nav-links { display: none; }
  .nav-acct-name { display: none; }
  .btn-nav-login { height: 34px; padding: 0 11px; font-size: 12.5px; }
  .btn-nav { height: 34px; padding: 0 12px; font-size: 12.5px; }
  .meta-sep { display: none; }
  .hero { padding: 100px 0 56px; }
  .studio-body { grid-template-columns: 1fr; }
  .reel-viewport { max-width: 248px; }
  .bento, .cmp-cards { grid-template-columns: 1fr; }
  .bcard.span-2 { grid-column: auto; }
  .sec { padding: 72px 0; }
  .brand-stage { padding: 22px; }
  .cta-card { padding: 40px 20px; }
  .hero-stats { gap: 10px; }
  .stat b { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
