/* 风格：撤离射击官网风 —— 近黑 + 冷蓝灰雾、浅灰文字、少量橙红点缀、细线框角标，标题做旧黄 */
:root {
  color-scheme: dark;
  --bg: #01070b;
  --panel: rgba(4, 16, 24, 0.72);
  --panel-2: rgba(8, 32, 46, 0.78);
  --cap: rgba(8, 40, 56, 0.94);
  --line: rgba(64, 200, 224, 0.22);
  --line-2: rgba(64, 224, 230, 0.6);
  --text: rgba(228, 240, 245, 0.94);
  --text-2: rgba(200, 220, 228, 0.82);
  --muted: #7c95a1;
  --accent: #33d6e8;
  --accent-2: #137f9c;
  --yellow: #e8f6fa;
  --font: "Bahnschrift", "DIN Alternate", "Segoe UI", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* 做旧遮罩：噪点映射成透明度，让文字边缘有磨损斑驳 */
  --wear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.32' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -9 7.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
::selection { background: var(--accent); color: #01070b; }

/* 全站氛围背景：冷蓝灰雾 + 斜雨丝 + 颗粒 + 暗角 */
.bg-atmo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(10, 70, 88, 0.55), transparent 70%),
    radial-gradient(55% 45% at 85% 70%, rgba(14, 34, 78, 0.5), transparent 70%),
    radial-gradient(90% 70% at 50% 100%, rgba(4, 24, 34, 0.9), transparent 70%),
    var(--bg);
}
.bg-atmo::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(103deg, rgba(90, 210, 235, 0.025) 0 1px, transparent 1px 7px),
    radial-gradient(ellipse 110% 90% at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.75));
}
.bg-atmo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--noise); opacity: 0.09; mix-blend-mode: overlay;
}

/* 右侧页面指示条：小圆点，当前页变成带编号的胶囊 */
.side-index {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 15;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.side-index a {
  display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(120, 190, 210, 0.4);
  position: relative; transition: background 0.25s, transform 0.25s;
}
.side-index a:hover { background: var(--text); transform: scale(1.25); }
.side-index a span {
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 700; color: #01070b; line-height: 1;
  padding: 4px 10px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 14px rgba(51, 214, 232, 0.6);
  opacity: 0; transition: opacity 0.25s;
}
.side-index a[aria-current="page"] { background: transparent; }
.side-index a[aria-current="page"] span { opacity: 1; }

/* 通用：圆角玻璃卡片（细渐变描边 + 跟随鼠标的光） */
.frame {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r, 18px);
  background:
    linear-gradient(var(--fill, rgba(6, 22, 32, 0.62)), var(--fill, rgba(6, 22, 32, 0.62))) padding-box,
    linear-gradient(150deg, rgba(64, 224, 230, 0.38), rgba(64, 200, 224, 0.08) 45%, rgba(64, 224, 230, 0.22)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s, box-shadow 0.25s;
}
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 214, 232, 0.12), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.frame:hover { box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(51, 214, 232, 0.35), 0 0 28px -8px rgba(51, 214, 232, 0.45); }
.frame:hover::before { opacity: 1; }

/* 图片区 + 标题条（像官网的活动卡片） */
.card-media {
  position: relative; display: grid; place-items: center; height: 170px;
  color: var(--accent);
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(30, 160, 190, 0.4), transparent 75%),
    linear-gradient(180deg, #072636, #03121b);
  overflow: hidden;
}
.card-media::after { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: 0.12; mix-blend-mode: overlay; }
.card-media svg, .card-media span svg { width: 64px; height: 64px; stroke-width: 1.2; }
.card-cap {
  background: var(--cap); color: var(--text);
  font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
  padding: 9px 14px; text-align: center;
}

/* 图标格子：圆角方块 */
.icon-box {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; color: var(--accent);
  background: linear-gradient(160deg, rgba(51, 214, 232, 0.16), rgba(51, 214, 232, 0.04));
  box-shadow: inset 0 0 0 1px rgba(64, 224, 230, 0.22);
}
.icon-box svg { width: 22px; height: 22px; }

/* 按钮：胶囊形 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.04em; padding: 11px 30px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, #3fe0ef, #1592b2); color: #021118;
  box-shadow: 0 8px 24px -8px rgba(51, 214, 232, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(51, 214, 232, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: rgba(64, 224, 230, 0.35); }
.btn-ghost:hover { background: rgba(51, 214, 232, 0.12); border-color: var(--accent); }
.btn-small { font-size: 13px; padding: 5px 16px; }
.btn-block { width: 100%; }

/* 方括号链接 */
.sec-meta, .splash-bracket {
  white-space: nowrap;
}

/* ========== 进站页 ========== */
body[data-page="splash"] .nav,
body[data-page="splash"] .footer { display: none; }
.splash {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 16px 90px; text-align: center;
}
.splash-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--gx, 50%) var(--gy, 40%), rgba(40, 180, 210, 0.16), transparent 70%),
    radial-gradient(30% 22% at 50% 42%, rgba(30, 120, 220, 0.12), transparent 70%);
}
/* 上升光点画布，铺满进站页、在内容后面 */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.splash-inner { position: relative; width: 100%; max-width: 1040px; }

/* Logo 自带深色底：用 screen 混合 + 边缘渐隐，让方形底融进背景 */
.splash-logo, .brand img {
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
.splash-logo { display: block; width: 100%; height: auto; }

/* ===== Logo 主视觉 ===== */
.logo-stage {
  --s: clamp(220px, 40vh, 380px);
  position: relative; width: var(--s); height: var(--s); margin: 0 auto -10px;
  perspective: 900px;
  animation: logo-in 1.1s cubic-bezier(.2,.8,.2,1) both;
}
/* 背后的呼吸光环 + 一圈慢慢转的刻度环 */
.logo-aura {
  position: absolute; inset: -14%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(51, 214, 232, 0.28), rgba(19, 127, 156, 0.12) 55%, transparent 72%);
  animation: breathe 4.5s ease-in-out infinite;
}
.logo-aura::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px dashed rgba(64, 224, 230, 0.28);
  -webkit-mask-image: conic-gradient(#000 0 70%, transparent 70% 78%, #000 78%);
  mask-image: conic-gradient(#000 0 70%, transparent 70% 78%, #000 78%);
  animation: spin 40s linear infinite;
}
.logo-tilt {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.35s ease-out;
  animation: float 6s ease-in-out infinite;
}
.logo-tilt .splash-logo { filter: drop-shadow(0 0 22px rgba(51, 214, 232, 0.45)); transition: filter 0.2s; }
/* 眼睛：叠一层青色光，忽明忽暗 */
.logo-eyes {
  position: absolute; left: 37%; top: 35.5%; width: 26%; height: 7%; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(120, 250, 255, 0.95), rgba(51, 214, 232, 0.4) 45%, transparent 75%) 0 50% / 46% 100% no-repeat,
    radial-gradient(closest-side, rgba(120, 250, 255, 0.95), rgba(51, 214, 232, 0.4) 45%, transparent 75%) 100% 50% / 46% 100% no-repeat;
  mix-blend-mode: screen; filter: blur(2px);
  animation: eyes 3.2s steps(1, end) infinite;
}
/* 扫光：一道斜光定期划过徽章 */
.logo-sweep {
  position: absolute; inset: 8%; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mix-blend-mode: overlay;
}
.logo-sweep::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  animation: sweep 5.5s ease-in-out infinite 1.5s;
}
/* 闪电闪烁（由 fx.js 随机加上 .zap） */
.logo-stage.zap .splash-logo { animation: zap 0.45s steps(1, end); }

@keyframes logo-in { from { opacity: 0; transform: scale(0.85); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes breathe { 0%, 100% { opacity: 0.7; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes eyes { 0%, 100% { opacity: 1; } 46% { opacity: 0.35; } 48% { opacity: 1; } 50% { opacity: 0.5; } 52% { opacity: 1; } }
@keyframes sweep { 0% { left: -40%; } 45%, 100% { left: 120%; } }
@keyframes zap {
  0% { filter: drop-shadow(0 0 30px rgba(120, 250, 255, 0.9)) brightness(1.6); }
  25% { filter: drop-shadow(0 0 22px rgba(51, 214, 232, 0.45)); }
  50% { filter: drop-shadow(0 0 36px rgba(120, 250, 255, 1)) brightness(1.8); }
  75%, 100% { filter: drop-shadow(0 0 22px rgba(51, 214, 232, 0.45)); }
}

.splash-inner .splash-title { font-size: clamp(60px, min(11vw, 14vh), 130px); }
.splash-over { margin-top: 6px; }
.splash-over {
  font-size: clamp(14px, 1.8vw, 20px); font-weight: 700; letter-spacing: 0.24em; text-indent: 0.24em;
  color: #fff; animation: rise 0.7s 0.3s cubic-bezier(.2,.7,.2,1) both;
}
.splash-title, .hero-title {
  font-size: clamp(80px, min(17vw, 22vh), 200px);
  font-weight: 700; font-stretch: condensed; line-height: 0.92; letter-spacing: 0.01em;
  color: var(--yellow);
  text-shadow: 0 0 28px rgba(51, 214, 232, 0.55), 0 0 2px rgba(51, 214, 232, 0.8);
}
.splash-title span {
  display: inline-block;
  animation: letter 0.8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(0.35s + var(--i) * 55ms);
}
.splash-bracket {
  font-size: clamp(17px, 2.2vw, 24px); font-weight: 600; letter-spacing: 0.1em;
  color: var(--yellow); margin-top: 10px;
  animation: rise 0.7s 0.75s cubic-bezier(.2,.7,.2,1) both;
}
.splash-menu {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 36px auto 0;
}
/* 入口：方形描边小格（参考官网的平台按钮） */
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 118px; height: 96px; color: var(--text); border-radius: 20px;
  background:
    linear-gradient(rgba(6, 22, 32, 0.6), rgba(6, 22, 32, 0.6)) padding-box,
    linear-gradient(150deg, rgba(64, 224, 230, 0.5), rgba(64, 200, 224, 0.1) 50%, rgba(64, 224, 230, 0.3)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, color 0.2s;
  animation: rise 0.6s cubic-bezier(.2,.7,.2,1) both;
}
.tile:nth-child(1) { animation-delay: 0.9s; }
.tile:nth-child(2) { animation-delay: 0.96s; }
.tile:nth-child(3) { animation-delay: 1.02s; }
.tile:nth-child(4) { animation-delay: 1.08s; }
.tile svg { width: 28px; height: 28px; }
.tile b { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; }
.tile svg { color: var(--accent); }
.tile:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 0 0 1px rgba(51, 214, 232, 0.5), 0 12px 30px -10px rgba(51, 214, 232, 0.6); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 40px; width: 14px; height: 22px; margin-left: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) 50% 0 / 1px 14px no-repeat;
  animation: cue 1.8s ease-in-out infinite;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 9px; height: 9px;
  border: solid var(--accent); border-width: 0 1px 1px 0;
  transform: translateX(-50%) rotate(45deg);
}

/* ========== 导航 ========== */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(1, 8, 13, 0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 200, 224, 0.2);
}
.nav-inner {
  max-width: 1160px; height: 58px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 0.06em; }
.brand img { width: 44px; height: 44px; margin: -6px 0 -6px -10px; }
.nav nav { display: flex; gap: 4px; margin-right: auto; margin-left: 36px; }
.nav nav a {
  position: relative; color: #8ea9b5; font-size: 15px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav nav a[aria-current="page"] { color: #fff; background: rgba(51, 214, 232, 0.14); box-shadow: inset 0 0 0 1px rgba(51, 214, 232, 0.35); }
.nav-right { display: flex; align-items: center; gap: 12px; }
/* 语言切换：胶囊分段按钮 */
.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(64, 224, 230, 0.25);
}
.lang-switch button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  min-width: 34px; padding: 4px 9px; border: 0; border-radius: 999px; cursor: pointer;
  color: #8ea9b5; background: transparent; transition: color 0.2s, background 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { color: #021118; background: linear-gradient(135deg, #3fe0ef, #1592b2); }
.splash-lang { position: absolute; top: 20px; right: 24px; z-index: 3; animation: rise 0.6s 0.4s both; }
.nav-cta {
  font-size: 14px; font-weight: 700; color: #021118; letter-spacing: 0.04em;
  padding: 7px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #3fe0ef, #1592b2);
  box-shadow: 0 6px 18px -6px rgba(51, 214, 232, 0.7);
}
.nav-cta:hover { box-shadow: 0 8px 24px -6px rgba(51, 214, 232, 0.9); }
.nav-toggle {
  display: none; width: 36px; height: 36px; margin-right: -8px;
  background: none; border: none; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: var(--text); transition: transform 0.25s;
}
.nav-toggle span:first-child { top: 13px; }
.nav-toggle span:last-child { top: 21px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ========== 页面 ========== */
.view {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 58px);
  animation: rise 0.5s cubic-bezier(.2,.7,.2,1) both;
}
.view > .section:last-child { flex: 1; }

.hero {
  text-align: center;
  padding: 110px 22px 90px;
  max-width: 980px; margin: 0 auto;
}
.hero .hero-title { font-size: clamp(64px, 12vw, 140px); }
.hero-logo { display: block; margin: 0 auto 4px; width: clamp(110px, 18vh, 170px); }
/* 首页只剩首屏：在页面里上下居中 */
.view > .hero:last-child { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lead {
  color: var(--text-2); font-size: 17px;
  max-width: 560px; margin: 22px auto 0; text-wrap: balance;
}
.hero-actions {
  margin-top: 34px;
  display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap;
}
/* 首页热门产品 */
.hot { margin: 44px auto 0; width: 100%; max-width: 900px; }
.hot-title {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-indent: 0.3em; color: var(--accent);
}
.hot-title::before, .hot-title::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.hot-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hot-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  flex: 1 1 260px; max-width: 300px; padding: 14px 16px; color: var(--text);
}
.hot-card:hover { transform: translateY(-2px); }
.hot-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hot-info b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.hot-info small { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
/* 产品小标签（热门 / 新品…） */
.p-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: #01070b; background: var(--accent); padding: 2px 10px; border-radius: 999px;
}
.card-media .p-tag { position: absolute; top: 12px; left: 12px; z-index: 1; }

/* 产品图标：自己的图片显示成圆角方块；没设图标时用 Logo（和别处 Logo 一样融进背景） */
.p-icon { display: block; width: 92px; height: 92px; border-radius: 22px; object-fit: cover; position: relative; z-index: 1;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(64, 224, 230, 0.25); }
.p-icon-logo {
  width: 128px; height: 128px; border-radius: 0; box-shadow: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  filter: drop-shadow(0 0 16px rgba(51, 214, 232, 0.4));
}
.dl-card:hover .p-icon { transform: scale(1.04); }
.p-icon { transition: transform 0.3s; }
.p-thumb {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: rgba(0, 0, 0, 0.25);
}
.p-thumb .p-icon { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.p-thumb .p-icon-logo { width: 130%; height: 130%; filter: none; }

/* 模型下载行 */
.model-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; word-break: break-all; }
.tag-model { border-color: var(--accent-2); color: var(--accent); }
.model-row .rt-links { align-items: center; }

.section { padding: 80px 22px 110px; }
.section > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
/* 窄于 1000px 的块：和标题左对齐，而不是居中 */
.section > .faq, .section > .help-more, .section > .community-cards {
  margin-left: max(0px, calc((100% - 1000px) / 2));
}

/* 区块标题：左对齐 + 红色小三角 + 下划线（左段高亮） */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding-bottom: 10px; position: relative;
  border-bottom: 1px solid var(--line);
}
.sec-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 140px; height: 2px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; line-height: 1.1;
  color: var(--text); letter-spacing: 0.04em;
  display: flex; align-items: flex-start; gap: 10px;
}
.sec-head h2::after {
  content: ""; margin-top: 0.3em;
  border: 5px solid transparent; border-right-color: var(--accent); border-left-width: 0;
}
.sec-head-sm h2 { font-size: clamp(22px, 3vw, 30px); }
.sec-meta { font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; padding-bottom: 4px; }
a.sec-meta:hover { color: #8ff0fa; }
.section-sub { color: var(--muted); margin-top: 14px; }


/* 下载卡片 */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 36px; }
.dl-card { scroll-margin-top: 90px; }
.dl-card { --fill: rgba(3, 14, 21, 0.9); padding: 0 0 24px; text-align: center; }
.dl-card .card-media { height: 150px; }
.dl-card .card-cap { font-size: 20px; padding: 9px 14px; }
.dl-card > :not(.card-media):not(.card-cap) { margin-left: 24px; margin-right: 24px; }
.dl-card > .btn-block { display: flex; width: auto; }
.dl-note { color: var(--muted); font-size: 14px; margin-top: 14px; }
.dl-specs { margin: 16px 0 22px; text-align: left; }
.dl-specs div {
  display: flex; justify-content: space-between; padding: 8px 2px;
  border-bottom: 1px dashed rgba(64, 200, 224, 0.22);
}
.dl-specs dt { font-size: 14px; color: var(--muted); }
.dl-specs dt::before { content: "▸ "; color: var(--text-2); }
.dl-specs dd { font-size: 15px; font-weight: 700; color: var(--text); }
.dl-file { color: var(--muted); font-size: 12px; margin-top: 12px; word-break: break-all; }

/* 下载中心 · 运行库与驱动 */
.subsection { margin-top: 80px; scroll-margin-top: 80px; }
.runtimes { display: grid; gap: 8px; margin-top: 22px; }
.rt-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; }
.rt-info { flex: 1; min-width: 0; }
.rt-info h3 { font-size: 18px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rt-info p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.rt-links { display: flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 1px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.tag-必需 { border-color: var(--accent-2); color: var(--accent); }
.tag-推荐 { border-color: var(--line-2); color: var(--text-2); }

/* 常见问题 */
.faq { display: grid; gap: 6px; margin-top: 32px; max-width: 820px; }
.faq details { padding: 0 20px; }
.faq details[open] { --fill: var(--panel-2); border-color: var(--line-2); }
.faq summary {
  cursor: pointer; font-size: 17px; font-weight: 700; color: var(--text); list-style: none; padding: 16px 0;
  display: flex; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; flex-shrink: 0;
  border: 5px solid transparent; border-left: 7px solid var(--muted); border-right-width: 0;
  transition: transform 0.25s, border-color 0.25s;
}
.faq details[open] summary::before { transform: rotate(90deg); border-left-color: var(--accent); }
.faq details p { color: var(--text-2); font-size: 15px; padding: 0 0 18px 19px; margin-top: -4px; }
.help-more { margin-top: 32px; max-width: 820px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.help-more p { color: var(--text-2); }
.help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-tg a + a { margin-left: 14px; }

/* 交流社区 */
.community-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 940px; margin-top: 32px; }
.community-card { --fill: rgba(3, 14, 21, 0.9); padding-bottom: 22px; display: flex; flex-direction: column; }
.community-card .community-points { flex: 1; }
.community-points {
  list-style: none; margin: 18px 24px 22px; display: grid; gap: 4px;
  color: var(--text-2); font-size: 15px;
}
.community-points li::before { content: "▸ "; color: var(--text); }
.community-card .btn { width: calc(100% - 48px); margin: 0 24px; }
.btn.is-disabled {
  background: rgba(64, 200, 224, 0.08); border-color: var(--line); color: var(--muted);
  pointer-events: none; cursor: default;
}

/* 页脚 */
.footer { border-top: 1px solid rgba(64, 200, 224, 0.18); background: rgba(1, 6, 10, 0.8); }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 24px 28px 32px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.03em;
}
.footer-inner p + p { margin-top: 8px; }
.footer-tg a { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.footer-tg svg { width: 14px; height: 14px; }

/* 未填写占位内容提醒（仅本地预览可见） */
.placeholder-warn {
  position: relative; z-index: 20;
  background: #2e2408; color: #ffd60a; border-bottom: 1px solid #5a4510;
  font-size: 13px; padding: 10px 22px; text-align: center;
}
.placeholder-warn code { font-family: Consolas, monospace; }

/* 滚动渐显 */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1), border-color 0.25s; }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:hover { transition: transform 0.25s, border-color 0.25s; }


@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes letter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }

/* ========== 主题切换按钮 ========== */
.theme-toggle {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--accent);
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(64, 224, 230, 0.25);
  transition: background 0.2s, transform 0.3s;
}
.theme-toggle:hover { background: rgba(51, 214, 232, 0.14); transform: rotate(-15deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.splash-lang { display: flex; align-items: center; gap: 8px; }

/* ========== 浅色主题（html[data-theme="light"]）==========
   只覆盖颜色；布局、动画和深色主题共用 */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef5f8;
  --panel: rgba(255, 255, 255, 0.75);
  --panel-2: rgba(255, 255, 255, 0.95);
  --cap: rgba(226, 242, 247, 0.96);
  --line: rgba(14, 120, 150, 0.2);
  --line-2: rgba(14, 130, 160, 0.45);
  --text: #0b2230;
  --text-2: #2c4a58;
  --muted: #5d7b88;
  --accent: #0a97b1;
  --accent-2: #087c94;
  --yellow: #0b2230;
}
html[data-theme="light"] ::selection { color: #fff; }
html[data-theme="light"] .bg-atmo {
  background:
    radial-gradient(60% 50% at 18% 25%, rgba(51, 214, 232, 0.22), transparent 70%),
    radial-gradient(55% 45% at 85% 75%, rgba(60, 130, 230, 0.14), transparent 70%),
    linear-gradient(180deg, #f4f9fb, #e6f0f4);
}
html[data-theme="light"] .bg-atmo::before {
  background: repeating-linear-gradient(103deg, rgba(10, 120, 150, 0.025) 0 1px, transparent 1px 7px);
}
html[data-theme="light"] .bg-atmo::after { opacity: 0.05; mix-blend-mode: multiply; }
html[data-theme="light"] .side-index a { background: rgba(10, 100, 125, 0.28); }
html[data-theme="light"] .side-index a span { color: #fff; box-shadow: 0 4px 12px -2px rgba(10, 150, 180, 0.5); }
/* 卡片：白色磨砂玻璃 */
html[data-theme="light"] .frame {
  background:
    linear-gradient(var(--fill, rgba(255, 255, 255, 0.72)), var(--fill, rgba(255, 255, 255, 0.72))) padding-box,
    linear-gradient(150deg, rgba(10, 160, 190, 0.4), rgba(10, 140, 170, 0.08) 45%, rgba(10, 160, 190, 0.25)) border-box;
  box-shadow: 0 16px 36px -22px rgba(8, 50, 70, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
html[data-theme="light"] .frame::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 170, 200, 0.1), transparent 65%); }
html[data-theme="light"] .frame:hover { box-shadow: 0 18px 40px -20px rgba(8, 50, 70, 0.45), 0 0 0 1px rgba(10, 160, 190, 0.35), 0 0 24px -10px rgba(10, 170, 200, 0.5); }
html[data-theme="light"] .dl-card, html[data-theme="light"] .community-card { --fill: rgba(255, 255, 255, 0.88); }
html[data-theme="light"] .card-media {
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(51, 214, 232, 0.35), transparent 75%),
    linear-gradient(180deg, #e4f3f7, #cfe7ee);
}
html[data-theme="light"] .card-media::after { opacity: 0.06; }
html[data-theme="light"] .icon-box { background: linear-gradient(160deg, rgba(10, 160, 190, 0.16), rgba(10, 160, 190, 0.04)); box-shadow: inset 0 0 0 1px rgba(10, 150, 180, 0.25); }
html[data-theme="light"] .btn-primary { box-shadow: 0 8px 20px -8px rgba(10, 150, 180, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
html[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, 0.7); border-color: rgba(10, 140, 170, 0.35); }
html[data-theme="light"] .btn-ghost:hover { background: rgba(10, 170, 200, 0.1); }
html[data-theme="light"] .btn.is-disabled { background: rgba(10, 120, 150, 0.08); }
/* Logo 自带深色底：浅色主题下不做混合，直接当成一枚深色圆形徽章 */
html[data-theme="light"] .splash-logo, html[data-theme="light"] .brand img, html[data-theme="light"] .p-icon-logo { mix-blend-mode: normal; }
html[data-theme="light"] .p-icon-logo { filter: drop-shadow(0 8px 18px rgba(8, 50, 70, 0.3)); }
html[data-theme="light"] .p-thumb { background: rgba(10, 120, 150, 0.08); }
html[data-theme="light"] .p-thumb .p-icon-logo { filter: none; }
html[data-theme="light"] .logo-tilt .splash-logo { filter: drop-shadow(0 14px 30px rgba(8, 50, 70, 0.35)); }
html[data-theme="light"] .logo-aura { background: radial-gradient(closest-side, rgba(51, 214, 232, 0.3), rgba(51, 214, 232, 0.08) 60%, transparent 74%); }
html[data-theme="light"] .logo-aura::after { border-color: rgba(10, 140, 170, 0.35); }
html[data-theme="light"] .splash-glow {
  background:
    radial-gradient(520px circle at var(--gx, 50%) var(--gy, 40%), rgba(51, 214, 232, 0.16), transparent 70%),
    radial-gradient(30% 22% at 50% 42%, rgba(60, 140, 230, 0.1), transparent 70%);
}
html[data-theme="light"] .splash-over { color: var(--text); }
html[data-theme="light"] .splash-title, html[data-theme="light"] .hero-title { text-shadow: 0 0 26px rgba(10, 180, 210, 0.3); }
html[data-theme="light"] .splash-bracket { color: var(--accent-2); }
html[data-theme="light"] .tile {
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)) padding-box,
    linear-gradient(150deg, rgba(10, 160, 190, 0.5), rgba(10, 140, 170, 0.1) 50%, rgba(10, 160, 190, 0.3)) border-box;
}
html[data-theme="light"] .tile:hover { color: var(--text); box-shadow: 0 0 0 1px rgba(10, 160, 190, 0.45), 0 12px 26px -12px rgba(10, 150, 180, 0.55); }
html[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.78); border-bottom-color: rgba(10, 120, 150, 0.15); }
html[data-theme="light"] .brand { color: var(--text); }
html[data-theme="light"] .nav nav a { color: #4b6b78; }
html[data-theme="light"] .nav nav a:hover { color: var(--text); background: rgba(10, 120, 150, 0.06); }
html[data-theme="light"] .nav nav a[aria-current="page"] { color: var(--text); background: rgba(10, 170, 200, 0.12); box-shadow: inset 0 0 0 1px rgba(10, 160, 190, 0.3); }
html[data-theme="light"] .lang-switch, html[data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px rgba(10, 140, 170, 0.28); }
html[data-theme="light"] .lang-switch button { color: #4b6b78; }
html[data-theme="light"] .lang-switch button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #22c3dc, #0a7f97); }
html[data-theme="light"] .p-tag { color: #fff; }
html[data-theme="light"] a.sec-meta:hover { color: var(--accent-2); }
html[data-theme="light"] .dl-specs div { border-bottom-color: rgba(10, 120, 150, 0.2); }
html[data-theme="light"] .footer { background: rgba(255, 255, 255, 0.6); border-top-color: rgba(10, 120, 150, 0.15); }

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .side-index { display: none; }
}
@media (max-width: 680px) {
  .splash { padding: 80px 16px 80px; }
  .logo-stage { --s: clamp(200px, 34vh, 300px); }
  .splash-inner .splash-title { font-size: clamp(56px, 17vw, 96px); }
  .splash-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 340px; }
  .tile { width: auto; height: 84px; }
  .scroll-cue { bottom: 30px; }

  .nav-inner { height: 56px; padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .splash-lang { top: 14px; right: 14px; }
  .nav nav {
    position: absolute; top: 56px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; padding: 8px 12px 14px;
    background: rgba(2, 10, 16, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open nav { display: flex; }
  .nav nav a { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
  html[data-theme="light"] .nav nav { background: rgba(255, 255, 255, 0.98); }
  .nav-right { gap: 8px; }

  .view { min-height: calc(100vh - 56px); }
  .hero { padding: 72px 16px 64px; }
  .section { padding: 56px 16px 80px; }
  .sec-head { flex-wrap: wrap; }
  .lead { font-size: 16px; }
  .rt-row { flex-wrap: wrap; align-items: flex-start; padding: 16px; gap: 14px; }
  .rt-info { flex-basis: calc(100% - 64px); }
  .rt-links { width: 100%; padding-left: 60px; }
  .subsection { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
