/* ============================================================
   STARFALL ARENA — Landing Page
   高级专业有质感的官网样式
   配色：科技蓝 #45d9ff / 能量紫 #8a63ff / 品红 #ff4ca3
   ============================================================ */

:root {
  --ink: #06070c;
  --ink-2: #0b0d15;
  --surface: #11141c;
  --surface-2: #161a24;
  --line: #232a38;
  --line-2: #2e3647;
  --muted: #8b93a6;
  --muted-2: #5f6675;
  --text: #f2f5fb;
  --text-dim: #c3c9d6;
  --cyan: #45d9ff;
  --cyan-soft: rgba(69, 217, 255, .14);
  --violet: #8a63ff;
  --violet-soft: rgba(138, 99, 255, .14);
  --magenta: #ff4ca3;
  --magenta-soft: rgba(255, 76, 163, .14);
  --amber: #ffb33b;
  --lime: #b8f24a;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1240px;
  --font: Inter, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: page-fade .6s ease-out;
}
@keyframes page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
body[data-page="landing"] { background: var(--ink); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }

/* 全局粒子背景画布 */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 顶部扫描线叠加层 */
.scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,7,12,.55) 0%, transparent 18%, transparent 82%, rgba(6,7,12,.65) 100%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.012) 3px 4px);
}

/* 跳过链接 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--cyan);
  color: #04121a;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* 通用 */
.grad-cyan-violet {
  background: linear-gradient(95deg, var(--cyan), var(--violet) 55%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid rgba(69,217,255,.3);
  background: rgba(69,217,255,.08);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: eyebrow-pulse 2s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* 滚动揭示动画基类 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* 多方向变体 */
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(.88); opacity: 0; }
.reveal-down { transform: translateY(-40px); }
.reveal-rotate { transform: rotateX(-25deg) translateY(40px); transform-origin: top; }

.reveal-left.in,
.reveal-right.in { transform: translateX(0); }
.reveal-scale.in { transform: scale(1); }
.reveal-down.in { transform: translateY(0); }
.reveal-rotate.in { transform: rotateX(0) translateY(0); }

/* Stagger: 给同组连续元素添加逐级延迟 */
.reveal-group > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 400ms; }

/* 滚动时的背景视差 */
.parallax-bg {
  will-change: transform;
  transition: transform .1s linear;
}

/* Section 进入视口时的轻微位移触发 */
.section {
  transform: translateZ(0);
}

/* 导航进入/离开粘性状态 */
.site-nav {
  transform: translateY(0);
  transition: background .3s, border-color .3s, height .3s, transform .4s cubic-bezier(.22,.61,.36,1);
}
.site-nav.hidden-nav {
  transform: translateY(-100%);
}

/* 全局卡片进入时的光晕 */
.reveal.in {
  animation: reveal-glow .8s cubic-bezier(.22,.61,.36,1);
}
@keyframes reveal-glow {
  0% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  40% { filter: brightness(1.15) drop-shadow(0 0 25px rgba(69,217,255,.2)); }
  100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-down, .reveal-rotate {
    opacity: 1; transform: none; transition: none; animation: none;
  }
  html { scroll-behavior: auto; }
  .reveal-group > .reveal { transition-delay: 0ms; }
}

/* ============ 导航 ============ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: 0 clamp(20px, 5vw, 64px);
  padding-top: var(--safe-top);
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 12, .42);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s, border-color .3s, height .3s;
}
.site-nav.scrolled {
  background: rgba(6, 7, 12, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid #4d5668;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.nav-mark::before, .nav-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid var(--cyan);
}
.nav-mark::after {
  inset: 10px;
  border-color: var(--magenta);
  background: var(--violet);
}
.nav-lockup strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
}
.nav-lockup small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.4px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-soft);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--cyan);
  color: #04121a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: background .2s, transform .12s, box-shadow .2s;
  box-shadow: 0 0 0 0 var(--cyan-soft);
}
.nav-cta:hover {
  background: #8aeaff;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--cyan-soft);
}
.nav-cta:active { transform: translateY(0); }
.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}
.nav-burger::before, .nav-burger::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .25s, margin .25s;
}
.nav-burger::before { margin-top: 13px; box-shadow: 0 5px 0 var(--text); }
.nav-burger::after { margin-top: 12px; }
.nav-burger[aria-expanded="true"]::before { transform: rotate(45deg); margin-top: 18px; box-shadow: none; }
.nav-burger[aria-expanded="true"]::after { transform: rotate(-45deg); margin-top: -2px; }

/* ============ 通用 Section ============ */
main { position: relative; z-index: 2; }
.section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 11vh, 140px) clamp(22px, 5vw, 64px);
}
.section-alt {
  max-width: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--violet-soft), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: var(--container); margin-inline: auto; width: 100%; }
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-head em { font-style: normal; }
.section-lead {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px clamp(22px, 5vw, 64px) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(69,217,255,.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(138,99,255,.1), transparent 70%),
    radial-gradient(ellipse 50% 30% at 70% 20%, rgba(255,76,163,.08), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69,217,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69,217,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 80%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift {
  to { background-position: 0 64px, 64px 0; }
}
.hero-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 100vw;
  max-width: 1100px;
  aspect-ratio: 1.2;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 35% 40%, rgba(69,217,255,.28), transparent 50%),
    radial-gradient(circle at 65% 55%, rgba(138,99,255,.25), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,76,163,.18), transparent 55%);
  filter: blur(80px);
  animation: glow-pulse 6s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes glow-pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: .85; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Hero 中心聚光 */
.hero-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -60%);
  background: radial-gradient(circle, rgba(69,217,255,.2) 0%, rgba(138,99,255,.15) 30%, transparent 65%);
  filter: blur(40px);
  animation: spotlight-breath 5s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes spotlight-breath {
  0% { transform: translate(-50%, -60%) scale(1); opacity: .6; }
  100% { transform: translate(-50%, -60%) scale(1.1); opacity: 1; }
}

/* 能量射线 */
.hero-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-beams::before,
.hero-beams::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(69,217,255,.3) 20%, rgba(138,99,255,.4) 50%, rgba(69,217,255,.3) 80%, transparent 100%);
  transform-origin: center;
  filter: blur(.5px);
}
.hero-beams::before {
  transform: translate(-50%, -50%) rotate(0deg);
  animation: beam-rotate 12s linear infinite;
}
.hero-beams::after {
  transform: translate(-50%, -50%) rotate(60deg);
  animation: beam-rotate 18s linear infinite reverse;
  opacity: .6;
}
@keyframes beam-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 闪电突发 */
.hero-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.15), transparent 40%);
  opacity: 0;
  animation: hero-flash 8s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes hero-flash {
  0%, 92%, 100% { opacity: 0; }
  93% { opacity: .5; }
  94% { opacity: 0; }
  96% { opacity: .3; }
  97% { opacity: 0; }
}

/* 能量扫描线 */
.hero-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--violet) 50%, var(--cyan) 70%, transparent 100%);
  filter: blur(1px);
  opacity: .4;
  animation: scan-line 6s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.08;
  font-weight: 900;
  margin: 18px 0 24px;
  letter-spacing: .02em;
}
/* 艺术字效果: 多层阴影 + 描边 + 渐变, 系统字体也能有冲击力 */
.hero-title span { display: block; }
.ht-line { display: block; }
/* 覆盖 .hero-title span 的 display:block，逐字内联排列 */
.ht-sep { margin: 0 6px; opacity: .5; font-size: .7em; }
.hero-title .grad-cyan-violet {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 60%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 25px rgba(69,217,255,.4)) drop-shadow(0 0 50px rgba(138,99,255,.25));
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.75;
  text-shadow: 0 0 20px rgba(0,0,0,.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 64px;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  color: #04121a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
  box-shadow: 0 6px 30px rgba(69,217,255,.35), 0 0 60px rgba(138,99,255,.15);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 44px rgba(69,217,255,.5), 0 0 80px rgba(138,99,255,.25);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, var(--violet), var(--magenta));
  opacity: 0;
  transition: opacity .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(138, 99, 255, .4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary i {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: width .2s;
}
.btn-primary:hover i { width: 26px; }
.btn-primary i::after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn-large { height: 62px; font-size: 18px; padding: 0 40px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 700;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); background: var(--cyan-soft); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(69,217,255,.2);
  padding-top: 36px;
  position: relative;
}
.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  filter: blur(.5px);
}
.hero-stats li {
  flex: 1;
  min-width: 120px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 16px;
  position: relative;
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats b {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(95deg, var(--cyan), var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(69,217,255,.35));
}
.hero-stats b span { font-size: .55em; font-weight: 700; -webkit-text-fill-color: var(--muted); }
.hero-stats li span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.scroll-hint:hover { opacity: 1; border-color: var(--cyan); }
.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ FEATURES ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  position: relative;
  padding: 36px 30px 34px;
  background: var(--ink-2);
  transition: background .3s;
}
.feature:hover { background: var(--surface); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--ink);
  position: relative;
  transition: border-color .25s, box-shadow .25s;
}
.feature:hover .feature-icon {
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-soft);
}
.feature-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: var(--cyan);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.feature-icon[data-icon="browser"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 4h18v16H3V4zm2 2v2h14V6H5zm0 4v8h14v-8H5z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="sync"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1 .25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="bandwidth"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2 22h20V2L2 22z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="reconnect"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.65 6.35A8 8 0 1 0 19.73 14h-2.08A6 6 0 1 1 12 6V9l4-4-4-4v3a8 8 0 0 1 5.65 2.35z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="device"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm20 2h-6v12h6V8zm-2 9h-2v-7h2v7z'/%3E%3C/svg%3E"); }
.feature-icon[data-icon="safe"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2L4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3z'/%3E%3C/svg%3E"); }
.feature h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ PILLARS ============ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pillar {
  position: relative;
  padding: 38px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), transparent),
    var(--ink-2);
  overflow: hidden;
  transition: border-color .3s, transform .25s;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.pillar:hover { border-color: var(--accent); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .06;
  filter: blur(40px);
  transition: opacity .3s;
}
.pillar:hover::after { opacity: .14; }
.pillar-no {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.pillar p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pillar-tags li {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
}

/* ============ MODES ============ */
.mode-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.mode-tab {
  padding: 12px 22px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
}
.mode-tab:hover { color: var(--text); border-color: var(--cyan); }
.mode-tab.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121a;
}
.mode-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
  min-height: 360px;
}
.mode-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.mode-card.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.mode-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.03), transparent 70%),
    var(--ink);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.mode-body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mode-body h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 16px;
}
.mode-body h3 span {
  display: block;
  margin-top: 4px;
  font-size: .5em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
}
.mode-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.mode-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.mode-meta li {
  border-left: 2px solid var(--cyan);
  padding-left: 12px;
}
.mode-meta li b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.mode-meta li span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* mode visuals */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: orb-float 6s ease-in-out infinite;
}
.orb-cyan { width: 80px; height: 80px; background: var(--cyan); box-shadow: 0 0 60px var(--cyan); opacity: .5; top: 30%; left: 35%; }
.orb-violet { width: 60px; height: 60px; background: var(--violet); box-shadow: 0 0 50px var(--violet); opacity: .45; bottom: 25%; right: 30%; animation-delay: -2s; }
.orb-amber { width: 90px; height: 90px; background: var(--amber); box-shadow: 0 0 70px var(--amber); opacity: .5; top: 28%; left: 38%; }
.orb-magenta { width: 100px; height: 100px; background: var(--magenta); box-shadow: 0 0 80px var(--magenta); opacity: .4; top: 30%; left: 35%; }
@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.shard {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  box-shadow: 0 0 16px var(--cyan);
  top: 60%;
  left: 55%;
  animation: shard-spin 4s linear infinite;
}
.shard-amber { background: var(--amber); box-shadow: 0 0 16px var(--amber); top: 55%; left: 48%; }
@keyframes shard-spin {
  to { transform: rotate(360deg) translateY(-10px); }
}
.bolt {
  position: absolute;
  top: 35%;
  left: 45%;
  width: 4px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--magenta), transparent);
  filter: blur(1px);
  animation: bolt-flash 1.5s ease-in-out infinite;
}
@keyframes bolt-flash {
  0%, 100% { opacity: 0; height: 20px; }
  50% { opacity: 1; height: 70px; }
}

/* ============ WORLD ============ */
.section-world {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: clamp(80px, 11vh, 140px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(ellipse 90% 60% at 20% 30%, var(--violet-soft), transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 70%, var(--cyan-soft), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.world-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.island {
  position: absolute;
  border-radius: 45% 55% 50% 50% / 60% 50% 50% 40%;
  background: linear-gradient(180deg, var(--surface-2), var(--ink));
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 4px 0 rgba(255,255,255,.04);
  opacity: .5;
}
.island-a { width: 200px; height: 90px; top: 18%; left: 8%; animation: island-float 12s ease-in-out infinite; }
.island-b { width: 150px; height: 70px; top: 60%; left: 12%; animation: island-float 10s ease-in-out -3s infinite; }
.island-c { width: 240px; height: 110px; top: 22%; right: 6%; animation: island-float 14s ease-in-out -5s infinite; }
.island-d { width: 120px; height: 60px; bottom: 18%; right: 14%; animation: island-float 9s ease-in-out -2s infinite; }
@keyframes island-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.starfield {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1px 1px at 80% 20%, var(--cyan), transparent),
    radial-gradient(1px 1px at 30% 80%, #fff, transparent),
    radial-gradient(1px 1px at 50% 50%, var(--violet), transparent),
    radial-gradient(1px 1px at 70% 40%, #fff, transparent),
    radial-gradient(1px 1px at 90% 90%, #fff, transparent),
    radial-gradient(1px 1px at 10% 60%, var(--magenta), transparent);
  background-size: 400px 400px;
  opacity: .4;
}
.world-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.world-copy p {
  color: var(--text-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  margin-bottom: 18px;
}
.world-list {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.world-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 22px;
  background: var(--ink-2);
  align-items: center;
}
.world-list b {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}
.world-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ============ TECH ============ */
.tech-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.tech-diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.tech-node {
  position: relative;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.tech-node:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px var(--cyan-soft);
}
.tech-node span {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.tech-node small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}
.tech-node-browser { border-left: 3px solid var(--cyan); }
.tech-node-proxy { border-left: 3px solid var(--violet); }
.tech-node-server { border-left: 3px solid var(--magenta); }
.tech-node-data { border-left: 3px solid var(--amber); margin-left: 28px; }
.tech-line {
  height: 24px;
  margin-left: 22px;
  border-left: 1px dashed var(--line-2);
  position: relative;
}
.tech-line::before, .tech-line::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.tech-line::before { top: 0; }
.tech-line::after { bottom: 0; background: var(--violet); }
.tech-specs {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tech-specs li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 22px;
  background: var(--ink-2);
  align-items: center;
}
.tech-specs b {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}
.tech-specs span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vh, 140px) clamp(22px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, var(--violet-soft), transparent 70%),
    var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: cta-ring 20s linear infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: cta-ring 15s linear infinite reverse;
}
@keyframes cta-ring {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(30px, 4.5vw, 50px);
  margin: 14px 0 18px;
}
.cta-inner p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--cyan); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .25s, border-color .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--cyan); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.site-foot {
  position: relative;
  z-index: 2;
  padding: 60px clamp(22px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.foot-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.foot-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.foot-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}
.foot-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}
.foot-links a:hover { color: var(--cyan); }
.foot-copy {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: .02em;
}
.foot-icp {
  margin-top: 10px;
  font-size: 12px;
}
.foot-icp a {
  color: var(--muted-2);
  transition: color .2s;
}
.foot-icp a:hover { color: var(--cyan); }

/* 返回顶部按钮 */
.back-top {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(17, 20, 28, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.back-top:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 4px 30px rgba(69,217,255,.3);
}
.back-top svg { display: block; }

/* 导航锚点偏移 */
section[id] { scroll-margin-top: 80px; }

/* Mode section direction */
.mode-tabs { justify-content: center; }
.mode-card.active .mode-visual {
  animation: mode-flash .8s ease-out;
}
@keyframes mode-flash {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.3) saturate(1.2); }
  100% { filter: brightness(1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .world-inner { grid-template-columns: 1fr; gap: 40px; }
  .tech-layout { grid-template-columns: 1fr; gap: 32px; }
  .mode-card { grid-template-columns: 1fr; }
  .mode-visual { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 16px clamp(20px, 5vw, 64px);
    background: rgba(6, 7, 12, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
  }
  .nav-links.open a { padding: 12px 14px; }
  .hero-stats li { min-width: 50%; border-bottom: 1px solid var(--line); }
  .hero-stats li:nth-child(2) { border-right: 0; }
  .world-list li { grid-template-columns: 1fr; gap: 4px; }
  .tech-specs li { grid-template-columns: 1fr; gap: 4px; }
  .tech-node-data { margin-left: 14px; }
}

@media (max-width: 480px) {
  .nav-brand .nav-lockup { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .mode-meta { gap: 16px; }
}

/* ============================================================
   动态增强层：流星、浮岛、边框流光、数字动画、扫光
   ============================================================ */

/* Hero 区装饰：漂浮浮岛剪影 */
/* 真实美术素材(美术圣经 v2): Hero 背景照片垫底, 画廊卡用实景图替换 CSS 场景 */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 0; pointer-events: none; }
.gallery-visual .gv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-visual.with-photo > :not(.gv-photo) { display: none; }
.gallery-card:hover .gallery-visual.with-photo .gv-photo { transform: scale(1.05); }

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.hero-decor .mini-island {
  position: absolute;
  border-radius: 45% 55% 50% 50% / 60% 50% 50% 40%;
  background: linear-gradient(180deg, rgba(45,55,75,.85), rgba(15,18,28,.65));
  border: 1px solid rgba(69, 217, 255, .25);
  box-shadow: 0 8px 40px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.05), 0 0 30px rgba(69,217,255,.15);
}
.hero-decor .mini-island::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: radial-gradient(ellipse, rgba(69,217,255,.4), transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
}
.hero-decor .mini-island.a {
  width: 160px; height: 70px;
  top: 18%; left: 6%;
  animation: island-drift 18s ease-in-out infinite;
}
.hero-decor .mini-island.b {
  width: 100px; height: 45px;
  top: 70%; left: 75%;
  animation: island-drift 14s ease-in-out -4s infinite;
}
.hero-decor .mini-island.c {
  width: 80px; height: 36px;
  top: 75%; left: 15%;
  animation: island-drift 11s ease-in-out -2s infinite;
}
.hero-decor .mini-island.d {
  width: 130px; height: 58px;
  top: 12%; right: 8%;
  animation: island-drift 16s ease-in-out -6s infinite;
}
@keyframes island-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -12px) rotate(1deg); }
  66% { transform: translate(-6px, -8px) rotate(-1deg); }
}
/* Hero 悬浮机甲(美术圣经 v2, 与游戏内机甲 SVG 同源) */
.hero-decor .hero-mech {
  position: absolute;
  top: 24%;
  right: 14%;
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)) drop-shadow(0 0 34px rgba(69,217,255,.25));
  animation: hero-mech-hover 4.6s ease-in-out infinite;
}
.hero-decor .hero-mech svg { width: 100%; height: 100%; }
@keyframes hero-mech-hover {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}
@media (max-width: 900px) {
  .hero-decor .hero-mech { width: 96px; height: 96px; right: 6%; top: 30%; opacity: .8; }
}

/* 流星 */
.meteor {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px 3px rgba(255,255,255,.9), 0 0 20px 5px rgba(69,217,255,.4);
  animation: meteor-fall linear forwards;
  opacity: 0;
}
.meteor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(69,217,255,.3), transparent);
  transform-origin: left center;
  transform: rotate(45deg) translateX(-90px);
}
@keyframes meteor-fall {
  0% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(400px, 500px); }
}

/* Hero 标题逐字揭幕 */
.hero-title .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  filter: blur(8px);
  animation: word-reveal .8s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes word-reveal {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* 数字滚动动画 */
.count-animate {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Feature 卡片边框流光 */
.feature {
  position: relative;
}
.feature::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0%, var(--cyan) 10%, transparent 20%, var(--violet) 45%, transparent 55%, var(--magenta) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  animation: border-rotate 4s linear infinite;
  pointer-events: none;
}
.feature:hover::after { opacity: 1; }
@keyframes border-rotate {
  to { --angle: 360deg; }
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Pillar 卡片光斑跟随 */
.pillar {
  overflow: hidden;
}
.pillar::before {
  background: var(--accent);
}
.pillar .glow-spot {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pillar-glow, rgba(69,217,255,.15)) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  z-index: 0;
}
.pillar:hover .glow-spot { opacity: 1; }

/* 流动分隔线 */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  animation: divider-flow 4s linear infinite;
}
@keyframes divider-flow {
  to { left: 100%; }
}

/* CTA 按钮扫光 */
.btn-primary {
  --shine-x: -100%;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--shine-x);
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  pointer-events: none;
  transition: left .6s ease;
}
.btn-primary:hover::after {
  animation: btn-shine 1.2s ease-out;
}
@keyframes btn-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Section 进入视口时光晕脉冲 */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.section-head.in h2::after { transform: scaleX(1); }

/* 数据统计脉冲圈 */
.stat-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 rgba(69,217,255,.5);
  animation: stat-pulse 2s ease-out infinite;
}
@keyframes stat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(69,217,255,.5); }
  100% { box-shadow: 0 0 0 12px rgba(69,217,255,0); }
}

/* 远景光晕 */
.far-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .22;
  animation: far-pulse 10s ease-in-out infinite alternate;
}
.far-glow.cyan {
  width: 500px; height: 500px;
  background: var(--cyan);
  top: 15%; left: 5%;
}
.far-glow.violet {
  width: 600px; height: 600px;
  background: var(--violet);
  top: 25%; right: 3%;
  animation-delay: -3s;
}
@keyframes far-pulse {
  to { opacity: .35; transform: scale(1.15); }
}

/* 鼠标跟随光点（桌面端） */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px 4px rgba(69,217,255,.4);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .12s ease-out, opacity .3s;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(69,217,255,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .25s ease-out, opacity .3s, width .2s, height .2s;
  opacity: 0;
}
body:hover .cursor-dot,
body:hover .cursor-ring { opacity: 1; }
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--violet);
  background: rgba(138,99,255,.06);
}

/* Mode 切换内容滑入增强 */
.mode-card .mode-visual {
  transition: background .5s;
}
.mode-card.active .mode-visual {
  animation: visual-flash .6s ease-out;
}
@keyframes visual-flash {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
  transition: width .1s ease-out;
}

/* 全局动态视差层 */
.parallax-layer {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

/* Feature 卡片进入动画 */
.feature.reveal {
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1),
              transform .8s cubic-bezier(.22,.61,.36,1);
}
.feature.reveal.in {
  opacity: 1;
  transform: none;
}

/* 统计数字滚动时的高亮 */
.hero-stats b.animated {
  animation: stat-highlight 1.5s ease-out;
}
@keyframes stat-highlight {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.4); text-shadow: 0 0 20px currentColor; }
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
  transition: border-color .3s, transform .25s, box-shadow .25s;
}
.gallery-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(69,217,255,.12);
}
.gallery-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1220 0%, #060810 100%);
  border-bottom: 1px solid var(--line);
}
.gallery-visual .gv-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(69,217,255,.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(138,99,255,.1), transparent 70%),
    linear-gradient(180deg, #0e1220 0%, #060810 100%);
}
.gallery-visual .gv-bg-warn {
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(255,179,59,.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(255,76,163,.12), transparent 70%),
    linear-gradient(180deg, #120e18 0%, #080610 100%);
}
.gallery-visual .gv-bg-storm {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(138,99,255,.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 60%, rgba(255,76,163,.1), transparent 60%),
    linear-gradient(180deg, #0c0818 0%, #06040e 100%);
}

/* 浮岛 */
.gv-island {
  position: absolute;
  border-radius: 45% 55% 50% 50% / 60% 50% 50% 40%;
  background: linear-gradient(180deg, #2a3142 0%, #151926 100%);
  border: 1px solid rgba(69,217,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 3px 0 rgba(255,255,255,.04);
}
.gv-island-1 { width: 140px; height: 55px; top: 30%; left: 15%; animation: gv-float 6s ease-in-out infinite; }
.gv-island-2 { width: 90px; height: 36px; top: 55%; left: 55%; animation: gv-float 5s ease-in-out -2s infinite; }
.gv-island-3 { width: 60px; height: 24px; top: 70%; left: 20%; animation: gv-float 4s ease-in-out -1s infinite; }
.gv-island-4 { width: 110px; height: 42px; top: 45%; left: 10%; animation: gv-float 5s ease-in-out infinite; }
.gv-island-5 { width: 70px; height: 28px; top: 65%; right: 20%; animation: gv-float 4s ease-in-out -1.5s infinite; }
.gv-island-6 { width: 120px; height: 48px; top: 35%; left: 12%; animation: gv-float 5.5s ease-in-out infinite; }
.gv-island-7 { width: 80px; height: 32px; top: 60%; right: 18%; animation: gv-float 4.5s ease-in-out -2s infinite; }
@keyframes gv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 机甲 */
.gv-mecha {
  position: absolute;
  width: 28px;
  height: 28px;
  animation: gv-hover 2.5s ease-in-out infinite;
}
.gv-mecha::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 16px var(--cyan);
}
.gv-mecha::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--violet);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--violet);
}
.gv-mecha-1 { top: 40%; left: 35%; animation-delay: 0s; }
.gv-mecha-2 { top: 60%; right: 30%; animation-delay: -1.2s; }
.gv-mecha-3 { top: 50%; left: 40%; animation-delay: -0.5s; }
.gv-mecha-4 { top: 45%; left: 45%; animation-delay: -1.8s; }
@keyframes gv-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 能量碎片 */
.gv-shard {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 12px var(--cyan);
  animation: gv-shard-spin 3s linear infinite;
}
.gv-shard-1 { top: 28%; left: 70%; }
.gv-shard-2 { top: 55%; left: 25%; }
.gv-shard-3 { top: 75%; left: 65%; }
@keyframes gv-shard-spin {
  to { transform: rotate(360deg); }
}

/* 能量环 */
.gv-energy-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  top: 30%;
  left: 45%;
  box-shadow: 0 0 20px rgba(69,217,255,.3);
  animation: gv-ring-pulse 2s ease-in-out infinite;
}
.gv-energy-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--violet);
  border-radius: 50%;
  animation: gv-ring-pulse 1.5s ease-in-out infinite reverse;
}
.gv-energy-ring-2 { border-color: var(--violet); box-shadow: 0 0 20px rgba(138,99,255,.3); }
.gv-energy-ring-2::before { border-color: var(--magenta); }
@keyframes gv-ring-pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.2); opacity: .5; }
}

/* 陨石 */
.gv-meteor {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber);
}
.gv-meteor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,179,59,.8), transparent);
  transform-origin: left center;
  transform: rotate(45deg) translateX(-20px);
}
.gv-meteor-1 { top: 10%; left: 60%; animation: gv-meteor-fall 2s linear infinite; }
.gv-meteor-2 { top: 15%; left: 30%; animation: gv-meteor-fall 2.5s linear infinite -.8s; }
.gv-meteor-3 { top: 5%; left: 80%; animation: gv-meteor-fall 3s linear infinite -1.5s; }
@keyframes gv-meteor-fall {
  0% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(60px, 180px); opacity: 0; }
}

/* 冲击圈 */
.gv-impact {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  bottom: 15%;
  right: 25%;
  animation: gv-impact 2s ease-out infinite;
}
@keyframes gv-impact {
  0% { transform: scale(.4); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* 闪电 */
.gv-bolt {
  position: absolute;
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--magenta), var(--cyan), transparent);
  filter: blur(.5px);
  opacity: 0;
  animation: gv-bolt-flash 2s ease-in-out infinite;
}
.gv-bolt-1 { top: 15%; left: 30%; }
.gv-bolt-2 { top: 20%; left: 60%; animation-delay: -.6s; }
.gv-bolt-3 { top: 10%; left: 45%; animation-delay: -1.2s; }
@keyframes gv-bolt-flash {
  0%, 100% { opacity: 0; height: 20px; }
  50% { opacity: 1; height: 80px; }
}

.gallery-info {
  padding: 24px 24px 26px;
}
.gallery-info h3 {
  font-size: 20px;
  margin: 6px 0 10px;
}
.gallery-info h3 span {
  display: block;
  margin-top: 4px;
  font-size: .55em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
}
.gallery-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ========== UI重设计: Hero 浮动装饰(替换旧 mini-island + hero-mech) ========== */
.float-orb, .float-tri, .float-diamond {
  position: absolute;
  width: var(--s, 16px); height: var(--s, 16px);
  left: var(--x, 50%); top: var(--y, 50%);
  border-radius: 50%;
  background: var(--c, var(--cyan));
  box-shadow: 0 0 20px var(--c, var(--cyan)), 0 0 60px color-mix(in srgb, var(--c, var(--cyan)) 40%, transparent);
  opacity: .6;
  animation: hero-float 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}
.float-tri { border-radius: 0; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.float-diamond { border-radius: 0; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: .4; }
  50% { transform: translateY(-18px) rotate(8deg); opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .float-orb, .float-tri, .float-diamond { animation: none; }
}

/* 字体提升: 标题用 Rajdhani(数字与英文), 中文标题加大字重 */
.hero-title span { font-weight: 900; letter-spacing: -0.02em; }
.hero-title { font-family: var(--font-display), var(--font); }
.sec-head h2 { font-weight: 800; letter-spacing: -0.01em; }
.hero-stats b { font-family: var(--font-display); font-weight: 700; font-size: 1.15em; }
