/* ============================================================
   POUCHVERSE — Interactive Product Story
   Styles + Animations + Mobile Adaptation
   ============================================================ */

:root {
  --bg: #05060a;
  --bg-2: #0a0d16;
  --ink: #eef2ff;
  --muted: #8b93b0;
  --accent: #5b8cff;
  --accent-2: #9b6bff;
  --accent-3: #2ee6c5;
  --glow: rgba(91, 140, 255, 0.55);
  --card: rgba(255, 255, 255, 0.04);
  --card-bd: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --maxw: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

/* ---------- Global ambient background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(91, 140, 255, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 85% 90%, rgba(155, 107, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 50%, rgba(46, 230, 197, 0.05), transparent 70%);
  z-index: -2;
  pointer-events: none;
}

/* ---------- Progress bar ---------- */
.progress-track {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; background: rgba(255, 255, 255, 0.06); z-index: 100;
}
.progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 12px var(--glow);
  transition: width 0.1s linear;
}

/* ---------- Scene navigation dots ---------- */
.scene-nav {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 90;
}
.scene-nav button {
  width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--card-bd);
  background: transparent; cursor: pointer; padding: 0;
  transition: all 0.3s var(--ease); position: relative;
}
.scene-nav button::after {
  content: attr(data-label);
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--muted); white-space: nowrap;
  background: rgba(10, 13, 22, 0.85); padding: 3px 9px; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.scene-nav button:hover::after { opacity: 1; }
.scene-nav button.active {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 12px var(--glow); transform: scale(1.3);
}

/* ---------- Scroll hint ---------- */
.scroll-hint {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); z-index: 90; transition: opacity 0.5s;
}
.scroll-hint-line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   SCENE LAYOUT
   ============================================================ */
.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(64px, 12vh, 120px) clamp(20px, 5vw, 60px);
  overflow: hidden;
}
.scene-content {
  width: 100%; max-width: var(--maxw);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: clamp(20px, 3vh, 34px);
  position: relative; z-index: 5;
}
.scene-head { display: flex; flex-direction: column; gap: 8px; }

.eyebrow {
  font-size: clamp(11px, 1.4vw, 13px); letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent);
}
.scene-title {
  font-size: clamp(28px, 6vw, 56px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, #b9c6ff 60%, #c9b3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.scene-sub { font-size: clamp(15px, 2.4vw, 20px); color: var(--muted); }
.scene-closing {
  font-size: clamp(15px, 2.6vw, 22px); color: var(--ink); margin-top: 8px;
}
.scene-closing strong { color: var(--accent-3); font-weight: 700; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(38px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; }
}

/* ============================================================
   SCENE 01 — HERO
   ============================================================ */
.scene--hero { background: radial-gradient(circle at 50% 40%, #0b1024, #05060a 70%); }
.hero-content { gap: clamp(16px, 2.5vh, 28px); }
.hero-title {
  font-size: clamp(44px, 13vw, 150px); font-weight: 900; letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 10%, var(--accent) 50%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(91, 140, 255, 0.25));
}
.hero-headline { font-size: clamp(18px, 3.4vw, 30px); font-weight: 600; }
.hero-narration { max-width: 620px; color: var(--muted); font-size: clamp(14px, 2vw, 17px); display: grid; gap: 8px; }
.hero-closing { font-size: clamp(16px, 2.8vw, 24px); }
.hero-closing strong { color: var(--accent); }

/* floating files field */
.hero-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.file-card {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--card-bd);
  font-size: clamp(10px, 1.6vw, 13px); color: var(--ink);
  backdrop-filter: blur(6px); white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 1.4s var(--ease), opacity 1s var(--ease);
  will-change: transform, opacity;
}

/* glowing sphere */
.hero-sphere {
  position: absolute; top: 50%; left: 50%;
  width: clamp(180px, 30vw, 320px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.2); opacity: 0;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  z-index: 2; pointer-events: none;
}
.scene--hero.converged .hero-sphere { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.scene--hero.converged .hero-field { opacity: 0; }
.sphere-core {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #cfe0ff, var(--accent) 45%, var(--accent-2) 90%);
  box-shadow: 0 0 80px var(--glow), inset 0 0 50px rgba(255, 255, 255, 0.4);
  animation: spherePulse 3.4s ease-in-out infinite;
}
.sphere-glow {
  position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.35), transparent 65%);
  animation: spherePulse 3.4s ease-in-out infinite reverse;
}
.sphere-label {
  position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%);
  font-size: clamp(11px, 1.8vw, 14px); letter-spacing: 0.22em;
  color: #cfe0ff; white-space: nowrap; text-shadow: 0 0 12px var(--glow);
}
@keyframes spherePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ============================================================
   SCENE 02 — MOBILE HUB
   ============================================================ */
.hub-stage {
  position: relative; width: min(560px, 92vw); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hub-center {
  position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; letter-spacing: 0.1em;
  background: radial-gradient(circle at 35% 30%, #cfe0ff, var(--accent) 55%, var(--accent-2));
  box-shadow: 0 0 60px var(--glow); z-index: 4; font-size: clamp(12px, 2.4vw, 18px);
  animation: spherePulse 3s ease-in-out infinite;
}
.hub-ring { position: absolute; inset: 0; animation: spinSlow 26s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.device {
  position: absolute; width: 64px; height: 96px; border-radius: 12px;
  border: 1.5px solid var(--card-bd); background: var(--card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px);
}
.device::after {
  content: attr(data-device); position: absolute; left: 50%; bottom: -22px;
  transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap;
}
.device::before {
  content: ""; position: absolute; inset: 8px; border-radius: 6px;
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.25), rgba(155, 107, 255, 0.15));
}
.device--iphone { top: 2%; left: 50%; transform: translateX(-50%); }
.device--ipad { right: 2%; top: 50%; transform: translateY(-50%); width: 84px; height: 110px; }
.device--android { bottom: 2%; left: 50%; transform: translateX(-50%); }
.device--tablet { left: 2%; top: 50%; transform: translateY(-50%); width: 84px; height: 110px; }

.hub-sources {
  position: absolute; inset: 0; list-style: none; z-index: 3;
}
.hub-sources li {
  position: absolute; font-size: clamp(10px, 1.6vw, 12px);
  padding: 4px 9px; border-radius: 20px; color: var(--ink);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-bd);
  white-space: nowrap;
}
.hub-sources li:nth-child(1) { top: 14%; left: 8%; }
.hub-sources li:nth-child(2) { top: 8%; right: 12%; }
.hub-sources li:nth-child(3) { top: 44%; left: 0%; }
.hub-sources li:nth-child(4) { bottom: 16%; left: 6%; }
.hub-sources li:nth-child(5) { bottom: 8%; right: 8%; }
.hub-sources li:nth-child(6) { top: 40%; right: 0%; }
.hub-sources li:nth-child(7) { bottom: 38%; right: 14%; }

.hub-particles { position: absolute; inset: 0; pointer-events: none; }
.hub-dot {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3);
}

/* ============================================================
   SCENE 03 — IMPORT PIPELINE
   ============================================================ */
.scene--pipeline { background: linear-gradient(180deg, #05060a, #080b14); }
.pipeline-file { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.file-chip {
  padding: 10px 18px; border-radius: 12px; font-weight: 600;
  background: var(--card); border: 1px solid var(--card-bd);
}
.file-chip--unit {
  background: linear-gradient(120deg, rgba(46, 230, 197, 0.18), rgba(91, 140, 255, 0.18));
  border-color: rgba(46, 230, 197, 0.4); color: var(--accent-3);
}
.file-arrow { color: var(--accent); font-size: 22px; }
.pipeline-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px);
  width: 100%;
}
.stage {
  position: relative; text-align: left; padding: 20px 18px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-bd);
  overflow: hidden; transition: border-color 0.4s, transform 0.4s;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(91, 140, 255, 0.12), transparent);
  transform: translateX(-100%); transition: transform 0.9s var(--ease);
}
.stage.in:hover { border-color: var(--accent); transform: translateY(-4px); }
.stage.in::before { transform: translateX(100%); }
.stage-num {
  font-size: 12px; letter-spacing: 0.2em; color: var(--accent-2); font-weight: 700;
}
.stage h3 { font-size: clamp(15px, 2.2vw, 18px); margin: 6px 0 8px; }
.stage-result { color: var(--accent-3); font-weight: 600; font-size: 14px; }
.stage-anim { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ============================================================
   SCENE 04 — MULTI-DIMENSIONAL
   ============================================================ */
.dim-stage {
  position: relative; width: min(560px, 92vw); aspect-ratio: 1; display: grid; place-items: center;
}
.dim-photo {
  position: relative; z-index: 5; width: 38%; aspect-ratio: 1; border-radius: 18px;
  display: grid; place-items: center; font-size: clamp(34px, 8vw, 56px);
  background: linear-gradient(160deg, rgba(46, 230, 197, 0.2), rgba(91, 140, 255, 0.2));
  border: 1px solid var(--card-bd); box-shadow: 0 0 50px rgba(91, 140, 255, 0.3);
}
.dim-photo span { position: absolute; bottom: 8px; font-size: 11px; color: var(--muted); }
.dim-tags { position: absolute; inset: 0; }
.dim-tags span {
  position: absolute; top: 50%; left: 50%;
  padding: 6px 13px; border-radius: 20px; font-size: clamp(11px, 1.8vw, 13px);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-bd); white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: transform 0.9s var(--ease), opacity 0.6s; opacity: 0;
}
.dim-stage.spread .dim-tags span {
  opacity: 1;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 45deg))
    translateY(clamp(-150px, -28vw, -110px))
    rotate(calc(var(--i) * -45deg));
}
.dim-old-folder {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: opacity 0.6s; font-size: 12px;
}
.dim-stage.spread .dim-old-folder { opacity: 0.25; }
.folder-warn { color: #ff6b81; font-size: 12px; }
.dim-old-folder code { color: var(--muted); }

/* ============================================================
   SCENE 05 — INSTANT SEARCH
   ============================================================ */
.scene--search { background: linear-gradient(180deg, #080b14, #05060a); }
.search-box {
  display: flex; align-items: center; gap: 12px;
  width: min(620px, 92vw); padding: 16px 22px; border-radius: 40px;
  background: var(--card); border: 1px solid var(--card-bd);
  box-shadow: 0 0 40px rgba(91, 140, 255, 0.15); font-size: clamp(16px, 3vw, 22px);
}
.search-icon { opacity: 0.7; }
.search-text { font-weight: 600; }
.search-caret {
  width: 2px; height: 1.1em; background: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.search-layers {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none;
}
.search-layers li {
  padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--card-bd);
  transition: all 0.4s var(--ease);
}
.scene--search.searching .search-layers li {
  color: var(--accent-3); border-color: rgba(46, 230, 197, 0.5);
  box-shadow: 0 0 16px rgba(46, 230, 197, 0.25);
}
.search-result {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.result-time { font-size: clamp(20px, 4vw, 30px); font-weight: 800; color: var(--accent-3); }
.result-count {
  font-size: clamp(34px, 9vw, 76px); font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.result-label { font-size: clamp(13px, 2vw, 16px); color: var(--muted); }
.search-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.search-grid span {
  padding: 8px 16px; border-radius: 12px; font-size: 14px;
  background: var(--card); border: 1px solid var(--card-bd);
}

/* ============================================================
   SCENE 06 — UNIVERSAL PREVIEW
   ============================================================ */
.preview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 20px); width: 100%;
}
.pv-card {
  padding: 24px 18px; border-radius: var(--radius); text-align: center;
  background: var(--card); border: 1px solid var(--card-bd);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.pv-card.in:hover {
  transform: translateY(-6px) scale(1.02); border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(91, 140, 255, 0.2);
}
.pv-ico { font-size: clamp(30px, 6vw, 44px); display: block; margin-bottom: 12px; }
.pv-card h3 { font-size: clamp(14px, 2vw, 17px); margin-bottom: 4px; word-break: break-word; }
.pv-card p { color: var(--accent-3); font-size: 13px; }

/* ============================================================
   SCENE 07 — TRANSFER NETWORK
   ============================================================ */
.transfer-stage {
  position: relative; width: min(600px, 94vw); aspect-ratio: 600 / 360;
}
.transfer-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.transfer-lines line { stroke: rgba(91, 140, 255, 0.25); stroke-width: 1.5; }
.transfer-lines .pulse {
  stroke: var(--accent-3); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--accent-3));
}
.node {
  position: absolute; transform: translate(-50%, -50%); z-index: 3;
  padding: 10px 16px; border-radius: 12px; font-size: clamp(12px, 2vw, 15px); font-weight: 600;
  background: var(--card); border: 1px solid var(--card-bd); white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.node--mac { left: 22%; top: 18%; }
.node--win { left: 78%; top: 18%; }
.node--iphone { left: 12%; top: 72%; }
.node--ipad { left: 50%; top: 88%; }
.node--android { left: 88%; top: 72%; }
.node.active {
  border-color: var(--accent-3); color: var(--accent-3);
  box-shadow: 0 0 22px rgba(46, 230, 197, 0.4);
}
.transfer-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.transfer-tags span {
  padding: 8px 16px; border-radius: 20px; font-size: 13px;
  background: var(--card); border: 1px solid var(--card-bd); color: var(--muted);
}
.transfer-tags .tag-accent {
  color: var(--accent-3); border-color: rgba(46, 230, 197, 0.4);
  background: rgba(46, 230, 197, 0.08);
}

/* ============================================================
   SCENE 08 — UNIFIED FLOW
   ============================================================ */
.flow-stage {
  position: relative; width: min(520px, 92vw); aspect-ratio: 1; display: grid; place-items: center;
}
.flow-core {
  position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 12px;
  font-size: clamp(10px, 2vw, 13px); font-weight: 700; letter-spacing: 0.08em;
  background: radial-gradient(circle at 35% 30%, rgba(207, 224, 255, 0.9), var(--accent) 55%, var(--accent-2));
  box-shadow: 0 0 70px var(--glow); color: #06080f;
  animation: spherePulse 3.4s ease-in-out infinite;
}
.flow-orbit { position: absolute; inset: 0; animation: spinSlow 18s linear infinite; }
.orbit-device {
  position: absolute; width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: var(--card); border: 1px solid var(--card-bd);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); animation: spinSlow 18s linear infinite reverse;
}
.orbit-device::after {
  content: attr(data-d); position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%); font-size: 11px; color: var(--muted);
}
.orbit-device:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-device:nth-child(2) { right: 0; top: 50%; transform: translate(50%, -50%); }
.orbit-device:nth-child(3) { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.orbit-device:nth-child(4) { left: 0; top: 50%; transform: translate(-50%, -50%); }

/* ============================================================
   SCENE 09 — TV STREAMING
   ============================================================ */
.scene--tv { background: linear-gradient(180deg, #05060a, #090c16); }
.tv-stage {
  display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%;
}
.tv-screen {
  position: relative; width: min(640px, 92vw); aspect-ratio: 16 / 9;
  border-radius: 16px; padding: 16px;
  background: linear-gradient(160deg, #0c1020, #060810);
  border: 1px solid var(--card-bd); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.tv-screen::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 30%; height: 10px; border-radius: 0 0 12px 12px; background: #0c1020;
}
.tv-status {
  position: absolute; top: 12px; right: 16px; font-size: 12px; letter-spacing: 0.18em;
  color: var(--accent-3); padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(46, 230, 197, 0.4); background: rgba(46, 230, 197, 0.08);
}
.tv-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 100%;
}
.tv-wall span {
  border-radius: 10px; display: grid; place-items: center; font-size: clamp(22px, 5vw, 38px);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-bd);
  animation: tileFloat 4s ease-in-out infinite;
}
.tv-wall span:nth-child(odd) { animation-delay: -2s; }
@keyframes tileFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.tv-remote {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 20px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--card-bd);
}
.remote-title { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.remote-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.remote-keys button {
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; font-size: 18px;
  color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-bd);
  transition: all 0.25s var(--ease);
}
.remote-keys button:hover, .remote-keys button:active {
  background: var(--accent); border-color: var(--accent); transform: scale(1.08);
}

/* ============================================================
   SCENE 10 — FINALE
   ============================================================ */
.scene--finale { background: radial-gradient(circle at 50% 50%, #0b1024, #05060a 70%); }
.finale-converge { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.finale-content { gap: clamp(18px, 3vh, 30px); z-index: 5; }
.finale-logo {
  font-size: clamp(42px, 12vw, 130px); font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff, var(--accent) 50%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 50px rgba(91, 140, 255, 0.3));
}
.finale-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.finale-actions span {
  padding: 8px 18px; border-radius: 20px; font-weight: 600; font-size: clamp(13px, 2.2vw, 16px);
  background: var(--card); border: 1px solid var(--card-bd);
}
.finale-statement { font-size: clamp(20px, 4vw, 34px); font-weight: 700; }
.finale-tagline { font-size: clamp(16px, 3vw, 26px); color: var(--accent-3); font-weight: 600; }
.finale-end {
  margin-top: 12px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--card-bd);
}
.end-title { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.end-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; }
.end-list li {
  padding: 8px 16px; border-radius: 12px; font-size: 14px; font-weight: 500;
  background: rgba(91, 140, 255, 0.1); border: 1px solid rgba(91, 140, 255, 0.3);
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE ADAPTATION
   ============================================================ */
@media (max-width: 860px) {
  .pipeline-track { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-nav { right: 10px; gap: 10px; }
}

@media (max-width: 560px) {
  .scene { padding: 84px 18px 96px; }
  .pipeline-track { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .scene-nav { display: none; }
  .device--ipad, .device--tablet { width: 64px; height: 92px; }
  .hub-sources li:nth-child(7),
  .hub-sources li:nth-child(6) { display: none; }
  .transfer-tags .tag-accent { width: 100%; text-align: center; }
  .tv-wall { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .remote-keys button { width: 40px; height: 40px; font-size: 16px; }
  .stage { padding: 16px 14px; }
  .scroll-hint { bottom: 14px; }
}

@media (max-width: 380px) {
  .preview-grid { grid-template-columns: 1fr; }
  .search-layers li { font-size: 11px; padding: 5px 10px; }
}

/* Landscape phones: tighten vertical rhythm */
@media (max-height: 520px) and (orientation: landscape) {
  .scene { min-height: auto; padding: 70px 20px; }
  .hero-title { font-size: clamp(40px, 9vw, 70px); }
}
