/* ==========================================================================
   HeyNova 3D Spatial Showcase — Unified Stylesheet (Dark OLED & Studio Light)
   ========================================================================== */

:root {
  --bg: #04060b;
  --bg-elev: rgba(9, 13, 24, 0.78);
  --bg-solid: #0a0f1c;
  --card: rgba(255, 255, 255, 0.038);
  --card-strong: rgba(15, 23, 42, 0.65);
  --card-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #ffffff;
  --primary-fg: #04060b;
  --accent-cyan: #22e8ff;
  --accent-sky: #38bdf8;
  --accent-indigo: #818cf8;
  --accent-orange: #f97316;
  --accent-emerald: #34d399;
  --accent-pink: #f472b6;
  --accent-amber: #fbbf24;
  --glow-cyan: rgba(34, 232, 255, 0.28);
  --shadow-lg: 0 28px 72px -18px rgba(0, 0, 0, 0.72);
  --shadow-card: 0 18px 44px -16px rgba(0, 0, 0, 0.55);
  --radius-2xl: 28px;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --eye-glow: #22e8ff;
}

html[data-theme="light"] {
  --bg: #f3f6fb;
  --bg-elev: rgba(255, 255, 255, 0.86);
  --bg-solid: #ffffff;
  --card: rgba(255, 255, 255, 0.85);
  --card-strong: rgba(255, 255, 255, 0.96);
  --card-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0b1220;
  --text-body: #334155;
  --text-muted: #475569;
  --text-dim: #64748b;
  --primary: #0f172a;
  --primary-fg: #ffffff;
  --accent-cyan: #0284c7;
  --accent-sky: #0ea5e9;
  --glow-cyan: rgba(14, 165, 233, 0.22);
  --shadow-lg: 0 26px 64px -18px rgba(15, 23, 42, 0.14);
  --shadow-card: 0 14px 36px -14px rgba(15, 23, 42, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

/* ==========================================================================
   Ambient 3D Starfield, Volumetric Orbs & Micro Perspective Grid
   ========================================================================== */
.bg-canvas-3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.88;
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.24;
  animation: drift 18s ease-in-out infinite alternate;
}

html[data-theme="light"] .aurora-orb { opacity: 0.17; }

.orb-1 {
  width: 620px; height: 620px; top: -180px; left: -140px;
  background: radial-gradient(circle, #22e8ff, transparent 70%);
}
.orb-2 {
  width: 560px; height: 560px; top: 80px; right: -160px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
  animation-delay: -6s;
}
.orb-3 {
  width: 520px; height: 520px; bottom: -160px; left: 32%;
  background: radial-gradient(circle, #f97316, transparent 72%);
  opacity: 0.14;
  animation-delay: -11s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 35%, transparent 100%);
}

/* ==========================================================================
   Sticky Top MacBook Dynamic Notch (OLED Cozmo Eyes + Petting Reaction)
   ========================================================================== */
.top-notch-dock {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.live-notch {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 224px;
  height: 46px;
  padding: 6px 20px;
  background: #020307;
  color: #ffffff;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 24px -6px var(--glow-cyan);
  transition: all 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  user-select: none;
}

.live-notch::before,
.live-notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.live-notch::before {
  left: -14px;
  background: radial-gradient(circle at 0 100%, transparent 13.5px, #020307 14px);
}
.live-notch::after {
  right: -14px;
  background: radial-gradient(circle at 100% 100%, transparent 13.5px, #020307 14px);
}

.live-notch[data-state="listening"] {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 12px 34px rgba(249, 115, 22, 0.32);
}
.live-notch[data-state="thinking"] {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 12px 34px rgba(167, 139, 250, 0.32);
}
.live-notch[data-state="speaking"] {
  border-color: rgba(34, 232, 255, 0.65);
  box-shadow: 0 12px 34px rgba(34, 232, 255, 0.32);
}
.live-notch[data-state="love"] {
  border-color: rgba(251, 113, 133, 0.7);
  box-shadow: 0 12px 36px rgba(251, 113, 133, 0.36);
}

.notch-content { display: flex; align-items: center; gap: 12px; }
.notch-status-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.notch-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.notch-state-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #e2e8f0;
  letter-spacing: 0.01em;
}

/* HeyNova Animated OLED Face */
.nova-face {
  --look-x: 0px;
  --look-y: 0px;
  position: relative;
  width: 50px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nova-face-lg {
  width: 80px;
  height: 48px;
  border-radius: 24px;
  background: #06080d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.nova-aura {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.eyes-row {
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translate(var(--look-x), var(--look-y));
  transition: transform 0.11s ease-out;
}
.nova-face-lg .eyes-row { gap: 13px; }

.eye {
  width: 7px;
  height: 12.5px;
  border-radius: 4px;
  background: var(--eye-glow);
  box-shadow: 0 0 12px var(--eye-glow), 0 0 4px rgba(255, 255, 255, 0.65);
  animation: blinkEye 4.4s infinite;
  transition: height 0.18s ease, width 0.18s ease, border-radius 0.18s ease, background 0.2s ease, transform 0.2s ease;
}
.nova-face-lg .eye { width: 8.5px; height: 14.5px; }

[data-state="listening"] .nova-aura { opacity: 1; background: radial-gradient(circle, rgba(249, 115, 22, 0.30), transparent 72%); }
[data-state="listening"] .eyes-row { transform: translate(0, -4px); }
[data-state="listening"] .eye { height: 10px; animation: none; }

.listen-wave { display: none; align-items: center; gap: 2.2px; margin-top: 3px; height: 10px; }
[data-state="listening"] .listen-wave { display: flex; }
.listen-wave span { width: 2.4px; height: 4px; border-radius: 99px; background: #f97316; animation: waveBar 0.72s ease-in-out infinite alternate; }
.listen-wave span:nth-child(2) { animation-delay: 0.1s; }
.listen-wave span:nth-child(3) { animation-delay: 0.22s; background: #fb923c; }
.listen-wave span:nth-child(4) { animation-delay: 0.34s; background: #fb923c; }
.listen-wave span:nth-child(5) { animation-delay: 0.22s; background: #fb923c; }
.listen-wave span:nth-child(6) { animation-delay: 0.1s; }

[data-state="thinking"] .nova-aura { opacity: 1; background: radial-gradient(circle, rgba(167, 139, 250, 0.32), transparent 72%); }
[data-state="thinking"] .eyes-row { animation: ponderGlance 2.6s ease-in-out infinite; }
[data-state="thinking"] .eye { animation: none; height: 10px; }
[data-state="thinking"] .right-eye { height: 7.5px; }

.think-mouth { display: none; width: 22px; height: 10px; margin-top: 2px; animation: thinkMouthFlex 2s ease-in-out infinite; }
.nova-face-lg .think-mouth { width: 26px; height: 12px; }
[data-state="thinking"] .think-mouth { display: block; }

.think-orbs { display: none; position: absolute; right: -6px; top: 2px; width: 18px; height: 22px; pointer-events: none; }
[data-state="thinking"] .think-orbs { display: block; }
.think-orbs span { position: absolute; bottom: 2px; width: 3.5px; height: 3.5px; border-radius: 99px; background: #d8b4fe; animation: orbRise 1.9s ease-in-out infinite; }
.think-orbs span:nth-child(2) { left: 5px; background: #a5f3fc; animation-delay: 0.45s; }
.think-orbs span:nth-child(3) { left: 9px; animation-delay: 0.9s; }
.think-orbs span:nth-child(4) { left: 13px; background: #a5f3fc; animation-delay: 1.35s; }

[data-state="speaking"] .nova-aura { opacity: 1; background: radial-gradient(circle, rgba(34, 232, 255, 0.30), transparent 72%); }
[data-state="speaking"] .eyes-row { transform: translate(var(--look-x), calc(var(--look-y) - 4px)); }
[data-state="speaking"] .eye { height: 9.5px; animation: none; }

.speak-mouth-wrap { display: none; align-items: center; gap: 3px; margin-top: 3px; }
[data-state="speaking"] .speak-mouth-wrap { display: flex; }
.speak-mouth {
  width: 14px; height: 7px; background: #ffffff; border-radius: 4px 4px 10px 10px;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  animation: speakJaw 0.34s ease-in-out infinite alternate;
}
.nova-face-lg .speak-mouth { width: 17px; height: 9px; }
.mouth-inner { width: 55%; height: 42%; border-radius: 99px; background: #fb7185; opacity: 0.85; }
.speak-ripple { width: 3px; height: 7px; border-radius: 99px; border: 1.4px solid #7dd3fc; opacity: 0.7; animation: ripplePulse 0.45s ease-in-out infinite alternate; }
.speak-ripple.left { border-right: none; }
.speak-ripple.right { border-left: none; }

[data-state="love"] .nova-aura { opacity: 1; background: radial-gradient(circle, rgba(251, 113, 133, 0.38), transparent 72%); }
[data-state="love"] .eye {
  background: #fb7185;
  box-shadow: 0 0 12px #fb7185;
  height: 11px;
  width: 10px;
  border-radius: 50% 50% 2px 50%;
  transform: rotate(-45deg);
  animation: heartBeat 0.7s ease-in-out infinite alternate;
}

/* ==========================================================================
   Floating Glass Header & Brand Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 56px;
  z-index: 950;
  padding: 0 18px;
}

.nav-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-elev);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-pill-icon {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #04070e;
  border: 1.5px solid rgba(34, 232, 255, 0.85);
  box-shadow: 0 0 14px rgba(34, 232, 255, 0.35), inset 0 0 8px rgba(34, 232, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 4px;
}

.brand-pill-icon svg {
  width: 28px;
  height: 14px;
  display: block;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.brand-ver {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 232, 255, 0.13);
  border: 1px solid rgba(34, 232, 255, 0.25);
  color: var(--accent-cyan);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links a.active {
  color: var(--text);
  background: var(--card-hover);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--border);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: var(--card-hover); border-color: var(--border-strong); transform: scale(1.06); }
.mobile-menu-btn { display: none; }

html[data-theme="dark"] .moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: none; }

.mobile-drawer {
  display: none;
  width: min(1180px, 100%);
  margin: 8px auto 0;
  padding: 12px;
  background: var(--bg-elev);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: 20px;
  flex-direction: column;
  gap: 6px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px;
  padding: 10px 14px; border-radius: 12px;
}
.mobile-drawer a.active, .mobile-drawer a:hover { background: var(--card-hover); }

/* ==========================================================================
   Buttons & Typography Helpers
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 600; border-radius: 999px; cursor: pointer; border: none;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 12px 28px -6px rgba(34, 232, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 16px 34px -6px rgba(34, 232, 255, 0.38);
}

.btn-cyan {
  background: linear-gradient(135deg, #22e8ff 0%, #38bdf8 55%, #818cf8 100%);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 12px 30px -6px rgba(34, 232, 255, 0.38);
}
.btn-cyan:hover {
  box-shadow: 0 18px 40px -6px rgba(34, 232, 255, 0.52);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--card-hover); border-color: var(--border-strong); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }

.text-gradient {
  background: linear-gradient(120deg, #22e8ff 0%, #38bdf8 38%, #818cf8 72%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--text-muted); font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.section { padding: 68px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent-cyan); margin-bottom: 10px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px;
}
.section-head p { margin: 0; color: var(--text-muted); font-size: 1.02rem; }

/* Page Header (Subpages) */
.page-hero {
  padding: 68px 0 32px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.06rem; }

/* ==========================================================================
   Hero & 3D HeyNova Interactive Spatial Stage (Home)
   ========================================================================== */
.hero {
  padding-top: 38px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-copy {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.45rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.hero-subtitle {
  max-width: 750px;
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.metric-item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.metric-item span { font-size: 12px; color: var(--text-muted); }
.metric-divider { width: 1px; height: 28px; background: var(--border); }

/* 3D Showcase Spatial Stage */
.stage-3d-shell {
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(34, 232, 255, 0.11), transparent 72%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(129, 140, 248, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(10, 14, 25, 0.92), rgba(5, 8, 15, 0.96));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

html[data-theme="light"] .stage-3d-shell {
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(14, 165, 233, 0.16), transparent 72%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(99, 102, 241, 0.12), transparent 70%),
    linear-gradient(180deg, #0b1220, #070b14);
  color: #f8fafc;
}

.stage-3d-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 540px;
}

.stage-3d-viewport {
  position: relative;
  min-height: 460px;
  cursor: grab;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stage-3d-viewport:active { cursor: grabbing; }

#hero3dCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  touch-action: none;
}

.stage-hud-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 4;
}

.hud-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}

.hud-pill-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: #22e8ff;
  box-shadow: 0 0 10px #22e8ff;
}

.camera-presets {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cam-btn {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cam-btn:hover, .cam-btn.active {
  background: #22e8ff;
  color: #030712;
  border-color: transparent;
}

.stage-hud-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 4;
}

.stage-caption {
  pointer-events: auto;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #cbd5e1;
}
.stage-caption strong { color: #ffffff; }

.orbit-hint {
  pointer-events: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(203, 213, 225, 0.78);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 10, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 3D Look & Emotion Studio Side Panel */
.stage-3d-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(8, 12, 23, 0.75);
  color: #f8fafc;
}

.panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-hdr h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.panel-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 232, 255, 0.14);
  border: 1px solid rgba(34, 232, 255, 0.30);
  color: #22e8ff;
}

.studio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.studio-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.segmented-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seg-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.seg-btn.active {
  background: #ffffff;
  color: #04060b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.swatch-btn:hover { transform: scale(1.14); }
.swatch-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 232, 255, 0.55);
  transform: scale(1.1);
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studio-chip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.studio-chip:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.studio-chip.active {
  background: #22e8ff;
  color: #030712;
  border-color: transparent;
  font-weight: 700;
}

/* ==========================================================================
   Voice -> Microsoft Word & Multilingual Bloom Desktop Showcase
   ========================================================================== */
.hero-showcase { display: flex; flex-direction: column; gap: 18px; }

.lang-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 14px 18px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.lang-chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.lang-chip:hover, .lang-chip.active { background: var(--primary); color: var(--primary-fg); border-color: transparent; }

.laptop-frame {
  border-radius: 26px; padding: 10px;
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.laptop-lid-bar {
  height: 18px; background: #07080c;
  border-top-left-radius: 16px; border-top-right-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.camera-dot { width: 6px; height: 6px; border-radius: 99px; background: #1e293b; border: 1px solid #334155; }

.bloom-wallpaper {
  position: relative; min-height: 410px; padding: 0 22px 26px;
  border-bottom-left-radius: 16px; border-bottom-right-radius: 16px;
  background:
    radial-gradient(circle at 75% 42%, rgba(34, 232, 255, 0.55), transparent 52%),
    radial-gradient(circle at 48% 85%, rgba(14, 100, 210, 0.75), transparent 62%),
    linear-gradient(180deg, #a7c5e3 0%, #cde3f5 52%, #e8f1fa 100%);
  display: flex; flex-direction: column; align-items: center; gap: 22px; overflow: hidden;
}

.screen-notch {
  width: min(490px, 100%); background: #050608; color: #ffffff;
  border-bottom-left-radius: 22px; border-bottom-right-radius: 22px;
  padding: 10px 18px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-top: none;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.45);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); text-align: left;
}
.screen-notch-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.screen-notch-icons { display: flex; gap: 6px; }
.mini-chip {
  width: 24px; height: 24px; border-radius: 99px; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.10); color: #e2e8f0;
}
.mini-chip.active { background: #ffffff; color: #050608; }
.screen-notch-clock { font-size: 11px; color: #94a3b8; font-family: 'JetBrains Mono', monospace; }
.screen-notch-body { display: flex; align-items: center; gap: 14px; }
.screen-notch-title { font-size: 14px; font-weight: 700; }
.screen-notch-sub { font-size: 12px; color: #94a3b8; }

.screen-music-card, .screen-focus-card {
  display: none; margin-top: 12px; padding: 12px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(130, 50, 40, 0.85), rgba(24, 20, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.screen-notch[data-state="music"] .screen-music-card { display: block; }
.screen-notch[data-state="focus"] .screen-focus-card { display: flex; }

.music-row { display: flex; align-items: center; gap: 10px; }
.sunset-art { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, #fde047, #f97316, #7e22ce); flex-shrink: 0; }
.music-meta { flex: 1; }
.music-title { font-size: 12.5px; font-weight: 700; }
.music-artist { font-size: 11px; color: #cbd5e1; }
.music-eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.music-eq span { width: 3px; height: 8px; border-radius: 99px; background: #f97316; animation: waveBar 0.7s ease-in-out infinite alternate; }
.music-eq span:nth-child(2) { animation-delay: 0.18s; }
.music-eq span:nth-child(3) { animation-delay: 0.35s; }
.music-eq span:nth-child(4) { animation-delay: 0.52s; }
.music-progress { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); margin: 10px 0 8px; overflow: hidden; }
.music-progress span { display: block; width: 44%; height: 100%; background: #fb7185; border-radius: 99px; }
.music-lyrics { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; }
.l-dim { color: #94a3b8; }
.l-active { color: #ffffff; font-weight: 700; }

.screen-focus-card { align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.08); }
.focus-ring-svg svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(239, 68, 68, 0.25); stroke-width: 4; }
.ring-fg { fill: none; stroke: #ef4444; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 24; }
.focus-time { font-size: 19px; font-weight: 800; line-height: 1.1; }
.focus-lbl { font-size: 11px; color: #cbd5e1; }
.focus-badge { margin-left: auto; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(239, 68, 68, 0.22); color: #fca5a5; }

/* Live Microsoft Word Simulator Window */
.word-window {
  width: min(760px, 100%); border-radius: 14px; background: #ffffff; color: #0f172a;
  box-shadow: 0 24px 48px -14px rgba(15, 23, 42, 0.35); border: 1px solid #cbd5e1; overflow: hidden; text-align: left;
}
.word-titlebar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #1d4ed8; color: #ffffff; font-size: 12px; font-weight: 600; }
.word-app-badge { width: 22px; height: 22px; border-radius: 5px; background: #ffffff; color: #1d4ed8; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.word-live-pill { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.word-ribbon { display: flex; align-items: center; gap: 14px; padding: 6px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; font-size: 11.5px; color: #475569; }
.ribbon-sep { width: 1px; height: 14px; background: #cbd5e1; }
.ribbon-chip { padding: 2px 8px; border-radius: 6px; background: #ffffff; border: 1px solid #cbd5e1; font-size: 10.5px; }
.word-page { min-height: 128px; padding: 18px 22px; font-family: 'Segoe UI', Calibri, sans-serif; font-size: 14.5px; line-height: 1.65; color: #1e293b; }
.word-typed-text { display: inline; margin: 0; white-space: pre-wrap; }
.word-cursor { display: inline-block; width: 2px; height: 1.15em; background: #1d4ed8; vertical-align: text-bottom; margin-left: 2px; animation: blinkCursor 1s step-end infinite; }

.showcase-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mode-pills, .word-demo-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.mode-btn, .demo-prompt-btn, .cat-tab, .ambient-btn {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); color: var(--text-muted); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.mode-btn:hover, .demo-prompt-btn:hover, .cat-tab:hover, .ambient-btn:hover { color: var(--text); background: var(--card-hover); border-color: var(--border-strong); }
.mode-btn.active, .cat-tab.active, .ambient-btn.active { background: var(--primary); color: var(--primary-fg); border-color: transparent; }
.demo-bar-label { font-size: 12.5px; font-weight: 700; color: var(--accent-cyan); }

/* ==========================================================================
   3D Perspective Bento Cards & Specular Cursor Spotlight
   ========================================================================== */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.bento-card,
.tilt-3d {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
  overflow: hidden;
}

.bento-card::before,
.tilt-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(34, 232, 255, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.bento-card:hover::before,
.tilt-3d:hover::before { opacity: 1; }

.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
}

.bento-wide { grid-column: span 2; }
.bento-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; margin: 0; letter-spacing: -0.02em; }
.bento-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.bento-card code, .page-hero code, .faq-a code {
  font-family: 'JetBrains Mono', monospace; font-size: 0.85em;
  padding: 2px 7px; border-radius: 6px;
  background: rgba(34, 232, 255, 0.12); color: var(--accent-cyan);
}

.bento-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
}
.badge-orange { background: rgba(249, 115, 22, 0.14); color: #fb923c; }
.badge-cyan { background: rgba(34, 232, 255, 0.14); color: var(--accent-cyan); }
.badge-violet { background: rgba(167, 139, 250, 0.14); color: #a78bfa; }
.badge-emerald { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.badge-pink { background: rgba(244, 114, 182, 0.14); color: #f472b6; }

.office-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.mini-doc { border-radius: 14px; padding: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; gap: 6px; }
.mini-doc strong { font-size: 12.5px; }
.doc-ext { align-self: flex-start; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #ffffff; }
.ppt .doc-ext { background: #f97316; }
.xls .doc-ext { background: #10b981; }
.doc .doc-ext { background: #2563eb; }
.mini-bars span { display: block; height: 5px; border-radius: 99px; background: var(--border-strong); margin-top: 4px; }
.mini-bars span:nth-child(2) { width: 78%; }
.mini-bars span:nth-child(3) { width: 54%; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.mini-grid i { height: 8px; border-radius: 3px; background: rgba(16, 185, 129, 0.28); }

.ambient-tester { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ambient-status { font-size: 12px; color: var(--accent-cyan); font-weight: 600; }

.pill-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.pill-tags span {
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
}

.hotkey-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 8px; }
.hk-item {
  padding: 11px 12px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02);
  display: flex; flex-direction: column; gap: 4px;
}
.hk-item kbd { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--accent-cyan); }
.hk-item span { font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   Secondary 3D Showcase Widgets (Features Architecture, Creator Orbit, Download Box)
   ========================================================================== */
.sub-3d-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(155deg, rgba(8, 13, 26, 0.94), rgba(4, 7, 14, 0.98));
  color: #f8fafc;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.arch-3d-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 410px;
}

.arch-3d-canvas-wrap {
  position: relative;
  min-height: 360px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
}
.arch-3d-canvas-wrap:active { cursor: grabbing; }

.mini-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  touch-action: none;
}

.arch-layer-list {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.arch-layer-btn {
  text-align: left;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.arch-layer-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); }
.arch-layer-btn.active {
  background: rgba(34, 232, 255, 0.12);
  border-color: rgba(34, 232, 255, 0.55);
  color: #ffffff;
}
.arch-layer-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700; color: #22e8ff;
}
.arch-layer-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; }
.arch-layer-desc { font-size: 12px; color: #94a3b8; }

/* ==========================================================================
   Creator Spotlight & 3D Holographic Portrait
   ========================================================================== */
.creator-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-2xl);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.creator-portrait-wrap {
  position: relative;
  width: 226px;
  height: 226px;
  margin: 0 auto;
  border-radius: 34px;
  padding: 4px;
  background: linear-gradient(135deg, #22e8ff, #818cf8, #f472b6);
  box-shadow: 0 24px 52px -12px rgba(34, 232, 255, 0.34);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.creator-card:hover .creator-portrait-wrap {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

.creator-portrait-inner {
  width: 100%; height: 100%; border-radius: 30px;
  background: #090b12; overflow: hidden;
  display: flex; align-items: center; justify-content: center; position: relative;
}

.creator-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block;
}

.creator-monogram {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 25%, rgba(34, 232, 255, 0.25), rgba(15, 23, 42, 0.96));
  color: #ffffff; text-align: center; padding: 14px;
}
.creator-portrait-inner.no-photo .creator-photo { display: none; }
.creator-portrait-inner.no-photo .creator-monogram { display: flex; }

.monogram-letters {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.1rem; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff, #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.monogram-note { font-size: 11px; color: #94a3b8; }

.creator-info h2, .creator-info h3 { font-family: 'Plus Jakarta Sans', sans-serif; margin: 6px 0 10px; }
.creator-role { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--accent-cyan); letter-spacing: 0.06em; }
.creator-quote { font-size: 1.02rem; color: var(--text-muted); margin: 0 0 18px; }

/* Timeline & FAQ */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline-item {
  padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.timeline-step { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-cyan); }
.timeline-item h4 { font-family: 'Plus Jakarta Sans', sans-serif; margin: 7px 0 7px; font-size: 1.05rem; }
.timeline-item p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq-item {
  border-radius: 18px; background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(12px); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none; color: var(--text);
  font-size: 15px; font-weight: 600; padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-a { display: none; padding: 0 20px 18px; color: var(--text-muted); font-size: 14px; }
.faq-item.open .faq-a { display: block; }

/* ==========================================================================
   Command Explorer
   ========================================================================== */
.command-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cmd-search-wrap input {
  width: min(340px, 100%); padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 13.5px; outline: none;
  backdrop-filter: blur(12px);
}
.cmd-search-wrap input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px var(--glow-cyan); }
.commands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.cmd-card {
  text-align: left; padding: 16px 18px; border-radius: 18px;
  border: 1px solid var(--border); background: var(--card); color: var(--text);
  cursor: pointer; display: flex; flex-direction: column; gap: 6px;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cmd-card:hover { transform: translateY(-3px); border-color: var(--accent-cyan); background: var(--card-hover); }
.cmd-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cmd-cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-cyan); }
.cmd-copy-tag { font-size: 10.5px; color: var(--text-dim); font-weight: 600; }
.cmd-phrase { font-size: 13.8px; font-weight: 600; line-height: 1.4; }
.cmd-desc { font-size: 12.2px; color: var(--text-muted); }

/* ==========================================================================
   Download / Editions Selector
   ========================================================================== */
.os-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.os-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.os-tab:hover { color: var(--text); background: var(--card-hover); }
.os-tab.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: transparent;
}

.install-box {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center;
  padding: 34px; border-radius: var(--radius-2xl); background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.install-left h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 12px; }
.install-left p { color: var(--text-muted); margin: 0 0 18px; }
.setup-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; color: var(--text-muted); font-size: 14px; }

.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.edition-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edition-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 232, 255, 0.14);
  color: var(--accent-cyan);
}
.edition-card strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; }
.edition-card code {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  word-break: break-all;
}
.edition-card span { font-size: 12.5px; color: var(--text-muted); }
.edition-dl-btn { margin-top: auto; align-self: flex-start; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

/* ==========================================================================
   Liquid Glass Launch Film Cinema Stage
   ========================================================================== */
.cinema-shell {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 75% 55% at 50% 25%, rgba(34, 232, 255, 0.12), transparent 72%),
    linear-gradient(160deg, rgba(11, 16, 30, 0.94), rgba(4, 7, 15, 0.98));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cinema-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cinema-hud-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cinema-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #02040a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.78);
}

.cinema-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #02040a;
}

.cinema-play-overlay {
  position: absolute;
  inset: 0;
  border: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 232, 255, 0.18), rgba(2, 4, 10, 0.72) 68%);
  backdrop-filter: blur(6px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cinema-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.cinema-play-circle {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22e8ff 0%, #38bdf8 55%, #818cf8 100%);
  color: #030712;
  font-size: 26px;
  padding-left: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 42px rgba(34, 232, 255, 0.55);
  transition: transform 0.22s ease;
}

.cinema-play-overlay:hover .cinema-play-circle {
  transform: scale(1.09);
}

.cinema-play-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cinema-play-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #cbd5e1;
}

.cinema-chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chapter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chapter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.chapter-btn.active {
  background: #22e8ff;
  color: #030712;
  border-color: transparent;
  font-weight: 700;
}

/* ==========================================================================
   Footer & Toast
   ========================================================================== */
.site-footer { padding: 30px 0 48px; border-top: 1px solid var(--border); margin-top: 32px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--text-muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 16px);
  padding: 10px 20px; border-radius: 999px; background: #070c18; color: #ffffff;
  border: 1px solid rgba(34, 232, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; z-index: 1200;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Keyframes */
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(34px, -28px) scale(1.07); } }
@keyframes blinkEye { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.16); } }
@keyframes waveBar { from { height: 3px; } to { height: 11px; } }
@keyframes ponderGlance { 0%, 100% { transform: translate(-2.5px, -2px); } 50% { transform: translate(3px, -3px); } }
@keyframes thinkMouthFlex { 0%, 100% { transform: translateY(0px) scaleX(0.95); } 50% { transform: translateY(2.5px) scaleX(1.06); } }
@keyframes orbRise { 0% { opacity: 0; transform: translateY(4px) scale(0.7); } 45% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(-13px) scale(1.1); } }
@keyframes speakJaw { from { height: 4px; width: 13px; } to { height: 10px; width: 17px; } }
@keyframes ripplePulse { from { opacity: 0.25; transform: scaleY(0.75); } to { opacity: 0.9; transform: scaleY(1.15); } }
@keyframes blinkCursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.72; } }
@keyframes heartBeat { from { transform: rotate(-45deg) scale(0.92); } to { transform: rotate(-45deg) scale(1.12); } }

@media (max-width: 1024px) {
  .stage-3d-grid, .arch-3d-grid { grid-template-columns: 1fr; }
  .stage-3d-viewport, .arch-3d-canvas-wrap { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .hotkey-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .bento-grid, .commands-grid, .install-box, .creator-card, .editions-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 620px) {
  .office-visual, .hotkey-grid, .timeline-grid { grid-template-columns: 1fr; }
  .bloom-wallpaper { padding: 0 12px 18px; }
  .install-box, .creator-card, .stage-3d-panel { padding: 20px 16px; }
  .stage-3d-viewport, #hero3dCanvas { min-height: 360px; }
  .hero-metrics { gap: 16px; padding: 12px 16px; }
  .metric-divider { display: none; }
  .brand-ver { display: none; }
  .nav-actions .btn-sm { padding: 7px 12px; font-size: 12px; }
}

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