/* =========================================================
   SoundPlay 声动互娱 · 动效官网设计系统（浅色主题）
   基于 elayadesign/ai-design-skills (landing-page-design) 动效规范
   配色：浅色底 + 品牌霓虹色（青/品红/橙/紫）
   字体：Geist + Manrope（禁止斜体、禁止 900 黑体）
   动效：仅 transform/opacity；统一缓动 cubic-bezier(0.22,1,0.36,1)
   ========================================================= */

:root {
  /* 浅色背景 */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --surface-3: #EAF0F8;
  --border: #E3E9F2;
  --border-soft: #EDF1F8;

  /* 文本（深蓝近黑） */
  --text: #0E1A2B;
  --muted: #51607A;
  --faint: #8493AE;

  /* 品牌霓虹色 */
  --cyan: #21B4E8;       --cyan-d: #0E7CA8;
  --magenta: #DC34D1;    --magenta-d: #B81FA8;
  --orange: #F38A1F;     --orange-d: #C96A0A;
  --purple: #B246EA;     --purple-d: #8A2FC0;
  --teal: #02B5A3;       --teal-d: #0A8C7E;

  /* 间距（8pt 栅格） */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* 圆角 */
  --r-1: 8px; --r-2: 14px; --r-3: 20px; --r-4: 28px; --r-pill: 999px;

  /* 动效曲线 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
  --dur-fast: 0.3s;

  --nav-h: 78px;
  --maxw: 1200px;
  --font: "Geist", "Manrope", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
#about { scroll-margin-top: 96px; }
#theatre, #cangyang, #zebra, #ai-production { scroll-margin-top: 96px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }

section { padding: var(--s-9) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan-d);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: var(--s-4) 0 var(--s-3); }
.section-lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 680px; }

/* ---------- 浮动玻璃导航（放大版） ---------- */
.site-header {
  position: fixed; top: var(--s-4); left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 2 * var(--s-5)); max-width: var(--maxw);
  transition: top var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding: 0 var(--s-6);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(14, 26, 43, 0.10);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 40px rgba(20, 40, 80, 0.10);
}
.site-header.scrolled { top: var(--s-3); }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 56px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: var(--s-2); }
.nav-link {
  padding: var(--s-3) var(--s-5); border-radius: var(--r-pill);
  font-size: 1.05rem; color: var(--muted); font-weight: 600;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(14, 26, 43, 0.05); }
.nav-link.is-active { color: var(--cyan-d); background: rgba(33, 180, 232, 0.12); }
.nav-right { display: flex; align-items: center; gap: var(--s-4); }
.lang-switch { display: inline-flex; padding: 5px; border-radius: var(--r-pill);
  background: rgba(14, 26, 43, 0.05); border: 1px solid var(--border); }
.lang-switch button {
  border: none; background: transparent; color: var(--muted);
  padding: 8px 16px; border-radius: var(--r-pill); font-size: 0.95rem; font-weight: 700;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.lang-switch button.is-active { color: var(--text); background: #fff; box-shadow: 0 2px 8px rgba(20,40,80,0.10); }
.nav-toggle {
  display: none; width: 50px; height: 50px; border: none; background: transparent;
  position: relative; border-radius: var(--r-pill);
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 20px; }
.nav-toggle span:nth-child(2) { bottom: 20px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-2);
  padding: var(--s-9) var(--s-6);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 1.7rem; font-weight: 700; color: var(--text);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(24px);
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }

/* ---------- HERO ---------- */
.hero { padding-top: calc(var(--nav-h) + var(--s-9) + var(--s-5)); padding-bottom: var(--s-8);
  min-height: 92vh; display: flex; align-items: center; }
.hero-inner { max-width: 820px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.05; margin: var(--s-4) 0; max-width: 14ch;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #0E1A2B 0%, #5A6B8C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 16px 32px; border-radius: var(--r-pill); font-weight: 700; font-size: 1.05rem;
  border: 1px solid transparent; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cyan); color: #04121B; box-shadow: 0 8px 30px rgba(33,180,232,0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(33,180,232,0.42); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); box-shadow: 0 4px 16px rgba(20,40,80,0.06); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface-2); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); margin-top: var(--s-8); }
.stat .num {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #0E1A2B, var(--cyan-d)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--muted); font-size: 0.92rem; margin-top: var(--s-1); }

/* ---------- 标语逐词点亮 ---------- */
.tagline { padding: var(--s-9) 0; }
.tagline .big { font-size: clamp(2rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.25;
  max-width: 18ch; letter-spacing: -0.02em; }
.tagline .big .w { opacity: 0.22; transition: opacity 0.6s var(--ease), color 0.6s var(--ease); display: inline-block; }
.tagline .big .w.lit { opacity: 1; color: var(--text); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-3);
  padding: var(--s-6); position: relative; overflow: hidden;
  box-shadow: 0 6px 24px rgba(20, 40, 80, 0.05);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(33,180,232,0.55);
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.12); }
.card .accent-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.card:hover .accent-bar { opacity: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: var(--s-3); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: var(--s-4);
  background: rgba(33,180,232,0.12); color: var(--cyan-d);
}
.card .tag.m { background: rgba(220,52,209,0.12); color: var(--magenta-d); }
.card .tag.o { background: rgba(243,138,31,0.14); color: var(--orange-d); }
.card .tag.p { background: rgba(178,70,234,0.12); color: var(--purple-d); }
.card .tag.t { background: rgba(2,181,163,0.14); color: var(--teal-d); }
.sublist { list-style: none; margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.sublist li { display: flex; gap: var(--s-3); color: var(--muted); font-size: 0.95rem; }
.sublist li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--cyan); }
.metric-row { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-5); }
.metric { padding: var(--s-4) var(--s-5); border: 1px solid var(--border); border-radius: var(--r-2);
  background: var(--surface-2); min-width: 120px; }
.metric .m-num { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #0E1A2B, var(--cyan-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .m-label { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

/* ---------- 案例 ---------- */
.work-card { display: flex; flex-direction: column; }
.work-card .media {
  position: relative; border-radius: var(--r-2); overflow: hidden; aspect-ratio: 9/16;
  background: var(--surface-2); border: 1px solid var(--border);
}
.work-card .media video, .work-card .media img { width: 100%; height: 100%; object-fit: cover; }
.work-card .media video { cursor: pointer; }
/* 播放按钮（居中圆形，播放中隐藏） */
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(14,26,43,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(14,26,43,0.35), inset 0 0 0 1.5px rgba(255,255,255,0.75);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.25s var(--ease);
}
.play-btn svg { margin-left: 3px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.play-btn:hover { transform: scale(1.1); background: rgba(14,26,43,0.72); }
.play-btn.is-playing { opacity: 0; pointer-events: none; transform: scale(0.8); }
.work-card .media:hover .play-btn.is-playing { opacity: 0.9; pointer-events: auto; transform: scale(1); }
.work-card .media .badge {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2;
  font-size: 0.75rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.82); border: 1px solid rgba(14,26,43,0.10); color: var(--text);
}
.work-card h3 { font-size: 1.15rem; margin: var(--s-4) 0 var(--s-2); }
.work-card p { color: var(--muted); font-size: 0.92rem; }
.audio-card { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); }
.audio-card .cover { width: 64px; height: 64px; border-radius: var(--r-2); object-fit: cover; flex: 0 0 auto; }
.audio-card .meta { flex: 1; min-width: 0; }
.audio-card .meta h4 { font-size: 1rem; }
.audio-card .meta span { color: var(--muted); font-size: 0.85rem; }
.audio-card audio { width: 100%; margin-top: 6px; height: 32px; }

/* ---------- 合作伙伴 ---------- */
.partners { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.partner {
  padding: var(--s-4) var(--s-6); border: 1px solid var(--border); border-radius: var(--r-2);
  background: var(--surface); color: var(--muted); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(20,40,80,0.04);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.partner:hover { transform: translateY(-4px); color: var(--text); border-color: var(--cyan); }

/* ---------- CTA ---------- */
.cta {
  text-align: center; border-radius: var(--r-4); padding: var(--s-9) var(--s-6);
  background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
  box-shadow: 0 10px 40px rgba(20,40,80,0.06);
}
.cta::before { content: ""; position: absolute; inset: -40% 30% auto; height: 200px;
  background: radial-gradient(circle, rgba(33,180,232,0.18), transparent 70%); filter: blur(40px); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: var(--s-4); position: relative; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto var(--s-6); position: relative; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: var(--s-8) 0 var(--s-6); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-6); }
.footer-brand { max-width: 280px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: var(--s-4); }
.footer-slogan { color: var(--muted); font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s-7); }
.footer-col { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-key { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.footer-col a, .footer-col span { color: var(--muted); font-size: 0.95rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: 0.84rem; color: var(--faint); }
.footer-beian { margin-top: var(--s-2); font-size: 0.82rem; color: var(--muted); }
.footer-beian a { color: var(--cyan-d); text-decoration: none; }
.footer-beian a:hover { color: var(--cyan); }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-in > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-in > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-in > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-in > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-in > *:nth-child(6) { transition-delay: 400ms; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--cyan-d); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--cyan); color: #04121B;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .lang-switch { display: none; }
  .nav-toggle { display: block; }
  .nav-brand img { height: 44px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: var(--s-8) 0; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- 尊重 reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: opacity 0.3s ease !important; }
  .tagline .big .w { opacity: 1 !important; color: var(--text) !important; }
  .hero-slide { transition: opacity 0.3s ease !important; }
  .wave-bar { animation: none !important; }
}

/* =========================================================
   深色动态首页 HERO（仅 index.html）
   ========================================================= */
.hero-dark {
  position: relative; overflow: hidden; color: #fff;
  display: flex; align-items: center;
  /* 宽屏横版 Banner：3200×1376 ≈ 2.33:1（高度随宽度等比缩放，内容超出时自动增高） */
  aspect-ratio: 3200 / 1376;
  min-height: 560px;
  padding-top: calc(var(--nav-h) + var(--s-8)); padding-bottom: var(--s-9);
  background:
    radial-gradient(120% 120% at 78% 12%, #2d1556 0%, #1a0b35 42%, #0c0620 100%);
}
.hero-dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,5,26,0.92) 0%, rgba(10,5,26,0.55) 38%, rgba(10,5,26,0.10) 68%, rgba(10,5,26,0.18) 100%);
}
/* ---- 底图（用户提供的首页 Banner 图）+ 动态层 ---- */
.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* 1) 底图：缓慢呼吸式缩放（Ken Burns） */
.hero-photo {
  position: absolute; inset: -2%;
  background: url("assets/hero-bg.jpg") center / cover no-repeat;
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* 2) 呼吸光晕：叠在声波主体位置，缓慢脉动 */
.hero-bg .pulse {
  position: absolute; left: 60%; top: 44%; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,52,209,0.30) 0%, rgba(178,70,234,0.14) 45%, transparent 70%);
  filter: blur(46px);
  animation: breathe 5.5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 0.9; }
}

/* 3) 扫光轨迹：三条彩色光线从左向右掠过 */
.hero-streaks i {
  position: absolute; width: 200px; height: 1.5px; border-radius: 3px;
  opacity: 0; filter: drop-shadow(0 0 6px currentColor);
  animation: sweep var(--t, 7s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.hero-streaks i:nth-child(1) { top: 30%; left: 30%; color: #21B4E8; background: linear-gradient(90deg, transparent, #21B4E8, transparent); --t: 8s;  --d: 0s;   --r: -6deg; }
.hero-streaks i:nth-child(2) { top: 55%; left: 22%; color: #DC34D1; background: linear-gradient(90deg, transparent, #DC34D1, transparent); --t: 10s; --d: 2.6s; --r: -4deg; width: 260px; }
.hero-streaks i:nth-child(3) { top: 74%; left: 34%; color: #F38A1F; background: linear-gradient(90deg, transparent, #F38A1F, transparent); --t: 9s;  --d: 5.2s; --r: -8deg; width: 170px; }
@keyframes sweep {
  0%   { transform: translateX(-240px) rotate(var(--r)); opacity: 0; }
  12%  { opacity: 0.95; }
  60%  { opacity: 0.4; }
  100% { transform: translateX(58vw) rotate(var(--r)); opacity: 0; }
}

/* 4) 漂浮粒子：JS 生成，自下而上漂浮 */
.hero-particles span {
  position: absolute; bottom: -12px; border-radius: 50%;
  opacity: 0; filter: blur(0.4px);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: var(--o, 0.7); }
  82%  { opacity: var(--o, 0.7); }
  100% { transform: translate3d(var(--dx, 24px), calc(-1 * var(--dist, 42vh)), 0); opacity: 0; }
}

.hero-dark .wrap { position: relative; z-index: 2; }
.hero-slides { position: relative; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.hero-slide.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.hero-dark .hero-eyebrow {
  color: rgba(255,255,255,0.78); margin-bottom: var(--s-4); display: inline-flex; align-items: center; gap: var(--s-2);
}
.hero-dark .hero-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--magenta); border-radius: 2px; }
.hero-dark h1 {
  color: #fff; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.08;
  margin: var(--s-3) 0 var(--s-4); max-width: 17ch; text-shadow: 0 6px 40px rgba(0,0,0,0.35);
}
.hero-dark h1 .ln { display: block; }
.hero-dark h1 .grad {
  background: linear-gradient(100deg, #F38A1F 0%, #DC34D1 48%, #B246EA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-dark p.lead {
  color: rgba(255,255,255,0.84); font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 620px; margin-bottom: var(--s-6);
}
.hero-dark .hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* 按钮：了解更多（深色描边） */
.btn-outline {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 15px 34px; border-radius: var(--r-pill); font-weight: 700; font-size: 1.05rem;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.55); background: rgba(255,255,255,0.04);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-outline:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); border-color: #fff; }

/* 圆点指示器（右下角，避开左侧文字/按钮区） */
.hero-dots { position: absolute; right: var(--s-6); bottom: var(--s-5); left: auto; z-index: 3; display: flex; gap: 10px; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.30); cursor: pointer;
  transition: width var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-radius var(--dur-fast) var(--ease);
}
.hero-dots button.active { width: 26px; border-radius: 5px; background: linear-gradient(90deg, var(--magenta), var(--purple)); }

/* 胶囊按钮 AI Agent（导航右侧 / 全站） */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  border-radius: var(--r-pill); font-weight: 700; font-size: 1rem; color: #fff;
  background: linear-gradient(90deg, var(--magenta), var(--purple));
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 28px rgba(178,70,234,0.35);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(178,70,234,0.52); }

/* 深色导航（首页覆盖在深色 hero 上） */
.site-header.dark-nav .nav {
  background: rgba(18,10,38,0.42);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 10px 40px rgba(0,0,0,0.38);
}
.dark-nav .nav-link { color: rgba(255,255,255,0.80); }
.dark-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.10); }
.dark-nav .nav-link.is-active { color: #fff; background: rgba(255,255,255,0.14); }
.dark-nav .lang-switch { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); }
.dark-nav .lang-switch button { color: rgba(255,255,255,0.72); }
.dark-nav .lang-switch button.is-active { color: #fff; background: rgba(255,255,255,0.20); }
.dark-nav .nav-toggle span { background: #fff; }

@media (max-width: 720px) {
  .hero-bg .wave { width: 92%; right: -10%; opacity: 0.5; }
  .hero-dark h1 { font-size: clamp(2rem, 9vw, 3rem); }
}

/* ===== 模块页动态 banner（案例作品 / 商务合作，复用首页 hero-dark 动态体系）===== */
.hero-banner .hero-photo {
  background-image: url("assets/banner-purple.jpg");
}
.hero-dark.hero-banner h1 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 24ch;
  text-shadow: 0 6px 40px rgba(0,0,0,0.45);
}
.hero-dark.hero-banner h1 .grad {
  background: linear-gradient(100deg, #FFFFFF 0%, #BFE9FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-dark.hero-banner .eyebrow { color: #7FDFFF; }
.hero-dark.hero-banner .eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--magenta);
  border-radius: 2px; display: inline-block;
}
.hero-dark.hero-banner p.lead { color: rgba(255,255,255,0.85); }

/* ===== 剧本卡海报 ===== */
.card-poster {
  width: calc(100% + 2 * var(--s-6));
  margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) var(--s-5);
  aspect-ratio: 4 / 5; object-fit: cover; display: block;
}

/* ===== 首页业务卡：详情按钮统一钉在卡片底部 ===== */
.biz-grid > .card { display: flex; flex-direction: column; }
.biz-grid > .card > p:last-child { margin-top: auto !important; padding-top: var(--s-4); }

/* ===== AI Agent：三大平台入口（banner 即入口）===== */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.agent-entry {
  display: block;
  border-radius: var(--r-3);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  box-shadow: 0 6px 24px rgba(20, 40, 80, 0.08);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.agent-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.16);
}
.agent-entry .agent-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.agent-entry .agent-enter {
  position: absolute;
  left: 50%;
  bottom: var(--s-5);
  transform: translateX(-50%);
  display: inline-block;
  text-align: center;
  padding: var(--s-3) var(--s-6);
  font-weight: 600;
  color: #fff;
  background: rgba(18, 31, 48, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.agent-entry:hover .agent-enter {
  background: rgba(33, 180, 232, 0.88);
  transform: translateX(-50%) translateY(-2px);
}

/* ===== 平台子页：banner 顶部 + 即将上线 ===== */
.agent-hero { line-height: 0; }
.agent-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.agent-coming { padding: var(--s-9) 0 var(--s-10); }
.agent-coming .grad {
  background: linear-gradient(100deg, #21B4E8 0%, #B246EA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.agent-soon-note {
  margin-top: var(--s-4);
  color: var(--muted);
}
.agent-coming .btn-ghost { margin-top: var(--s-6); }

@media (max-width: 980px) {
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .agent-grid { grid-template-columns: 1fr; }
}
