/* Surgepin 官网 · 深色电影感：雾里起伏的海浪做背景（Surge），大标题夹一行斜体衬线，产品界面从首屏底下浮出来；
   强调色是软件图标的钴蓝和青色，页脚是点阵大字 */
:root {
  --bg: #0b0c0f;
  --bg-2: #101217;
  --card: #14161b;
  --card-2: #1a1d23;
  --glass: rgba(24, 27, 34, 0.72);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f2f3f5;
  --text-2: #a4a9b3;
  --text-3: #858a95;
  --theme: #3a63f0;
  --theme-2: #6f8dff;
  --theme-soft: rgba(74, 114, 255, 0.14);
  --aqua: #5fd3ea;
  --aqua-ink: #7fdff0;
  --aqua-soft: rgba(95, 211, 234, 0.14);
  --peri: #9fb3ff;
  --ok: #5fd3ea;
  --risk: #f0728a;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --radius: 22px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --serif: 'Iowan Old Style', 'New York', ui-serif, 'Palatino', Georgia, 'Songti SC', 'STSong', serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--theme-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(95, 211, 234, 0.3); }

/* 中英切换：html 上是 lang-zh 或 lang-en，另一种语言的内容藏起来 */
html.lang-zh .en, html.lang-en .zh { display: none !important; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* 斜体衬线：标题里点睛的那一句。中文没有好看的斜体，用宋体正体 */
.script { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
html.lang-zh .script { font-style: normal; letter-spacing: 0.02em; }

/* 顶栏：浮在首屏上，滚动后加一层磨砂 */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11, 12, 15, 0.55); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 18px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: 18px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.grow { flex: 1; }
.lang-btn { height: 34px; padding: 0 13px; border-radius: 17px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--text-2); cursor: pointer; }
.lang-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

/* 按钮：白色药丸 + 箭头，带一圈柔光 */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 24px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: #fff; color: #0b0c0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 30px -6px rgba(255, 255, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 10px 40px -4px rgba(255, 255, 255, 0.5); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.26); }
.btn svg { width: 18px; height: 18px; }
.btn .arrow { width: 16px; height: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 19px; }

/* 小药丸标签：区块小标题、首屏顶上那颗 */
.kicker, .pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 15px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; text-decoration: none; }
a.pill:hover { background: rgba(255, 255, 255, 0.1); }
.pill .arrow { width: 14px; height: 14px; }

/* ───── 首屏：暮色里的海 + 居中大标题 + 产品窗口从底下浮出来 ───── */
.hero { position: relative; padding: 96px 0 0; text-align: center; overflow: hidden; margin-top: -64px; padding-top: 160px; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 980px; background: url(/assets/sea-dusk.svg) center top / cover no-repeat; z-index: -1; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 980px; background: radial-gradient(60% 45% at 50% 30%, rgba(160, 190, 255, 0.16), transparent 70%); z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.04em; margin: 22px auto 18px; font-weight: 650; max-width: 980px; text-shadow: 0 2px 30px rgba(11, 12, 15, 0.25); }
.hero h1 .script { font-size: 1.04em; }
.lead { font-size: 18px; color: rgba(242, 243, 245, 0.82); max-width: 600px; margin: 0 auto 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.cta-note { margin-top: 14px; font-size: 13px; color: rgba(242, 243, 245, 0.62); }
.hero-shot { position: relative; margin: 64px auto 0; width: min(1080px, 100% - 32px); }
.hero-shot .win { border-radius: 18px 18px 0 0; }
.hero-shot::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: -2px; height: 46%; background: linear-gradient(to bottom, rgba(11, 12, 15, 0), var(--bg) 92%); pointer-events: none; z-index: 2; }

/* ───── 区块通用 ───── */
section { padding: 110px 0; position: relative; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: end; margin-bottom: 56px; }
.split-head h2 { margin: 16px 0 0; }
.split-head .side-note { color: var(--text-2); font-size: 16px; margin: 0; }
.split-head .side-note + .btn { margin-top: 20px; }
.center-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.center-head p { color: var(--text-2); margin: 14px auto 22px; max-width: 520px; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.035em; margin: 14px 0 0; font-weight: 650; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); margin: 12px 0 0; font-size: 17px; }

/* ───── 怎么玩：左边画框，右边手风琴 ───── */
.steps { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1.3 / 1; background: url(/assets/sea-glow.svg) center / cover; box-shadow: var(--shadow); }
.frame .panel { position: absolute; left: 8%; right: 8%; top: 10%; bottom: 0; border-radius: 18px 18px 0 0; background: rgba(18, 20, 26, 0.86); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 18px; overflow: hidden; }
.frame .view { display: none; animation: viewin 0.5s ease both; }
.frame[data-step='1'] .view[data-view='1'], .frame[data-step='2'] .view[data-view='2'], .frame[data-step='3'] .view[data-view='3'], .frame[data-step='4'] .view[data-view='4'] { display: block; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.panel-head img { width: 20px; height: 20px; border-radius: 5px; }
.panel-head .live { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
.acc { display: grid; gap: 6px; }
.acc-item { border-radius: 18px; border: 1px solid transparent; transition: background 0.2s ease, border-color 0.2s ease; }
.acc-item button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 22px; letter-spacing: -0.02em; color: var(--text-3); }
.acc-item button::after { content: ''; margin-left: auto; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat; transition: transform 0.2s ease; }
.acc-item .acc-body { display: none; padding: 0 20px 20px; color: var(--text-2); font-size: 15.5px; }
.acc-item .bar { height: 2px; margin-top: 16px; border-radius: 1px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.acc-item .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--theme-2), var(--aqua)); }
.acc-item.open { background: var(--card); border-color: var(--line); }
.acc-item.open button { color: var(--text); }
.acc-item.open button::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat; }
.acc-item.open .acc-body { display: block; }
.acc-item.open .bar i { animation: progress 6.5s linear forwards; }
.acc.paused .acc-item.open .bar i { animation: none; width: 100%; }
@keyframes progress { to { width: 100%; } }

/* ───── 2×2 功能卡：上面放小演示，下面标题和一句话 ───── */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cap { position: relative; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 0%, #181b22 0%, var(--card) 60%); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 460px; }
.cap .stage-mini { flex: 1; display: grid; place-items: center; padding: 34px 34px 10px; position: relative; }
.cap .stage-mini::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }
.cap .stage-mini > * { position: relative; width: 100%; max-width: 420px; }
.cap .stage-mini > .map-mini { max-width: 360px; }
.map-mini .map-svg { max-height: 280px; margin: 0 auto; }
.cap .cap-text { padding: 0 34px 32px; }
.cap h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }
.cap p { margin: 0; color: var(--text-2); font-size: 15.5px; max-width: 380px; }

/* ───── 平台环：中间一个发光的圆顶，四周是平台 ───── */
.orbit { position: relative; width: min(860px, 100%); margin: 0 auto; aspect-ratio: 2.05 / 1; }
.orbit svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit svg.rings circle { fill: none; stroke: rgba(255, 255, 255, 0.08); }
.orbit svg.rings circle.dash { stroke-dasharray: 2 10; stroke: rgba(255, 255, 255, 0.14); }
.dome { position: absolute; left: 50%; bottom: 0; width: 36%; aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: radial-gradient(120% 140% at 50% 0%, #c9d6ff 0%, #6f8dff 22%, #2f52d8 48%, #142266 78%, #0b0c0f 100%); box-shadow: 0 -20px 90px -10px rgba(74, 114, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); display: grid; place-items: center; padding-top: 10%; }
.dome::before { content: ''; position: absolute; inset: -40% -30% 0; border-radius: 50% 50% 0 0; background: radial-gradient(50% 60% at 50% 70%, rgba(111, 141, 255, 0.35), transparent 70%); z-index: -1; }
.dome span { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 17px; }
.dome img { width: 26px; height: 26px; border-radius: 6px; }
.node { position: absolute; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: grid; place-items: center; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.9); }
.node b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.node.on { box-shadow: 0 0 0 1px rgba(95, 211, 234, 0.5), 0 0 30px -4px rgba(95, 211, 234, 0.55); }
.node-tip { position: absolute; transform: translate(-50%, 0); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--glass); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.node-tip b { color: var(--text); font-weight: 600; }
.node-tip .ok-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua); display: grid; place-items: center; font-size: 10px; }
.activity { width: min(520px, 100%); margin: 22px auto 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); padding: 10px; box-shadow: var(--shadow); }
.activity-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); padding: 4px 8px 10px; }
.act { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 10px; font-size: 13.5px; }
.act.now { background: rgba(255, 255, 255, 0.04); }
.act .what { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-3); }
.act .what b { color: var(--text); font-weight: 600; margin-right: 6px; }
.act time { color: var(--text-3); font-size: 12px; }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--aqua-soft); color: var(--aqua-ink); }
.tag.run { background: var(--theme-soft); color: var(--peri); }

/* ───── 放心玩：四个小卡 ───── */
.safe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.safe .card { padding: 22px; }

/* ───── 卡片、图标、勾选列表 ───── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--theme-soft); color: var(--peri); }
.icon.warm { background: var(--aqua-soft); color: var(--aqua-ink); }
.icon.ok { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.icon svg { width: 20px; height: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237fdff0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { color: var(--text); font-weight: 600; }

/* ───── 常见问题 ───── */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ask { position: relative; border-radius: 24px; overflow: hidden; min-height: 360px; background: url(/assets/sea-glow.svg) center / cover; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.ask::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 15, 0) 20%, rgba(11, 12, 15, 0.78)); }
.ask > * { position: relative; }
.ask h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; font-weight: 650; }
.ask p { margin: 0 0 20px; color: rgba(242, 243, 245, 0.8); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; font-size: 19px; letter-spacing: -0.015em; color: var(--text-2); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; margin-left: auto; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat; }
.qa[open] summary { color: var(--text); }
.qa[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat; }
.qa p { margin: 0 4px 22px; color: var(--text-2); max-width: 620px; }

/* ───── 结尾：晨雾里的海 ───── */
.finale { padding: 0; }
.finale .sky { position: relative; min-height: 720px; display: grid; place-items: center; text-align: center; background: url(/assets/sea-dawn.svg) center / cover no-repeat; color: #12151b; padding: 120px 16px 260px; }
.finale h2 { font-size: clamp(40px, 5.8vw, 78px); letter-spacing: -0.04em; }
.finale .script { display: block; }
.finale p { color: #3c434d; max-width: 520px; margin: 18px auto 30px; font-size: 17px; }
.finale h2 { margin-bottom: 30px; }
.finale .pill { background: rgba(255, 255, 255, 0.55); border-color: rgba(0, 0, 0, 0.08); color: #12151b; }
.finale .btn-primary { box-shadow: 0 10px 40px -8px rgba(0, 0, 0, 0.35); }

/* ───── 下载 ───── */
.download { text-align: center; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.dl { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.dl:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.dl.mine { border-color: rgba(111, 141, 255, 0.7); box-shadow: 0 0 0 1px rgba(111, 141, 255, 0.35), 0 20px 50px -24px rgba(58, 99, 240, 0.6); }
.dl .os { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.dl .os svg { width: 22px; height: 22px; }
.dl small { color: var(--text-3); font-size: 13px; }
.dl .get { margin-top: 10px; color: var(--peri); font-size: 14px; font-weight: 600; }
.cmd { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: left; }
.cmd-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.cmd-row .who { flex: none; width: 74px; font-size: 13px; color: var(--text-3); }
.cmd-row code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 13.5px/1.5 var(--mono); color: #d7dbe4; }
.copy-btn { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.copy-btn:hover { color: var(--text); border-color: var(--line-2); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.done { color: var(--aqua); }
.ver { margin-top: 14px; font-size: 13px; color: var(--text-3); }

/* ───── 文档页（指南、日志、隐私、反馈） ───── */
.doc { padding: 64px 0 110px; }
.doc .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 4px; font-size: 14px; }
.toc a { text-decoration: none; color: var(--text-3); padding: 5px 10px; border-radius: 8px; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 14px; font-weight: 650; }
.prose h2 { font-size: 26px; margin: 52px 0 10px; padding-top: 8px; scroll-margin-top: 90px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; font-weight: 600; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--peri); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose code { font: 13.5px var(--mono); background: var(--card-2); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; color: #d7dbe4; }
.prose .note { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); color: var(--text-2); font-size: 15px; }
.release { padding: 26px 0; border-top: 1px solid var(--line); }
.release:first-of-type { border-top: 0; }
.release-head { display: flex; align-items: baseline; gap: 12px; }
.release-head h2 { margin: 0; font-size: 24px; padding: 0; }
.release-head time { color: var(--text-3); font-size: 14px; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--aqua-soft); color: var(--aqua-ink); font-weight: 600; }

/* ───── 页脚：分栏 + 底下一行点阵大字 ───── */
footer { border-top: 1px solid var(--line); padding: 64px 0 0; color: var(--text-3); font-size: 14px; overflow: hidden; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)); gap: 32px; }
.foot .brand { margin-bottom: 14px; }
.foot .tagline { color: var(--text); font-size: 16px; margin: 0 0 6px; }
.foot .tagline + p { margin: 0 0 18px; max-width: 360px; }
.foot h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--text-3); }
.foot a.brand { color: var(--text); }
.foot a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.wordmark { display: block; width: 100%; height: auto; margin-top: 24px; }

/* 进入视口时淡入 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ───── 产品演示窗口（HTML 画的，中英文跟着切换） ───── */
.win { border-radius: 16px; overflow: hidden; background: #121419; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.titlebar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #16181e; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; opacity: 0.8; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.titlebar .tb-title { flex: 1; text-align: center; margin-right: 50px; }
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; min-height: 470px; text-align: left; }
.pane { padding: 16px; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.pane-head b { font-size: 15px; }
.pane-head small { color: var(--text-3); font-size: 12px; }
.plat { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.plat.xhs { background: #ff2442; }
.plat.wb { background: #f78119; }
.plat.x { background: #000; border: 1px solid var(--line-2); }
.vel { color: var(--peri); font-weight: 600; }
.avatars { display: flex; margin-left: auto; }
.avatars span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #121419; margin-left: -7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.prow { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; padding: 10px; border-radius: 12px; font-size: 13px; }
.prow + .prow { margin-top: 4px; }
.prow.on { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(111, 141, 255, 0.4); }
.prow .t { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .m { grid-column: 2; display: flex; gap: 8px; color: var(--text-3); font-size: 12px; }
.prow .m .vel { margin-left: auto; }
.prow.new { animation: newpost 9s ease-in-out infinite; }
.prow .fresh { display: inline-block; font-size: 10px; font-weight: 700; padding: 0 6px; border-radius: 4px; background: var(--aqua); color: #062a33; margin-right: 6px; vertical-align: 1px; }
@keyframes newpost { 0%, 8% { opacity: 0; transform: translateY(-8px); } 14%, 100% { opacity: 1; transform: none; } }
.post-head { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.post-head .who { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, var(--aqua), var(--theme)); }
.post-head .watching { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.post-title { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; margin: 12px 0 10px; }
.photo { position: relative; height: 230px; border-radius: 14px; overflow: hidden; background: #1a2440; }
.photo .p1 { position: absolute; inset: 0; background: radial-gradient(34% 42% at 30% 58%, #8fa6ff 0%, #3a63f0 52%, transparent 78%), radial-gradient(28% 34% at 72% 40%, #a8eef8 0%, #2bb8d6 52%, transparent 78%), radial-gradient(24% 28% at 60% 80%, #c7d2ff 0%, #5d76d8 55%, transparent 80%), linear-gradient(160deg, #22305a, #121a33); }
.photo .p2 { position: absolute; left: 12%; top: 18%; width: 34%; height: 64%; border-radius: 50%; border: 6px solid rgba(235, 242, 255, 0.6); }
.photo .p3 { position: absolute; right: 14%; top: 14%; width: 26%; height: 50%; border-radius: 50%; border: 5px solid rgba(235, 242, 255, 0.45); }
.photo .dm { top: 14px; height: 200px; }
.post-text { font-size: 14px; color: var(--text-2); margin: 12px 0 0; line-height: 1.6; }
.stats-row { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--text-3); }
.stats-row span { display: inline-flex; align-items: center; gap: 5px; }
.stats-row svg { width: 14px; height: 14px; opacity: 0.85; }

/* 弹幕：深色气泡飘在帖子上 */
.dm { position: absolute; left: 0; right: 0; top: 70px; height: 150px; pointer-events: none; overflow: hidden; }
.bullet { position: absolute; left: 100%; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 4px; border-radius: 15px; background: rgba(11, 12, 15, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-size: 13px; animation: fly 11s linear infinite; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bullet b { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 11px; font-weight: 700; color: #062a33; background: var(--aqua); }
.bullet.chat b { background: var(--peri); color: #0b1336; }
.bullet:nth-child(1) { top: 8px; animation-delay: -1s; }
.bullet:nth-child(2) { top: 48px; animation-delay: -5s; animation-duration: 13s; }
.bullet:nth-child(3) { top: 88px; animation-delay: -8s; animation-duration: 12s; }
.bullet:nth-child(4) { top: 28px; animation-delay: -10s; animation-duration: 14s; }
@keyframes fly { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 640px)); } }

/* AI 结论卡：两种主题色缓缓呼吸 */
@property --breath { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
.ai-card { position: relative; border-radius: 16px; padding: 16px 18px; color: #fff; background: linear-gradient(155deg, #0e1430 0%, var(--theme) var(--breath), #2bb8d6 140%); animation: breath 7s ease-in-out infinite alternate; }
@keyframes breath { from { --breath: 25%; } to { --breath: 72%; } }
.ai-row { display: flex; align-items: baseline; gap: 10px; }
.ai-score { font-size: 44px; line-height: 1.1; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ai-label { font-size: 12px; color: rgba(255, 255, 255, 0.78); }
.ai-sum { font-size: 14px; line-height: 1.5; margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.facets { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.facets span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-2); }
.facets span.pos { background: var(--aqua-soft); color: var(--aqua-ink); }
.kv { margin-top: 14px; display: grid; gap: 10px; font-size: 14px; }
.kv dt { color: var(--text-3); font-size: 12px; margin-bottom: 2px; }
.kv dd { margin: 0; color: var(--text); }
.flag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: rgba(240, 114, 138, 0.12); color: #f7a6b6; }

/* 回复列表 */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); margin-bottom: 10px; font-size: 13px; }
.seg span { padding: 5px 12px; border-radius: 9px; color: var(--text-3); }
.seg span.on { background: var(--card-2); color: var(--text); font-weight: 600; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.replies { display: grid; gap: 8px; }
.reply { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; }
.reply .move { flex: none; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--aqua-soft); color: var(--aqua-ink); }
.reply .copy { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--text-2); flex: none; }
.reply .copy svg { width: 14px; height: 14px; }
.reply.flash { animation: copied 6s ease-in-out infinite; }
.reply.flash .copy { animation: copiedbtn 6s ease-in-out infinite; }
@keyframes copied { 0%, 40%, 70%, 100% { border-color: var(--line); } 45%, 65% { border-color: var(--theme-2); } }
@keyframes copiedbtn { 0%, 40%, 70%, 100% { background: rgba(255, 255, 255, 0.05); color: var(--text-2); } 45%, 65% { background: var(--theme); color: #fff; } }

/* 托管日志 */
.log { border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); padding: 16px 18px; font-size: 13.5px; }
.log-head { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.log-head .live { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.log li { display: flex; gap: 10px; color: var(--text-2); }
.log li i { font-style: normal; width: 16px; flex: none; text-align: center; }
.log .ok i { color: var(--aqua); }
.log .skip i { color: var(--risk); }
.log .think i { color: var(--peri); }
.log li span b { color: var(--text); font-weight: 600; }

/* 地图（用软件里的州轮廓画） */
.map-mini { position: relative; }
.map-svg { width: 100%; height: auto; display: block; }
.map-svg path { stroke: rgba(160, 190, 255, 0.3); }
.map-tag rect { fill: rgba(11, 12, 15, 0.85); stroke: rgba(255, 255, 255, 0.16); }
.map-tag text { fill: #e8ebf3; font: 600 12px var(--font); }
.map-ring { fill: none; stroke: var(--aqua); stroke-width: 2; stroke-dasharray: 4 4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mapring 2.4s ease-out infinite; }
@keyframes mapring { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.25); } }
.surge-card { position: absolute; right: 0; top: 0; width: 46%; border-radius: 14px; padding: 12px 14px; color: #fff; background: linear-gradient(155deg, #0e1430 0%, var(--theme) 55%, #2bb8d6 140%); display: grid; gap: 1px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9); }
.surge-card small { font-size: 11px; opacity: 0.85; }
.surge-card b { font-size: 26px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.surge-card > span { font-size: 12.5px; opacity: 0.92; }

/* ───── 反馈页 ───── */
.doc .wrap.narrow { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.fb { display: grid; gap: 20px; margin-top: 28px; }
.fb-kinds { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fb-kinds legend { font-weight: 600; margin-bottom: 10px; color: var(--text); }
.fb-kinds label { position: relative; display: block; cursor: pointer; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds label > span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.15s ease, background 0.15s ease; }
.fb-kinds b { color: var(--text); font-size: 15px; }
.fb-kinds small { color: var(--text-3); font-size: 13px; }
.fb-kinds label:hover > span { border-color: var(--line-2); }
.fb-kinds input:checked + span { border-color: rgba(111, 141, 255, 0.7); background: var(--theme-soft); box-shadow: 0 0 0 1px rgba(111, 141, 255, 0.35); }
.fb-kinds input:focus-visible + span { outline: 2px solid var(--theme-2); outline-offset: 2px; }
.fb-field { display: grid; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.fb-field textarea, .fb-field input { font: 15px/1.6 var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; resize: vertical; font-weight: 400; }
.fb-field textarea:focus, .fb-field input:focus { outline: none; border-color: var(--theme-2); box-shadow: 0 0 0 3px rgba(111, 141, 255, 0.2); }
.fb-field textarea::placeholder, .fb-field input::placeholder { color: var(--text-3); }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fb-status { font-size: 14px; color: var(--text-2); }
.fb-status.ok { color: var(--aqua); }
.fb-status.err { color: var(--risk); }
.fb.sent .fb-kinds, .fb.sent .fb-field { opacity: 0.5; pointer-events: none; }

/* ───── 窄屏 ───── */
@media (max-width: 1080px) {
  .app { grid-template-columns: minmax(0, 1fr) 280px; }
  .app .pool { display: none; }
  .app .pool + .pane { border-left: 0; }
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  section { padding: 80px 0; }
  .split-head, .steps, .faq, .caps, .dl-grid, .grid-3, .grid-2, .foot { grid-template-columns: minmax(0, 1fr); }
  .split-head { gap: 16px; }
  .cap { min-height: 0; }
  .doc .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .acc-item button { font-size: 19px; }
  .orbit .node-tip { display: none; }
}
@media (max-width: 720px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app .side { border-left: 0; border-top: 1px solid var(--line); }
  .photo { height: 190px; }
  .safe { grid-template-columns: minmax(0, 1fr); }
  .frame { aspect-ratio: auto; min-height: 420px; }
  .finale .sky { min-height: 560px; padding: 110px 16px 200px; }
  .fb-kinds { grid-template-columns: minmax(0, 1fr); }
  .orbit { aspect-ratio: 1.6 / 1; }
  .node { width: 40px; height: 40px; border-radius: 12px; }
  .node b { width: 22px; height: 22px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .bullet, .ai-card, .log-head .live, .prow.new, .reply.flash, .reply.flash .copy, .map-ring, .frame .view { animation: none; }
  .bullet { left: auto; right: 12px; }
  .bullet:nth-child(n + 3) { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .acc-item.open .bar i { animation: none; width: 100%; }
  html { scroll-behavior: auto; }
}
