/* 麦块云官网（index / gpu / api 共用）—— 默认浅色，html[data-theme="dark"] 切深色；英文数字用本地 Inter，中文走系统字体 */
@font-face {
  font-family: "Inter MK";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --line: rgba(15, 23, 42, .08);
  --line-2: rgba(15, 23, 42, .14);
  --text: #0a0f1c;
  --text-2: #4b5567;
  --text-3: #8b95a7;
  --head-grad: linear-gradient(180deg, #0a0f1c 40%, #3a4458);
  --grad: linear-gradient(100deg, #c026d3 0%, #7c3aed 28%, #2563eb 58%, #0891b2 100%);
  --shine: linear-gradient(100deg, #c026d3 0%, #7c3aed 18%, #2563eb 38%, #0891b2 52%, #7c3aed 72%, #c026d3 100%);
  --accent: #2563eb;
  --btn-bg: #0a0f1c;
  --btn-fg: #ffffff;
  --btn-hover: #1f2937;
  --header-bg: rgba(255, 255, 255, .70);
  --header-bg-2: rgba(255, 255, 255, .92);
  --spot: rgba(37, 99, 235, .09);
  --soon: #b45309; --soon-bg: #fff7ed; --soon-line: #fed7aa;
  --live: #047857; --live-bg: #ecfdf5; --live-line: #a7f3d0;
  --ico-bg: #eef3ff; --ico: #2563eb;
  --hot: linear-gradient(90deg, rgba(37, 99, 235, .07), rgba(8, 145, 178, .03) 60%, transparent);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -10px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .04), 0 32px 64px -16px rgba(15, 23, 42, .22);
  --aurora-1: rgba(217, 70, 239, .20);
  --aurora-2: rgba(59, 130, 246, .24);
  --aurora-3: rgba(6, 182, 212, .18);
  --dot: rgba(15, 23, 42, .11);
  --beam: 0;
  --radius: 20px;
  --font: "Inter MK", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05060b;
  --bg-soft: #090b13;
  --surface: #0c0f18;
  --surface-2: #10141f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f3f6fc;
  --text-2: rgba(228, 234, 246, .70);
  --text-3: rgba(228, 234, 246, .46);
  --head-grad: linear-gradient(180deg, #ffffff 35%, rgba(255, 255, 255, .62));
  --grad: linear-gradient(100deg, #f0abfc 0%, #a78bfa 30%, #60a5fa 60%, #22d3ee 100%);
  --shine: linear-gradient(100deg, #f0abfc 0%, #a78bfa 20%, #60a5fa 40%, #22d3ee 55%, #a78bfa 75%, #f0abfc 100%);
  --accent: #60a5fa;
  --btn-bg: #ffffff;
  --btn-fg: #05060b;
  --btn-hover: #e2e8f0;
  --header-bg: rgba(10, 12, 20, .55);
  --header-bg-2: rgba(10, 12, 20, .86);
  --spot: rgba(120, 160, 255, .12);
  --soon: #fbbf24; --soon-bg: rgba(251, 191, 36, .08); --soon-line: rgba(251, 191, 36, .25);
  --live: #34d399; --live-bg: rgba(52, 211, 153, .08); --live-line: rgba(52, 211, 153, .25);
  --ico-bg: rgba(96, 165, 250, .10); --ico: #7cc4ff;
  --hot: linear-gradient(90deg, rgba(59, 130, 246, .13), rgba(34, 211, 238, .05) 60%, transparent);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .75);
  --aurora-1: rgba(124, 58, 237, .32);
  --aurora-2: rgba(14, 165, 233, .28);
  --aurora-3: rgba(37, 99, 235, .30);
  --dot: rgba(255, 255, 255, .10);
  --beam: 1;
}
/* 固定深色的块（对话台、服务器动画、预约区、估算结果）：在浅色页里做对比 */
.is-dark {
  --text: #f3f6fc;
  --text-2: rgba(228, 234, 246, .72);
  --text-3: rgba(228, 234, 246, .48);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --btn-bg: #ffffff;
  --btn-fg: #05060b;
  --btn-hover: #e2e8f0;
  --soon: #fbbf24; --soon-bg: rgba(251, 191, 36, .1); --soon-line: rgba(251, 191, 36, .28);
  --live: #34d399; --live-bg: rgba(52, 211, 153, .1); --live-line: rgba(52, 211, 153, .28);
  --grad: linear-gradient(100deg, #f0abfc 0%, #a78bfa 30%, #60a5fa 60%, #22d3ee 100%);
  --shine: linear-gradient(100deg, #f0abfc 0%, #a78bfa 20%, #60a5fa 40%, #22d3ee 55%, #a78bfa 75%, #f0abfc 100%);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font); font-size: 15px; line-height: 1.65; letter-spacing: -.003em;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
svg { flex: none; }
::selection { background: rgba(37, 99, 235, .18); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shine {
  display: inline-block; padding-bottom: .06em;
  background: var(--shine); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }

/* ---------- 按钮 / 徽标 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 10px 28px -8px rgba(37, 99, 235, .45); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 16px 40px -10px rgba(124, 58, 237, .5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--text-3); transform: translateY(-1px); }
.is-dark .btn-ghost { background: rgba(255, 255, 255, .05); }
.btn .arr { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border: 1px solid; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.badge-soon { color: var(--soon); background: var(--soon-bg); border-color: var(--soon-line); }
.badge-live { color: var(--live); background: var(--live-bg); border-color: var(--live-line); }
.badge-soon::before, .badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-soon::before { animation: pulse 2s ease-in-out infinite; }
.badge-plain { color: var(--text-2); background: var(--surface-2); border-color: var(--line); }
@keyframes pulse { 50% { opacity: .35; } }

.ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ico-bg); color: var(--ico);
}
.ico svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* 登录态切换：默认按游客渲染，JS 读到 jwt 后给 html 加 .is-user */
.user-only { display: none !important; }
.is-user .user-only { display: inline-flex !important; }
.is-user .guest-only { display: none !important; }
.guest-only { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 顶栏：悬浮玻璃胶囊 ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 60; padding-inline: 16px; pointer-events: none; }
.header-inner {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  max-width: 1168px; height: 60px; margin: 0 auto; padding: 0 10px 0 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 8px 32px -12px rgba(15, 23, 42, .18);
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled .header-inner { background: var(--header-bg-2); border-color: var(--line-2); }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: block; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; margin-left: 8px; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); background: var(--surface-2); font-weight: 600; }
.nav-tag {
  padding: 0 6px; border-radius: 6px; font-size: 10.5px; font-weight: 700; font-style: normal; line-height: 17px;
  color: var(--soon); background: var(--soon-bg);
}
.header-actions { display: flex; align-items: center; gap: 6px; }
.link-quiet { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.link-quiet:hover { color: var(--text); background: var(--surface-2); }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .bars { display: block; }
.nav-toggle span { display: block; width: 16px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 4px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 172px 0 0; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 25%, transparent 78%);
}
.hero-bg .beams {
  position: absolute; left: 50%; top: -260px; width: 1500px; height: 1100px; margin-left: -750px; opacity: var(--beam);
  background: conic-gradient(from 150deg at 50% 0%, transparent 0deg, rgba(96, 165, 250, .14) 9deg, transparent 20deg, rgba(240, 171, 252, .10) 28deg, transparent 38deg, rgba(34, 211, 238, .12) 47deg, transparent 58deg);
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 0%, #000, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 20s ease-in-out infinite alternate; }
.orb-1 { width: 560px; height: 560px; left: -6%; top: 2%; background: radial-gradient(circle, var(--aurora-1), transparent 66%); }
.orb-2 { width: 640px; height: 640px; right: -8%; top: -6%; background: radial-gradient(circle, var(--aurora-2), transparent 66%); animation-delay: -7s; }
.orb-3 { width: 760px; height: 460px; left: 50%; top: 46%; margin-left: -380px; background: radial-gradient(ellipse, var(--aurora-3), transparent 66%); animation-delay: -13s; }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 6px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; color: var(--text-2); box-shadow: var(--shadow-sm);
  transition: border-color .2s, color .2s;
}
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip .arr { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin-top: 28px; font-size: 84px; line-height: 1.06; font-weight: 750; letter-spacing: -.04em; }
.hero h1 .l1 { display: block; background: var(--head-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .shine { letter-spacing: -.01em; }
.hero .lead { max-width: 660px; margin: 26px auto 0; font-size: 19px; line-height: 1.75; color: var(--text-2); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 14px; color: var(--text-3); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; stroke: var(--live); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* 首屏左右分栏（gpu.html） */
.hero-split { text-align: left; padding-bottom: 112px; }
.hero-split .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero-split h1 { font-size: 68px; }
.hero-split .lead { margin-inline: 0; }
.hero-split .hero-cta, .hero-split .hero-meta { justify-content: flex-start; }
.node-wrap { position: relative; display: grid; place-items: center; }
.node-wrap .node { max-width: 540px; padding: 20px; }
.node-wrap .node-slots i { height: 220px; }
.float-price {
  position: absolute; right: -8px; bottom: -28px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 18px;
  background: var(--header-bg-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}

/* ---------- 对话台（固定深色） ---------- */
.stage { position: relative; max-width: 1080px; margin: 72px auto 0; perspective: 1800px; }
.stage::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 18%; bottom: -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .38), rgba(14, 165, 233, .18) 55%, transparent);
  filter: blur(50px);
}
.console {
  position: relative; padding: 1px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .03));
  transform: rotateX(var(--tilt, 0deg)); transform-origin: 50% 0;
  box-shadow: 0 50px 120px -30px rgba(15, 23, 42, .55), 0 0 0 1px rgba(15, 23, 42, .06);
}
.console-inner {
  display: grid; grid-template-columns: 236px minmax(0, 1fr); grid-template-rows: auto 1fr;
  min-height: 450px; overflow: hidden; border-radius: 21px; text-align: left;
  background: linear-gradient(180deg, #0f1320, #090c14);
}
.console-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dots3 { display: flex; gap: 7px; }
.dots3 i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.console-title { font-size: 13px; font-weight: 500; color: var(--text-3); }
.console-bar .badge { margin-left: auto; }
.console-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); }
.side-label { padding: 6px 10px; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--text-3); }
.model-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
  border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; cursor: pointer;
  color: var(--text-2); transition: background-color .2s, border-color .2s, color .2s;
}
.model-btn:hover { background: rgba(255, 255, 255, .04); }
.model-btn.is-on { background: rgba(255, 255, 255, .07); border-color: var(--line-2); color: #fff; }
.mk {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px;
  font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #22d3ee);
}
.mk.glm { background: linear-gradient(135deg, #8b5cf6, #f0abfc); }
.model-btn b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.model-btn small { display: block; font-size: 12px; color: var(--text-3); }
.side-stats { display: grid; gap: 9px; margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--line); }
.side-stats div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.side-stats b { font-weight: 600; color: #fff; }
.console-main { display: flex; flex-direction: column; min-width: 0; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 8px; }
.msg-user {
  align-self: flex-end; max-width: 78%; padding: 11px 16px; border-radius: 16px 16px 4px 16px;
  background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; font-size: 14.5px; box-shadow: 0 8px 24px -6px rgba(37, 99, 235, .5);
}
.msg-ai { display: flex; gap: 12px; align-items: flex-start; }
.ai-bubble { flex: 1; min-width: 0; }
.ai-name { display: block; margin-bottom: 6px; font-size: 12px; color: var(--text-3); }
.ai-out { min-height: 1.7em; font-size: 14.5px; line-height: 1.85; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.ai-out.is-code {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .35);
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #d6e6ff; white-space: pre; overflow-x: auto;
}
.ai-out.is-typing::after {
  content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px;
  background: #3fd8ff; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.composer {
  display: flex; align-items: center; gap: 10px; margin: 8px 18px 18px; padding: 7px 7px 7px 16px;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .03);
  font-size: 14px; color: var(--text-3);
}
.composer span { flex: 1; }
.composer i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; }
.composer svg { width: 16px; height: 16px; stroke: #0a0f1c; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.stage-note { margin-top: 16px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 滚动字幕 ---------- */
.ticker {
  position: relative; margin-top: 96px; overflow: hidden; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 44px; padding: 22px 22px;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--text-3); white-space: nowrap;
}
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用区块 ---------- */
.section { position: relative; padding-block: 128px; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.head h2 { font-size: 56px; line-height: 1.12; font-weight: 750; letter-spacing: -.035em; }
.head h2 .dim { color: var(--text-3); }
.head p { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.head-gap { margin-top: 112px; }
.hero-pad { height: 112px; }

/* 卡片：鼠标聚光 + 可选流动描边 */
.spot {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -30%), var(--spot), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 52%, #22d3ee 66%, #8b5cf6 78%, #e879f9 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* ---------- 两大产品 ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; padding: 36px; min-height: 600px; }
a.product:hover { transform: translateY(-4px); }
.product-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.product-label b { font-weight: 700; color: var(--text); letter-spacing: .02em; }
.product h3 { margin-top: 18px; font-size: 34px; line-height: 1.2; font-weight: 750; letter-spacing: -.03em; }
.product > p { margin-top: 12px; max-width: 32em; font-size: 16px; color: var(--text-2); }
.product-visual { position: relative; flex: 1; display: grid; place-items: center; min-height: 250px; margin: 28px 0; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-label { display: block; margin-bottom: 8px; font-size: 12.5px; color: var(--text-3); }
.price-big { font-size: 42px; font-weight: 750; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price-big small { margin-right: 2px; font-size: .5em; font-weight: 600; color: var(--text-2); }
.price-unit { margin-left: 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.go { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.go svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
a:hover .go svg { transform: translateX(4px); }

/* GPU 节点动画（固定深色） */
.node {
  position: relative; width: 100%; max-width: 460px; padding: 16px; border-radius: 18px;
  background: linear-gradient(180deg, #121829, #0a0e19);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 70px -20px rgba(15, 23, 42, .6);
}
.node-head, .node-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text-3); }
.node-led { display: inline-flex; gap: 6px; }
.node-led i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: pulse 1.6s ease-in-out infinite; }
.node-led i + i { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; animation-delay: -.8s; }
.node-slots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
.node-slots i {
  position: relative; height: 160px; overflow: hidden; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 6px), linear-gradient(180deg, #161d31, #0d1222);
  animation: gpu-on 4.8s var(--ease) infinite; animation-delay: calc(var(--d) * .2s);
}
.node-slots i::before {
  content: ""; position: absolute; left: 50%; top: 14px; width: 72%; aspect-ratio: 1; transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0 18%, transparent 19%), repeating-conic-gradient(rgba(255, 255, 255, .08) 0 12deg, transparent 12deg 30deg);
}
.node-slots i::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 46%; border-radius: 5px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, .6));
  transform-origin: bottom; animation: util 4.8s var(--ease) infinite; animation-delay: calc(var(--d) * .2s);
}
@keyframes gpu-on {
  0%, 6% { border-color: rgba(255, 255, 255, .1); box-shadow: none; }
  16%, 62% { border-color: rgba(56, 189, 248, .75); box-shadow: 0 0 18px rgba(56, 189, 248, .35), inset 0 0 22px rgba(56, 189, 248, .14); }
  82%, 100% { border-color: rgba(255, 255, 255, .1); box-shadow: none; }
}
@keyframes util { 0%, 6% { transform: scaleY(.08); opacity: .3; } 20%, 60% { transform: scaleY(1); opacity: 1; } 84%, 100% { transform: scaleY(.08); opacity: .3; } }

/* 无限符号（免费 API） */
.inf { position: relative; width: 100%; max-width: 440px; }
.inf svg { width: 100%; height: auto; overflow: visible; }
.inf-base { fill: none; stroke: var(--line-2); stroke-width: 6; }
.inf-run { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 110 290; animation: dash 3.2s linear infinite; filter: drop-shadow(0 0 10px rgba(99, 102, 241, .45)); }
@keyframes dash { to { stroke-dashoffset: -400; } }
.tok {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite;
}
.tok-1 { left: 2%; top: 0; }
.tok-2 { right: 4%; top: 6%; animation-delay: -2s; }
.tok-3 { left: 10%; bottom: -2%; animation-delay: -4s; }
.tok-4 { right: 0; bottom: 4%; animation-delay: -3s; }
.tok .grad { font-weight: 800; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- 免费 API 便当格 ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "ds glm local" "inf zero local" "int int int"; gap: 20px; }
.tile { display: flex; flex-direction: column; padding: 30px; min-height: 270px; }
.tile h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.tile p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.tile-foot { margin-top: auto; }
.t-ds { grid-area: ds; } .t-glm { grid-area: glm; } .t-local { grid-area: local; } .t-inf { grid-area: inf; } .t-zero { grid-area: zero; } .t-int { grid-area: int; min-height: 0; }
.model-top { display: flex; align-items: center; justify-content: space-between; }
.mk-lg { width: 56px; height: 56px; border-radius: 16px; font-size: 24px; box-shadow: 0 12px 28px -8px rgba(59, 130, 246, .55); }
.mk-lg.glm { box-shadow: 0 12px 28px -8px rgba(139, 92, 246, .55); }
.tile .big { font-size: 104px; line-height: .95; font-weight: 750; letter-spacing: -.06em; margin-bottom: 18px; }
.rack { display: grid; gap: 10px; margin: 6px 0 28px; }
.rack i {
  position: relative; display: block; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-sm);
}
.rack i::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 10px #10b981; animation: pulse 1.8s ease-in-out infinite; animation-delay: calc(var(--d) * -.35s);
}
.rack i::after {
  content: ""; position: absolute; left: 34px; right: 14px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 14px);
}
.int-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.int-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.int-chips span {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); font-size: 14px; font-weight: 600;
}
.int-chips svg { width: 17px; height: 17px; stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- GPU 参数表 ---------- */
.spec { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.spec-row {
  display: grid; grid-template-columns: 1.5fr 1.15fr 1fr .9fr 1.1fr 1.25fr; align-items: center; gap: 16px;
  padding: 22px 28px; border-top: 1px solid var(--line); transition: background-color .2s;
}
.spec-row:first-child { border-top: 0; }
.spec-row:not(.spec-head):hover { background: var(--surface-2); }
.spec-head { padding-block: 14px; font-size: 12.5px; font-weight: 600; color: var(--text-3); background: var(--surface-2); }
.spec-row.is-hot, .spec-row.is-hot:hover { background: var(--hot); }
.spec-name { display: flex; align-items: center; gap: 14px; }
.chipico {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(180deg, #1b2236, #0d1222); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.chipico svg { width: 22px; height: 22px; stroke: #7dd3fc; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spec-name b { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.spec-name small { display: block; font-size: 12px; color: var(--text-3); }
.spec-cell { font-size: 15px; color: var(--text-2); }
.spec-cell .lbl { display: none; }
.spec-price b { font-size: 24px; font-weight: 750; letter-spacing: -.03em; color: var(--text); }
.spec-price b small { font-size: .55em; margin-right: 1px; }
.spec-price span { font-size: 13px; color: var(--text-3); }
.spec-price.tbd { font-size: 14px; font-weight: 600; color: var(--text-3); }

/* ---------- 价格估算（gpu.html） ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); }
.calc-controls { display: grid; gap: 30px; padding: 40px; }
.calc-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.calc-lbl .val { font-size: 28px; font-weight: 750; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.calc-lbl .val small { margin-left: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text-3); }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.seg button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 60px; padding: 0 6px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer;
  font-size: 14.5px; font-weight: 700; color: var(--text);
}
.seg button small { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.seg button.is-on { border-color: var(--accent); background: var(--ico-bg); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.seg button:disabled { cursor: not-allowed; color: var(--text-3); background: var(--surface-2); }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #7c3aed, #2563eb 50%, #06b6d4) 0 / var(--fill, 0%) 100% no-repeat, var(--line-2);
}
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12), 0 4px 14px rgba(37, 99, 235, .45); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12), 0 4px 14px rgba(37, 99, 235, .45); }
.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.ticks { display: flex; justify-content: space-between; padding: 0 6px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.hours { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stepper { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--text-2); cursor: pointer; }
.stepper button:hover { background: var(--surface-2); color: var(--text); }
.stepper input { width: 84px; height: 44px; border: 0; border-inline: 1px solid var(--line); background: transparent; text-align: center; font-size: 17px; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--surface-2); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.quick button:hover { border-color: var(--line-2); color: var(--text); }
.calc-result {
  position: relative; display: flex; flex-direction: column; padding: 40px; overflow: hidden;
  background: radial-gradient(420px 260px at 100% 0%, rgba(124, 58, 237, .35), transparent 70%), radial-gradient(380px 260px at 0% 100%, rgba(6, 182, 212, .25), transparent 70%), #0a0e19;
}
.calc-result .price-label { color: var(--text-3); }
.calc-total { margin-top: 6px; font-size: 64px; line-height: 1; font-weight: 750; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc-total small { margin-right: 4px; font-size: .45em; font-weight: 600; color: var(--text-2); }
.calc-formula { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--text-3); }
.calc-result .btn { margin-top: auto; }
.calc-result .calc-note + .btn { margin-top: 28px; }

/* ---------- 计费方式 / 场景 ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 28px; }
.card h3 { margin-top: 22px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.card p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); text-wrap: pretty; }
.card .card-foot { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--text-3); }
.card .card-foot b { margin: 0 2px 0 4px; font-size: 20px; font-weight: 750; letter-spacing: -.03em; color: var(--text); }
.card .idx { position: absolute; right: 22px; top: 18px; font-size: 13px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* 时间线（api.html） */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: st; }
.timeline::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .5), rgba(192, 38, 211, .45), transparent);
}
.timeline li { position: relative; padding: 0 12px; text-align: center; }
.timeline li::before {
  counter-increment: st; content: counter(st, decimal-leading-zero);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface);
  font-size: 16px; font-weight: 750; color: var(--text); box-shadow: 0 0 0 8px var(--bg-soft), var(--shadow);
}
.timeline h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.timeline p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }

/* ---------- 信任条 ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.trust li { padding: 30px 28px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust h3 { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.trust p { margin-top: 4px; font-size: 14px; color: var(--text-2); text-wrap: pretty; }

/* ---------- 在售物理机 ---------- */
.server { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.server-main { padding: 36px; }
.server-main .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.server-main h3 { margin-top: 16px; font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.server-main > p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.server-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; }
.server-specs li { padding: 16px 8px; text-align: center; border-left: 1px solid var(--line); }
.server-specs li:first-child { border-left: 0; }
.server-specs b { display: block; font-size: 24px; font-weight: 750; line-height: 1.2; letter-spacing: -.03em; }
.server-specs b small { margin-left: 1px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.server-specs span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.server-side { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 36px; border-left: 1px solid var(--line); background: var(--surface-2); }
.qq-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-3); }
.qq-row b { font-size: 15px; letter-spacing: .02em; color: var(--text); font-variant-numeric: tabular-nums; }
.copy-mini { height: 28px; padding: 0 10px; margin-left: 4px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.copy-mini:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-side h2 { font-size: 48px; line-height: 1.15; font-weight: 750; letter-spacing: -.035em; }
.faq-side p { margin-top: 18px; font-size: 16px; color: var(--text-2); }
.faq-side a { color: var(--accent); font-weight: 600; }
.faq-side a:hover { text-decoration: underline; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 2px;
  list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 50%;
  background: linear-gradient(var(--text-2), var(--text-2)) center / 10px 1.6px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 1.6px 10px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 24px 2px; font-size: 15.5px; line-height: 1.8; color: var(--text-2); }

/* ---------- 预约区（固定深色面板） ---------- */
.cta { padding-block: 40px 128px; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; padding: 96px 32px; border-radius: 32px; text-align: center;
  background: #070a13; box-shadow: 0 40px 100px -30px rgba(15, 23, 42, .55);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 50% 115%, rgba(59, 130, 246, .55), transparent 70%),
    radial-gradient(420px 260px at 12% 0%, rgba(192, 38, 211, .30), transparent 70%),
    radial-gradient(420px 260px at 88% 0%, rgba(6, 182, 212, .28), transparent 70%);
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 80%);
}
.cta-panel h2 { margin-top: 22px; font-size: 60px; line-height: 1.12; font-weight: 750; letter-spacing: -.035em; color: #fff; }
.cta-panel > p { max-width: 560px; margin: 18px auto 0; font-size: 17px; color: var(--text-2); }
.group {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 36px; padding: 10px 10px 10px 22px;
  border: 1px solid var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.group span { font-size: 13.5px; color: var(--text-3); }
.group b { font-size: 26px; font-weight: 750; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cta-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 13.5px; color: var(--text-3); counter-reset: cs; }
.cta-steps li::before { counter-increment: cs; content: counter(cs); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 11.5px; font-weight: 700; color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 72px; font-size: 14px; color: var(--text-3); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand .logo-light { display: none; }
[data-theme="dark"] .footer-brand .logo-dark { display: none; }
[data-theme="dark"] .footer-brand .logo-light { display: block; }
.footer-brand p + p { margin-top: 4px; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text); }
.footer-links a { display: block; line-height: 2.25; }
.footer-links a:hover, .footer-bottom a:hover, .footer-brand a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 56px; padding-block: 20px 8px; border-top: 1px solid var(--line); font-size: 13px; }
.wordmark {
  margin-bottom: -.16em; text-align: center; font-size: clamp(72px, 17vw, 230px); font-weight: 800; line-height: 1; letter-spacing: -.06em;
  background: linear-gradient(180deg, var(--line-2), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-user-select: none; user-select: none; pointer-events: none;
}

/* ---------- 弹窗（加群 / 品牌分流） ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s ease-out; }
.modal-dialog {
  position: relative; width: 100%; max-width: 460px; padding: 34px 32px 28px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  box-shadow: 0 40px 100px -20px rgba(5, 8, 16, .45); animation: pop .25s var(--ease);
}
.modal-dialog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.modal-dialog:focus { outline: none; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal-title { margin-top: 14px; font-size: 24px; line-height: 1.3; font-weight: 750; letter-spacing: -.02em; }
.modal-desc { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.modal-group {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 16px 16px 16px 20px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface-2);
}
.modal-group span { display: block; font-size: 12.5px; color: var(--text-3); }
.modal-group b { display: block; font-size: 30px; font-weight: 750; line-height: 1.2; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.modal-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; counter-reset: ms; }
.modal-steps li { padding: 10px 8px; border-radius: 12px; background: var(--surface-2); font-size: 13px; text-align: center; color: var(--text-2); }
.modal-steps li::before { counter-increment: ms; content: counter(ms); display: block; font-size: 12px; font-weight: 800; color: var(--accent); }
.modal-games { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.modal-actions { display: flex; gap: 12px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }
.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- 滚动浮现 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 70px; }
  .hero-split h1 { font-size: 56px; }
  .head h2 { font-size: 46px; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .spec-row { padding-inline: 20px; gap: 12px; }
}

@media (max-width: 920px) {
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 8px;
    border: 1px solid var(--line); border-radius: 18px; background: var(--header-bg-2);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav a { height: 46px; }
  .nav-toggle { display: grid; }
  .header-inner { justify-content: space-between; }
  .header-actions .link-quiet { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

  .hero { padding-top: 140px; }
  .hero h1 { font-size: 56px; }
  .hero-split .wrap { grid-template-columns: 1fr; }
  .node-wrap { max-width: 520px; }
  .console-inner { grid-template-columns: 1fr; }
  .console-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .console-side .side-label, .console-side .side-stats { display: none; }
  .model-btn { width: auto; flex: 1; }
  .products, .faq-wrap, .calc, .server { grid-template-columns: 1fr; }
  .faq-wrap { gap: 32px; }
  .server-side { border-left: 0; border-top: 1px solid var(--line); }
  .calc-result { min-height: 360px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "ds glm" "inf zero" "local local" "int int"; }
  .rack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-head { display: none; }
  .spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 22px; }
  .spec-row .spec-name { grid-column: 1 / -1; }
  .spec-cell .lbl { display: block; margin-bottom: 2px; font-size: 12px; color: var(--text-3); }
  .footer-top { flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .site-header { top: 8px; padding-inline: 8px; }
  .header-inner { height: 56px; padding: 0 6px 0 12px; gap: 8px; }
  .brand img { height: 30px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .hero { padding-top: 116px; }
  .hero h1 { font-size: 40px; letter-spacing: -.035em; }
  .hero h1 .l1 { font-size: .8em; }
  .hero-split h1 { font-size: 40px; }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 8px 16px; font-size: 13px; }
  .stage { margin-top: 48px; }
  .chat { padding: 18px 14px 6px; }
  .ai-out.is-code { font-size: 12px; padding: 12px; }
  .composer { margin: 6px 12px 12px; }
  .ticker { margin-top: 64px; }
  .ticker-track span { font-size: 15px; gap: 32px; padding: 16px; }
  .section { padding-block: 88px; }
  .head { margin-bottom: 40px; }
  .head h2 { font-size: 34px; }
  .head p { font-size: 16px; }
  .product { padding: 24px 20px; min-height: 0; }
  .product h3 { font-size: 26px; }
  .product-visual { min-height: 200px; }
  .node-slots { gap: 5px; }
  .node-slots i, .node-wrap .node-slots i { height: 120px; }
  .hero-pad { height: 72px; }
  .head-gap { margin-top: 80px; }
  .float-price { right: 8px; bottom: -36px; padding: 12px 16px; }
  .tok { height: 30px; padding: 0 11px; font-size: 12.5px; }
  .product-foot { flex-direction: column; align-items: flex-start; }
  .price-big { font-size: 36px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "ds" "glm" "inf" "zero" "local" "int"; gap: 14px; }
  .tile { padding: 24px 20px; min-height: 0; }
  .tile .big { font-size: 80px; }
  .int-row { flex-direction: column; align-items: flex-start; }
  .spec-row { padding: 18px 16px; }
  .calc-controls, .calc-result { padding: 24px 20px; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-total { font-size: 52px; }
  .cards4 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .trust { grid-template-columns: 1fr; }
  .trust li { border-left: 0; border-top: 1px solid var(--line); padding: 22px 20px; }
  .trust li:first-child { border-top: 0; }
  .server-main, .server-side { padding: 24px 20px; }
  .server-specs b { font-size: 19px; }
  .faq-side h2 { font-size: 34px; }
  .faq summary { font-size: 16px; padding: 20px 2px; }
  .faq details p { padding-right: 8px; }
  .cta { padding-block: 16px 88px; }
  .cta-panel { padding: 64px 20px; border-radius: 24px; }
  .cta-panel h2 { font-size: 36px; }
  .group { flex-wrap: wrap; justify-content: center; padding: 14px 16px; }
  .footer-links { flex-wrap: wrap; gap: 28px 40px; }
  .modal-dialog { padding: 30px 20px 22px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-group b { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
