:root {
  --bg: #060607;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --muted: #8d8d92;
  --dim: #5c5c61;
  --gold: #d9b45a;
  --gold-hi: #f6e1a1;
  --gold-lo: #9a6f24;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --r: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 255, 255, 0.085), transparent 70%),
    radial-gradient(ellipse 45% 40% at 8% 35%, rgba(217, 180, 90, 0.075), transparent 70%),
    radial-gradient(ellipse 45% 45% at 95% 80%, rgba(70, 200, 170, 0.055), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 25%, #000 0%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(1160px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid var(--gold);
}
.brand-mark::before { transform: scaleX(0.45); }
.brand-mark::after { transform: scaleY(0.001); top: 50%; border-width: 0.75px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: none; border: 0; color: var(--muted); font-size: 13px;
  width: 38px; height: 38px; border-radius: 50%;
}
.lang-btn:hover { color: var(--text); background: var(--panel-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0a0a0a; box-shadow: 0 0 22px rgba(255, 255, 255, 0.38), 0 0 60px rgba(246, 225, 161, 0.28); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.55), 0 0 80px rgba(246, 225, 161, 0.42); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1204; }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- type ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
}
.tag b { color: var(--gold); font-weight: 500; }
.display {
  font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; margin: 0;
  background: linear-gradient(180deg, #fff 30%, #a3a3a8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
:lang(zh-CN) .display { letter-spacing: -0.02em; line-height: 1.14; }
.display .gold, .gold-text {
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display .dimline { background: linear-gradient(180deg, #8f8f94, #55555a); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1.display { font-size: clamp(34px, 5.4vw, 68px); }
h2.display { font-size: clamp(28px, 3.8vw, 48px); }
.lead { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 640px; }
.mono-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--dim); text-transform: uppercase; }

section { padding: 120px 0; position: relative; }
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 64px; }

/* ---------- hero ---------- */
.hero { padding: 170px 0 60px; text-align: center; }
.hero .lead { margin: 26px auto 34px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.globe-stage {
  position: relative; height: min(760px, 92vw); margin-top: 30px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.globe-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: min(820px, 96vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 180, 90, 0.16) 0%, rgba(217, 180, 90, 0.05) 42%, transparent 62%);
  pointer-events: none;
}
.globe-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.globe-stage canvas:active { cursor: grabbing; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.g-label {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(217, 180, 90, 0.35);
  background: rgba(10, 8, 3, 0.78);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--gold-hi);
  white-space: nowrap;
  transition: opacity 0.25s, background 0.2s, border-color 0.2s;
}
.g-label:hover { border-color: var(--gold); }
.g-label.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1204; border-color: transparent; font-weight: 600; }
.g-label.hidden { opacity: 0; pointer-events: none; }

.region-card {
  position: absolute; right: 0; bottom: 70px; width: 270px; text-align: left;
  padding: 20px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.region-card .rc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.region-card .rc-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 2px; }
.region-card .rc-city { color: var(--muted); font-size: 13px; }
.region-card .rc-price { margin: 16px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.region-card .rc-price b { font-size: 20px; color: var(--text); font-weight: 600; letter-spacing: -0.02em; margin: 0 4px; }
.region-card .btn { width: 100%; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); display: inline-block; }

.conn-card {
  position: absolute; left: 0; top: 70px; width: 250px; text-align: left;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(14, 14, 14, 0.82); font-family: var(--mono); font-size: 12px; color: var(--muted);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.conn-card .dots { display: flex; gap: 5px; margin-bottom: 12px; }
.conn-card .dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3d; }
.conn-card p { margin: 4px 0; }
.conn-card p::before { content: "›"; color: var(--gold); margin-right: 8px; }

.hero-foot { display: flex; flex-direction: column; gap: 18px; align-items: center; margin-top: 6px; }
.strip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--dim); }

/* ---------- device ---------- */
.device-stage { position: relative; height: 420px; margin-bottom: 16px; touch-action: pan-y; }
.device-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.device-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 46px; width: 380px; max-width: 70%; height: 46px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.9), transparent 70%); filter: blur(10px); z-index: -1;
}
.device-stage .mono-hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.cell {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--r);
  padding: 28px; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end;
}
.cell .big { font-size: clamp(24px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: #d6d6da; }
.cell .small { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cell .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }
.cell.chip { grid-column: span 8; align-items: center; justify-content: center; text-align: center; min-height: 300px; gap: 10px; }
.chip-die {
  width: 150px; height: 150px; border-radius: 26px;
  background: linear-gradient(145deg, #1c1c1e, #0b0b0c);
  border: 1px solid rgba(217, 180, 90, 0.4);
  box-shadow: 0 0 60px -10px rgba(217, 180, 90, 0.35), inset 0 0 0 6px #0f0f10, inset 0 0 0 7px rgba(217, 180, 90, 0.18);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em;
}
.span4 { grid-column: span 4; } .span6 { grid-column: span 6; } .span3 { grid-column: span 3; }
.stack { grid-column: span 4; display: grid; gap: 14px; }

/* ---------- dedicated ---------- */
.statement { font-size: clamp(20px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; color: #6d6d72; max-width: 980px; margin: 26px auto 0; text-align: center; }
:lang(zh-CN) .statement { letter-spacing: 0; line-height: 1.5; }
.statement em { font-style: normal; color: var(--text); }

/* ---------- experience ---------- */
.terminal {
  max-width: 760px; margin: 0 auto 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #0b0b0c; font-family: var(--mono); font-size: 13px; text-align: left;
}
.terminal .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.terminal .bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.terminal .bar span { margin-left: 8px; }
.terminal .bar time { margin-left: auto; color: var(--dim); }
.terminal pre { margin: 0; padding: 20px; color: #c9c9ce; line-height: 1.9; white-space: pre-wrap; font: inherit; }
.terminal pre b { color: var(--gold); font-weight: 400; }
.terminal pre s { color: var(--dim); text-decoration: none; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--gold); margin-bottom: 18px; display: block; }

/* ---------- pricing ---------- */
.toggles { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.toggle { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg button.on { background: #fff; color: #0a0a0a; font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 24px;
  display: flex; flex-direction: column; gap: 4px; transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { border-color: rgba(217, 180, 90, 0.5); transform: translateY(-2px); }
.price-card .pc-code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--gold); }
.price-card .pc-name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }
.price-card .pc-city { font-size: 13px; color: var(--muted); }
.price-card .pc-price { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin-top: 18px; }
.price-card .pc-price small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-card .pc-go { margin-top: 16px; font-size: 13px; color: var(--gold-hi); }
.note { color: var(--dim); font-size: 13px; text-align: center; margin-top: 26px; }

/* ---------- steps / faq / end ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; gap: 20px; align-items: baseline; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.faq summary::after { content: "+"; margin-left: auto; color: var(--muted); font-weight: 300; font-size: 19px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 24px 42px; color: var(--muted); }
.end { text-align: center; padding: 140px 0; }
.end .lead { margin: 22px auto 34px; }
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- apply ---------- */
.apply-head { padding: 150px 0 40px; }
.apply-head .back { color: var(--muted); font-size: 14px; display: inline-block; margin-bottom: 26px; }
.apply-head h1 { margin: 22px 0 18px; font-size: clamp(30px, 4vw, 48px); }
.apply-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-bottom: 120px; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 30px; }
.fs { border: 0; padding: 0; margin: 0 0 38px; min-width: 0; }
.fs:last-of-type { margin-bottom: 0; }
.fs legend { padding: 0; margin-bottom: 18px; font-size: 16px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.fs legend span { font-family: var(--mono); font-size: 12px; color: var(--gold); font-weight: 400; }
.opts { display: grid; gap: 10px; }
.opts.c2 { grid-template-columns: repeat(2, 1fr); }
.opts.c3 { grid-template-columns: repeat(3, 1fr); }
.opts.c4 { grid-template-columns: repeat(4, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt .box {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.opt:hover .box { border-color: rgba(255, 255, 255, 0.22); }
.opt input:checked + .box { border-color: var(--gold); background: rgba(217, 180, 90, 0.07); box-shadow: 0 0 34px -12px rgba(217, 180, 90, 0.6); }
.opt input:disabled { cursor: not-allowed; }
.opt input:disabled + .box { opacity: 0.35; border-color: var(--line); }
.opt input:focus-visible + .box { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.opt .o-title { font-weight: 600; font-size: 14px; }
.opt .o-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.opt .o-tip { font-size: 12px; color: var(--gold-hi); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  color-scheme: dark;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.req::after { content: " *"; color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notice { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: n; }
.notice li { display: flex; gap: 14px; color: var(--muted); font-size: 14px; }
.notice li::before { counter-increment: n; content: "0" counter(n); font-family: var(--mono); font-size: 12px; color: var(--gold); padding-top: 3px; }

.estimate { position: sticky; top: 96px; background: linear-gradient(160deg, rgba(217, 180, 90, 0.1), rgba(255, 255, 255, 0.03) 40%); }
.estimate dl { margin: 18px 0 0; display: grid; gap: 12px; font-size: 14px; }
.estimate dl div { display: flex; justify-content: space-between; gap: 16px; }
.estimate dt { color: var(--muted); }
.estimate dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; }
.estimate .total { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.estimate .total b { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.check { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin: 22px 0 18px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.estimate .btn { width: 100%; }
.fine { color: var(--dim); font-size: 12px; margin: 14px 0 0; text-align: center; }
.err { color: #ff8f7a; font-size: 13px; min-height: 20px; margin: 0 0 10px; }
.done { text-align: center; padding: 60px 30px; }
.done h2 { font-size: 26px; letter-spacing: -0.02em; margin: 18px 0 10px; }
.done p { color: var(--muted); max-width: 520px; margin: 0 auto 14px; }
.done .demo { color: var(--gold-hi); font-size: 13px; }
.done details { text-align: left; max-width: 560px; margin: 20px auto; font-size: 13px; color: var(--muted); }
.done pre { background: #0b0b0c; border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow: auto; font-family: var(--mono); font-size: 12px; color: #c9c9ce; }
.tick { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1204; font-size: 22px; }
[hidden] { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .conn-card { display: none; }
  .region-card { position: static; width: auto; margin: 0 auto; max-width: 420px; }
  .globe-stage { height: auto; }
  .globe-stage canvas { position: relative; height: 92vw; display: block; }
  .globe-labels { bottom: auto; height: 92vw; }
  .globe-stage::before { top: 46vw; }
  .cell.chip, .stack, .span4, .span6, .span3 { grid-column: span 12; }
  .stack { grid-template-columns: 1fr 1fr; }
  .cards3, .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; }
  .estimate { position: static; }
  .opts.c4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 84px 0; }
}
@media (max-width: 560px) {
  .opts.c3, .row { grid-template-columns: 1fr; }
  .price-card { padding: 18px; }
  .price-card .pc-price { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
