/* ============================================================
   韵加速官网 · 「深空网络」设计系统
   Deep Network Design System for yjiasu.com
   依赖: Bootstrap 5.3 (仅栅格/交互骨架) — 视觉层完全自定义
   ============================================================ */

/* ---------- 字体（本地化，无外部依赖） ---------- */
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/outfit-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jbmono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jbmono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Press Start 2P';
  src: url('/assets/fonts/press-start-2p.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* 色板 */
  --bg-0: #05070d;
  --bg-1: #0a0e18;
  --bg-2: #0e1524;
  --ink: #e8edf7;
  --ink-2: #9aa7bd;
  --ink-3: #5b6980;
  --brand-1: #2facff;
  --brand-2: #1a67ff;
  --brand-mid: #1f8bff;
  --violet: #7c3aed;
  --gold: #ffb142;
  --green: #2fd684;
  --red: #ff5d6c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);

  /* 渐变 */
  --grad-brand: linear-gradient(100deg, #2facff 0%, #1a67ff 100%);
  --grad-brand-soft: linear-gradient(100deg, rgba(47, 172, 255, 0.16), rgba(26, 103, 255, 0.1));
  --grad-line: linear-gradient(90deg, transparent, rgba(47, 172, 255, 0.55), rgba(124, 58, 237, 0.4), transparent);
  --grad-gold: linear-gradient(100deg, #ffd37a, #ffb142);

  /* 字体 */
  --font-sans: 'Outfit', 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'SF Mono', Consolas, monospace;
  --font-pixel: 'Press Start 2P', 'JetBrains Mono', monospace;

  /* 尺寸 */
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --promo-h: 42px;
  --chrome: calc(var(--header-h) + var(--promo-h));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow: 0 8px 40px -8px rgba(31, 139, 255, 0.55);
}

/* ---------- 基础 ---------- */
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--chrome) + 16px);
}
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--promo-h);
}
::selection {
  background: rgba(47, 172, 255, 0.35);
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2facff66, #1a67ff66);
  border-radius: 8px;
  border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2facffaa, #1a67ffaa);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #1a67ff66 var(--bg-0);
}
a {
  color: var(--brand-1);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
a:hover {
  color: #6cc7ff;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 背景舞台：星空 → Aurora 光斑 → 网格 → 噪点 */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(124, 58, 237, 0.12), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(26, 103, 255, 0.1), transparent 60%),
    var(--bg-0);
}
.bg-aurora {
  position: fixed;
  inset: -25%;
  z-index: -2;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.5;
}
.bg-aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
.bg-aurora .blob-1 {
  width: 44vw;
  height: 44vw;
  left: 4%;
  top: 2%;
  background: rgba(26, 103, 255, 0.42);
  animation: drift-1 26s ease-in-out infinite alternate;
}
.bg-aurora .blob-2 {
  width: 36vw;
  height: 36vw;
  right: 6%;
  top: 18%;
  background: rgba(47, 172, 255, 0.3);
  animation: drift-2 32s ease-in-out infinite alternate;
}
.bg-aurora .blob-3 {
  width: 34vw;
  height: 34vw;
  left: 30%;
  bottom: -8%;
  background: rgba(124, 58, 237, 0.3);
  animation: drift-3 38s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  to { transform: translate(9vw, 12vh) scale(1.15); }
}
@keyframes drift-2 {
  to { transform: translate(-11vw, -8vh) scale(0.9); }
}
@keyframes drift-3 {
  to { transform: translate(8vw, -14vh) scale(1.12); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 100%);
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 1030;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 通用排版组件 ---------- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '//';
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow .px-tag {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
.lead-2 {
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.85;
  max-width: 46em;
}
.grad-text {
  background: linear-gradient(100deg, #6fd2ff 5%, #2facff 35%, #1a67ff 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center {
  text-align: center;
}
.section-head.center .lead-2 {
  margin-left: auto;
  margin-right: auto;
}

/* 玻璃卡片基础 */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* 顶部渐变描边 */
.glass::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad-line);
  opacity: 0.7;
  border-radius: var(--radius) var(--radius) 0 0;
  pointer-events: none;
}

/* Spotlight 卡片（鼠标跟随光晕） */
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 172, 255, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
}
.spotlight:hover::after {
  opacity: 1;
}

/* ---------- 按钮 ---------- */
.btn-y {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), filter 0.3s;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}
.btn-y-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-y-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s var(--ease-out);
}
.btn-y-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 52px -10px rgba(31, 139, 255, 0.75);
  filter: saturate(1.15);
}
.btn-y-primary:hover::before {
  left: 130%;
}
.btn-y-primary i {
  transition: transform 0.3s var(--ease-out);
}
.btn-y-primary:hover i {
  transform: translateX(4px);
}
.btn-y-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-y-ghost:hover {
  color: #fff;
  border-color: rgba(47, 172, 255, 0.5);
  background: rgba(47, 172, 255, 0.08);
  transform: translateY(-2px);
}
.btn-y-gold {
  background: var(--grad-gold);
  color: #241300;
  box-shadow: 0 8px 36px -8px rgba(255, 177, 66, 0.5);
}
.btn-y-gold:hover {
  color: #241300;
  transform: translateY(-2px);
}
.btn-sm-y {
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* ---------- 促销通知条 ---------- */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--promo-h);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(26, 103, 255, 0.92), rgba(47, 172, 255, 0.92), rgba(255, 177, 66, 0.95));
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
}
.promo-bar.hidden-y {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.promo-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 48px 0 20px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.promo-inner .px-chip {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px 8px 4px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  flex: none;
}
.promo-inner .promo-code {
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(255, 255, 255, 0.6);
  padding: 2px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s;
}
.promo-inner .promo-code:hover {
  background: rgba(0, 0, 0, 0.45);
}
.promo-close {
  position: absolute;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.promo-close:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: rotate(90deg);
}

/* ---------- 导航 ---------- */
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1060;
  background: rgba(255, 255, 255, 0.05);
}
.progress-rail span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(47, 172, 255, 0.8);
}
.header-y {
  position: fixed;
  top: var(--promo-h);
  left: 0;
  right: 0;
  z-index: 1035;
  padding: 10px clamp(14px, 3vw, 32px) 0;
  transition: top 0.45s var(--ease-out);
}
.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px 0 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.header-y.scrolled .nav-shell {
  background: rgba(7, 10, 18, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
}
.brand-y {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-y img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(47, 172, 255, 0.45));
}
.brand-y .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-y .brand-name b {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-y .brand-name span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
}
.nav-links .nav-hash {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* 下拉 */
.nav-drop {
  position: relative;
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 190px;
  padding: 8px;
  list-style: none;
  margin: 0;
  background: rgba(10, 14, 24, 0.92);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0.28s;
  z-index: 10;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.nav-drop-menu a:hover {
  background: rgba(47, 172, 255, 0.1);
  color: #fff;
}
.nav-drop-menu a i {
  font-size: 0.95rem;
  color: var(--brand-1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s, width 0.35s;
}
.nav-toggle span:nth-child(2) {
  width: 70%;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端抽屉 */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1038;
  display: flex;
  flex-direction: column;
  padding: calc(var(--promo-h) + var(--header-h) + 24px) 26px 34px;
  background: rgba(5, 7, 13, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  overflow-y: auto;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
}
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 14px;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
  transform: translateY(18px);
  opacity: 0;
}
.nav-drawer.open .drawer-links a {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s var(--ease-out), opacity 0.5s, background 0.25s, border-color 0.25s;
}
.drawer-links a:hover {
  background: rgba(47, 172, 255, 0.08);
  border-color: var(--line);
}
.drawer-links a .idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-1);
}
.drawer-links a .sub {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.drawer-foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero-y {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--chrome) + 36px) 0 0;
  overflow: clip;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  font-size: 0.84rem;
  color: var(--ink-2);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.hero-badge .dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hero-badge b {
  color: #fff;
  font-weight: 700;
}
.hero-title {
  font-size: clamp(2.35rem, 5.4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-title .ch {
  display: inline-block;
  will-change: transform;
}
.hero-sub {
  color: var(--ink-2);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.9;
  max-width: 36em;
  margin-bottom: 34px;
}
.hero-sub b {
  color: var(--ink);
  font-weight: 600;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stat {
  padding: 0 clamp(18px, 2.6vw, 34px);
  border-left: 1px solid var(--line);
}
.hero-stat:first-child {
  padding-left: 0;
  border-left: none;
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.hero-stat .num em {
  font-style: normal;
  color: var(--brand-1);
}
.hero-stat .lb {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 4px;
}

/* 拓扑装置（Hero 右侧） */
.device-wrap {
  perspective: 1200px;
}
.device {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(16, 24, 42, 0.85), rgba(8, 11, 20, 0.9));
  border: 1px solid var(--line-2);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(47, 172, 255, 0.06),
    0 20px 70px -20px rgba(26, 103, 255, 0.22);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.device-bar .dots {
  display: flex;
  gap: 6px;
}
.device-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.device-bar .dots i:nth-child(1) { background: #ff5f57; }
.device-bar .dots i:nth-child(2) { background: #febc2e; }
.device-bar .dots i:nth-child(3) { background: #28c840; }
.device-bar .ttl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0 auto;
  padding-right: 28px;
}
.device-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--green);
  letter-spacing: 0.12em;
}
.device-bar .live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.device-body {
  position: relative;
  aspect-ratio: 10 / 8.6;
}
#topo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* HUD 角标 */
.device .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(47, 172, 255, 0.55);
  border-style: solid;
  border-width: 0;
  z-index: 3;
  pointer-events: none;
}
.device .corner.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.device .corner.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.device .corner.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.device .corner.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.device-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.device-tag i {
  color: var(--green);
  font-size: 0.7rem;
}
.device-tag.hyp {
  top: 14%;
  right: 4%;
}
.device-tag.cn {
  bottom: 16%;
  left: 3%;
}

/* Marquee */
.marquee-y {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vh, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-y:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.marquee-track span b {
  color: var(--ink-2);
  font-weight: 500;
}
.marquee-track span::after {
  content: '✦';
  color: var(--brand-2);
  font-size: 0.7rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 指标带 ---------- */
.stats-band .glass {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(20px, 3vw, 34px) clamp(8px, 2vw, 22px);
  gap: 8px;
}
.stat-cell {
  text-align: center;
  padding: 12px 6px;
  border-radius: 14px;
  transition: background 0.3s;
}
.stat-cell:hover {
  background: rgba(255, 255, 255, 0.03);
}
.stat-cell .num {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(120deg, #8adaff, #2facff 55%, #1a67ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}
.stat-cell .lb {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin-top: 6px;
}
.stat-cell .sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ---------- 关于 / 底层实力 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.about-copy p {
  color: var(--ink-2);
  line-height: 1.9;
  margin-bottom: 1.1em;
}
.about-copy p b {
  color: var(--ink);
}
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}
.cert-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cert-chips span:hover {
  border-color: rgba(47, 172, 255, 0.45);
  color: #fff;
  background: rgba(47, 172, 255, 0.07);
}
.cert-chips span i {
  color: var(--brand-1);
}
.about-map {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.about-map img {
  display: block;
  width: 100%;
  opacity: 0.4;
  filter: saturate(0.4) hue-rotate(180deg) brightness(0.9);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 55%, transparent 98%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 55%, transparent 98%);
}
.map-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-1);
  box-shadow: 0 0 12px 2px rgba(47, 172, 255, 0.75);
}
.map-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(47, 172, 255, 0.6);
  animation: pulse-ring 2.4s ease-out infinite;
}
.map-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(255, 177, 66, 0.7);
}
.map-dot.gold::after {
  border-color: rgba(255, 177, 66, 0.6);
}
.map-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------- 特性 Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento .span-5 { grid-column: span 5; }
.bento .span-4 { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; }
.feat-card {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 172, 255, 0.35);
  box-shadow: 0 24px 60px -24px rgba(26, 103, 255, 0.45);
}
.feat-card .f-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(140deg, rgba(47, 172, 255, 0.22), rgba(26, 103, 255, 0.14));
  border: 1px solid rgba(47, 172, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.feat-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0;
}
.feat-card p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
  flex: 1;
}
.feat-card .f-tag {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.feat-card.gold-accent .feat-icon {
  background: linear-gradient(140deg, rgba(255, 212, 128, 0.2), rgba(255, 177, 66, 0.12));
  border-color: rgba(255, 177, 66, 0.35);
  color: var(--gold);
}
.feat-card.gold-accent .f-tag {
  color: rgba(255, 177, 66, 0.8);
}
.feat-card .f-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-1);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.feat-card:hover .f-link {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 延迟对比 ---------- */
.latency-panel {
  padding: clamp(22px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.latency-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.lat-chart-grid line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}
.lat-chart-grid text {
  fill: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.lat-path-bad {
  fill: none;
  stroke: url(#latGradBad);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(255, 93, 108, 0.35));
}
.lat-path-good {
  fill: none;
  stroke: url(#latGradGood);
  stroke-width: 2.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(47, 172, 255, 0.55));
}
.lat-area-good {
  fill: url(#latFillGood);
  opacity: 0.35;
}
.lat-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.lat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
}
.lat-legend i {
  width: 16px;
  height: 3px;
  border-radius: 3px;
}
.lat-legend .lg-bad i { background: linear-gradient(90deg, #ff5d6c, #ff9a54); }
.lat-legend .lg-good i { background: var(--grad-brand); }
.latency-nums {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lat-num {
  padding: 20px 22px;
}
.lat-num .lb {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.lat-num .v {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
}
.lat-num .v small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}
.lat-num.bad .v { color: #ff7a86; }
.lat-num.good .v { color: #2facff; }
.lat-num .delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(47, 218, 132, 0.12);
  border: 1px solid rgba(47, 218, 132, 0.35);
  color: var(--green);
}
.lat-note {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 4px;
}

/* ---------- 翻译区 ---------- */
.trans-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.trans-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0;
}
.trans-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.trans-tab .tt-idx {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  transition: color 0.3s;
}
.trans-tab i {
  margin-left: auto;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease-out);
}
.trans-tab:hover {
  color: #fff;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.05);
}
.trans-tab.active {
  color: #fff;
  background: var(--grad-brand-soft);
  border-color: rgba(47, 172, 255, 0.4);
  box-shadow: inset 0 0 24px rgba(47, 172, 255, 0.06);
}
.trans-tab.active .tt-idx {
  color: var(--brand-1);
}
.trans-tab.active i {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-1);
}
.trans-pane {
  display: none;
}
.trans-pane.active {
  display: block;
  animation: pane-in 0.45s var(--ease-out);
}
@keyframes pane-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.trans-pane h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.trans-pane p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 1em;
}
.trans-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.7;
}
.trans-check i {
  color: var(--green);
  margin-top: 3px;
  flex: none;
}
.trans-check b {
  color: var(--ink);
}

/* 终端 */
.terminal {
  overflow: hidden;
  border-radius: var(--radius);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.term-bar .dots {
  display: flex;
  gap: 6px;
}
.term-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.term-bar .dots i:nth-child(1) { background: #ff5f57; }
.term-bar .dots i:nth-child(2) { background: #febc2e; }
.term-bar .dots i:nth-child(3) { background: #28c840; }
.term-bar .ttl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin: 0 auto;
  text-transform: uppercase;
}
.term-body {
  padding: 20px 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2.1;
  min-height: 250px;
}
.term-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.term-line .pfx {
  color: var(--ink-3);
  flex: none;
  user-select: none;
}
.term-line .pfx.say { color: #56d364; }
.term-line .msg { color: #c9d6ea; word-break: break-all; }
.term-line .msg .hl { color: #ffd37a; }
.term-line .msg .zh { color: #8adaff; }
.term-line.typing .msg::after {
  content: '▊';
  color: var(--brand-1);
  animation: blink 0.9s infinite;
}
.term-trans {
  margin-top: 4px;
  color: var(--ink-2);
}

/* ---------- 时间线 ---------- */
.tl-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 0;
}
.tl-rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
}
.tl-rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2facff, #1a67ff 60%, #7c3aed);
  transform-origin: top;
  transform: scaleY(0);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 10px 44px 34px;
}
.tl-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.tl-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.tl-item .tl-dot {
  position: absolute;
  top: 22px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--brand-1);
  box-shadow: 0 0 0 5px rgba(47, 172, 255, 0.14), 0 0 18px rgba(47, 172, 255, 0.6);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot {
  right: -7.5px;
}
.tl-item:nth-child(even) .tl-dot {
  left: -7.5px;
}
.tl-item.gold .tl-dot {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 177, 66, 0.14), 0 0 18px rgba(255, 177, 66, 0.6);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-1);
  margin-bottom: 6px;
}
.tl-item.gold .tl-year {
  color: var(--gold);
}
.tl-card {
  display: inline-block;
  text-align: left;
  padding: 18px 20px;
  max-width: 340px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 172, 255, 0.4);
}
.tl-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.tl-card p {
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.75;
  margin: 0;
}

/* ---------- 套餐（登录后查看） ---------- */
.pricing-locked {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 64px) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-locked .feat-icon {
  width: 58px;
  height: 58px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.pricing-locked h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.pricing-locked p {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.85;
  margin: 0 0 26px;
  max-width: 30em;
}
.pricing-locked .promo-line {
  margin: 22px 0 0;
  font-size: 0.8rem;
  color: var(--ink-3);
}
.code-chip {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
  border: 1px dashed rgba(255, 177, 66, 0.5);
  border-radius: 8px;
  padding: 2px 10px;
}

/* ---------- 评价 ---------- */
.testi-card {
  height: auto;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-card .quote-ic {
  font-size: 1.5rem;
  color: rgba(47, 172, 255, 0.5);
}
.testi-card p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.9;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testi-foot img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  object-fit: cover;
}
.testi-foot b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.testi-foot span {
  font-size: 0.76rem;
  color: var(--ink-3);
}
.testimonials-slider {
  padding: 10px 6px 52px;
  overflow: hidden;
}
.testimonials-slider .swiper-slide {
  height: auto;
}
.testimonials-slider .swiper-pagination {
  bottom: 6px;
}
.testimonials-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.3s;
}
.testimonials-slider .swiper-pagination-bullet-active {
  background: var(--brand-1);
  width: 26px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(47, 172, 255, 0.7);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}
.faq-item:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.045);
}
.faq-item .accordion-button {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 19px 22px;
  box-shadow: none;
  border: none;
  border-radius: 15px;
  gap: 14px;
}
.faq-item .accordion-button::after {
  content: '\F4FE';
  font-family: 'bootstrap-icons';
  background-image: none;
  font-size: 1rem;
  color: var(--brand-1);
  transition: transform 0.35s var(--ease-out);
  margin-left: auto;
}
.faq-item .accordion-button:not(.collapsed) {
  color: #fff;
  background: transparent;
}
.faq-item .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
}
.faq-item .accordion-body {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.9;
  padding: 0 22px 20px;
}
.faq-item .q-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-1);
  flex: none;
}

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  text-align: center;
  border-radius: 28px;
}
.cta-panel .cta-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(46% 52% at 50% 62%, rgba(26, 103, 255, 0.32), transparent 70%),
    radial-gradient(30% 36% at 68% 40%, rgba(124, 58, 237, 0.22), transparent 70%),
    radial-gradient(26% 30% at 32% 44%, rgba(47, 172, 255, 0.2), transparent 70%);
  filter: blur(30px);
  animation: cta-breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes cta-breathe {
  to { transform: scale(1.12) rotate(3deg); }
}
.cta-panel > * {
  position: relative;
}
.cta-panel .px-tag {
  font-family: var(--font-pixel);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}
.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
}
.cta-panel p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.9;
  max-width: 34em;
  margin: 0 auto 36px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer-y {
  position: relative;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(0, 20, 40, 0.35), rgba(5, 7, 13, 0) 60%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(26px, 4vw, 52px);
  padding: clamp(44px, 6vw, 72px) 0 40px;
}
.footer-brand p {
  color: var(--ink-3);
  font-size: 0.86rem;
  line-height: 1.85;
  margin: 16px 0 0;
  max-width: 34em;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul a {
  color: var(--ink-2);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, transform 0.25s;
}
.footer-col ul a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-col ul a i {
  font-size: 0.85rem;
  color: var(--brand-1);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}
.footer-legal {
  font-size: 0.74rem;
  color: #98a6bd;
  opacity: 0.4;
  line-height: 1.9;
  margin: 0 0 14px;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #98a6bd;
  opacity: 0.25;
}
.footer-meta a {
  color: #98a6bd;
}
.footer-meta a:hover {
  color: var(--ink);
}

/* ---------- 登录弹窗（暗色玻璃） ---------- */
.modal-content-y {
  background: linear-gradient(170deg, #0e1524 0%, #090d17 100%);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(26, 103, 255, 0.35);
  color: var(--ink);
}
.modal-content-y .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.6;
}
.modal-content-y .btn-close:hover {
  opacity: 1;
}
.login-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.login-title::before {
  content: '';
  width: 7px;
  height: 22px;
  border-radius: 4px;
  background: var(--grad-brand);
}
.login-sub {
  color: var(--ink-3);
  font-size: 0.8rem;
  margin: 6px 0 0;
}
.login-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  width: max-content;
  margin: 14px auto 0;
}
.login-qr-box img {
  width: 168px;
  height: 168px;
  display: block;
}
.login-qr-tip {
  font-size: 0.8rem;
  color: var(--ink-2);
  text-align: center;
}
.login-divider {
  position: relative;
  width: 1px;
  flex: 0 0 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  margin: 12px 18px;
  flex: none;
}
.login-divider::after {
  content: '或';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0c111c;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: var(--ink-3);
}
.field-y {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field-y:focus-within {
  border-color: rgba(47, 172, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 172, 255, 0.12);
}
.field-y .pre {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink-3);
  flex: none;
}
.field-y input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 14px 0;
  font-family: var(--font-sans);
}
.field-y input::placeholder {
  color: var(--ink-3);
}
.field-y .sms-btn {
  background: none;
  border: none;
  color: var(--brand-1);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line);
}
.field-y .sms-btn:disabled {
  color: var(--ink-3);
  cursor: not-allowed;
}
/* 嵌入式验证码容器：位于手机号与验证码输入框之间，左右居中 */
.captcha-embed {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
}
.captcha-embed:not(:empty) {
  padding: 6px 0 2px;
}
.captcha-embed iframe,
.captcha-embed .tcaptcha-transform {
  max-width: 100%;
}
.alert-y {
  border-radius: 12px;
  font-size: 0.85rem;
}
.login-alt {
  display: flex;
  gap: 10px;
}
.login-alt .btn {
  flex: 1;
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
}
.login-alt .btn:hover {
  color: #fff;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.07);
}
.login-alt .btn img {
  width: 20px;
  height: 20px;
}
.login-foot {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.76rem;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  line-height: 1.9;
}
.login-foot a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 返回顶部 & 火花 ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 1045;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 24, 0.8);
  border: 1px solid var(--line-2);
  color: var(--ink);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  border-color: rgba(47, 172, 255, 0.55);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(31, 139, 255, 0.6);
}
#spark-canvas {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

/* GSAP 初始态（防闪烁：无 JS 时保持可见） */
.no-js .reveal,
.reveal.js-ready {
  opacity: 0;
}
.hero-badge.js-ready,
.hero-sub.js-ready,
.device-wrap.js-ready {
  opacity: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199.98px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .device-wrap {
    max-width: 620px;
  }
  .about-grid,
  .trans-grid,
  .latency-panel {
    grid-template-columns: 1fr;
  }
  .login-divider {
    display: none;
  }
}
@media (min-width: 1200px) {
  .nav-drawer {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .bento .span-5,
  .bento .span-4,
  .bento .span-3 {
    grid-column: span 6;
  }
  .stats-band .glass {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* 时间线靠左 */
  .tl-rail {
    left: 8px;
  }
  .tl-item,
  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 6px 0 30px 36px;
  }
  .tl-item:nth-child(odd) .tl-dot,
  .tl-item:nth-child(even) .tl-dot {
    left: 1.5px;
    right: auto;
  }
}
@media (max-width: 575.98px) {
  :root {
    --header-h: 60px;
    --promo-h: 38px;
  }
  .promo-inner {
    font-size: 0.72rem;
    padding: 0 40px 0 10px;
    gap: 8px;
  }
  .promo-inner .px-chip {
    display: none;
  }
  .promo-inner .promo-code {
    padding: 1px 7px;
    font-size: 0.7rem;
  }
  .promo-inner .promo-extra {
    display: none;
  }
  .hero-title {
    font-size: clamp(2rem, 9.6vw, 2.6rem);
  }
  .hero-stats {
    gap: 14px 0;
  }
  .hero-stat {
    width: 50%;
    border-left: none;
    padding: 8px 4px;
  }
  .bento .span-5,
  .bento .span-4,
  .bento .span-3 {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .device-body {
    aspect-ratio: 10 / 9.4;
  }
  .term-body {
    font-size: 0.74rem;
    min-height: 220px;
  }
  .back-top {
    right: 14px;
    bottom: 18px;
  }
}

/* ---------- 动效降级 ----------
   站点定位为高互动展示型官网，动效始终启用；
   仅在系统要求减少动效时关闭平滑滚动。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
