/* ============================================================
   萌舞科技 · Apple-style Portal
   ============================================================ */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #000000;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-inverse: #f5f5f7;
  --ink-inverse-soft: #a1a1a6;
  --brand: #ff2d78;
  --brand-2: #7b5cff;
  --brand-3: #0a84ff;
  --ok: #30d158;
  --ok-ink: #1d9c42;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --track: #e3e3e8;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --shadow: rgba(0, 0, 0, .25);
  --radius: 22px;
  --radius-lg: 30px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08080c;
  --bg-soft: #101016;
  --bg-dark: #000000;
  --surface: #16161c;
  --ink: #f5f5f7;
  --ink-soft: #98989d;
  --line: rgba(255, 255, 255, 0.13);
  --track: #2c2c34;
  --nav-bg: rgba(10, 10, 14, 0.72);
  --ok-ink: #6ee88b;
  --shadow: rgba(0, 0, 0, .7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* 锚点跳转时为吸顶导航留出空间，避免标题被挡住 */
  scroll-padding-top: calc(var(--nav-h) + 18px);
}
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.5; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: rgba(123, 92, 255, .25); }

/* 细滚动条 */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 980px; border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--brand-2) 60%, transparent); background-clip: content-box; }

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 加载动画 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; gap: 22px;
  justify-items: center; background: #000;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark {
  width: 46px; height: 46px; border-radius: 14px; position: relative;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  animation: markPulse 1.4s var(--ease) infinite;
}
.loader__mark::after {
  content: ""; position: absolute; inset: 12px; border-radius: 7px;
  border: 3px solid rgba(255,255,255,.9);
  border-bottom-color: transparent; border-right-color: transparent;
}
@keyframes markPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(.88);opacity:.75} }
.loader__bar { width: 140px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; }
.loader__bar i {
  display: block; height: 100%; width: 40%; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  animation: loadSlide 1.1s var(--ease) infinite;
}
@keyframes loadSlide { 0%{transform:translateX(-110%)} 100%{transform:translateX(360%)} }

/* ---------- 跳转链接 ---------- */
.skip {
  position: fixed; top: 8px; left: 50%; transform: translate(-50%, -200%); z-index: 1500;
  padding: 10px 20px; border-radius: 980px; font-size: 14px; color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  transition: transform .3s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* ---------- 滚动进度条 ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1200;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 980px; font-size: 17px; font-weight: 500;
  letter-spacing: .2px; cursor: pointer; border: none; font-family: inherit;
  transition: transform .4s var(--ease), background .3s var(--ease),
    color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary {
  color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px -8px rgba(123, 92, 255, .55);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(123, 92, 255, .7); }
.btn--ghost { color: var(--brand-3); background: transparent; }
.btn--ghost:hover { color: var(--brand-2); }
.btn--ghost-light { color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.24); }
.btn--outline { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--brand-2); color: var(--brand-2); }
.btn--full { width: 100%; margin-top: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__logo { display: flex; align-items: center; gap: 9px; font-weight: 600; flex-shrink: 0; }
.nav__logo-mark {
  width: 22px; height: 22px; border-radius: 7px; position: relative; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 12px -3px rgba(255, 45, 120, .6);
}
.nav__logo-mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 4px;
  border: 2px solid rgba(255,255,255,.9);
  border-bottom-color: transparent; border-right-color: transparent;
}
.nav__logo-text { font-size: 19px; letter-spacing: .5px; }
.nav__menu { display: flex; gap: 24px; }
.nav__menu a {
  font-size: 14px; color: var(--ink); opacity: .85; position: relative; padding: 4px 0;
  transition: opacity .25s var(--ease); white-space: nowrap;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .35s var(--ease);
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }
.nav__menu a.is-active { opacity: 1; font-weight: 500; }
.nav__menu-cta { display: none; } /* 仅在移动端菜单里出现 */
.nav__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__cta {
  font-size: 14px; font-weight: 500; color: #fff; padding: 7px 16px; border-radius: 980px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2)); white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(123,92,255,.6); }

/* 主题切换按钮 */
.themeBtn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; display: grid; place-items: center;
  color: var(--ink); transition: all .35s var(--ease); position: relative;
}
.themeBtn:hover { border-color: var(--brand-2); color: var(--brand-2); transform: rotate(20deg); }
.themeBtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; position: absolute; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.themeBtn .ic-moon { opacity: 0; transform: scale(.5) rotate(-40deg); }
[data-theme="dark"] .themeBtn .ic-sun { opacity: 0; transform: scale(.5) rotate(40deg); }
[data-theme="dark"] .themeBtn .ic-moon { opacity: 1; transform: none; }

.nav__toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) 22px 90px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #1b1030 0%, #000 55%, #000 100%);
  color: var(--ink-inverse);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(600px 300px at 20% 20%, rgba(255,45,120,.22), transparent 60%),
    radial-gradient(700px 360px at 80% 30%, rgba(123,92,255,.22), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(10,132,255,.18), transparent 60%);
}
.hero__glow {
  position: absolute; width: 680px; height: 680px; border-radius: 50%; pointer-events: none;
  top: 30%; left: 50%; transform: translate(-50%,-50%);
  background: conic-gradient(from 0deg, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
  filter: blur(130px); opacity: .3; animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hero__content { position: relative; z-index: 2; max-width: 940px; }
.hero__eyebrow { font-size: 19px; color: var(--brand); font-weight: 500; letter-spacing: 1px; margin-bottom: 18px; }
.hero__title {
  font-size: clamp(46px, 8.6vw, 104px); line-height: 1.05; font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 30%, #d7d7dd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__rotator { display: inline-block; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.hero__rotator.is-out { opacity: 0; transform: translateY(-16px); }
.hero__subtitle {
  margin: 26px auto 0; max-width: 660px; font-size: clamp(17px, 2.4vw, 22px);
  color: var(--ink-inverse-soft); font-weight: 400;
}
.hero__actions { margin-top: 40px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__badges {
  margin-top: 34px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-inverse-soft);
}
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; }
.hero__scroll span {
  display: block; width: 24px; height: 38px; margin: 0 auto 8px;
  border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  background: #fff; border-radius: 3px; transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }
.hero__scroll p { font-size: 12px; color: var(--ink-inverse-soft); letter-spacing: 1px; }

/* ---------- 跑马灯 ---------- */
.marquee-wrap { background: var(--bg-dark); padding: 48px 0 12px; overflow: hidden; }
.marquee-title { text-align: center; color: var(--ink-inverse-soft); font-size: 14px; letter-spacing: 1px; margin-bottom: 22px; }
.marquee {
  position: relative; 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: 46px; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: 20px; font-weight: 600; color: rgba(255,255,255,.4); white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee__track span:hover { color: #fff; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--bg-dark); padding: 60px 22px 80px; }
.stats__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b {
  display: block; font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--ink-inverse-soft); font-size: 15px; }

/* ---------- Section shared ---------- */
.section-title { font-size: clamp(30px, 5vw, 56px); font-weight: 700; letter-spacing: -.5px; line-height: 1.08; }
.section-lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-soft); max-width: 660px; }
.intro { max-width: 1100px; margin: 0 auto; padding: 130px 22px 40px; text-align: center; }
.intro .section-lead { margin-inline: auto; }

/* ---------- Feature ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px;
  max-width: 1180px; margin: 0 auto; padding: 90px 22px;
}
.feature--dark {
  max-width: none; background: var(--bg-dark); color: var(--ink-inverse);
  padding-left: max(22px, calc((100% - 1180px) / 2 + 22px));
  padding-right: max(22px, calc((100% - 1180px) / 2 + 22px));
}
.feature--dark .feature__desc, .feature--dark .feature__list li { color: var(--ink-inverse-soft); }
.feature--dark .feature__list li::before { color: var(--brand); }
.feature__tag {
  font-size: 15px; font-weight: 600; letter-spacing: .5px; margin-bottom: 14px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature__title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.feature__desc { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }
.feature__list { margin-top: 22px; list-style: none; display: grid; gap: 12px; }
.feature__list li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink-soft); }
.feature__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--brand-2); font-weight: 700; }
.feature__metrics { margin-top: 30px; display: flex; gap: 34px; flex-wrap: wrap; }
.feature__metrics b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.feature__metrics span { font-size: 13px; color: var(--ink-soft); }
.feature--dark .feature__metrics span { color: var(--ink-inverse-soft); }
.feature__media { display: flex; align-items: center; justify-content: center; }

/* ---------- 装饰插画 ---------- */
.art {
  width: 100%; aspect-ratio: 1/1; max-width: 460px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #14141a, #26263a);
  border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.feature:not(.feature--dark) .art {
  background: linear-gradient(160deg, #f3f0ff, #eef4ff);
  border-color: var(--line); box-shadow: 0 40px 80px -34px rgba(123,92,255,.4);
}
[data-theme="dark"] .feature:not(.feature--dark) .art {
  background: linear-gradient(160deg, #17141f, #171b2b); border-color: var(--line-dark);
}
.art--idc { gap: 16px; }
.art--idc .rack {
  width: 54px; height: 62%; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #2b2b3d, #16161f); border: 1px solid rgba(255,255,255,.08);
}
.art--idc .rack::before {
  content: ""; position: absolute; inset: 8px 8px auto 8px; height: 6px; border-radius: 3px;
  background: var(--brand); opacity: .8;
  box-shadow: 0 12px 0 rgba(123,92,255,.8), 0 24px 0 rgba(10,132,255,.8), 0 36px 0 rgba(255,45,120,.6), 0 48px 0 rgba(123,92,255,.5);
  animation: blink 2.2s var(--ease) infinite;
}
.art--idc .rack:nth-child(2)::before { animation-delay: .4s; }
.art--idc .rack:nth-child(3)::before { animation-delay: .8s; }
@keyframes blink { 0%,100%{opacity:.35} 50%{opacity:1} }
.art--rent .chip {
  width: 46%; aspect-ratio: 1; border-radius: 18px; position: relative; z-index: 2;
  background: linear-gradient(145deg, #7b5cff, #ff2d78);
  box-shadow: 0 20px 50px -18px rgba(123,92,255,.8);
}
.art--rent .chip::before {
  content: "CPU"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 700; letter-spacing: 2px; font-size: 15px;
}
.art--rent .chip::after { content: ""; position: absolute; inset: -14px; border-radius: 26px; border: 1px dashed rgba(123,92,255,.5); }
.art--rent .pulse {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(123,92,255,.5); animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%{transform:scale(.7);opacity:.9} 100%{transform:scale(1.6);opacity:0} }
.art--storage { flex-direction: column; gap: 14px; }
.art--storage .disk {
  width: 62%; height: 42px; border-radius: 12px; position: relative;
  background: linear-gradient(180deg, #2b2b3d, #16161f); border: 1px solid rgba(255,255,255,.08);
}
.art--storage .disk::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-2); animation: blink 1.8s infinite;
}
.art--storage .disk::after {
  content: ""; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 40%; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px);
}
.art--storage .disk:nth-child(2)::before { animation-delay:.5s; }
.art--storage .disk:nth-child(3)::before { animation-delay:1s; }

/* ---------- 游戏部署 ---------- */
.game { background: var(--bg-dark); color: var(--ink-inverse); padding: 120px 22px; }
.game__head { max-width: 1180px; margin: 0 auto 50px; text-align: center; }
.game__head .section-lead { margin-inline: auto; color: var(--ink-inverse-soft); }
.game__body { max-width: 1180px; margin: 0 auto; }
.game__picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-bottom: 34px; }
.gtab {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px;
  border-radius: 18px; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--ink-inverse-soft);
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  transition: background .35s var(--ease), transform .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.gtab:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); color: #fff; }
.gtab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(140deg, rgba(255,45,120,.9), rgba(123,92,255,.9));
  box-shadow: 0 16px 34px -14px rgba(123,92,255,.9);
}
.gtab__icon { font-size: 26px; }
.game__panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 40px;
}
.game__info h4 { font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
.game__info > p { margin-top: 12px; color: var(--ink-inverse-soft); font-size: 16px; }
.game__specs { margin: 26px 0 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.game__specs span { display: block; font-size: 13px; color: var(--ink-inverse-soft); margin-bottom: 3px; }
.game__specs b { font-size: 20px; font-weight: 600; }
.game__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.game__tags i {
  font-style: normal; font-size: 12px; padding: 5px 12px; border-radius: 980px;
  background: rgba(123,92,255,.18); color: #cfc4ff; border: 1px solid rgba(123,92,255,.3);
}
.terminal {
  border-radius: 18px; overflow: hidden; background: #0b0b10;
  border: 1px solid var(--line-dark); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
}
.terminal__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: rgba(255,255,255,.05); border-bottom: 1px solid var(--line-dark);
}
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: 10px; font-size: 12px; color: var(--ink-inverse-soft); font-family: var(--mono); }
.terminal__body {
  padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.9;
  color: #a8ffbe; min-height: 250px; white-space: pre-wrap; word-break: break-all;
}
.terminal__body .c-dim { color: #7d7d86; }
.terminal__body .c-pink { color: #ff6aa8; }
.terminal__body .c-blue { color: #5ac8fa; }
.terminal__body .cursor { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- CDN 网络 ---------- */
.cdn { padding: 130px 22px; max-width: 1180px; margin: 0 auto; }
.cdn__head { text-align: center; margin-bottom: 48px; }
.cdn__head .section-lead { margin-inline: auto; }
.cdn__map {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #1a1030, #06060c 70%);
  border: 1px solid var(--line-dark); box-shadow: 0 50px 100px -40px rgba(123,92,255,.5);
}
.cdn__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(123,92,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,92,255,.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
}
.cdn__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cdn__svg .arc {
  fill: none; stroke: url(#arcGrad); stroke-width: 1.2; opacity: .5;
  stroke-dasharray: 5 9; animation: flow 2.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -28; } }
.cdn__svg .packet { fill: #fff; filter: drop-shadow(0 0 5px var(--brand)); }
.cdn__node {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; cursor: pointer; z-index: 3;
  background: var(--brand); box-shadow: 0 0 14px var(--brand); transform: translate(-50%,-50%);
  border: none; padding: 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.cdn__node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--brand); opacity: .6; animation: ring 2.4s var(--ease) infinite;
}
.cdn__node:hover, .cdn__node:focus-visible { transform: translate(-50%,-50%) scale(1.7); background: #fff; }
.cdn__node span {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: rgba(255,255,255,.6); white-space: nowrap; pointer-events: none;
}
.cdn__node--hub { width: 18px; height: 18px; background: #fff; box-shadow: 0 0 22px #fff, 0 0 44px var(--brand); }
.cdn__node--hub::after { inset: -9px; border-color: #fff; }
.cdn__node--hub span { top: 20px; color: #fff; font-weight: 600; }
@keyframes ring { 0%{transform:scale(.6);opacity:.8} 100%{transform:scale(2.4);opacity:0} }
.cdn__tooltip {
  position: absolute; padding: 10px 14px; border-radius: 12px; pointer-events: none; z-index: 4;
  background: rgba(255,255,255,.1); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13px;
  opacity: 0; transform: translate(-50%, -130%); transition: opacity .25s var(--ease); white-space: nowrap;
}
.cdn__tooltip.is-show { opacity: 1; }
.cdn__tooltip b { color: var(--brand); }
.cdn__legend { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.cdn__legend b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
.cdn__legend span { font-size: 14px; color: var(--ink-soft); }

/* ---------- 五层架构（滚动叙事） ---------- */
.arch { position: relative; height: 420vh; background: var(--bg-dark); color: var(--ink-inverse); }
.arch__sticky {
  position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.arch__inner {
  max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.arch__title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.5px; line-height: 1.1; }
.arch__desc { margin-top: 30px; min-height: 170px; }
.arch__desc h4 {
  font-size: 26px; font-weight: 700; margin-bottom: 12px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.arch__desc p { font-size: 17px; color: var(--ink-inverse-soft); max-width: 460px; }
.arch__desc.is-swap h4, .arch__desc.is-swap p { opacity: 0; transform: translateY(12px); }
.arch__desc h4, .arch__desc p { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.arch__dots { display: flex; gap: 8px; margin-top: 26px; }
.arch__dots i {
  width: 26px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2);
  transition: background .4s var(--ease);
}
.arch__dots i.is-on { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.arch__stack {
  position: relative; height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; perspective: 1000px;
}
.arch__stack .layer {
  position: absolute; left: 50%; width: min(100%, 400px); padding: 20px 26px; border-radius: 18px;
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(140deg, rgba(30,30,44,.96), rgba(16,16,24,.96));
  border: 1px solid var(--line-dark); backdrop-filter: blur(8px);
  transform: translate(-50%, 0) rotateX(52deg) scale(.9); opacity: .25;
  transition: transform .7s var(--ease), opacity .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease);
}
.arch__stack .layer i { font-style: normal; font-size: 24px; }
.arch__stack .layer b { font-size: 18px; font-weight: 600; }
.arch__stack .layer em { font-style: normal; font-size: 12px; color: var(--ink-inverse-soft); margin-left: auto; }
.arch__stack .layer.is-in { opacity: 1; }
.arch__stack .layer.is-current {
  border-color: rgba(123,92,255,.7);
  box-shadow: 0 26px 60px -22px rgba(123,92,255,.85);
}

/* ---------- 配置器 ---------- */
.builder { background: var(--bg-soft); padding: 130px 22px; }
.builder__head { max-width: 1180px; margin: 0 auto 50px; text-align: center; }
.builder__head .section-lead { margin-inline: auto; }
.builder__body { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.builder__controls {
  background: var(--surface); border-radius: var(--radius-lg); padding: 38px; border: 1px solid var(--line);
  display: grid; gap: 30px;
}
.ctrl__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ctrl__top label, .ctrl__label { font-size: 16px; font-weight: 500; }
.ctrl__top b {
  font-size: 19px; font-weight: 700;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ctrl__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) var(--p, 20%), var(--track) var(--p, 20%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: grab;
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(0,0,0,.25); cursor: grab;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-btn {
  padding: 9px 18px; border-radius: 980px; font-size: 14px; font-family: inherit; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: all .3s var(--ease);
}
.chip-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }
.chip-btn.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px -8px rgba(123,92,255,.7);
}
.builder__summary {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px var(--shadow); position: sticky; top: calc(var(--nav-h) + 20px);
}
.builder__summary h4 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.summary__list { list-style: none; display: grid; gap: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.summary__list li { display: flex; justify-content: space-between; font-size: 15px; }
.summary__list span { color: var(--ink-soft); }
.summary__list b { font-weight: 600; }
.summary__price { padding: 22px 0 18px; }
.summary__price > span { font-size: 13px; color: var(--ink-soft); }
.summary__num { display: flex; align-items: baseline; gap: 2px; font-size: 22px; font-weight: 600; margin-top: 4px; }
.summary__num b {
  font-size: 46px; font-weight: 700; letter-spacing: -1.5px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.summary__num i { font-style: normal; font-size: 15px; color: var(--ink-soft); margin-left: 4px; }
.summary__year { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.summary__year b { color: var(--brand-2); }
.summary__bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; margin-bottom: 10px; }
.summary__bar i {
  display: block; height: 100%; width: 20%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  transition: width .5s var(--ease);
}
.summary__hint { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- 价格 ---------- */
.pricing { max-width: 1180px; margin: 0 auto; padding: 130px 22px; text-align: center; }
.pricing__toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 34px 0 46px; font-size: 15px; }
.pricing__toggle span { color: var(--ink-soft); transition: color .3s var(--ease); }
.pricing__toggle span.is-active { color: var(--ink); font-weight: 600; }
.pricing__toggle em {
  font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 980px; margin-left: 4px;
  background: rgba(48,209,88,.15); color: var(--ok-ink);
}
.switch {
  width: 52px; height: 30px; border-radius: 980px; border: none; cursor: pointer; padding: 3px;
  background: var(--track); position: relative; transition: background .35s var(--ease);
}
.switch.is-on { background: linear-gradient(120deg, var(--brand), var(--brand-2)); }
.switch i {
  display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .35s var(--ease);
}
.switch.is-on i { transform: translateX(22px); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.plan {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  transform-style: preserve-3d;
}
.plan:hover { box-shadow: 0 40px 70px -40px var(--shadow); border-color: rgba(123,92,255,.4); }
.plan--hot { background: linear-gradient(170deg, #150e28, #0a0a14); color: var(--ink-inverse); border-color: transparent; }
.plan--hot h4, .plan--hot .plan__price { color: #fff; }
.plan--hot .plan__for, .plan--hot ul li { color: var(--ink-inverse-soft); }
.plan__badge {
  position: absolute; top: -12px; right: 22px; font-size: 12px; padding: 5px 14px; border-radius: 980px;
  color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px -8px rgba(255,45,120,.9);
}
.plan h4 { font-size: 22px; font-weight: 600; }
.plan__for { font-size: 13px; color: var(--ink-soft); margin-top: 5px; }
.plan__price { display: flex; align-items: baseline; margin: 22px 0 24px; font-size: 20px; font-weight: 600; }
.plan__price b { font-size: 44px; font-weight: 700; letter-spacing: -1.5px; margin: 0 2px; }
.plan__price i { font-style: normal; font-size: 14px; color: var(--ink-soft); margin-left: 4px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan ul li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }
.plan--hot ul li::before { color: var(--brand); }
.pricing__note { margin-top: 34px; font-size: 13px; color: var(--ink-soft); }

/* ---------- 解决方案 ---------- */
.solutions { background: var(--bg-soft); padding: 130px 22px; }
.solutions .section-title { text-align: center; max-width: 1180px; margin: 0 auto; }
.tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 40px auto 34px;
  background: var(--surface); padding: 6px; border-radius: 980px; border: 1px solid var(--line); width: fit-content;
}
.tab {
  padding: 10px 22px; border-radius: 980px; border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 15px; color: var(--ink-soft); transition: all .35s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px -10px rgba(123,92,255,.8);
}
.tabpanels { max-width: 1080px; margin: 0 auto; }
.tabpanel {
  display: none; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px;
}
.tabpanel.is-active { display: grid; animation: fadeUp .55s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tabpanel__text h4 { font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.tabpanel__text > p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.tabpanel__text ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.tabpanel__text ul li { font-size: 15px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.tabpanel__text ul li::before { content: "→"; position: absolute; left: 0; color: var(--brand-2); }
.tabpanel__text ul b { color: var(--ink); margin-right: 8px; }
.tabpanel__stats { display: grid; gap: 20px; }
.tabpanel__stats > div { background: var(--bg-soft); border-radius: 18px; padding: 20px 22px; border: 1px solid var(--line); }
.tabpanel__stats b {
  display: block; font-size: 32px; font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tabpanel__stats span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 服务状态 ---------- */
.status { background: var(--bg-dark); color: var(--ink-inverse); padding: 130px 22px; }
.status__head { max-width: 1180px; margin: 0 auto 34px; text-align: center; }
.status__head .section-lead { color: var(--ink-inverse-soft); margin-inline: auto; }
.status__banner {
  max-width: 1180px; margin: 0 auto 34px; padding: 16px 24px; border-radius: 16px;
  background: rgba(48,209,88,.1); border: 1px solid rgba(48,209,88,.3); color: #6ee88b;
  font-size: 15px; display: flex; align-items: center; gap: 10px; justify-content: center;
}
.status__banner b { color: #fff; font-weight: 500; }
.dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(48,209,88,.7); animation: beat 2s infinite;
}
@keyframes beat { 70% { box-shadow: 0 0 0 9px rgba(48,209,88,0); } 100% { box-shadow: 0 0 0 0 rgba(48,209,88,0); } }
.status__grid { max-width: 1180px; margin: 0 auto 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gauge { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; }
.gauge__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.gauge__top span { font-size: 14px; color: var(--ink-inverse-soft); }
.gauge__top b { font-size: 22px; font-weight: 700; font-family: var(--mono); }
.bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 12px; }
.bar i {
  display: block; height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 1.2s var(--ease);
}
.gauge p { font-size: 12px; color: var(--ink-inverse-soft); }
.status__list { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.status__list > div {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); font-size: 15px;
}
.status__list em { margin-left: auto; font-style: normal; font-size: 13px; color: #6ee88b; }

/* ---------- 时间线 ---------- */
.timeline-sec { max-width: 1180px; margin: 0 auto; padding: 130px 22px; text-align: center; }
.timeline { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; text-align: left; }
.timeline::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3)); opacity: .25;
}
.tl__num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 20px; position: relative; z-index: 2;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px -12px rgba(123,92,255,.9);
}
.tl h4 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.tl p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Why ---------- */
.why { max-width: 1180px; margin: 0 auto; padding: 0 22px 130px; text-align: center; }
.why .section-title { margin-bottom: 60px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--bg-soft); border-radius: var(--radius); padding: 32px 26px; text-align: left;
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { box-shadow: 0 30px 60px -30px var(--shadow); border-color: rgba(123,92,255,.35); }
.card__icon { font-size: 32px; margin-bottom: 14px; }
.card h4 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 客户评价 ---------- */
.voices { background: var(--bg-soft); padding: 130px 22px; text-align: center; }
.voices__box { max-width: 900px; margin: 50px auto 0; }
.voices__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.voices__track { display: flex; transition: transform .6s var(--ease); }
.voice {
  min-width: 100%; padding: 44px 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); text-align: left;
}
.voice p { font-size: clamp(18px, 2.4vw, 24px); line-height: 1.6; font-weight: 500; letter-spacing: -.3px; }
.voice footer { margin-top: 26px; display: flex; align-items: center; gap: 12px; }
.voice footer b { font-size: 16px; }
.voice footer span { font-size: 14px; color: var(--ink-soft); }
.voice footer b::before {
  content: ""; display: inline-block; width: 36px; height: 36px; border-radius: 50%; margin-right: 12px;
  vertical-align: middle; background: linear-gradient(140deg, var(--brand), var(--brand-2));
}
.voices__ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.voices__ctrl button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; font-size: 20px; color: var(--ink-soft); transition: all .3s var(--ease);
}
.voices__ctrl button:hover { border-color: var(--brand-2); color: var(--brand-2); transform: scale(1.08); }
.voices__dots { display: flex; gap: 8px; }
.voices__dots i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--track); cursor: pointer;
  transition: all .35s var(--ease);
}
.voices__dots i.is-active { width: 26px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 130px 22px; }
.faq .section-title { text-align: center; margin-bottom: 50px; }
.faq__list { display: grid; gap: 12px; }
.qa {
  border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.qa[open] { background: var(--surface); border-color: rgba(123,92,255,.35); box-shadow: 0 20px 40px -30px var(--shadow); }
.qa summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; font-size: 17px; font-weight: 500;
  position: relative; user-select: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 300; color: var(--brand-2); transition: transform .35s var(--ease);
}
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa__body { padding: 0 24px 24px; }
.qa__body p { color: var(--ink-soft); font-size: 16px; }

/* ---------- 新闻 ---------- */
.news { max-width: 1180px; margin: 0 auto; padding: 0 22px 130px; }
.news__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 12px; }
.news__more { color: var(--brand-3); font-size: 16px; transition: color .3s var(--ease); }
.news__more:hover { color: var(--brand-2); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post:hover { box-shadow: 0 40px 70px -40px var(--shadow); }
.post__cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post__cover--1 { background: radial-gradient(120% 120% at 20% 20%, #ff2d78, #7b5cff 60%, #1a1030); }
.post__cover--2 { background: radial-gradient(120% 120% at 80% 20%, #0a84ff, #7b5cff 60%, #0d1030); }
.post__cover--3 { background: radial-gradient(120% 120% at 50% 80%, #30d158, #0a84ff 60%, #06121f); }
.post__cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5;
}
.post__body { padding: 24px; }
.post__tag {
  display: inline-block; font-size: 12px; padding: 4px 11px; border-radius: 980px; margin-bottom: 12px;
  background: rgba(123,92,255,.14); color: var(--brand-2);
}
.post__body h4 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.post__body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.post__body time { font-size: 13px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { padding: 0 22px 120px; max-width: 1180px; margin: 0 auto; }
.cta__inner {
  border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 30% 10%, rgba(255,45,120,.5), transparent 60%),
    radial-gradient(600px 300px at 80% 90%, rgba(10,132,255,.45), transparent 60%),
    linear-gradient(120deg, #1a1030, #0c0c18);
}
.cta__inner h2 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 700; letter-spacing: -.5px; }
.cta__inner p { margin: 18px auto 34px; color: var(--ink-inverse-soft); max-width: 520px; font-size: 18px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); padding: 120px 22px; }
.contact__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact__info { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact__info li { font-size: 16px; display: flex; gap: 16px; align-items: baseline; }
.contact__info li span { color: var(--ink-soft); font-size: 14px; min-width: 44px; flex-shrink: 0; }

/* 邮箱卡片 */
.mailcard {
  margin-top: 34px; padding: 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px var(--shadow);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.mailcard:hover { border-color: rgba(123,92,255,.4); box-shadow: 0 30px 60px -40px rgba(123,92,255,.6); }
.mailcard__label { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: .5px; }
.mailcard__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mailcard__addr {
  font-size: clamp(19px, 2.6vw, 25px); font-weight: 600; letter-spacing: -.3px; word-break: break-all;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .25s var(--ease);
}
.mailcard__addr:hover { opacity: .78; }
.mailcard__copy {
  margin-left: auto; flex-shrink: 0; padding: 7px 16px; border-radius: 980px; cursor: pointer;
  font-size: 13px; font-family: inherit; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.mailcard__copy:hover { border-color: var(--brand-2); color: var(--brand-2); }
.mailcard__copy.is-done {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}
.contact__form {
  background: var(--surface); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px var(--shadow);
}
.field { position: relative; margin-bottom: 20px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 14px 8px; border: 1px solid var(--line); border-radius: 14px;
  font-size: 16px; font-family: inherit; background: var(--bg-soft); resize: none; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field select { appearance: none; cursor: pointer; padding-right: 40px; }
.field:has(select)::after {
  content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--ink-soft);
}
.field textarea { padding-top: 24px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-2); background: var(--surface);
}
.field label {
  position: absolute; left: 15px; top: 17px; color: var(--ink-soft); font-size: 15px;
  pointer-events: none; transition: .25s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 11px; color: var(--brand-2);
}
.field .label--static { top: 7px; font-size: 11px; }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #ff453a; }
.form__note { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.form__note.ok { color: var(--ok-ink); }
.form__note.err { color: #ff453a; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--ink-inverse-soft); padding: 70px 22px 34px; }
.footer__top {
  max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 30px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__brand .nav__logo-text { color: #fff; }
.footer__brand p { font-size: 14px; }
.footer__col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; font-size: 14px; margin-bottom: 11px; transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}
.footer__icp a { transition: color .25s var(--ease); }
.footer__icp a:hover { color: #fff; }

/* ---------- 回到顶部 ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--nav-bg); backdrop-filter: blur(14px);
  cursor: pointer; font-size: 18px; color: var(--ink); z-index: 900;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all .4s var(--ease); box-shadow: 0 12px 30px -12px var(--shadow);
}
.totop.is-show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { transform: translateY(-3px); color: var(--brand-2); border-color: var(--brand-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__menu { gap: 18px; }
  .nav__menu a { font-size: 13px; }
}
@media (max-width: 1080px) {
  .game__picker { grid-template-columns: repeat(4, 1fr); }
  .why__grid, .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu.is-open {
    display: flex; flex-direction: column; gap: 0; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); padding: 8px 22px 24px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__menu.is-open a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__menu.is-open .nav__menu-cta {
    display: block; text-align: center; margin-top: 20px; padding: 13px 0; border-bottom: none;
    color: #fff; font-weight: 500; border-radius: 980px;
    background: linear-gradient(120deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 28px -10px rgba(123,92,255,.7);
  }
  .nav__menu.is-open .nav__menu-cta::after { display: none; }
  .stats__grid, .cdn__legend { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 70px 22px; }
  .feature__media { order: -1; }
  .game__panel, .builder__body, .tabpanel.is-active, .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .builder__summary { position: static; }
  .status__grid { grid-template-columns: repeat(2, 1fr); }
  .status__list, .news__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .timeline::before { display: none; }
  /* 架构区在窄屏改为普通堆叠 */
  .arch { height: auto; }
  .arch__sticky { position: static; height: auto; padding: 90px 0; }
  .arch__inner { grid-template-columns: 1fr; gap: 40px; }
  .arch__desc { min-height: 0; }
  .arch__stack { height: auto; perspective: none; display: grid; gap: 12px; }
  .arch__stack .layer {
    position: static; opacity: 1; width: 100%; left: auto;
    transform: none !important; /* 覆盖桌面端由 JS 写入的内联堆叠变换 */
  }
}
@media (max-width: 560px) {
  .game__picker { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .pricing__grid, .status__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta__inner { padding: 56px 24px; }
  .game__panel, .builder__controls, .tabpanel.is-active { padding: 26px 20px; }
  .cdn__map { aspect-ratio: 4/3; }
  .voice { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .arch__stack .layer { opacity: 1; }
}
