/* ---------- 基础 ---------- */
:root {
  --bg: #06070d;
  --bg-2: #0b0d18;
  --fg: #e6e9f2;
  --fg-dim: #9aa3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --cy: #5ef0ff;
  --pp: #a78bfa;
  --pk: #ff7ac6;
  --grad: linear-gradient(135deg, #5ef0ff 0%, #a78bfa 50%, #ff7ac6 100%);
  --shadow-1: 0 30px 80px -30px rgba(94, 240, 255, 0.25);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html {
  scroll-behavior: smooth;
  touch-action: pan-y;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
}
html, body { overflow: hidden; }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  touch-action: pan-y;
  overscroll-behavior: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.terminal, .link-item .meta, .toast {
  -webkit-user-select: text;
  user-select: text;
}
a, button, .card, .tile, .link-item, .btn {
  touch-action: manipulation;
}
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: none; }
@media (hover: none) { button { cursor: pointer; } }
img, svg { display: block; max-width: 100%; }

::selection { background: rgba(94, 240, 255, 0.35); color: #fff; }

/* ---------- 背景层 ---------- */
.bg-fixed {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(167, 139, 250, 0.18) 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(94, 240, 255, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #06070d 0%, #0a0c18 100%);
}
#particles {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.85;
}
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.noise {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ---------- 自定义光标 ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cy);
  box-shadow: 0 0 10px var(--cy);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
  mix-blend-mode: difference;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--cy);
  background: rgba(94, 240, 255, 0.06);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 顶部进度 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0%; z-index: 100;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(94,240,255,.6);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: rgba(11, 13, 24, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.6);
}
.nav .brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: 1px;
}
.nav .brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--cy);
  animation: pulse 2s ease-in-out infinite;
}
.nav a {
  font-size: 13px; color: var(--fg-dim);
  padding: 8px 12px; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.nav .cta {
  margin-left: 4px; padding: 8px 14px;
  color: #06070d; font-weight: 600;
  background: var(--grad);
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav .cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(94,240,255,.6); }

@media (max-width: 720px) {
  .nav .links { display: none; }
}

/* ---------- 通用容器 ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 120px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.02);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cy); box-shadow: 0 0 10px var(--cy);
}
.section-title {
  margin: 18px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.5px;
  font-weight: 700; line-height: 1.15;
}
.section-sub {
  max-width: 640px; color: var(--fg-dim);
  font-size: 15px; line-height: 1.8; margin: 0 0 56px;
}
.section-head { margin-bottom: 16px; }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 72px 20px 24px;
  text-align: center;
  position: relative;
}
.hero .ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(1100px, 110vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}
.hero .ring.r2 { width: min(800px, 88vw); border-color: rgba(167,139,250,.08); }
.hero .ring.r3 { width: min(540px, 70vw); border-color: rgba(94,240,255,.10); }
.hero .ring::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 75%, rgba(94,240,255,.6) 90%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 2px), #000 0);
          mask: radial-gradient(circle, transparent calc(100% - 2px), #000 0);
  animation: spin 12s linear infinite;
  opacity: .8;
}
.hero .ring.r2::after { animation-duration: 18s; animation-direction: reverse; }
.hero .ring.r3::after { animation-duration: 9s; }

.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  margin-bottom: 26px;
}
.hero .badge .live {
  width: 6px; height: 6px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 10px #34d399; animation: pulse 1.4s ease-in-out infinite;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05; letter-spacing: -1.5px;
  font-weight: 800;
}
.hero h1 .gradient {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .typewriter {
  display: inline-block; min-height: 1.4em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--fg-dim); letter-spacing: 1px;
  margin: 6px 0 30px;
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
}
.hero .typewriter::after {
  content: "▍"; color: var(--cy); margin-left: 2px;
  animation: caret 1s steps(1) infinite;
}
.hero .actions {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin-top: 8px;
}
.hero .actions .btn {
  min-width: 128px;
  padding: 12px 18px;
  justify-content: center;
  text-align: center;
}
@media (max-width: 380px) {
  .hero .actions .btn { min-width: 112px; padding: 10px 14px; }
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  font-weight: 600; font-size: 14px;
  color: var(--fg);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,13,24,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn:hover { transform: translateY(-2px); border-color: rgba(94,240,255,.6); background: rgba(11,13,24,.8); }
.btn.primary {
  color: #06070d; background: var(--grad); border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(94,240,255,.5);
}
.btn.primary:hover { box-shadow: 0 20px 40px -10px rgba(94,240,255,.7); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.hero .scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 2px; color: var(--fg-dim);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero .scroll-hint .bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--fg-dim), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

/* ---------- 数据条 ---------- */
.stats { padding: 0 0 40px; }
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .item {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
  position: relative;
}
.stats .item:first-child { border-left: 0; }
.stats .num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
}
.stats .label {
  margin-top: 6px; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--fg-dim);
}
@media (max-width: 720px) {
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stats .item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats .item:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ---------- 跑马灯（保留 CSS，主页面没有渲染） ---------- */
.marquee {
  position: relative; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(6, 7, 13, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .item { font-size: 14px; }
.marquee .track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee .item {
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 18px; color: var(--fg-dim); letter-spacing: 1px;
  display: flex; align-items: center; gap: 16px; white-space: nowrap;
}
.marquee .item::after { content: "✦"; color: rgba(255,255,255,.2); }

/* ---------- Contact / 联系卡片 ---------- */
.links { display: grid; gap: 10px; }
.link-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  text-align: left;
  width: 100%;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
button.link-item { font: inherit; color: inherit; cursor: pointer; }
.link-item:hover { transform: translateY(-2px); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.link-item .ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(94,240,255,.15), rgba(167,139,250,.15));
  color: var(--cy); flex: 0 0 36px;
}
.link-item .meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.link-item .meta b { font-size: 14px; font-weight: 600; }
.link-item .meta span { font-size: 12px; color: var(--fg-dim); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.link-item .arrow { margin-left: auto; color: var(--fg-dim); font-size: 13px; }

/* ---------- Footer ---------- */
footer {
  padding: 14px 0 14px;
  color: var(--fg-dim); font-size: 12px;
}
footer .row {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
footer .brand-mini {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 1px; color: var(--fg);
}
footer .brand-mini .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px var(--cy);
}
footer .links-mini { display: flex; gap: 18px; flex-wrap: wrap; }
footer .links-mini a:hover { color: var(--fg); }
footer { padding-bottom: max(14px, env(safe-area-inset-bottom)); }

/* ---------- Reveal 动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px;
  transform: translate(-50%, 14px);
  background: rgba(11,13,24,.9); color: #fff;
  border: 1px solid var(--line-2);
  padding: 10px 18px; border-radius: 999px; font-size: 13px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9900;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 通用动画 ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}
@keyframes caret { 50% { opacity: 0; } }
@keyframes scroll-hint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 多端适配 ---------- */
@media (min-width: 1440px) { .container { max-width: 1280px; } }
@media (max-width: 1100px) { section { padding: 96px 0; } }
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .hero h1 { letter-spacing: -1px; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .section-sub { font-size: 14px; margin-bottom: 40px; }
  .hero h1 { letter-spacing: -.5px; }
  .hero .scroll-hint { display: none; }
  .marquee { padding: 40px 0; }
  .marquee .item { font-size: 16px; }
  .marquee .track { gap: 36px; animation-duration: 28s; }
  /* 渐变光斑改成上下居中对称 */
  .bg-fixed {
    background:
      radial-gradient(700px 480px at 50% -10%, rgba(167,139,250,.20) 0%, transparent 60%),
      radial-gradient(700px 480px at 50% 110%, rgba(94,240,255,.18) 0%, transparent 60%),
      linear-gradient(180deg, #06070d 0%, #0a0c18 100%);
  }
  .grid-overlay {
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  }
  .hero .ring { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .nav { top: 10px; padding: 6px 14px; }
  .nav .brand { font-size: 12px; }
  .nav .cta { padding: 7px 12px; font-size: 12px; }
  .hero { padding: 64px 14px 12px; }
  .hero .badge { font-size: 11px; padding: 5px 10px; margin-bottom: 18px; letter-spacing: 1px; }
  .hero .actions { gap: 10px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .stats { padding: 0 0 24px; }
  .stats .item { padding: 22px 16px; }
  .stats .label { font-size: 11px; letter-spacing: 1.5px; }
  .section-title { letter-spacing: -.3px; }
  .link-item .meta span { max-width: 180px; }
  footer .row { flex-direction: column; gap: 10px; justify-content: center; text-align: center; }
  footer .brand-mini { justify-content: center; }
  footer .links-mini { justify-content: center; }
  .toast { left: 16px; right: 16px; bottom: 16px;
           transform: translateY(14px); max-width: none; }
  .toast.show { transform: translateY(0); }
  .modal-card { padding: 26px 20px 22px; border-radius: 18px; }
  .modal-card h3 { font-size: 19px; }
  .modal-sub { font-size: 12px; margin-bottom: 16px; }
}
@media (max-width: 380px) {
  .nav .brand { padding-right: 6px; margin-right: 2px; letter-spacing: .5px; }
  .nav .cta { padding: 6px 10px; }
  .hero .badge { font-size: 10px; }
}
@media (max-height: 640px) and (orientation: landscape) {
  .hero .scroll-hint { display: none; }
  section { padding: 60px 0; }
}
@media (-webkit-device-pixel-ratio: 3), (min-resolution: 3dppx) {
  #particles { opacity: .7; }
}

/* ---------- 开屏 SPLASH ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9990;
  background: radial-gradient(800px 600px at 50% 50%, #0c1024 0%, #06070d 70%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity .6s ease;
}
.splash.done { opacity: 0; pointer-events: none; }
.splash-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(94,240,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,240,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridPan 6s ease-in-out infinite alternate;
}
@keyframes gridPan {
  from { transform: translate(0,0); }
  to   { transform: translate(20px, -10px); }
}
.splash-inner {
  position: relative; z-index: 2;
  text-align: center; color: #e6e9f2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.splash-logo {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.splash-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(94,240,255,.25);
}
.splash-ring::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, var(--cy) 90%, transparent 100%);
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 2px), #000 0);
          mask: radial-gradient(circle, transparent calc(100% - 2px), #000 0);
  animation: spin 1.2s linear infinite;
}
.splash-ring.r2 {
  inset: 12px;
  border-color: rgba(167,139,250,.25);
}
.splash-ring.r2::before {
  background: conic-gradient(from 180deg, transparent 70%, var(--pp) 90%, transparent 100%);
  animation: spin 1.6s linear infinite reverse;
}
.splash-char {
  font-size: 44px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pulse2 1.6s ease-in-out infinite;
}
@keyframes pulse2 {
  0%,100% { filter: drop-shadow(0 0 4px rgba(94,240,255,.3)); }
  50%     { filter: drop-shadow(0 0 14px rgba(167,139,250,.7)); }
}
.splash-brand { display: flex; flex-direction: column; gap: 6px; }
.splash-brand b {
  font-size: 18px; font-weight: 700; letter-spacing: 2px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.splash-brand i {
  font-style: normal; font-size: 10px; letter-spacing: 5px;
  color: var(--fg-dim);
}
.splash-bar {
  width: 220px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.08); overflow: hidden;
  position: relative;
}
.splash-fill {
  width: 0%; height: 100%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(94,240,255,.6);
  transition: width .2s ease;
}
.splash-pct {
  font-family: "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 3px; color: var(--fg-dim);
}
.splash-pct em { font-style: normal; color: var(--cy); margin-left: 2px; }
.splash-tip {
  font-size: 10px; letter-spacing: 4px; color: rgba(255,255,255,.35);
  margin-top: 4px;
}
.splash-curtain {
  position: absolute; left: 0; right: 0; height: 50%;
  background: #06070d;
  z-index: 3;
  transform: scaleY(0);
  transition: transform .9s cubic-bezier(.7,.0,.3,1) .1s;
}
.splash-curtain.top    { top: 0;    transform-origin: top; }
.splash-curtain.bottom { bottom: 0; transform-origin: bottom; }
.splash.curtain .splash-curtain { transform: scaleY(0); }

body.loading { overflow: hidden; }

/* ---------- Hero 文字逐字进场 ---------- */
.hero h1 .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) scale(.3) rotateX(60deg);
  transform-origin: 50% 100%;
  filter: blur(14px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1),
              transform 1s cubic-bezier(.16,1,.3,1),
              filter .9s ease;
}
body.ready .hero h1 .ch {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
  filter: blur(0);
}
.hero h1 .ch.space { width: .35em; }
body.ready .hero h1 .ch {
  animation: chGlow 4s ease-in-out infinite;
  animation-delay: inherit;
}
@keyframes chGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(255,255,255,0); }
  50%      { text-shadow: 0 0 24px rgba(167,139,250,.18); }
}
.hero h1 .gradient .ch {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Hero 其余元素分层进场 */
.hero .badge,
.hero .typewriter,
.hero .actions { opacity: 0; transform: translateY(14px);
                  transition: opacity .8s ease .9s, transform .8s ease .9s; }
body.ready .hero .badge { transition-delay: .9s; opacity: 1; transform: none; }
body.ready .hero .typewriter { transition-delay: 1.2s; opacity: 1; transform: none; }
body.ready .hero .actions { transition-delay: 1.4s; opacity: 1; transform: none; }

/* ---------- 标题悬停 glitch（仅真鼠标 + 真 hover） ---------- */
@media (hover: hover) and (pointer: fine) {
  .hero h1 .gradient { position: relative; cursor: none; }
  .hero h1 .gradient::before,
  .hero h1 .gradient::after {
    content: attr(data-text);
    position: absolute; left: 0; top: 0;
    width: 100%; height: 100%;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0;
    pointer-events: none;
  }
  .hero h1 .gradient:hover::before {
    opacity: .85; animation: glitch1 .65s steps(1) infinite;
    text-shadow: 2px 0 var(--cy);
  }
  .hero h1 .gradient:hover::after {
    opacity: .85; animation: glitch2 .65s steps(1) infinite;
    text-shadow: -2px 0 var(--pk);
  }
}
@keyframes glitch1 {
  0%,100% { transform: translate(0,0); clip-path: inset(0 0 70% 0); }
  20%     { transform: translate(-3px, 1px); clip-path: inset(30% 0 50% 0); }
  40%     { transform: translate(2px, -1px); clip-path: inset(60% 0 10% 0); }
  60%     { transform: translate(-1px, 2px); clip-path: inset(10% 0 80% 0); }
  80%     { transform: translate(3px, 0);   clip-path: inset(50% 0 30% 0); }
}
@keyframes glitch2 {
  0%,100% { transform: translate(0,0); clip-path: inset(70% 0 0 0); }
  20%     { transform: translate(2px, -2px); clip-path: inset(20% 0 60% 0); }
  40%     { transform: translate(-3px, 1px); clip-path: inset(50% 0 20% 0); }
  60%     { transform: translate(1px, -2px); clip-path: inset(80% 0 10% 0); }
  80%     { transform: translate(-2px, 0);   clip-path: inset(30% 0 50% 0); }
}

@media (hover: hover) and (pointer: fine) {
  .marquee:hover .track { animation-play-state: paused; }
}

/* 礼花层 */
#confetti {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9800;
}

.btn { will-change: transform; }

/* ---------- 联系方式 弹层 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 6, 14, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.modal-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 440px;
  padding: 32px 28px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22,26,44,.95), rgba(11,13,24,.95));
  border: 1px solid var(--line-2);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.03) inset;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: opacity .35s cubic-bezier(.2,.7,.2,1) .05s,
              transform .35s cubic-bezier(.2,.7,.2,1) .05s;
}
.modal-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 22px; padding: 1px;
  background: linear-gradient(135deg, rgba(94,240,255,.5), rgba(167,139,250,.5), rgba(255,122,198,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.modal[aria-hidden="false"] .modal-card {
  transform: none; opacity: 1;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-dim);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: rgba(255,255,255,.08); color: var(--fg); }
.modal-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 3px; color: var(--fg-dim);
  padding: 4px 10px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.02);
  margin-bottom: 14px;
}
.modal-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cy); box-shadow: 0 0 10px var(--cy);
}
.modal-card h3 {
  margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.3px;
}
.modal-sub {
  margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: var(--fg-dim);
}
.modal .links { display: grid; gap: 10px; }
body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
}