﻿/* =====================================================================
   NOVA — 静态单页模板
   风格参考：深色底 + 荧光绿主色 + 毛玻璃 + 极光背景 + 滚动入场
   技术点（全部原生于 CSS / 浏览器 API，无任何依赖）：
     · 毛玻璃：backdrop-filter + 多层 inset 阴影
     · 极光：多层 radial-gradient + blur + mix-blend-mode
     · 光条：斜切渐变 + mask-image
     · 入场：CSS transition + IntersectionObserver（配合 --i 做交错）
     · 数字滚动：requestAnimationFrame + easeOutCubic（见 main.js）
     · FAQ：grid-template-rows 0fr → 1fr
     · 无缝跑马灯：CSS keyframes + 复制一份内容
   ===================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #0B0B0C;
  --bg-soft: #141416;
  --accent: #7DFF00;
  --accent-soft: #C4FF8B;
  --accent-deep: #4B9900;

  --text: rgba(255, 255, 255, 0.86);
  --text-dim: rgba(255, 255, 255, 0.56);
  --text-mute: rgba(255, 255, 255, 0.38);

  --line: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-line: rgba(255, 255, 255, 0.1);

  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --container: 1200px;
  --nav-h: 62px;
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, li { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: rgba(125, 255, 0, 0.25); color: #fff; }

/* 只给屏幕阅读器看的文本 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. 背景层 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #16300a 0%, #0d1408 38%, var(--bg) 70%);
}

/* 极光：几团模糊的绿色光斑，缓慢漂移 */
.bg-aurora {
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 140vh;
  background:
    radial-gradient(38% 32% at 22% 30%, rgba(125, 255, 0, 0.30), transparent 70%),
    radial-gradient(34% 30% at 70% 22%, rgba(80, 220, 0, 0.22), transparent 72%),
    radial-gradient(46% 34% at 52% 62%, rgba(38, 140, 0, 0.20), transparent 70%);
  filter: blur(60px) saturate(130%);
  mix-blend-mode: screen;
  animation: aurora-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, -1%, 0) scale(1.02); }
}

/* 光条：三道斜向渐变，用 mask 让两头淡出 */
.bg-rays {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 90vh;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 78%);
}
.bg-rays span {
  position: absolute;
  top: -20%;
  width: 120px;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(125, 255, 0, 0.20), transparent);
  filter: blur(28px);
  transform: rotate(18deg);
}
.bg-rays span:nth-child(1) { left: 18%; }
.bg-rays span:nth-child(2) { left: 48%; width: 90px; opacity: 0.7; transform: rotate(14deg); }
.bg-rays span:nth-child(3) { left: 76%; width: 150px; opacity: 0.55; transform: rotate(22deg); }

/* 细网格，只在中部可见 */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 38%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 38%, #000 0%, transparent 75%);
}

/* 底部压暗，避免背景抢内容 */
.bg-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 55vh;
  background: linear-gradient(180deg, transparent, var(--bg) 72%);
}

/* 噪点：一个内联 SVG，增加质感 */
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 跟随鼠标的柔光（桌面端才有） */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 780px;
  height: 780px;
  margin: -390px 0 0 -390px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(125, 255, 0, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.spotlight.is-on { opacity: 1; }

/* ---------- 4. 通用组件 ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 0.55),
    inset -1.5px -1.5px 1px -1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 14px 18px -14px rgba(255, 255, 255, 0.20),
    0 18px 40px -24px rgba(0, 0, 0, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #0B0B0C;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 10px 30px -12px rgba(125, 255, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(125, 255, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* 渐变文字：标题与数字都用它 */
/* 中英混排：英文一律做"次要注脚" */
.en {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.en-inline {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  margin-left: 8px;
  font-weight: 500;
}
.section-title .en {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.card h3 .en { font-size: 11px; letter-spacing: 0.1em; margin-left: 6px; }
.footer h4 .en { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.12em; }
.faq-q .en-inline { display: block; margin: 3px 0 0; letter-spacing: 0.04em; }
.quote footer .en-inline { margin-left: 6px; font-size: 11px; }
.grad {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(125, 255, 0, 0.9);
}

/* ---------- 5. 导航 ---------- */
.nav {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, var(--container));
  height: var(--nav-h);
  padding: 0 22px;
  border-radius: var(--radius-sm);
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav.is-scrolled .nav-pill {
  background: rgba(10, 10, 11, 0.72);
  box-shadow: 0 22px 46px -26px rgba(0, 0, 0, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
/* 原站 logo（图标 + 字标一体的 SVG，138×32） */
.brand-logo { display: block; height: 26px; width: auto; }
.brand-name { font-weight: 700; letter-spacing: 0.04em; font-size: 17px; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.3s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: #fff; font-weight: 600; }

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

/* 汉堡按钮：两根线，展开时交叉 */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.menu-btn span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.28s var(--ease-out), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  width: min(100%, 420px);
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
}
.menu[hidden] { display: none; }
.menu a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  transition: background-color 0.2s, color 0.2s;
}
.menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  row-gap: 12px;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 24px 40px;
  text-align: center;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, 1320px);
  margin-bottom: 22px;
}

/* 左右两半：中文大字 + 英文小注 */
.hero-side { display: grid; gap: 12px; }
.hero-side--l { justify-items: end; padding-right: 18px; }
.hero-side--r { justify-items: start; padding-left: 18px; }

.hero-word {
  white-space: nowrap;
  font-size: clamp(34px, 6.4vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 40px rgba(125, 255, 0, 0.25);
  will-change: transform;
}
.hero-side--l .hero-word,
.hero-side--r .hero-word { margin: 0; }

.hero-cap {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-cap--left { margin-top: 10px; letter-spacing: 0.18em; }

/* 手机模型：纯 CSS + 内联 SVG 头像 */
.phone {
  position: relative;
  z-index: 2;
  width: clamp(168px, 15vw, 222px);
  aspect-ratio: 390 / 800;
  animation: phone-float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(125, 255, 0, 0.28), transparent 70%);
  filter: blur(30px);
}
.phone-body {
  position: absolute;
  inset: 0;
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2a2c2e, #0c0d0e 45%, #050506);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 3px #0a0b0c,
    0 40px 80px -30px rgba(0, 0, 0, 1),
    0 0 60px -18px rgba(125, 255, 0, 0.35);
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 34%;
  height: 18px;
  transform: translateX(-50%);
  background: #050506;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #0e120f, #070908 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.chat-head-txt { display: grid; gap: 1px; text-align: left; }
.chat-head-txt b { font-size: 13px; font-weight: 600; }
.chat-head-txt small { font-size: 10px; color: var(--accent); opacity: 0.9; }
.chat-badge {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #0B0B0C;
  background: var(--accent);
}
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; }

.chat-list { display: grid; gap: 2px; padding: 8px; }
.chat-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 12px;
  text-align: left;
}
.chat-list li.is-active { background: rgba(125, 255, 0, 0.09); box-shadow: inset 0 0 0 1px rgba(125, 255, 0, 0.22); }
.chat-row { display: grid; gap: 1px; min-width: 0; }
.chat-row b { font-size: 12px; font-weight: 600; }
.chat-row small {
  font-size: 10.5px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-list time { font-size: 10px; color: var(--text-mute); }

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto 10px 14px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 11px;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.chat-input .send {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(125, 255, 0, 0.75);
}

/* 首屏文案 */
.hero-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: min(100%, 1100px);
  margin: 0 auto;
  text-align: left;
}
.hero-tagline {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.hero-desc { font-size: 15px; color: var(--text-dim); max-width: 46ch; }
.hero-desc-en { margin-top: 10px; font-size: 12.5px; line-height: 1.65; color: var(--text-mute); max-width: 52ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 漂浮药丸：贴着手机两侧，避开大字 */
.float-card {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  animation: float-y 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card--a { left: calc(50% - 330px); top: 3%; }
.float-card--b { right: calc(50% - 246px); top: 70%; animation-delay: 1.2s; }
.float-card--c { left: calc(50% - 318px); bottom: 3%; animation-delay: 2.4s; }

/* ---------- 7. 区块通用 ---------- */
.section {
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 88px 24px;
}
.section-head { margin-bottom: 48px; max-width: 780px; }
.section-title {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.section-title .sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0;
}

/* ---------- 8. 功能卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 255, 0, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(125, 255, 0, 0.22),
    0 26px 50px -30px rgba(0, 0, 0, 1),
    0 0 40px -22px rgba(125, 255, 0, 0.6);
}
/* 图标用原站的 3D webp（透明底），hover 时轻微上浮 */
.card-ico {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s var(--ease-out);
}
.card:hover .card-ico { transform: translateY(-3px) scale(1.05); }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- 9. 数据 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.stat {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: var(--radius);
  text-align: left;
  min-width: 0;
}
/* 原站的数据图标：SVG 自带 0.2 透明度，当作卡片右上角的水印 */
.stat-ico {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 76px;
  height: 76px;
  filter: brightness(1.35) saturate(1.15);
  pointer-events: none;
  z-index: 0;
}
/* 数字与文字压在图标之上 */
.stat > p { position: relative; z-index: 1; }
.stat > .stat-num { z-index: 2; }
.stat-num {
  white-space: nowrap;
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #b9ff7a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-label { margin-top: 6px; font-size: 15px; color: var(--text); }
.stat-sub { margin-top: 4px; font-size: 13px; color: var(--text-mute); }
.stat-sub .hl { color: var(--accent); }

/* ---------- 10. 跑马灯 ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  width: 320px;
  padding: 24px;
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--text-dim);
}
.quote footer { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 600; }
.quote footer .avatar { width: 26px; height: 26px; }

/* ---------- 11. FAQ ---------- */
/* FAQ：标题与手风琴共用一条 900px 的居中列 */
.section--faq .section-head { max-width: 900px; margin-left: auto; margin-right: auto; }
.faq { display: grid; gap: 12px; width: 100%; max-width: 900px; margin-inline: auto; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.25s; }
.faq-item.is-open { border-color: rgba(255, 255, 255, 0.28); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover { color: #fff; }

.faq-toggle {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.faq-toggle i {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: opacity 0.25s, background-color 0.25s;
}
.faq-toggle .h { width: 11px; height: 1.5px; }
.faq-toggle .v { width: 1.5px; height: 11px; }
.faq-item.is-open .faq-toggle {
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(125, 255, 0, 0.6);
}
.faq-item.is-open .faq-toggle i { background: #0B0B0C; }
.faq-item.is-open .faq-toggle .v { opacity: 0; }

/* 高度动画：0fr → 1fr，浏览器自己插值，不需要 JS 量高度 */
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a { padding: 0 20px 20px; font-size: 14.5px; color: var(--text-dim); }

/* ---------- 12. CTA ---------- */
.section--cta { padding-bottom: 130px; }
.cta {
  position: relative;
  overflow: hidden;
  padding: 62px 40px;
  border-radius: 24px;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(40% 50% at 30% 20%, rgba(125, 255, 0, 0.30), transparent 70%),
    radial-gradient(36% 46% at 72% 70%, rgba(75, 153, 0, 0.35), transparent 72%);
  filter: blur(40px);
  opacity: 0.8;
  pointer-events: none;
}
.cta > * { position: relative; }
.cta-title {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}
.cta-en { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute); }
.cta-desc { margin-top: 14px; color: var(--text-dim); font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.cta-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-top: 30px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- 13. 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 54px 24px 40px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  width: min(100%, var(--container));
  margin: 0 auto;
}
.footer-brand { display: grid; gap: 6px; align-content: start; }
.footer-brand p { font-size: 13px; color: var(--text-mute); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols h4 { font-size: 13px; font-weight: 600; color: #fff; }
.footer-cols a { font-size: 13.5px; color: var(--text-mute); transition: color 0.2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-copy {
  width: min(100%, var(--container));
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
}

/* ---------- 14. 滚动入场（JS 只负责加 .is-in） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translate3d(-64px, 0, 0); }
[data-reveal="right"] { transform: translate3d(64px, 0, 0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* 首屏元素之间再错开一点 */
.hero [data-reveal]:nth-child(1) { --i: 0; }
.hero .hero-copy [data-reveal] { --i: 1; }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; }
  .float-card--a { left: 2%; }
  .float-card--b { right: 2%; }
}

@media (max-width: 900px) {
  .nav { top: 14px; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .menu:not([hidden]) { display: flex; animation: menu-in 0.28s var(--ease-out); }
  @keyframes menu-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }

  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }
  .hero-word { font-size: clamp(34px, 11vw, 58px); text-align: center; }
  .hero-side--l, .hero-side--r { justify-items: center; }
  .hero-side--l .hero-word, .hero-side--r .hero-word { margin: 0; }
  .hero-side { gap: 8px; }
  .phone { order: 3; margin-top: 14px; width: min(58vw, 240px); }
  .hero-copy { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .float-card { display: none; }

  .section { padding: 60px 20px; }
  .section-head { margin-bottom: 32px; }
  .cta { padding: 44px 22px; border-radius: 18px; }
  .footer-cols { gap: 32px; }
}

@media (max-width: 520px) {
  .cards, .stats { grid-template-columns: 1fr; }
  .quote { width: 268px; }
  .btn { height: 44px; padding: 0 18px; }
}

/* ---------- 16. 无障碍：尊重"减少动态" ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
