/* ============================================
   AI 電影感創作體驗課 — 沉浸式銷售網站
   深海 × 金色 × 電影感 × 9:16 mobile-first
   ============================================ */

:root {
  /* Ink — deep ocean / night sky */
  --ink-0: #02050d;
  --ink-1: #050b1c;
  --ink-2: #0a1430;
  --ink-3: #112247;
  --ink-4: #1c3566;

  /* Gold — captain's gold, sunlit oar */
  --gold-0: #6a4a1c;
  --gold-1: #a07734;
  --gold-2: #d4a056;
  --gold-3: #ecc97e;
  --gold-4: #fbe7b3;

  /* Neon — HUD / future tech */
  --neon-cyan: #5fd4ff;
  --neon-blue: #6f8bff;
  --neon-violet: #a98bff;

  /* Glass */
  --glass-bg: rgba(14, 26, 56, 0.42);
  --glass-bg-strong: rgba(10, 20, 48, 0.66);
  --glass-stroke: rgba(212, 160, 86, 0.22);
  --glass-stroke-strong: rgba(212, 160, 86, 0.55);

  /* Type scale (mobile first) */
  --fs-hero: clamp(38px, 10.5vw, 72px);
  --fs-h1:   clamp(30px, 7.8vw, 56px);
  --fs-h2:   clamp(22px, 5.8vw, 38px);
  --fs-h3:   clamp(18px, 4.6vw, 26px);
  --fs-body: clamp(15px, 4.1vw, 18px);
  --fs-mini: clamp(11px, 3vw, 13px);

  /* Frame */
  --max-w: 560px;       /* 9:16 phone-first column */
  --pad-x: clamp(20px, 6vw, 36px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink-0);
  color: #e8eef9;
  font-family: "Noto Sans TC", "PingFang TC", "Helvetica Neue", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Typography ---------- */
.serif {
  font-family: "Noto Serif TC", "Songti TC", "Source Han Serif TC", serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.headline {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #f4f6fb;
}
.gold-text {
  background: linear-gradient(180deg, var(--gold-4) 0%, var(--gold-2) 55%, var(--gold-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 38px rgba(236, 201, 126, 0.18);
}
.eyebrow {
  font-size: var(--fs-mini);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
}
.mono {
  font-family: "JetBrains Mono", "SF Mono", "Menlo", monospace;
  letter-spacing: 0.08em;
}

/* ---------- Page frame ---------- */
.stage {
  width: 100%;
  min-height: 100vh;
  background: var(--ink-0);
  overflow: clip;
  position: relative;
}
.column {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

/* ---------- Section base ---------- */
section.s {
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 14vh, 140px) 0 clamp(72px, 12vh, 120px);
  overflow: hidden;
  isolation: isolate;
}
section.s .section-tag {
  position: absolute;
  top: clamp(28px, 6vh, 48px);
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(236, 201, 126, 0.78);
  font-size: var(--fs-mini);
  letter-spacing: 0.32em;
  z-index: 5;
}
section.s .section-tag .num {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(22px, 5.4vw, 28px);
  font-weight: 300;
  color: var(--gold-3);
  letter-spacing: 0;
}
section.s .section-tag .bar {
  width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold-2), transparent);
}

/* Top nav */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  background: linear-gradient(180deg, rgba(2,5,13,0.78), rgba(2,5,13,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Noto Serif TC", serif;
  font-weight: 600; letter-spacing: 0.22em;
  font-size: 14px;
  color: #f4cc6e;
}
.topbar .brand svg { width: 22px; height: 22px; }
.topbar .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(236, 201, 126, 0.45);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--gold-3);
  background: rgba(10, 20, 48, 0.35);
  backdrop-filter: blur(8px);
  transition: all .35s ease;
}
.topbar .nav-cta:hover {
  border-color: var(--gold-3);
  background: rgba(212,160,86,0.12);
  box-shadow: 0 0 24px rgba(236, 201, 126, 0.35);
}

/* ---------- Scroll progress (filmstrip on the right edge) ---------- */
.filmstrip {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 60;
}
.filmstrip a {
  width: 10px; height: 10px;
  display: block;
  position: relative;
}
.filmstrip a::before {
  content: ""; position: absolute; inset: 2px;
  border: 1px solid rgba(236, 201, 126, 0.45);
  background: transparent;
  transition: all .35s ease;
}
.filmstrip a.is-active::before {
  background: var(--gold-3);
  box-shadow: 0 0 12px var(--gold-3);
}
@media (max-width: 480px) { .filmstrip { display: none; } }

/* ============================================
   GLASS / HUD primitives
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--glass-stroke);
  border-radius: 18px;
  position: relative;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 35%);
  pointer-events: none;
}
.hud-corners {
  position: relative;
}
.hud-corners::before, .hud-corners::after,
.hud-corners > .c3, .hud-corners > .c4 {
  content: ""; position: absolute; width: 12px; height: 12px;
  border-color: var(--gold-3); border-style: solid; pointer-events: none;
}
.hud-corners::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hud-corners::after  { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.hud-corners > .c3   { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.hud-corners > .c4   { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* CTA button */
.cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-family: "Noto Serif TC", serif;
  font-weight: 600;
  font-size: clamp(16px, 4.4vw, 18px);
  letter-spacing: 0.18em;
  color: var(--ink-0);
  background: linear-gradient(135deg, var(--gold-4), var(--gold-2) 50%, var(--gold-1));
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(252, 232, 180, 0.6) inset,
    0 14px 38px rgba(212, 160, 86, 0.38),
    0 0 60px rgba(236, 201, 126, 0.28);
  transition: transform .35s ease, box-shadow .35s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(252, 232, 180, 0.9) inset,
    0 22px 60px rgba(212, 160, 86, 0.5),
    0 0 88px rgba(236, 201, 126, 0.42);
}
.cta::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { to { left: 160%; } }

.cta.ghost {
  background: rgba(10, 20, 48, 0.45);
  color: var(--gold-3);
  box-shadow: 0 0 0 1px var(--glass-stroke-strong) inset, 0 0 24px rgba(236, 201, 126, 0.15);
  backdrop-filter: blur(14px);
}
.cta.ghost:hover {
  box-shadow: 0 0 0 1px var(--gold-3) inset, 0 0 50px rgba(236, 201, 126, 0.3);
}

/* ============================================
   Scroll-reveal animation
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Sea / Sky / Particles background pieces
   ============================================ */
.bg-deep {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(28, 53, 102, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 100%, rgba(10, 20, 48, 0.8), transparent 70%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 100%);
  z-index: -3;
}
.bg-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.7) 0.5px, transparent 1.2px),
    radial-gradient(circle at 78% 33%, rgba(255,255,255,0.55) 0.5px, transparent 1.2px),
    radial-gradient(circle at 33% 70%, rgba(255,255,255,0.6) 0.5px, transparent 1.2px),
    radial-gradient(circle at 64% 88%, rgba(255,255,255,0.45) 0.5px, transparent 1.2px),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.55) 0.5px, transparent 1.2px),
    radial-gradient(circle at 22% 52%, rgba(255,255,255,0.45) 0.5px, transparent 1.2px),
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.4) 0.5px, transparent 1.2px),
    radial-gradient(circle at 8% 80%, rgba(255,255,255,0.5) 0.5px, transparent 1.2px),
    radial-gradient(circle at 95% 65%, rgba(255,255,255,0.45) 0.5px, transparent 1.2px);
  background-size: 100% 100%;
  z-index: -2;
  opacity: 0.85;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 0.9; } }

.bg-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 20% 18%, rgba(95, 212, 255, 0.13), transparent 60%),
    radial-gradient(ellipse 70% 30% at 80% 75%, rgba(169, 139, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 20% at 50% 50%, rgba(236, 201, 126, 0.08), transparent 70%);
  filter: blur(20px);
  z-index: -2;
}

/* gold dust particles (decorative pseudo-particles via box-shadow) */
.golddust {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  z-index: 0;
}
.golddust span {
  position: absolute; display: block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-3);
  box-shadow: 0 0 10px var(--gold-3), 0 0 20px rgba(236, 201, 126, 0.6);
  animation: float-up linear infinite;
  opacity: 0.7;
}
@keyframes float-up {
  0%   { transform: translateY(20vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* ============================================
   Section 01 — Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 90px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.hero-bg video, .hero-bg .hero-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,5,13,0.55) 0%, rgba(2,5,13,0.4) 40%, rgba(2,5,13,0.96) 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(2, 5, 13, 0.2), rgba(2,5,13,0.9));
  z-index: 0;
}

.hero-placeholder {
  background:
    radial-gradient(ellipse 50% 30% at 80% 30%, rgba(236, 201, 126, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 40% at 30% 70%, rgba(95, 212, 255, 0.18), transparent 65%),
    linear-gradient(180deg, #0a1838 0%, #050a1e 60%, #02050d 100%);
  position: absolute;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 24%;
}
.hero-placeholder::before {
  /* horizon */
  content: ""; position: absolute; left: 0; right: 0; bottom: 22%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 201, 126, 0.55), transparent);
  box-shadow: 0 0 20px rgba(236,201,126,0.6);
}
.hero-placeholder svg {
  position: relative; z-index: 1; width: 60%; max-width: 320px; opacity: 0.88;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold-3);
  font-size: var(--fs-mini);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.hero-title {
  font-size: var(--fs-hero);
  font-family: "Noto Serif TC", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.18;
  margin-bottom: 24px;
}
.hero-sub {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(18px, 5vw, 26px);
  color: var(--gold-3);
  letter-spacing: 0.18em;
  margin-bottom: 38px;
  opacity: 0.95;
}
.hero-body {
  color: #c7d3eb;
  font-size: var(--fs-body);
  line-height: 2.1;
  margin-bottom: 44px;
  letter-spacing: 0.06em;
}
.hero-body em {
  font-style: normal;
  color: var(--gold-3);
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(236, 201, 126, 0.7);
  font-size: 11px; letter-spacing: 0.4em;
  z-index: 2;
}
.hero-scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(180deg, var(--gold-3), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Section 02 — 情緒沉浸
   ============================================ */
.emotion {
  text-align: center;
}
.emotion-layout {
  /* on wide screens, expand the column and put video left / text right */
}
@media (min-width: 760px) {
  html[data-emotion-layout="side"] .emotion-layout {
    max-width: 1080px;
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    align-items: center;
    gap: clamp(48px, 6vw, 88px);
    text-align: left;
  }
  html[data-emotion-layout="side"] .emotion-layout .visual {
    margin: 0;
  }
  html[data-emotion-layout="side"] .emotion-layout .emotion-text {
    text-align: left;
  }
  html[data-emotion-layout="side"] .emotion-layout .emotion-text .body {
    margin: 0;
    max-width: none;
  }
}

/* ============================================
   Tweaks panel
   ============================================ */
#tweaks-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 280px;
  z-index: 300;
  padding: 18px 18px 14px;
  background: rgba(8, 14, 32, 0.92);
  border: 1px solid var(--glass-stroke-strong);
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 30px rgba(236, 201, 126, 0.18);
  color: #f4f6fb;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
#tweaks-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
#tweaks-panel .tp-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(236, 201, 126, 0.18);
  padding-bottom: 12px;
}
#tweaks-panel .tp-title {
  font-family: "Noto Serif TC", serif;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--gold-3);
}
#tweaks-panel .tp-close {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 201, 126, 0.32);
  color: var(--gold-3);
  font-size: 18px; line-height: 1;
  background: rgba(2, 5, 13, 0.4);
}
#tweaks-panel .tp-section { margin-bottom: 12px; }
#tweaks-panel .tp-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(236, 201, 126, 0.85);
  margin-bottom: 8px;
}
#tweaks-panel .tp-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: rgba(2, 5, 13, 0.5);
  border-radius: 999px;
  border: 1px solid rgba(236, 201, 126, 0.2);
}
#tweaks-panel .tp-segmented button {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #c7d6ee;
  transition: all .25s ease;
}
#tweaks-panel .tp-segmented button.is-on {
  background: var(--gold-3);
  color: var(--ink-0);
  font-weight: 600;
  box-shadow: 0 0 18px rgba(236, 201, 126, 0.45);
}
#tweaks-panel .tp-foot {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(178, 188, 214, 0.5);
  text-align: center;
}
.emotion .visual {
  position: relative;
  aspect-ratio: 9 / 16;     /* matches v03 720×1280 */
  max-width: 320px;
  margin: 0 auto 56px;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--glass-stroke-strong),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(95, 212, 255, 0.15);
}
.emotion .visual video, .emotion .visual .ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;       /* show full frame, no crop */
}
.emotion .visual .ph {
  background:
    radial-gradient(ellipse 60% 35% at 50% 40%, rgba(95, 212, 255, 0.35), transparent 65%),
    radial-gradient(ellipse 50% 30% at 50% 65%, rgba(28, 53, 102, 0.95), transparent 80%),
    linear-gradient(180deg, #0a1838 0%, #050a1e 100%);
}
.emotion .visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,5,13,0.75) 100%);
}
.emotion .label {
  position: absolute; bottom: 18px; left: 0; right: 0;
  z-index: 2; color: rgba(236, 201, 126, 0.85);
  font-size: 11px; letter-spacing: 0.42em;
  text-align: center;
}
.emotion h2 {
  font-size: var(--fs-h1);
  margin-bottom: 36px;
}
.emotion .body {
  color: #c1cce6;
  font-size: var(--fs-body);
  line-height: 2.1;
  letter-spacing: 0.06em;
  text-wrap: pretty;
  max-width: 28em;
  margin: 0 auto;
}
.emotion .sparkle {
  display: inline-block;
  margin-top: 28px;
  font-size: 22px;
  color: var(--gold-3);
  filter: drop-shadow(0 0 10px var(--gold-3));
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.2); opacity: 0.6; } }

/* whale silhouette swimming across */
.whale-swim {
  position: absolute;
  right: -25%;
  top: 38%;
  width: 70%;
  opacity: 0.18;
  z-index: 0;
  animation: swim 22s ease-in-out infinite;
}
@keyframes swim {
  0%, 100% { transform: translateX(0) translateY(0); }
  50%      { transform: translateX(-15%) translateY(-20px); }
}

/* ============================================
   Section 03 — TA 共鳴 / HUD
   ============================================ */
.ta {
  /* heading + checklist + thumbnail grid */
}
.ta h2 {
  font-size: var(--fs-h1);
  margin-bottom: 40px;
  text-align: center;
}
.ta-grid {
  display: grid;
  gap: 28px;
}
.ta-checklist {
  padding: 26px 24px 24px;
  background:
    linear-gradient(180deg, rgba(17, 34, 71, 0.55), rgba(10, 20, 48, 0.7));
  position: relative;
}
.ta-checklist .head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--neon-cyan);
  margin-bottom: 18px;
}
.ta-checklist .head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { transform: scale(1.4); opacity: 0.4; } }
.ta-checklist ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 13px;
}
.ta-checklist li {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(15px, 4.2vw, 17px);
  color: #d8e2f6;
  letter-spacing: 0.06em;
}
.ta-checklist li .check {
  flex-shrink: 0;
  width: 22px; height: 22px; border: 1px solid var(--gold-2);
  display: grid; place-items: center;
  color: var(--gold-3); font-weight: 700;
  background: rgba(212, 160, 86, 0.06);
  box-shadow: 0 0 18px rgba(212, 160, 86, 0.18);
}

/* thumb wall - 5 reels */
.reel-wall {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 5 / 6;
}
.reel-wall .reel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-stroke);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.reel-wall .reel:hover {
  transform: translateY(-2px);
  border-color: var(--gold-3);
  box-shadow: 0 0 28px rgba(236, 201, 126, 0.35);
}
.reel-wall .reel:nth-child(1) { grid-row: 1 / span 2; }
.reel-wall .reel .ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.reel-wall .reel .ph.r1 { background: radial-gradient(ellipse at 60% 40%, #6f8bff55, #0a1430 70%), linear-gradient(180deg, #243a72, #050a1e); }
.reel-wall .reel .ph.r2 { background: radial-gradient(ellipse at 30% 50%, #a98bff55, #0a1430 70%), linear-gradient(180deg, #34246d, #050a1e); }
.reel-wall .reel .ph.r3 { background: radial-gradient(ellipse at 70% 60%, #5fd4ff55, #0a1430 70%), linear-gradient(180deg, #1a3a5f, #050a1e); }
.reel-wall .reel .ph.r4 { background: radial-gradient(ellipse at 50% 30%, #ecc97e55, #0a1430 70%), linear-gradient(180deg, #4a3a1f, #050a1e); }
.reel-wall .reel .ph.r5 { background: radial-gradient(ellipse at 50% 70%, #ff6f9c55, #0a1430 70%), linear-gradient(180deg, #4a1f3a, #050a1e); }
.reel-wall .reel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,5,13,0.85));
}
.reel-wall .reel .info {
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  z-index: 2; display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.28em;
  color: rgba(236, 201, 126, 0.85);
}
.reel-wall .reel .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%; background: rgba(2, 5, 13, 0.55);
  display: grid; place-items: center; z-index: 2;
  border: 1px solid var(--gold-3);
  color: var(--gold-3);
  backdrop-filter: blur(6px);
  transition: all .35s ease;
}
.reel-wall .reel:hover .play {
  background: var(--gold-3); color: var(--ink-0);
  box-shadow: 0 0 20px var(--gold-3);
}
.ta-divider {
  margin-top: 42px;
  text-align: center;
  font-size: var(--fs-h3);
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.12em;
}
.ta-divider .big {
  display: block;
  font-size: var(--fs-h1);
  margin-top: 14px;
}

/* ============================================
   Section 04 — 阿海老師
   ============================================ */
.teacher {
}
.teacher .portrait {
  position: relative;
  aspect-ratio: 9 / 16;     /* matches v08 720×1280 */
  max-width: 320px;
  margin: 0 auto 40px;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--glass-stroke-strong),
    0 26px 60px rgba(0,0,0,0.55);
}
.teacher .portrait-video {
  object-fit: contain !important;
}
.teacher .portrait .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(236, 201, 126, 0.22), transparent 60%),
    linear-gradient(180deg, #0e1a3a 0%, #050a1e 100%);
}
.teacher .portrait .silhouette {
  position: absolute; left: 50%; bottom: 0;
  width: 80%; transform: translateX(-50%);
  opacity: 0.6;
}
.teacher .portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2, 5, 13, 0.85));
}
.teacher .portrait .meta {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(236, 201, 126, 0.85);
  display: flex; align-items: center; justify-content: space-between;
}
.teacher h2 {
  font-size: var(--fs-h1);
  text-align: center;
  margin-bottom: 30px;
}
.teacher .bio {
  display: flex; flex-direction: column; gap: 22px;
  color: #c1cce6;
  font-size: var(--fs-body);
  line-height: 2.05;
  letter-spacing: 0.05em;
}
.teacher .bio strong {
  color: var(--gold-3); font-weight: 600;
}

/* Timeline */
.timeline {
  margin-top: 58px;
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-2), var(--gold-2), transparent);
}
.timeline .row {
  position: relative;
  padding-bottom: 32px;
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.timeline .row.in { opacity: 1; transform: translateX(0); }
.timeline .row:last-child { padding-bottom: 0; }
.timeline .row::before {
  content: ""; position: absolute; left: -23px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink-1);
  border: 1px solid var(--gold-3);
  box-shadow: 0 0 14px rgba(236, 201, 126, 0.55);
}
.timeline .row.is-now::before {
  background: var(--gold-3);
  box-shadow: 0 0 18px var(--gold-3);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.timeline .year {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(20px, 5vw, 26px);
  color: var(--gold-3);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.timeline .label {
  font-size: 15px;
  color: #d2dcf3;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

/* ============================================
   Section 05 — 創作革命：傳統 vs AI
   ============================================ */
.revolution {
}
.revolution h2 {
  font-size: var(--fs-h1);
  text-align: center; margin-bottom: 8px;
}
.revolution .sub {
  text-align: center;
  color: rgba(236, 201, 126, 0.7);
  font-size: 12px; letter-spacing: 0.4em;
  margin-bottom: 42px;
}
.versus {
  display: grid;
  gap: 24px;
}
.versus-card {
  padding: 28px 24px 26px;
  position: relative;
  overflow: hidden;
}
.versus-card .tag {
  font-size: 10px; letter-spacing: 0.42em;
  color: rgba(236, 201, 126, 0.7);
  margin-bottom: 8px;
}
.versus-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(22px, 5.8vw, 28px);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  color: #f4f6fb;
}
.versus-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 11px;
  font-size: 15px;
  color: #c1cce6;
}
.versus-card.left ul li {
  display: flex; align-items: center; gap: 12px;
  color: #92a0c1;
  text-decoration: line-through;
  text-decoration-color: rgba(146, 160, 193, 0.4);
  text-decoration-thickness: 1px;
}
.versus-card.left ul li::before {
  content: "—"; color: #92a0c1;
}
.versus-card.left .cost {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(146, 160, 193, 0.3);
  display: flex; justify-content: space-between; align-items: baseline;
  color: #92a0c1; font-size: 13px; letter-spacing: 0.15em;
}
.versus-card.left .cost .n {
  font-family: "Noto Serif TC", serif;
  font-size: 22px; color: #c0cbe5;
}

.versus-card.right {
  background:
    linear-gradient(135deg, rgba(28, 53, 102, 0.7), rgba(17, 34, 71, 0.85));
  border-color: var(--glass-stroke-strong);
  box-shadow: 0 0 50px rgba(236, 201, 126, 0.15);
}
.versus-card.right .core {
  display: flex; align-items: center; gap: 22px;
  margin-bottom: 18px;
}
.versus-card.right .core .ai {
  width: 64px; height: 64px;
  border: 1px solid var(--gold-3);
  background: radial-gradient(ellipse at center, rgba(236, 201, 126, 0.25), transparent 70%);
  display: grid; place-items: center;
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
  color: var(--gold-3);
  letter-spacing: 0.05em;
  position: relative;
}
.versus-card.right .core .ai::before {
  content: ""; position: absolute; inset: -4px;
  border: 1px solid rgba(236, 201, 126, 0.25);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.versus-card.right .core .x {
  font-family: "Noto Serif TC", serif;
  font-size: 22px; color: var(--gold-3);
}
.versus-card.right .core .laptop {
  font-size: 15px;
  color: #d8e2f6;
  letter-spacing: 0.1em;
}
.versus-card.right .ul-pos {
  list-style: none;
  display: flex; flex-direction: column; gap: 11px;
  font-size: 15px;
}
.versus-card.right .ul-pos li {
  display: flex; align-items: center; gap: 12px;
  color: #e6edf9;
}
.versus-card.right .ul-pos li::before {
  content: "›"; color: var(--gold-3); font-weight: 700;
  font-size: 18px;
}
.versus-card.right .cost {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(236, 201, 126, 0.25);
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--gold-3); font-size: 13px; letter-spacing: 0.15em;
}
.versus-card.right .cost .n {
  font-family: "Noto Serif TC", serif;
  font-size: 22px; color: var(--gold-3);
}

/* ============================================
   Section 06 — 漂浮式技能卡
   ============================================ */
.skills {
}
.skills h2 {
  font-size: var(--fs-h1);
  text-align: center;
  margin-bottom: 12px;
}
.skills .sub {
  text-align: center;
  color: rgba(236, 201, 126, 0.7);
  font-size: 12px; letter-spacing: 0.4em;
  margin-bottom: 42px;
}
.skill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 520px) {
  .skill-grid { grid-template-columns: 1fr 1fr; }
}
.skill-card {
  position: relative;
  padding: 30px 24px 26px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .5s ease;
  animation: float-card 6s ease-in-out infinite;
  isolation: isolate;
}
.skill-card:nth-child(2) { animation-delay: -1.6s; }
.skill-card:nth-child(3) { animation-delay: -3.2s; }
.skill-card:nth-child(4) { animation-delay: -4.8s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-3);
  box-shadow: 0 0 50px rgba(236, 201, 126, 0.35), 0 24px 60px rgba(0,0,0,0.5);
}
.skill-card .num {
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  color: var(--gold-3);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.7;
}
.skill-card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-2);
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--gold-3);
  background: rgba(212, 160, 86, 0.06);
  box-shadow: 0 0 24px rgba(236, 201, 126, 0.18);
}
.skill-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(20px, 5.2vw, 23px);
  color: #f4f6fb;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.skill-card p {
  font-size: 14px;
  color: #b2bcd6;
  line-height: 1.85;
  letter-spacing: 0.05em;
}
.skill-card .play-tag {
  position: absolute; top: 22px; right: 22px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 201, 126, 0.45);
  color: var(--gold-3);
  background: rgba(2, 5, 13, 0.4);
  transition: all .35s ease;
}
.skill-card:hover .play-tag {
  background: var(--gold-3); color: var(--ink-0); border-color: var(--gold-3);
  box-shadow: 0 0 16px var(--gold-3);
}

/* ============================================
   Section 07 — 價值觀
   ============================================ */
.values {
  text-align: center;
}
.values .player {
  position: relative;
  aspect-ratio: 16 / 9;     /* matches v07 1280×720 */
  max-width: 440px;
  margin: 0 auto 50px;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--glass-stroke-strong),
    0 30px 80px rgba(0,0,0,0.55),
    0 0 100px rgba(236, 201, 126, 0.12);
}
.values .player-video {
  object-fit: contain !important;
}
.values .player .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 30% at 60% 40%, rgba(95, 212, 255, 0.3), transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(236, 201, 126, 0.18), transparent 65%),
    linear-gradient(180deg, #0a1838 0%, #1a2b54 50%, #050a1e 100%);
}
.values .player::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(2,5,13,0.85));
}
.values .player .center-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(2, 5, 13, 0.45);
  border: 1px solid var(--gold-3);
  display: grid; place-items: center;
  color: var(--gold-3);
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 0 36px rgba(236, 201, 126, 0.45);
  transition: all .35s ease;
  cursor: pointer;
}
.values .player .center-play:hover {
  background: var(--gold-3); color: var(--ink-0);
  box-shadow: 0 0 60px rgba(236, 201, 126, 0.7);
  transform: translate(-50%, -50%) scale(1.05);
}
.values .player .label-bottom {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(236, 201, 126, 0.85);
}
.values h2 {
  font-size: var(--fs-h1);
  margin-bottom: 18px;
}
.values .gold-big {
  display: block;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 7.5vw, 44px);
  margin: 16px 0 28px;
}
.values .body {
  color: #c1cce6;
  font-size: var(--fs-body);
  line-height: 2.1;
  letter-spacing: 0.05em;
  max-width: 26em;
  margin: 0 auto;
}

/* ============================================
   Section 08 — 電影膠卷牆
   ============================================ */
.reels {
  overflow: hidden;
}
.reels h2 {
  font-size: var(--fs-h1);
  text-align: center;
  margin-bottom: 12px;
}
.reels .sub {
  text-align: center;
  color: rgba(236, 201, 126, 0.7);
  font-size: 12px; letter-spacing: 0.4em;
  margin-bottom: 42px;
}
.filmreel {
  position: relative;
  width: 100%;
  margin: 0 -100px;  /* allow bleed past column */
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--glass-stroke);
  border-bottom: 1px solid var(--glass-stroke);
  background: linear-gradient(180deg, rgba(2,5,13,0.6), rgba(2,5,13,0));
}
.filmreel::before, .filmreel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background-image:
    linear-gradient(90deg, var(--ink-1) 33%, transparent 33%, transparent 67%, var(--ink-1) 67%);
  background-size: 24px 14px;
  background-repeat: repeat-x;
  z-index: 3;
  pointer-events: none;
}
.filmreel::before { top: 0; }
.filmreel::after  { bottom: 0; }
.filmreel-track {
  display: flex; gap: 18px;
  padding: 18px 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filmreel-track::-webkit-scrollbar { display: none; }
.filmreel .clip {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-stroke);
  scroll-snap-align: center;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  cursor: pointer;
}
.filmreel .clip:hover, .filmreel .clip:focus-within {
  transform: scale(1.03);
  border-color: rgba(236,201,126,0.55);
  box-shadow: 0 14px 40px rgba(236,201,126,0.15);
}
@media (max-width: 720px) {
  .filmreel { margin: 0 -24px; }
  .filmreel-track { padding: 18px 24px; }
  .filmreel .clip { width: 78vw; max-width: 320px; }
}
/* CAPTAIN'S FILM · 3 分鐘微電影 */
.captain-film .film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 560px;
  margin: 32px auto 26px;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(236, 201, 126, 0.45),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(236, 201, 126, 0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}
.captain-film .film-stage:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(236, 201, 126, 0.75),
    0 36px 100px rgba(0, 0, 0, 0.7),
    0 0 160px rgba(236, 201, 126, 0.28);
}
.captain-film .film-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
  z-index: 0;
}
.captain-film .film-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,5,13,0.2) 0%, transparent 30%, transparent 60%, rgba(2,5,13,0.85));
  pointer-events: none;
  z-index: 1;
}
.captain-film .film-center-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: rgba(2, 5, 13, 0.55);
  border: 1.5px solid var(--gold-3);
  display: grid; place-items: center;
  color: var(--gold-3);
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 0 48px rgba(236, 201, 126, 0.55);
  transition: all .35s ease;
  pointer-events: none;
  animation: film-pulse 2.4s ease-in-out infinite;
}
@keyframes film-pulse {
  0%, 100% { box-shadow: 0 0 48px rgba(236, 201, 126, 0.55); }
  50%      { box-shadow: 0 0 78px rgba(236, 201, 126, 0.85); }
}
.captain-film .film-stage:hover .film-center-play {
  background: var(--gold-3); color: var(--ink-0);
  transform: translate(-50%, -50%) scale(1.08);
}
.captain-film .film-label {
  position: absolute; bottom: 18px; left: 22px; right: 22px;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.28em;
  color: rgba(236, 201, 126, 0.9);
  font-family: 'JetBrains Mono', monospace;
}
@media (max-width: 720px) {
  .captain-film .film-stage { max-width: 92vw; }
  .captain-film .film-center-play { width: 70px; height: 70px; }
  .captain-film .film-label { font-size: 9.5px; letter-spacing: 0.22em; bottom: 14px; left: 16px; right: 16px; }
}

/* AI 數字人示範 - local video stage */
.dh-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 36px auto 18px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  border: 1px solid rgba(236, 201, 126, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(236, 201, 126, 0.14);
  transition: transform .35s ease, box-shadow .35s ease;
}
.dh-stage:hover {
  transform: translateY(-3px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(236, 201, 126, 0.28);
}
.dh-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;  /* keep original aspect ratio, no distortion */
  background: #000;
  z-index: 0;
}
.dh-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(2,5,13,0.85));
  pointer-events: none;
  z-index: 1;
}
.dh-center-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(2, 5, 13, 0.5);
  border: 1.5px solid var(--gold-3);
  display: grid; place-items: center;
  color: var(--gold-3);
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 0 32px rgba(236, 201, 126, 0.55);
  pointer-events: none;
  transition: all .35s ease;
}
.dh-stage:hover .dh-center-play {
  background: var(--gold-3); color: var(--ink-0);
  transform: translate(-50%, -50%) scale(1.08);
}
.dh-label {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.26em;
  color: rgba(236, 201, 126, 0.9);
  font-family: 'JetBrains Mono', monospace;
}
@media (max-width: 720px) {
  .dh-stage { max-width: 78vw; margin: 28px auto 14px; }
}

.filmreel-hint {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(236, 201, 126, 0.7);
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.filmreel .clip .ph {
  position: absolute; inset: 0;
}
.filmreel .clip .ph.c1 { background: radial-gradient(ellipse at 50% 40%, #6f8bff55, #0a1430 70%), linear-gradient(180deg, #243a72, #050a1e); }
.filmreel .clip .ph.c2 { background: radial-gradient(ellipse at 30% 50%, #a98bff55, #0a1430 70%), linear-gradient(180deg, #34246d, #050a1e); }
.filmreel .clip .ph.c3 { background: radial-gradient(ellipse at 70% 60%, #5fd4ff55, #0a1430 70%), linear-gradient(180deg, #1a3a5f, #050a1e); }
.filmreel .clip .ph.c4 { background: radial-gradient(ellipse at 50% 30%, #ecc97e55, #0a1430 70%), linear-gradient(180deg, #4a3a1f, #050a1e); }
.filmreel .clip .ph.c5 { background: radial-gradient(ellipse at 50% 70%, #ff6f9c55, #0a1430 70%), linear-gradient(180deg, #4a1f3a, #050a1e); }
.filmreel .clip .ph.c6 { background: radial-gradient(ellipse at 60% 50%, #5fd4ff55, #0a1430 70%), linear-gradient(180deg, #1f4a4a, #050a1e); }
.filmreel .clip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,5,13,0.85));
}
.filmreel .clip .meta {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.28em;
  color: rgba(236, 201, 126, 0.85);
}
.filmreel .clip .play-dot {
  position: absolute; top: 16px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d6d; box-shadow: 0 0 10px #ff4d6d;
  z-index: 2;
}

.testimonial-block {
  margin-top: 58px;
  text-align: center;
  color: #c1cce6;
  font-size: var(--fs-body);
  line-height: 2.05;
}
.testimonial-block .quote {
  font-family: "Noto Serif TC", serif;
  font-size: var(--fs-h2);
  color: var(--gold-3);
  letter-spacing: 0.08em;
  margin: 22px 0;
  display: block;
}

/* ============================================
   Section 09 — Final CTA
   ============================================ */
.finale {
  text-align: center;
  padding-top: clamp(80px, 14vh, 140px);
  padding-bottom: clamp(80px, 14vh, 140px);
  position: relative;
}
.finale-stage {
  position: relative;
  aspect-ratio: 9 / 16;     /* matches v02 720×1280 */
  max-width: 340px;
  margin: 0 auto 48px;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--glass-stroke-strong),
    0 30px 100px rgba(0,0,0,0.7),
    0 0 120px rgba(236, 201, 126, 0.2);
}
.finale-video {
  object-fit: contain !important;
}
.finale-stage .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 28%, rgba(236, 201, 126, 0.42), transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 65%, rgba(28, 53, 102, 0.9), transparent 75%),
    linear-gradient(180deg, #0a1838 0%, #050a1e 100%);
}
.finale-stage .ship {
  position: absolute;
  left: 50%; bottom: 12%;
  width: 70%;
  transform: translateX(-50%);
  opacity: 0.92;
  filter: drop-shadow(0 4px 24px rgba(236, 201, 126, 0.45));
  animation: ship-approach 8s ease-in-out infinite alternate;
}
@keyframes ship-approach {
  0% { transform: translateX(-65%) translateY(4px) scale(0.96); opacity: 0.85; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}
.finale-stage .horizon {
  position: absolute; left: 0; right: 0; bottom: 35%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236,201,126,0.5), transparent);
}
.finale-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2,5,13,0.85));
}
.finale-stage .center-play {
  position: absolute; top: 28%; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(2, 5, 13, 0.45);
  border: 1px solid var(--gold-3);
  display: grid; place-items: center;
  color: var(--gold-3);
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 0 36px rgba(236, 201, 126, 0.5);
  cursor: pointer;
}
.finale h2 {
  font-size: clamp(34px, 9vw, 60px);
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.finale .body {
  color: #c1cce6;
  font-size: var(--fs-body);
  line-height: 2.1;
  margin-bottom: 18px;
}
.finale .emoji-trail {
  font-size: 22px;
  letter-spacing: 0.5em;
  margin-bottom: 38px;
  filter: drop-shadow(0 0 8px var(--gold-3));
}

/* ============================================
   FORM
   ============================================ */
.form-wrap {
  margin-top: 60px;
  padding: 36px 28px 32px;
  text-align: left;
}
.form-wrap h3 {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(22px, 5.6vw, 28px);
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 6px;
}
.form-wrap .form-sub {
  text-align: center;
  color: rgba(236, 201, 126, 0.7);
  font-size: 11px; letter-spacing: 0.4em;
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  gap: 18px;
}
.field { position: relative; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--gold-3);
  margin-bottom: 8px;
  opacity: 0.85;
}
.field .req { color: var(--neon-cyan); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 11, 28, 0.6);
  border: 1px solid rgba(236, 201, 126, 0.22);
  border-radius: 10px;
  color: #f4f6fb;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all .35s ease;
  outline: none;
}
.field textarea {
  resize: vertical; min-height: 90px;
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(178, 188, 214, 0.45);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold-3);
  background: rgba(10, 20, 48, 0.85);
  box-shadow: 0 0 0 2px rgba(236, 201, 126, 0.16), 0 0 30px rgba(236, 201, 126, 0.25);
}
.checkbox-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 12px;
  background: rgba(5, 11, 28, 0.5);
  border: 1px solid rgba(236, 201, 126, 0.18);
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all .3s ease;
  user-select: none;
}
.chip input { display: none; }
.chip .b {
  width: 14px; height: 14px;
  border: 1px solid var(--gold-2);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  background: rgba(212, 160, 86, 0.06);
}
.chip input:checked + .b {
  background: var(--gold-3);
}
.chip input:checked + .b::after {
  content: ""; position: absolute; inset: 2px;
  background: var(--ink-0);
  clip-path: polygon(15% 50%, 0 65%, 35% 100%, 100% 25%, 85% 15%, 35% 70%);
}
.chip:hover {
  border-color: var(--gold-3);
  box-shadow: 0 0 18px rgba(236, 201, 126, 0.2);
}
.form-submit-row {
  margin-top: 8px;
  display: flex; justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 60px var(--pad-x) 50px;
  text-align: center;
  border-top: 1px solid var(--glass-stroke);
  background: linear-gradient(180deg, rgba(2,5,13,0), var(--ink-0) 60%);
  position: relative;
}
footer .socials {
  display: flex; justify-content: center; gap: 14px;
  margin-bottom: 26px;
}
footer .socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-stroke);
  color: var(--gold-3);
  transition: all .35s ease;
}
footer .socials a:hover {
  border-color: var(--gold-3);
  box-shadow: 0 0 24px rgba(236, 201, 126, 0.4);
  transform: translateY(-3px);
  color: var(--gold-4);
}
footer .credit {
  color: rgba(178, 188, 214, 0.6);
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
footer .credit .brand {
  color: var(--gold-3); font-family: "Noto Serif TC", serif;
}
footer .small {
  color: rgba(178, 188, 214, 0.4);
  font-size: 11px; letter-spacing: 0.2em;
}

/* ============================================
   MODAL (reel playback placeholder)
   ============================================ */
.modal {
  position: fixed; inset: 0;
  background: rgba(2, 5, 13, 0.92);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal .frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  background: linear-gradient(180deg, #0a1838 0%, #050a1e 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 80px rgba(236, 201, 126, 0.25);
  border: 1px solid var(--glass-stroke-strong);
}
.modal .frame .center-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--gold-3);
}
.modal .frame .label {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center;
  color: rgba(236, 201, 126, 0.85);
  font-size: 11px; letter-spacing: 0.42em;
}
.modal .close {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-stroke-strong);
  background: rgba(10, 20, 48, 0.5);
  color: var(--gold-3);
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* ============================================
   Helpers
   ============================================ */
/* ============================================
   Hero micro CTA (free LINE community pill)
   ============================================ */
.hero-microcta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 20, 48, 0.45);
  border: 1px solid rgba(95, 212, 255, 0.32);
  backdrop-filter: blur(8px);
  color: #c7d6ee;
  font-size: 12px;
  letter-spacing: 0.22em;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ============================================
   LINE community card (after final CTA)
   ============================================ */
.line-card {
  margin-top: 36px;
  padding: 26px 24px 24px;
  text-align: left;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(180deg, rgba(17,34,71,0.55), rgba(10,20,48,0.78));
}
.line-card-head {
  display: flex; align-items: center; gap: 14px;
}
.line-badge {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #06c755, #04a045);
  color: #fff;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.4), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.line-eyebrow {
  font-size: 10px; letter-spacing: 0.42em;
  color: rgba(95, 212, 255, 0.85);
  margin-bottom: 4px;
}
.line-title {
  font-family: "Noto Serif TC", serif;
  font-size: clamp(18px, 4.8vw, 22px);
  letter-spacing: 0.08em;
  color: #f4f6fb;
}
.line-desc {
  color: #c1cce6;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}
.line-pwd {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(2, 5, 13, 0.6);
  border: 1px dashed rgba(236, 201, 126, 0.4);
}
.line-pwd-label {
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--gold-3);
  flex-shrink: 0;
}
.line-pwd-value {
  flex: 1;
  font-family: "JetBrains Mono", monospace;
  font-size: 17px; letter-spacing: 0.18em;
  color: #f4f6fb;
}
.line-pwd-copy {
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold-3);
  border: 1px solid var(--gold-3);
  border-radius: 999px;
  background: rgba(212, 160, 86, 0.08);
  transition: all .3s ease;
}
.line-pwd-copy:hover {
  background: var(--gold-3); color: var(--ink-0);
  box-shadow: 0 0 16px var(--gold-3);
}
.line-pwd-copy.copied {
  background: var(--neon-cyan); color: var(--ink-0); border-color: var(--neon-cyan);
}

/* QR row */
.line-qr-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 14px 14px 14px;
  background: rgba(2, 5, 13, 0.55);
  border: 1px solid rgba(95, 212, 255, 0.18);
  border-radius: 14px;
  position: relative;
}
.line-qr {
  position: relative;
  display: block;
  width: 110px; height: 110px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 10px 26px rgba(0,0,0,0.5),
    0 0 22px rgba(6, 199, 85, 0.35);
  transition: transform .35s ease, box-shadow .35s ease;
}
.line-qr img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.line-qr:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 14px 34px rgba(0,0,0,0.55),
    0 0 36px rgba(6, 199, 85, 0.55);
}
.line-qr-glow {
  position: absolute; inset: -6px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 199, 85, 0.0), rgba(6, 199, 85, 0.35), rgba(6, 199, 85, 0.0));
  filter: blur(10px);
  z-index: -1;
  opacity: 0.5;
}
.line-qr-meta {
  display: flex; flex-direction: column; gap: 6px;
}
.line-qr-eyebrow {
  font-size: 10px;
  letter-spacing: 0.42em;
  color: rgba(95, 212, 255, 0.85);
}
.line-qr-title {
  font-family: "Noto Serif TC", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: #f4f6fb;
  line-height: 1.4;
}
.line-qr-hint {
  font-size: 12px;
  color: #c1cce6;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.line-qr-hint b {
  color: var(--gold-3);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
}

/* ============================================
   Video object-fit fixes for reels
   ============================================ */
.reel-wall .reel {
  background: #000;
}
.reel-wall .reel video,
.filmreel .clip video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;       /* preserve original ratio */
  z-index: 0;
  background: #000;
}
.filmreel .clip {
  background: #000;
}
.reel-wall .reel::after,
.filmreel .clip::after {
  z-index: 1;
}
.reel-wall .reel .info,
.reel-wall .reel .play,
.filmreel .clip .meta,
.filmreel .clip .play-dot {
  z-index: 2;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.spacer-sm { height: 18px; }
.spacer-md { height: 36px; }
.spacer-lg { height: 60px; }

.center { text-align: center; }
.glow-line {
  display: block; width: 60%; height: 1px; margin: 28px auto;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
