/* ============================================================
   七鱼工具箱 QIYU TOOLBOX — 全站设计系统
   主色：深海蓝 #0E86D4  强调：珊瑚橙 #FF7A45
   ============================================================ */

:root {
  --ink: #0A1A2A;
  --ink-2: #4A627B;
  --ink-3: #8296AA;
  --brand: #0E86D4;
  --brand-hi: #23B5E8;
  --brand-deep: #062B4C;
  --accent: #FF7A45;
  --accent-soft: #FFF1EA;
  --bg: #F5F9FC;
  --bg-soft: #EDF5FB;
  --surface: #FFFFFF;
  --line: #E3EDF6;
  --line-2: #D2E2F0;
  --ok: #12A67A;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-s: 0 1px 2px rgba(10, 26, 42, .04), 0 4px 12px rgba(10, 26, 42, .04);
  --shadow-m: 0 2px 6px rgba(10, 26, 42, .05), 0 14px 34px rgba(10, 26, 42, .07);
  --shadow-l: 0 18px 60px rgba(6, 43, 76, .14);

  --nav-h: 68px;
  --maxw: 1200px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", Roboto, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.28; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(14, 134, 212, .16); }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section.white { background: var(--surface); }
.section.dark { background: var(--brand-deep); color: #EAF4FB; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--brand); background: rgba(14, 134, 212, .09);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow.on-dark { color: #9BD8F2; background: rgba(155, 216, 242, .13); }

.h1 { font-size: 52px; line-height: 1.14; letter-spacing: -.022em; }
.h2 { font-size: 36px; letter-spacing: -.018em; }
.h3 { font-size: 21px; }
.lead { font-size: 17.5px; color: var(--ink-2); margin-top: 16px; line-height: 1.75; }
.sec-head .h2 + .lead { margin-top: 14px; }
.on-dark .lead, .dark .lead { color: #A9C6DD; }

.grad-text {
  background: linear-gradient(96deg, var(--brand) 0%, var(--brand-hi) 52%, #54D6C0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 100px;
  border: 1px solid transparent; background: none;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #17A0DE 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(14, 134, 212, .28);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(14, 134, 212, .36); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, #FF8A57 0%, var(--accent) 100%); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 69, .3); }
.btn-accent:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-quiet { color: var(--ink-2); padding: 0 6px; height: auto; font-weight: 500; }
.btn-quiet:hover { color: var(--brand); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn.on-dark { border-color: rgba(255, 255, 255, .26); color: #fff; }
.btn.on-dark:hover { background: rgba(255, 255, 255, .1); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--brand); }
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 90; height: var(--nav-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--brand) 0%, #12A9E4 100%); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(14, 134, 212, .3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 16.5px; font-weight: 700; letter-spacing: .01em; }
.brand-en { font-size: 10.5px; letter-spacing: .16em; color: var(--ink-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 100px; font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: rgba(14, 134, 212, .09); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; align-items: center; justify-content: center; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 78px 0 88px; background:
  radial-gradient(1100px 520px at 82% -12%, rgba(35, 181, 232, .17) 0%, rgba(245, 249, 252, 0) 62%),
  radial-gradient(760px 460px at 6% 6%, rgba(255, 122, 69, .09) 0%, rgba(245, 249, 252, 0) 60%),
  var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 15px 7px 9px; font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-s); }
.hero-badge b { color: var(--ink); font-weight: 600; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 166, 122, .18); }
.hero h1 { margin-top: 22px; }
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

.hero-stats { margin-top: 44px; display: flex; gap: 0; border-top: 1px solid var(--line-2); padding-top: 26px; }
.stat { flex: 1; padding-right: 22px; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line-2); }
.stat-num { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.stat-num em { font-size: 15px; font-style: normal; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* 工作台模拟窗 */
.hero-visual { position: relative; }
.win { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-l); overflow: hidden; }
.win-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FAFCFE; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #DCE7F0; }
.win-dots i:first-child { background: #FFBFA8; }
.win-dots i:nth-child(2) { background: #FDE0A8; }
.win-dots i:nth-child(3) { background: #B7E7CE; }
.win-title { font-size: 12px; color: var(--ink-3); font-family: var(--mono); margin-left: 6px; }
.win-tools { margin-left: auto; display: flex; gap: 6px; }
.win-tools span { height: 20px; padding: 0 9px; border-radius: 6px; background: var(--bg-soft); font-size: 11px; color: var(--ink-3); display: inline-flex; align-items: center; }

.win-body { display: grid; grid-template-columns: 128px 1fr; min-height: 322px; }
.win-side { border-right: 1px solid var(--line); padding: 14px 12px; background: #FCFEFF; }
.win-side-label { font-size: 11px; color: var(--ink-3); letter-spacing: .05em; margin-bottom: 10px; }
.side-item { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 2px; }
.side-item.on { background: rgba(14, 134, 212, .1); color: var(--brand); font-weight: 600; }
.side-item i { width: 14px; height: 14px; border-radius: 4px; background: var(--line-2); flex: none; }
.side-item.on i { background: var(--brand); }

.win-main { padding: 16px; }
.canvas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.tile-1 { background: linear-gradient(160deg, #EAF5FC 0%, #CFE6F6 60%, #B9DBF1 100%); }
.tile-2 { background: linear-gradient(160deg, #FFF3EC 0%, #FFDCC9 60%, #FFC9AE 100%); }
.tile-3 { background: linear-gradient(160deg, #EAF8F3 0%, #C9EBDD 60%, #AEe2CE 100%); }
.tile-4 { background: linear-gradient(160deg, #F1EEFC 0%, #DAD3F6 60%, #C7BCF0 100%); }
.tile-5 { background: linear-gradient(160deg, #FDF6E4 0%, #F8E6B9 60%, #F2D894 100%); }
.tile-6 { background: linear-gradient(160deg, #EDF1F6 0%, #D6DEE8 60%, #C2CEDB 100%); }
.tile .obj { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); }
.podium { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 68%; height: 16%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: rgba(255, 255, 255, .5); }
.bottle { width: 30px; height: 62px; border-radius: 6px 6px 9px 9px; background: linear-gradient(180deg, #fff 0%, #E7F2F9 100%); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 8px 16px rgba(10, 26, 42, .12); }
.bottle::before { content: ""; display: block; width: 12px; height: 12px; margin: -9px auto 0; border-radius: 3px; background: #0E86D4; opacity: .75; }
.bottle::after { content: ""; display: block; width: 18px; height: 22px; margin: 12px auto 0; border-radius: 3px; background: rgba(14, 134, 212, .28); }
.bag { width: 44px; height: 54px; border-radius: 6px; background: linear-gradient(180deg, #FF9466 0%, #F2703A 100%); box-shadow: 0 8px 16px rgba(255, 122, 69, .28); }
.bag::before { content: ""; display: block; width: 26px; height: 9px; margin: -7px auto 0; border: 2px solid #E8642F; border-bottom: 0; border-radius: 12px 12px 0 0; }
.jar { width: 48px; height: 44px; border-radius: 8px; background: linear-gradient(180deg, #FFFFFF 0%, #E2F0E9 100%); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 8px 16px rgba(10,26,42,.1); }
.jar::before { content: ""; display: block; width: 54px; height: 9px; margin: -5px auto 0; border-radius: 5px; background: #7FCFAE; }
.tile-tag { position: absolute; left: 7px; bottom: 7px; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .82); color: var(--ink-2); backdrop-filter: blur(4px); }

.win-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #FCFEFF; }
.pillbar { flex: 1; height: 30px; border-radius: 8px; background: var(--bg-soft); display: flex; align-items: center; padding: 0 11px; font-size: 12px; color: var(--ink-3); }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--shadow-m); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.float-card b { font-size: 13px; display: block; }
.float-card span { color: var(--ink-3); font-size: 11.5px; }
.float-a { left: -26px; bottom: 52px; }
.float-b { right: -20px; top: 74px; }
.mini-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(14, 134, 212, .1); color: var(--brand); flex: none; }
.mini-ico.alt { background: var(--accent-soft); color: var(--accent); }

/* ---------- 对比条 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cmp-col { border-radius: var(--r-lg); padding: 28px 30px; border: 1px solid var(--line); background: var(--surface); }
.cmp-col.old { background: #F7F9FB; }
.cmp-col.new { border-color: rgba(14, 134, 212, .32); background: linear-gradient(180deg, #F4FAFE 0%, #FFFFFF 100%); box-shadow: var(--shadow-s); }
.cmp-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.cmp-tagx { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.cmp-col.old .cmp-tagx { background: #EAEFF4; color: #7C8C9C; }
.cmp-col.new .cmp-tagx { background: rgba(14, 134, 212, .12); color: var(--brand); }
.cmp-list li { display: flex; gap: 11px; padding: 9px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.cmp-list li:last-child { border-bottom: 0; }
.cmp-list li svg { flex: none; margin-top: 3px; }
.cmp-col.new .cmp-list li { color: var(--ink); }

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; display: flex; flex-direction: column; transition: border-color .18s, transform .18s, box-shadow .18s; position: relative; }
.tool-card:hover { border-color: rgba(14, 134, 212, .4); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.tool-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(14, 134, 212, .09); color: var(--brand); margin-bottom: 16px; }
.tool-icon.a2 { background: var(--accent-soft); color: var(--accent); }
.tool-icon.a3 { background: #E9F7F1; color: var(--ok); }
.tool-icon.a4 { background: #F1EEFC; color: #6C5CE0; }
/* 标题改用 h3 后需清掉浏览器默认外边距与字号 */
.tool-title { font-size: 17px; font-weight: 600; margin: 0; }
.tool-desc { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.tool-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.chip-set { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 100px; background: var(--bg-soft); color: var(--ink-2); }
.chip.hot { background: var(--accent-soft); color: #D2571F; font-weight: 600; }
.chip.new { background: rgba(14, 134, 212, .1); color: var(--brand); font-weight: 600; }

/* 分类大卡 */
.cat-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.cat-top { padding: 26px 26px 20px; }
.cat-idx { font-family: var(--mono); font-size: 12px; color: var(--brand); letter-spacing: .08em; }
.cat-name { font-size: 22px; font-weight: 700; margin-top: 8px; }
.cat-desc { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
.cat-items { border-top: 1px solid var(--line); padding: 8px 26px 20px; background: #FCFEFF; }
.cat-items li { font-size: 14px; color: var(--ink-2); padding: 7px 0; display: flex; align-items: center; gap: 9px; }
.cat-items li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-hi); flex: none; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 26px; border-left: 1px solid var(--line-2); }
.step:first-child { padding-left: 0; border-left: 0; }
.step-no { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .08em; }
.step-title { font-size: 18px; font-weight: 600; margin-top: 10px; }
.step-desc { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.step-line { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand-hi), rgba(14,134,212,.15)); margin-bottom: 20px; }

/* ---------- 案例 ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-pane { position: absolute; inset: 0; }
.ba-before { background: linear-gradient(150deg, #DFE7EE 0%, #C7D3DE 100%); }
.ba-before .raw { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); width: 44%; height: 50%; border-radius: 6px; background: #EDF1F5; border: 1px solid #C4D0DA; box-shadow: 0 10px 22px rgba(10,26,42,.14); }
.ba-before .raw::after { content: ""; position: absolute; inset: 12% 14% auto; height: 22%; background: #D6DEE6; border-radius: 3px; }
.ba-after { clip-path: inset(0 0 0 var(--cut, 50%)); background: linear-gradient(150deg, #EAF5FC 0%, #CFE6F6 55%, #B4D8EF 100%); }
.ba-after .obj { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ba-obj { width: 42%; height: 50%; border-radius: 8px; background: linear-gradient(180deg, #FFFFFF 0%, #EAF4FA 100%); box-shadow: 0 14px 30px rgba(6,43,76,.2); }
.ba-after .podium2 { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 60%; height: 10%; border-radius: 50%; background: rgba(255,255,255,.55); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(6,43,76,.14); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(6,43,76,.25); }
.ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; border-left: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); z-index: 2; }
.ba-tag { position: absolute; top: 10px; font-size: 11.5px; padding: 3px 9px; border-radius: 100px; background: rgba(255,255,255,.85); color: var(--ink-2); }
.ba-tag.l { left: 10px; }
.ba-tag.r { right: 10px; }
.work-meta { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.work-name { font-size: 15px; font-weight: 600; margin: 0; }
.work-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 平台适配 ---------- */
.plat-row { display: flex; flex-wrap: wrap; gap: 12px; }
.plat-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px 10px 12px; font-size: 14.5px; font-weight: 500; }
.plat-dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.plat-chip small { color: var(--ink-3); font-size: 12px; font-weight: 400; }

/* ---------- 图片层：真实图存在时自动覆盖 CSS 插画 ---------- */
.ba-pane img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); }
.demo-slot.has-img { padding: 0; overflow: hidden; border-style: solid; place-items: stretch; }
.ba-after.has-img, .ba-before.has-img { background: none; }
.tile.has-img .podium, .tile.has-img .obj { display: none; }

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 28px; position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(14, 134, 212, .16); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), #17A0DE); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 15px; border-radius: 100px; white-space: nowrap; }
.price-name { font-size: 17px; font-weight: 600; }
.price-sub { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; min-height: 22px; }
.price-val { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.price-val b { font-size: 42px; font-weight: 700; letter-spacing: -.03em; }
.price-val i { font-style: normal; font-size: 15px; color: var(--ink-3); }
.price-val s { font-size: 15px; color: var(--ink-3); margin-left: 6px; }
.price-note { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.price-list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }
.price-list li svg { flex: none; margin-top: 4px; }
.price-cta { margin-top: 26px; }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
table.cmp-tbl th, table.cmp-tbl td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp-tbl thead th { background: #F9FCFE; font-weight: 600; font-size: 14px; color: var(--ink); position: sticky; top: var(--nav-h); }
table.cmp-tbl tbody tr:last-child td { border-bottom: 0; }
table.cmp-tbl td:first-child { color: var(--ink-2); }
table.cmp-tbl td.c { text-align: center; }
.tick { color: var(--ok); font-weight: 600; }
.dash { color: var(--ink-3); }
table.cmp-tbl col.hl { background: rgba(14, 134, 212, .035); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; transition: border-color .18s; }
.faq-item[open] { border-color: rgba(14, 134, 212, .38); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--ink-3); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { content: "\2212"; color: var(--brand); }
.faq-body { font-size: 15px; color: var(--ink-2); padding: 0 0 22px; line-height: 1.8; max-width: 92%; }

/* ---------- CTA 条 ---------- */
.cta-band { border-radius: var(--r-xl); padding: 56px 52px; background: linear-gradient(120deg, #062B4C 0%, #0A4A7A 52%, #0E86D4 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #B7D3E8; margin-top: 12px; font-size: 16px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-deep); color: #A9C6DD; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-en { color: #6E93B4; }
.foot-desc { font-size: 14px; margin-top: 16px; max-width: 300px; line-height: 1.8; }
.foot-col h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 16px; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 14px; color: #A9C6DD; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; flex-wrap: wrap; }
.foot-bottom .mini { color: #6E93B4; }

/* ---------- 子页面头部 ---------- */
.phero { padding: 62px 0 54px; background: linear-gradient(180deg, #EDF5FB 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.phero h1 { font-size: 42px; letter-spacing: -.02em; }
.phero .lead { max-width: 640px; }
.crumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.crumb a:hover { color: var(--brand); }

/* 筛选 tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab { height: 38px; padding: 0 18px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); transition: all .15s; }
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.is-hidden { display: none !important; }

/* ---------- 工具详情页 ---------- */
.td-grid { display: grid; grid-template-columns: 1fr 340px; gap: 46px; align-items: start; }
.td-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.prose h2 { font-size: 25px; margin: 46px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; font-size: 15.5px; }
.prose ul.dot li { position: relative; padding-left: 20px; color: var(--ink-2); margin-bottom: 9px; font-size: 15.5px; }
.prose ul.dot li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-hi); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel h4 { font-size: 15px; margin-bottom: 14px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 600; }
.demo-frame { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-s); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAFCFE; font-size: 12.5px; color: var(--ink-3); }
.demo-body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-slot { border: 1px dashed var(--line-2); border-radius: var(--r-md); aspect-ratio: 1 / 1; display: grid; place-items: center; background: #FBFDFF; text-align: center; padding: 18px; }
.demo-slot.filled { border-style: solid; background: linear-gradient(160deg, #EAF5FC 0%, #CFE6F6 100%); }
.demo-cap { font-size: 13px; color: var(--ink-3); }
.demo-slot.filled .demo-cap { color: var(--ink-2); }

/* ---------- 帮助中心 ---------- */
.doc-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.doc-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.doc-nav h4 { font-size: 13px; color: var(--ink-3); letter-spacing: .05em; margin-bottom: 12px; }
.doc-nav a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 7px 0; }
.doc-nav a:hover { color: var(--brand); }

/* 网格子项防撑破：避免宽表格把列宽顶出去导致横向溢出 */
.doc-grid > *, .td-grid > *, .contact-grid > *, .about-grid > *, .hero-grid > * { min-width: 0; }
.doc-card { display: flex; align-items: flex-start; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; transition: border-color .16s, transform .16s; }
.doc-card:hover { border-color: rgba(14, 134, 212, .4); transform: translateX(3px); }
.doc-card h4 { font-size: 16px; }
.doc-card p { font-size: 14px; color: var(--ink-2); margin-top: 5px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.num-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; }
.num-card b { font-size: 32px; font-weight: 700; letter-spacing: -.03em; display: block; }
.num-card span { font-size: 13.5px; color: var(--ink-2); }
.timeline { border-left: 2px solid var(--line-2); padding-left: 26px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.tl-date { font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 600; }
.tl-title { font-size: 17px; font-weight: 600; margin-top: 5px; }
.tl-desc { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 46px; align-items: start; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 134, 212, .13);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item b { font-size: 15px; display: block; }
.contact-item span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .h1 { font-size: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-sub { max-width: none; }
  .float-a { left: 4px; }
  .float-b { right: 4px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .td-grid, .contact-grid { grid-template-columns: 1fr; }
  .td-side, .doc-nav { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .num-row { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 66px 0; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 27px; }
  .phero h1 { font-size: 31px; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; box-shadow: var(--shadow-m);
  }
  .nav.open .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .grid-2, .grid-3, .grid-4, .compare, .price-grid, .work-grid, .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); }
  .step:first-child { padding-top: 0; border-top: 0; }
  .steps { gap: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .demo-body { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px 0; }
  .stat { flex: 1 1 45%; padding: 0 16px 0 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .canvas-grid { grid-template-columns: repeat(2, 1fr); }
  .win-body { grid-template-columns: 1fr; }
  .win-side { border-right: 0; border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; }
  .win-side-label { display: none; }
  .side-item { white-space: nowrap; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .h1 { font-size: 29px; }
  .cta-band { padding: 34px 22px; border-radius: var(--r-lg); }
  .num-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-a, .float-b { display: none; }
}

/* ---------- 标题层级：h3 用作卡片/条目标题时清掉默认边距 ---------- */
.panel h3, .doc-card h3, .tl-title { margin: 0; font-size: 15px; font-weight: 600; }
.panel h3 { margin-bottom: 14px; }
.doc-card h3 { font-size: 16px; }
.tl-title { font-size: 17px; margin-top: 5px; }
.contact-item h3 { font-size: 15px; margin: 0; }
