/* ============================================================
   幕析图像 AI 版 · www.mxocr.com
   手写样式表，无构建工具依赖（改完刷新即可，不需要 tailwindcss.exe）
   ============================================================ */

:root {
  --brand: #165DFF;
  --brand-600: #0E4CD1;
  --brand-700: #0A3EA8;
  --brand-50: #EEF3FF;
  --brand-100: #DBE5FF;
  --violet: #6B5BFF;
  --violet-600: #4E3BD8;
  --cyan: #0FC6C2;
  --cyan-ink: #089A95;
  --ink: #10151F;
  --ink-2: #454F5B;
  --ink-3: #5B6675;
  --line: #E6E9EF;
  --bg: #FFFFFF;
  --bg-2: #F7F9FC;
  --bg-3: #EEF2F7;
  --dark: #0B1020;
  --dark-2: #131A2E;
  --dark-line: #232C46;
  --ok: #00B42A;
  --ok-ink: #087A1E;
  --warn: #FF7D00;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(16, 21, 31, .05), 0 4px 14px rgba(16, 21, 31, .05);
  --shadow: 0 10px 30px rgba(16, 21, 31, .08);
  --shadow-l: 0 24px 70px rgba(11, 16, 32, .16);
  --maxw: 1180px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid rgba(22, 93, 255, .55);
  outline-offset: 2px;
  border-radius: 6px;
}
.sec--dark :focus-visible,
.cta :focus-visible,
.footer :focus-visible { outline-color: #9FB4FF; }

/* 键盘用户的"跳到主要内容"：平时移出屏幕，聚焦时才出现 */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 90;
  padding: 9px 16px; border-radius: var(--radius-s);
  background: var(--brand); color: #fff; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { padding: 96px 0; }
.sec--tight { padding: 64px 0; }
.sec--alt { background: var(--bg-2); }
.sec--dark { background: var(--dark); color: #E9EDF6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--brand); background: var(--brand-50);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow--ghost { background: rgba(255,255,255,.08); color: #9FB4FF; }

.h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -.015em; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.lead { font-size: 18px; color: var(--ink-2); }
.sec--dark .lead { color: #A9B4CB; }
.muted { color: var(--ink-3); font-size: 14px; }
.sec--dark .muted { color: #9AA6BC; }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head .h2 { margin: 16px 0 14px; }
.grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--violet) 55%, var(--cyan-ink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
  height: 48px; padding: 0 26px; border-radius: 12px;
  font-size: 16px; font-weight: 700; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(22, 93, 255, .28); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 93, 255, .34); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-s); }
.btn--ghost:hover { border-color: var(--brand-100); color: var(--brand); transform: translateY(-2px); }
.btn--dark { background: #fff; color: var(--dark); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.btn--outline-light { background: transparent; color: #E9EDF6; border-color: var(--dark-line); }
.btn--outline-light:hover { border-color: #6C7FB5; transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--wide { min-width: 208px; }

.btn-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.sec--dark .btn-note { color: #8593AC; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(16,21,31,.05); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(22,93,255,.32);
}
.brand__sub { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 2px 8px; border-radius: 999px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background: radial-gradient(1200px 620px at 78% -10%, #EAF0FF 0%, rgba(234,240,255,0) 62%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero .h1 { margin: 22px 0 20px; }
.hero__sub { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__meta div { font-size: 13px; color: var(--ink-3); }
.hero__meta b { display: block; font-size: 19px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.blob--1 { width: 380px; height: 380px; background: #C9D9FF; top: -120px; right: -60px; }
.blob--2 { width: 300px; height: 300px; background: #D7CFFF; bottom: -140px; left: -80px; opacity: .38; }

/* ---------- 复刻的客户端界面（纯 CSS，非截图） ---------- */
.appfig { min-width: 0; margin: 0 auto; max-width: 660px; }
.appfig__cap { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
/* Windows 窗口：标题栏左端图标+名称+版本号，右端是主题切换与最小化/最大化/关闭，不是 macOS 的三个圆点 */
.appwin {
  border-radius: 10px; overflow: hidden;
  background: var(--dark); box-shadow: var(--shadow-l);
  border: 1px solid var(--dark-line);
}
.appwin__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 4px 0 10px; background: var(--dark-2); border-bottom: 1px solid var(--dark-line); }
.appwin__ico { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(140deg, var(--brand), var(--violet)); color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.appwin__title { font-size: 11.5px; color: #C6D2EA; font-weight: 600; white-space: nowrap; }
.appwin__ver { font-size: 10px; color: #6C7FA3; font-family: var(--mono); white-space: nowrap; }
.appwin__caps { margin-left: auto; display: flex; align-items: center; }
.appwin__caps i { font-style: normal; width: 26px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 10.5px; color: #7E8FB8; }
.appwin__caps i:first-child { width: 30px; color: #A8B8D8; }
.appwin__body { display: grid; grid-template-columns: 158px minmax(0, 1fr); min-height: 436px; }
.appside { background: #0E1426; border-right: 1px solid var(--dark-line); padding: 10px; display: flex; flex-direction: column; }
.appside__new { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 8px; padding: 7px 0; text-align: center; }
.appside__search { margin-top: 8px; font-size: 11px; color: #5C6A8C; background: #141C33; border: 1px solid var(--dark-line); border-radius: 8px; padding: 5px 8px; }
.appside__meta { margin: 9px 2px 0; font-size: 10px; color: #5C6A8C; display: flex; justify-content: space-between; }
.appside__grp { margin: 9px 2px 4px; font-size: 10px; color: #7A8FB3; font-weight: 700; }
/* 客户端的会话条目是上下两行：标题一行、下面一行小字时间，不是左右排 */
.appside__row { display: block; padding: 6px 7px; border-radius: 8px; }
.appside__row b { display: block; font-size: 11px; font-weight: 500; color: #AEBDDC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appside__row em { display: block; margin-top: 2px; font-style: normal; font-size: 9.5px; color: #5C6A8C; font-family: var(--mono); }
.appside__row.is-on { background: #18203A; }
.appside__row.is-on b { color: #E3EAF7; }
.appside__foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--dark-line); display: flex; align-items: center; gap: 6px; }
.appside__foot i { width: 18px; height: 18px; border-radius: 50%; background: #24304F; color: #B7C5E4; font-size: 9px; font-style: normal; display: flex; align-items: center; justify-content: center; flex: none; }
.appside__foot b { font-size: 10.5px; font-weight: 500; color: #AEBDDC; }
.appside__foot > span { min-width: 0; }
.appside__gear { margin-left: auto; font-size: 10px; color: #7A8FB3; white-space: nowrap; }
.appwin__main { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.card-sim { background: #121A2E; border: 1px solid var(--dark-line); border-radius: 12px; padding: 12px 13px; }
.card-sim__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: -12px -13px 9px; padding: 9px 13px; border-bottom: 1px solid var(--dark-line); }
.card-sim__ico { width: 14px; height: 14px; color: #8090B4; flex: none; }
.card-sim__kind { font-size: 12.5px; color: #DCE4F2; font-weight: 600; white-space: nowrap; }
/* 状态胶囊在客户端就贴在行尾：识别中蓝、识别完成绿；旁边那颗是"停止"，中性灰底 */
.card-sim__head .tag { margin-left: auto; }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(22,93,255,.18); color: #8FB0FF; white-space: nowrap; }
.tag--ok { background: rgba(0,180,42,.16); color: #63D986; }
.card-sim__head .tag--stop { margin-left: 0; background: #1E2745; color: #C6D2EA; }
.card-sim__name { flex: 1; min-width: 0; font-size: 11px; color: #8090B4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 导出的 SRT 就是"序号 / 起止时间 / 文本"三行一条，别画成左右两栏 */
.srt { font-family: var(--mono); }
.srt__n { margin: 0; font-size: 10.5px; color: #7A8FB3; }
.srt__t { margin: 0; font-size: 10.5px; color: #7FD1CE; }
.srt__x { margin: 0 0 8px; font-family: var(--font); font-size: 12px; line-height: 1.5; color: #DCE4F2; }
.srt > .srt__x:last-child { margin-bottom: 0; }
.card-sim__lines { display: grid; gap: 3px; }
.card-sim__lines span { font-size: 12px; line-height: 1.55; color: #DCE4F2; }
.card-sim__note { margin: 10px 0 5px; font-size: 10.5px; color: #6C7FA3; font-family: var(--mono); display: flex; justify-content: space-between; gap: 10px; }
.card-sim__body { margin: 0; font-size: 12px; line-height: 1.65; color: #DCE4F2; }
/* 客户端的动作行只在 AI 加工那一组前面有一根竖线，复制/编辑/导出之间没有 */
.card-sim__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.act { font-size: 11px; color: #9FB0D2; white-space: nowrap; }
.act--sep::before { content: "|"; margin-right: 7px; color: #3A476F; }
.act em { font-style: normal; margin-left: 3px; font-size: 9px; color: #7A8FB3; }
.act--ai { color: #A99CFF; }
.entrybar { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.tool { font-size: 10.5px; color: #9FB0D2; background: #1A2340; border: 1px solid #29335A; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.tool em { font-style: normal; margin-left: 4px; font-size: 9.5px; color: #6FD3D1; }
.tool--on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tool-sep { width: 1px; height: 14px; background: #29335A; margin: 0 2px; }
/* AI 场景那一整组（含分隔线）跟着换行：客户端就是这么排的，拆开会让"自定义"孤零零吊在行尾 */
.entrybar__grp { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.composer { background: #121A2E; border: 1px solid var(--dark-line); border-radius: 12px; padding: 8px 9px; }
.composer__field { margin: 3px 2px 8px; min-height: 30px; font-size: 11.5px; color: #5C6A8C; }
.composer__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.meta-chip { font-size: 10px; color: #7A8FB3; background: #0E1426; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.send { margin-left: auto; font-size: 11px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 8px; padding: 4px 12px; white-space: nowrap; }
.progress { height: 6px; border-radius: 999px; background: #1A2340; overflow: hidden; }
.progress i { display: block; height: 100%; width: 68%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
/* 取词发生在别的软件画面上：先画一个中性的表格窗口，浮层叠在它的右下角 */
.hostwrap { width: 100%; max-width: 560px; margin: 0 auto; }
.hostwin { background: #F7F9FC; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.hostwin__bar { display: flex; align-items: center; height: 26px; padding: 0 10px; background: #E9EDF3; border-bottom: 1px solid #D8DEE8; font-size: 10.5px; color: #5B6675; }
.hostwin__bar b { font-weight: 600; color: #454F5B; }
.hostwin__bar span { margin-left: auto; letter-spacing: 5px; color: #8A93A3; }
.hostwin__bar i { font-style: normal; }
.hostwin__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 7px 12px; font-size: 11.5px; color: #454F5B; border-bottom: 1px solid #EDF0F5; }
.hostwin__row span:first-child { color: #8A93A3; }
.hostwin__row span:last-child { color: #10151F; font-weight: 600; }
/* 虚线框就是刚框选的那块区域：只有框内的三行会被认出来，框外的"交期"不会进结果 */
.hostwin__sel { background: #EEF3FF; outline: 1.5px dashed var(--brand); outline-offset: -2.5px; }
.hostwin__sel .hostwin__row:last-child { border-bottom: 0; }
.hostwin__foot { padding: 6px 12px; font-size: 10.5px; color: #8A93A3; background: #F1F4F9; }
/* 取词浮层在真实软件里是桌面上一个独立的置顶小窗（ResultOverlay），照它的尺寸和按钮画 */
.float-ow {
  width: 100%; max-width: 268px; margin: 0 auto;
  background: rgba(23, 23, 31, .95); border: 1px solid #3A3A4C; border-radius: 10px; padding: 9px 12px;
  box-shadow: 0 16px 38px rgba(0,0,0,.45);
}
.float-ow__t { font-size: 10.5px; color: #8A8FA3; margin: 0 0 6px; }
.float-ow__x { margin: 0; font-size: 12.5px; color: #E8EAF2; font-weight: 600; line-height: 1.5; }
.float-ow__acts { display: flex; gap: 6px; justify-content: flex-end; margin-top: 9px; flex-wrap: wrap; }
.float-ow__b { font-size: 10.5px; padding: 3px 9px; border-radius: 6px; background: #6C8CFF; color: #fff; white-space: nowrap; }
.float-ow__b--g { background: #22222E; color: #D8DCE8; }
.float-ow--over { position: relative; z-index: 2; width: 236px; max-width: 82%; margin: -20px 10px 0 auto; }
/* 实时识别发生在别的窗口的播放画面上：外壳是浅灰播放器，画面压暗，字幕落在虚线框内。
   播放窗 + 我们的识别卡收在同一列里，才看着像两个叠着的窗口 */
.vizcol { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto; }
.player { background: #F7F9FC; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.player__bar { display: flex; align-items: center; height: 26px; padding: 0 10px; background: #E9EDF3; border-bottom: 1px solid #D8DEE8; font-size: 10.5px; color: #5B6675; }
.player__bar b { font-weight: 600; color: #454F5B; }
.player__bar span { margin-left: auto; letter-spacing: 5px; color: #8A93A3; }
.player__bar i { font-style: normal; }
.player__stage { position: relative; height: 156px; overflow: hidden; background: linear-gradient(163deg, #2A3A4B, #18222F 48%, #0D141D); }
/* 画面本体是矢量剪影（黄昏滩涂 + 落日 + 飞鸟 + 芦苇），跟其余示意一样是画的，不占字节。
   slice 会按中心裁掉两侧，所以落日与飞鸟都放在中段，芦苇放边上，窄屏裁掉不心疼 */
.player__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.player__sel { position: absolute; left: 40px; right: 40px; bottom: 22px; padding: 6px 8px; outline: 1.5px dashed #6C8CFF; }
.player__sub { position: relative; margin: 0; text-align: center; font-size: 12.5px; line-height: 1.5; color: #F2F5FA; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.player__ctrl { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 12px; background: #EDF0F5; border-top: 1px solid #D8DEE8; font-size: 10.5px; color: #5B6675; font-family: var(--mono); }
.player__ctrl svg { width: 11px; height: 11px; color: #454F5B; flex: none; }
.player__track { flex: 1; height: 4px; border-radius: 999px; background: #D8DEE8; overflow: hidden; }
.player__track i { display: block; width: 9%; height: 100%; border-radius: 999px; background: #6A7686; }
.viz-cap { margin: 0; font-size: 11px; color: #7A8FB3; font-family: var(--mono); }
.viz-note { margin: 0; font-size: 11.5px; color: #7A8FB3; }
/* 会话流：一条消息 = 头像 + （角色名 + 气泡），提问在右、AI 回复在左，客户端就是这样 */
.bub { display: flex; align-items: flex-start; gap: 8px; }
.bub--me { flex-direction: row-reverse; }
.bub__ava { width: 24px; height: 24px; border-radius: 50%; background: #222B45; border: 1px solid #2E3A5E; flex: none; display: flex; align-items: center; justify-content: center; color: #6C7FA3; }
.bub__ava svg { width: 13px; height: 13px; }
.bub__ava--ai { background: linear-gradient(140deg, var(--brand), var(--violet)); border-color: transparent; color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.bub__col { min-width: 0; max-width: 75%; }
.bub__who { margin: 0 0 4px; font-size: 11px; color: #6C7FA3; }
.bub--me .bub__who { text-align: right; }
.bubble-me { background: #4A5F9E; color: #F2F6FF; font-size: 12px; line-height: 1.55; border-radius: 16px 16px 6px 16px; padding: 10px 14px; }
.bubble-ai { background: #121A2E; border-radius: 6px 16px 16px 16px; padding: 10px 14px; }
/* 批量清单：客户端每项是一个带边框的小盒，行首是 1/3 序号，状态是行尾彩色小字（没有状态圆点） */
.queue { display: grid; gap: 6px; }
.queue__row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #AEBDDC; background: #0E1426; border: 1px solid var(--dark-line); border-radius: 10px; padding: 7px 11px; }
.queue__n { flex: none; font-size: 10.5px; color: #7A8FB3; font-family: var(--mono); }
.queue__row b { flex: 1 1 auto; min-width: 0; font-weight: 400; font-size: 11px; color: #8FA0C4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue__row em { margin-left: auto; flex: none; font-style: normal; font-size: 10.5px; color: #6C7FA3; font-family: var(--font); white-space: nowrap; }
.queue__row--now em { color: #8FB0FF; }
.queue__row--done em { color: #63D986; }
.queue__row--wait { opacity: .7; }

/* ---------- 隐私/本机运行横条 ---------- */
.privacy-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.privacy-bar__i { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.privacy-bar__i em { font-style: normal; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-ink); flex: none; }

/* ---------- 通用卡片 ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand);
}
.card__ico svg { width: 22px; height: 22px; }
.card .h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card--dark { background: var(--dark-2); border-color: var(--dark-line); box-shadow: none; }
.card--dark:hover { transform: translateY(-4px); border-color: #3A476F; }
.card--dark .h3 { color: #EEF2FA; }
.card--dark p { color: #98A6C2; }
.card--dark .card__ico { background: rgba(22,93,255,.2); color: #8FB0FF; }
.kv { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kv span { font-size: 12px; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.card--dark .kv span { background: rgba(255,255,255,.05); border-color: var(--dark-line); color: #8FA0C4; }

/* ---------- 场景演示（左文右图交替） ---------- */
.showcase { display: grid; gap: 84px; }
.scene { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; align-items: center; }
.scene--rev .scene__txt { order: 2; }
.scene__num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.scene__txt .h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 14px; }
.scene__txt .lead { font-size: 16.5px; }
.scene__list { margin-top: 20px; display: grid; gap: 11px; }
.scene__list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.scene__list li::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 5px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23165DFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.scene__viz { background: var(--dark); border: 1px solid var(--dark-line); border-radius: var(--radius-l); padding: 20px; box-shadow: var(--shadow-l); display: flex; flex-direction: column; gap: 10px; }

/* ---------- 定价 ---------- */
.buy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); overflow: hidden; }
.buy__opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.buy__opt { position: relative; padding: 30px 26px 28px; border-left: 1px solid var(--line); }
.buy__opt:first-child { border-left: 0; }
.buy__opt--hot { background: var(--brand-50); box-shadow: inset 0 -3px 0 var(--brand); }
.buy__badge { position: absolute; top: 16px; right: 18px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.buy__n { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.buy__p { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 6px; }
.buy__p i { font-style: normal; font-size: 20px; font-weight: 800; color: var(--ink); }
.buy__p b { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.buy__p s { font-size: 14px; color: var(--ink-3); text-decoration: none; margin-left: 4px; }
.buy__u { font-size: 13px; color: var(--ink-3); }
.buy__incl { border-top: 1px solid var(--line); padding: 28px 30px 32px; }
.buy__cap { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 16px; }
.buy__l { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 34px; }
.buy__l li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.buy__l li::before { content: "✓"; color: var(--ok-ink); font-weight: 800; flex: none; }
.buy__cta { text-align: center; }
.price-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.price-note b { color: var(--ink-2); }

/* ---------- 对比/说明表 ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--bg-2); font-size: 13px; color: var(--ink-3); font-weight: 700; letter-spacing: .03em; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td b { color: var(--brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__i { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q { display: block; cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font-size: 16px; font-weight: 700; color: var(--ink); position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover, .faq__q:hover::after { color: var(--brand); border-color: var(--brand); }
.faq__q::after { content: ""; position: absolute; right: 22px; top: 24px; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .22s ease, border-color .22s ease; }
.faq__i[open] .faq__q::after { transform: rotate(225deg); border-color: var(--brand); }
.faq__a { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.faq__a p + p { margin-top: 10px; }

/* ---------- 底部 CTA ---------- */
.cta { background: linear-gradient(160deg, #16224A 0%, #0F1B3C 55%, var(--dark) 100%); color: #fff; text-align: center; border-radius: 0; }
.cta .h2 { color: #fff; }
.cta p { color: #C9D6FF; font-size: 17px; max-width: 620px; margin: 14px auto 30px; }
.cta__acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
/* 底色压暗后 --dark-line 描边几乎看不见，这里提亮 */
.cta .btn--outline-light { border-color: rgba(255, 255, 255, .45); }
.cta .btn--outline-light:hover { border-color: rgba(255, 255, 255, .72); }

/* 客服二维码：悬停、键盘聚焦或点击（.is-on）时浮出，按钮上不写电话号码 */
.qrpop { position: relative; display: inline-flex; }
.qrpop__card {
  position: absolute; bottom: calc(100% + 14px); left: 50%; z-index: 5;
  width: 184px; padding: 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 46px rgba(4, 10, 26, .42);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.qrpop__card img { margin: 0 auto; border-radius: 8px; }
.qrpop__card p { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
/* ::before 把 14px 缝隙补成可悬停区域，鼠标移向卡片时不会断 hover */
.qrpop__card::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 15px; }
.qrpop__card::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; }
.qrpop:hover .qrpop__card,
.qrpop:focus-within .qrpop__card,
.qrpop.is-on .qrpop__card { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.qrpop__btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.qrpop__btn:hover { color: #fff; }
.footer li.qrpop { display: block; }
/* 软著证书：浮层里放压缩预览（620px / 97KB），要看清点就开原图 */
.qrpop__card--cert { width: 216px; }
.qrpop__card--cert img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.qrpop__card--cert p { font-size: 11.5px; }
.qrpop__card--cert a { display: block; margin-top: 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--brand); }
.qrpop__card--cert a:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #8FA0C4; padding: 64px 0 26px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer__about { max-width: 320px; }
.footer__h { color: #E4EAF6; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer__bar { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 13px; }
.footer__bar a:hover { color: #fff; }
.footer__bar .sp { margin-left: auto; }
.icp { color: #8FA0C4; }
.icp:hover { color: #fff; }

/* ---------- 内页（政策） ---------- */
.doc { padding: 60px 0 90px; }
.doc__head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 34px; }
.doc__head .h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.doc__in { max-width: 840px; margin: 0 auto; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 34px 0 12px; }
.doc h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc ul.bul { display: grid; gap: 8px; margin: 12px 0; }
.doc ul.bul li { position: relative; padding-left: 18px; }
.doc ul.bul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.doc .box { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 10px; padding: 16px 18px; margin: 18px 0; font-size: 14.5px; }
.doc__meta { font-size: 13px; color: var(--ink-3); }

/* 正文行内链接必须与周围文字可区分（WCAG 1.4.1），不能沿用 a 的 inherit 无下划线 */
.doc__in a, .faq__a a {
  color: var(--brand); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px;
}
.doc__in a:hover, .faq__a a:hover { color: var(--brand-600); }

/* 404 */
.nf { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.nf b { display: block; font-size: 92px; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.04em; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .scene, .qrpop__card { transition: none; }
  .burger span, .faq__q::after { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__sub { max-width: none; }
  .scene { grid-template-columns: 1fr; gap: 28px; }
  .scene--rev .scene__txt { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16,21,31,.12);
    padding: 12px 20px 20px; gap: 2px; margin: 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 10px; border-bottom: 1px solid var(--bg-2); border-radius: 0; }
  .burger { display: block; }
  .header__cta .btn--ghost { display: none; }
}
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: 1fr; }
  .buy__l { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 66px; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .header__in { gap: 12px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand__mark { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
  .brand__sub { font-size: 11px; padding: 2px 6px; }
  .header__cta { gap: 8px; }
  .buy__opts { grid-template-columns: 1fr; }
  .buy__opt { border-left: 0; border-top: 1px solid var(--line); padding: 22px 20px; }
  .buy__opt:first-child { border-top: 0; }
  .buy__badge { top: 20px; }
  .buy__incl { padding: 22px 20px 26px; }
  .appwin__body { grid-template-columns: minmax(0, 1fr); }
  .appside { display: none; }
  /* 窄屏按钮换行，二维码改往下浮，避免盖住"下载"按钮 */
  .qrpop__card { top: calc(100% + 14px); bottom: auto; transform: translate(-50%, -8px); }
  .qrpop__card::before { top: auto; bottom: 100%; }
  .qrpop__card::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
  .footer__grid { grid-template-columns: 1fr; }
  /* 页脚在文档末尾，浮层往下会顶出页面，所以页脚的两个浮层窄屏仍往上浮 */
  .footer .qrpop__card { top: auto; bottom: calc(100% + 14px); transform: translate(-50%, 8px); }
  .footer .qrpop__card::before { top: 100%; bottom: auto; }
  .footer .qrpop__card::after { top: 100%; bottom: auto; border-top-color: #fff; border-bottom-color: transparent; }
  .footer__bar .sp { margin-left: 0; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 11px 12px; }
}
/* 用户批准：修 320px 视口 header 溢出（CTA 区仍有下载入口） */
@media (max-width: 340px) {
  .header__cta .btn--primary { display: none; }
}
