/* ==========================================================
   ThinkWo CMS · 官方站主题 thinkwo  v3（轻奢亮色版）
   白底 + 暖米白 + 暖橙点缀，原生 CSS，无外部字体依赖
   设计语言：大留白 / 大字层级 / 轻阴影卡片 / 克制用色
   ========================================================== */

/* ---------------- 1. 变量 ---------------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f5;          /* 暖米白区块底 */
  --panel: #ffffff;
  --panel-2: #faf8f5;
  --line: rgba(25, 21, 18, .08);
  --line-2: rgba(25, 21, 18, .15);
  --txt: #191512;
  --txt-2: #5c574f;
  --txt-3: #928c82;
  --acc: #ff6a15;
  --acc-2: #e85a08;
  --acc-soft: #fff3ea;         /* 橙色浅底 */
  --acc-dim: rgba(255, 106, 21, .09);
  --ok: #18a058;
  --warn: #d99000;
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1200px;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  /* 轻阴影体系 */
  --sh-sm: 0 1px 2px rgba(25, 21, 18, .04), 0 4px 14px -6px rgba(25, 21, 18, .06);
  --sh-md: 0 2px 6px rgba(25, 21, 18, .05), 0 18px 40px -18px rgba(25, 21, 18, .14);
  --sh-lg: 0 4px 10px rgba(25, 21, 18, .05), 0 44px 80px -32px rgba(25, 21, 18, .22);
  --sh-acc: 0 14px 30px -10px rgba(255, 106, 21, .45);
}

/* ---------------- 2. 基础 ---------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.22; letter-spacing: -.02em; }
p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(255, 106, 21, .18); color: var(--txt); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f4f1ec; }
::-webkit-scrollbar-thumb { background: #d8d2c8; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #c2bbae; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---------------- 3. 框架 ---------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sec { padding: 140px 0; position: relative; }
.sec-sm { padding: 88px 0; }
.sec-bordered { border-top: 1px solid var(--line); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 64px; }
.sec-head > div { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--acc); margin-bottom: 20px; font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--acc); opacity: .6; }

.sec-title { font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.03em; }
.sec-sub { color: var(--txt-2); margin-top: 20px; font-size: 17.5px; line-height: 1.85; }
.sec-note { font-size: 15px; line-height: 1.8; }

.muted { color: var(--txt-2); }
.dim { color: var(--txt-3); }
.acc { color: var(--acc); }

/* ---------------- 4. 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 30px; border-radius: 100px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, #ff8b3e, #ff6a15);
  color: #fff;
  box-shadow: var(--sh-acc);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(255, 106, 21, .55); }

.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--txt); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }

.btn-line { background: transparent; border-color: var(--line-2); color: var(--txt-2); }
.btn-line:hover { border-color: var(--acc); color: var(--acc); }

.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------- 5. 头部 ---------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { height: 76px; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(140deg, #ff9a58, #ff6a15);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(255, 106, 21, .55);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-txt { font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.brand-txt small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--txt-3); letter-spacing: .1em; margin-top: 3px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  position: relative;
  padding: 9px 15px; border-radius: 9px;
  font-size: 14.5px; color: var(--txt-2); white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.nav-link:hover { color: var(--txt); background: var(--bg-soft); }
.nav-link.is-active { color: var(--acc); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--acc);
}

.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-box { position: relative; }
.lang-btn {
  height: 38px; padding: 0 12px; border-radius: 9px;
  background: transparent; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--txt-2); cursor: pointer;
}
.lang-btn:hover { color: var(--txt); border-color: var(--acc); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 132px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; display: none; box-shadow: var(--sh-md);
}
.lang-box.is-open .lang-list { display: block; }
.lang-list a { display: block; padding: 8px 11px; border-radius: 7px; font-size: 13.5px; color: var(--txt-2); }
.lang-list a:hover, .lang-list a.is-active { background: var(--acc-soft); color: var(--acc); }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 18px; height: 1.6px; background: var(--txt);
  transform: translateX(-50%); transition: .2s ease;
}
.burger span { top: 50%; margin-top: -.8px; }
.burger span::before { content: ""; left: 0; transform: none; top: -6px; }
.burger span::after { content: ""; left: 0; transform: none; top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* 移动端菜单 */
.mnav {
  display: none; position: fixed; inset: 76px 0 0; z-index: 55;
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px);
  padding: 24px; overflow-y: auto;
}
body.nav-open .mnav { display: block; }
.mnav a { display: block; padding: 15px 4px; font-size: 17px; color: var(--txt); border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 24px; }

/* ---------------- 6. 首屏 ---------------- */
.hero { position: relative; padding: 110px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -32% -20% auto; height: 1050px;
  background:
    radial-gradient(50% 48% at 64% 34%, rgba(255, 122, 47, .09), transparent 70%),
    radial-gradient(40% 40% at 14% 10%, rgba(255, 184, 120, .08), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(25, 21, 18, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(25, 21, 18, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 62% at 50% 18%, #000 26%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 62% at 50% 18%, #000 26%, transparent 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 16px 0 11px; border-radius: 100px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-size: 13px; color: var(--txt-2);
}
.badge b { color: var(--txt); font-weight: 600; }
.badge .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(24, 160, 88, .14); }

.hero h1 { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.08; margin: 28px 0 0; letter-spacing: -.04em; }
.hero h1 .grad {
  background: linear-gradient(100deg, #ff8b3e 8%, #ff6a15 52%, #e85a08 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin-top: 28px; font-size: 18px; line-height: 1.85; color: var(--txt-2); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-points { display: grid; gap: 12px; margin-top: 44px; }
.hero-points li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--txt-2); }
.hero-points .tick {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--acc-soft); color: var(--acc); display: grid; place-items: center;
  font-size: 11px; margin-top: 5px;
}

.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: 4% -8% -12% 4%;
  background: radial-gradient(closest-side, rgba(255, 122, 47, .16), transparent 75%);
  filter: blur(36px); z-index: 0;
}

/* 后台示意面板（浅色轻奢卡） */
.mock {
  position: relative; z-index: 1;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-lg);
}
.mock-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(25, 21, 18, .12); }
.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #febc2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--txt-3);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 11px;
}
.mock-body { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 360px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--bg-soft); }
.mock-side i { width: 28px; height: 28px; border-radius: 9px; background: rgba(25, 21, 18, .06); }
.mock-side i.on { background: linear-gradient(135deg, #ff9a58, #ff6a15); box-shadow: 0 4px 12px -4px rgba(255, 106, 21, .6); }
.mock-main { padding: 18px 20px 22px; }
.mock-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-h b { font-size: 13.5px; font-weight: 600; color: var(--txt); }
.mock-h span { font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--bg-soft); }
.kpi em { display: block; font-style: normal; font-size: 10.5px; color: var(--txt-3); letter-spacing: .04em; }
.kpi b { display: block; font-size: 21px; letter-spacing: -.02em; margin-top: 5px; }
.kpi b small { font-size: 11px; color: var(--ok); margin-left: 3px; font-weight: 500; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 104px; margin-top: 18px; padding: 0 2px; }
.chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(255, 122, 47, .85), rgba(255, 122, 47, .12)); }
.chart span:nth-child(even) { background: linear-gradient(180deg, rgba(25, 21, 18, .16), rgba(25, 21, 18, .03)); }
.mock-rows { margin-top: 16px; display: grid; gap: 8px; }
.mock-rows i { height: 8px; border-radius: 4px; background: rgba(25, 21, 18, .07); }
.mock-rows i:nth-child(1) { width: 88%; }
.mock-rows i:nth-child(2) { width: 72%; }
.mock-rows i:nth-child(3) { width: 80%; }

.float {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  box-shadow: var(--sh-md);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
}
.float-a { right: -18px; top: 16%; }
.float-b { left: -26px; bottom: 10%; }
.float .fico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 13px; }
.float b { display: block; font-size: 12.5px; color: var(--txt); line-height: 1.3; }
.float small { color: var(--txt-3); font-size: 11px; font-family: var(--mono); }
.ring { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--ok); background: conic-gradient(var(--ok) 0 92%, rgba(25, 21, 18, .08) 92% 100%); position: relative; }
.ring::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
.ring span { position: relative; z-index: 1; }

/* 指标条（大数字 + 细线，不围框） */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  margin-top: 110px; padding-top: 56px; position: relative;
}
.stat-row::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 21, 18, .16) 18%, rgba(25, 21, 18, .16) 82%, transparent);
}
.stat { padding: 0; }
.stat b { display: block; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.04em; line-height: 1.1; font-weight: 700; }
.stat b i { font-style: normal; color: var(--acc); }
.stat span { display: block; font-size: 14px; color: var(--txt-3); margin-top: 10px; letter-spacing: .02em; }

/* ---------------- 7. 通用版块 ---------------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain {
  border: 1px solid var(--line); border-radius: var(--r); padding: 36px 32px;
  background: #fff; box-shadow: var(--sh-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pain:hover { border-color: var(--line-2); box-shadow: var(--sh-md); transform: translateY(-2px); }
.pain .no { font-family: var(--mono); font-size: 12px; color: var(--acc); letter-spacing: .14em; }
.pain h3 { font-size: 20px; margin: 16px 0 12px; letter-spacing: -.015em; }
.pain p { font-size: 15px; color: var(--txt-2); line-height: 1.85; }
.pain .fix { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--txt-2); line-height: 1.8; }
.pain .fix b { color: var(--acc); font-weight: 600; }

/* 功能卡 */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  position: relative; display: block; padding: 36px 32px 32px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh-sm);
  overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(70% 60% at 80% 0%, rgba(255, 122, 47, .06), transparent 70%);
}
.feat:hover { border-color: rgba(255, 106, 21, .38); transform: translateY(-4px); color: inherit; box-shadow: var(--sh-md); }
.feat:hover::after { opacity: 1; }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--acc-soft); border: 1px solid rgba(255, 106, 21, .14); margin-bottom: 22px;
  transition: background .2s ease, border-color .2s ease;
}
.feat:hover .feat-ico { background: rgba(255, 106, 21, .14); border-color: rgba(255, 106, 21, .3); }
.feat-ico img { width: 26px; height: 26px; }
.feat-ico .acc { font-size: 18px; }
.feat h3 { font-size: 19.5px; margin-bottom: 10px; letter-spacing: -.015em; }
.feat p { font-size: 14.5px; color: var(--txt-2); line-height: 1.8; }
.feat .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--acc); }

/* 双栏深入 */
.deep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; padding: 110px 0; border-top: 1px solid var(--line); }
.deep.rev .deep-visual { order: -1; }
.deep h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 16px 0 20px; letter-spacing: -.03em; }
.deep p { color: var(--txt-2); font-size: 16px; line-height: 1.9; }
.deep code { font-family: var(--mono); font-size: .88em; background: var(--acc-soft); padding: 2px 7px; border-radius: 6px; color: var(--acc-2); }
.deep-list { margin-top: 28px; display: grid; gap: 14px; }
.deep-list li { display: flex; gap: 12px; font-size: 15px; color: var(--txt-2); line-height: 1.75; }
.deep-list .tick { color: var(--acc); flex: 0 0 auto; }
.deep-visual { position: relative; }

/* 面板（浅色卡） */
.panel {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-md);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); letter-spacing: .06em; background: var(--bg-soft); }
.panel-body { padding: 22px; }

/* 语言行 */
.lang-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lang-row:last-child { border-bottom: 0; }
.lang-flag { width: 38px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--txt-2); flex: 0 0 auto; }
.lang-name { font-size: 14px; width: 100px; flex: 0 0 auto; }
.lang-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(25, 21, 18, .07); overflow: hidden; }
.lang-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ff9a58, #ff6a15); }
.lang-pct { font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); width: 38px; text-align: right; }

/* 代码块（保留深色，质感对比） */
.codebox {
  border-radius: var(--r); overflow: hidden;
  background: #17141f;
  box-shadow: var(--sh-lg);
}
.code-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-head span { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.code-head .tag { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: #ffb37e; background: rgba(255, 122, 47, .18); padding: 4px 10px; border-radius: 100px; }
pre.code { margin: 0; padding: 22px 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.9; color: #d5d1e0; }
pre.code .c { color: #76718a; }
pre.code .k { color: #ff9a58; }
pre.code .s { color: #8fd694; }
pre.code .t { color: #8fb8ff; }

/* 升级时间线 */
.tl { position: relative; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--acc), rgba(255, 106, 21, .12)); }
.tl-item { position: relative; padding: 0 0 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 106, 21, .14); }
.tl-item b { display: block; font-size: 14.5px; }
.tl-item span { font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); margin-left: 8px; }
.tl-item p { font-size: 13.5px; color: var(--txt-2); margin-top: 6px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.step:hover { border-color: rgba(255, 106, 21, .35); box-shadow: var(--sh-md); transform: translateY(-2px); }
.step em { font-family: var(--mono); font-style: normal; font-size: 11.5px; color: var(--acc); letter-spacing: .12em; }
.step h3 { font-size: 18px; margin: 14px 0 10px; }
.step p { font-size: 14px; color: var(--txt-2); line-height: 1.8; }

/* ---------------- 8. 模板中心 ---------------- */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.theme-card {
  display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: #fff; box-shadow: var(--sh-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.theme-card:hover { border-color: rgba(255, 106, 21, .4); transform: translateY(-5px); color: inherit; box-shadow: var(--sh-md); }
.theme-prev { height: 216px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.theme-meta { padding: 24px 26px 26px; }
.theme-meta h3 { font-size: 18.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.theme-meta h3 span { font-family: var(--mono); font-size: 11px; color: var(--txt-3); font-weight: 400; }
.theme-meta p { font-size: 14px; color: var(--txt-2); margin-top: 9px; line-height: 1.75; }
.theme-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.theme-tags i { font-style: normal; font-size: 11.5px; color: var(--txt-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 3px 10px; }

/* 模板缩略图（纯 CSS 绘制，无图片依赖） */
.prev { position: absolute; inset: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.prev-bar { height: 9px; border-radius: 3px; background: rgba(0, 0, 0, .12); }
.prev-nav { display: flex; gap: 7px; align-items: center; height: 11px; }
.prev-nav i { height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .18); }
.prev-hero { flex: 1; border-radius: 7px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; }
.prev-hero i { height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.prev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.prev-cards i { height: 30px; border-radius: 5px; background: rgba(0, 0, 0, .06); }

/* axiom：工业白底 + 橙色 */
.pv-axiom { background: #f7f8f9; }
.pv-axiom .prev-hero { background: linear-gradient(135deg, #14171a, #2b3036); }
.pv-axiom .prev-hero i:last-child { width: 55%; background: rgba(224, 90, 0, .9); }
.pv-axiom .prev-cards i { border-left: 3px solid #e05a00; }

/* default：白底 + 深蓝导航 */
.pv-default { background: #f6f8fb; }
.pv-default .prev-bar { height: 20px; background: #12254d; }
.pv-default .prev-hero { background: #fff; border: 1px solid #e5e8ee; }
.pv-default .prev-hero i { background: #d8dee9; }
.pv-default .prev-hero i:first-child { background: #12254d; width: 70%; }
.pv-default .prev-hero i:last-child { background: #e0762e; width: 32%; }

/* static001：白底 + 深色区块 */
.pv-static { background: #fff; }
.pv-static .prev-hero { background: linear-gradient(120deg, #14171a 55%, #e05a00 55%); }
.pv-static .prev-cards i { background: #f1f2f4; border: 1px solid #e4e7ea; }

/* ---------------- 9. 价格 ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r); padding: 40px 34px;
  background: #fff; box-shadow: var(--sh-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.price-card:hover { border-color: var(--line-2); box-shadow: var(--sh-md); }
.price-card.hot {
  border: 1px solid rgba(255, 106, 21, .4);
  background: linear-gradient(180deg, #fff8f2, #ffffff 60%);
  box-shadow: 0 24px 54px -22px rgba(255, 106, 21, .35);
  position: relative;
}
.price-card.hot::before {
  content: "最受欢迎"; position: absolute; top: -13px; left: 34px;
  font-size: 11.5px; letter-spacing: .06em; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #ff8b3e, #ff6a15); border-radius: 100px; padding: 4px 13px;
}
.price-name { font-size: 15.5px; color: var(--txt-2); }
.price-big { font-size: 40px; letter-spacing: -.03em; margin: 12px 0 6px; }
.price-big small { font-size: 13px; color: var(--txt-3); font-weight: 400; letter-spacing: 0; }
.price-desc { font-size: 14px; color: var(--txt-3); min-height: 46px; line-height: 1.7; }
.price-list { margin: 26px 0 30px; display: grid; gap: 11px; }
.price-list li { display: flex; gap: 10px; font-size: 14.2px; color: var(--txt-2); line-height: 1.65; }
.price-list .tick { color: var(--acc); flex: 0 0 auto; }
.price-card .btn { margin-top: auto; }

/* ---------------- 10. 文档 / 更新 ---------------- */
.split2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.block-head h2 { font-size: 24px; }
.block-head a { font-size: 14px; color: var(--acc); }

.rel { display: grid; gap: 14px; }
.rel-item {
  display: flex; gap: 18px; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; box-shadow: var(--sh-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rel-item:hover { border-color: rgba(255, 106, 21, .35); box-shadow: var(--sh-md); color: inherit; }
.rel-ver { font-family: var(--mono); font-size: 12.5px; color: var(--acc); flex: 0 0 auto; padding-top: 2px; }
.rel-item b { display: block; font-size: 15.5px; }
.rel-item p { font-size: 13.5px; color: var(--txt-3); margin-top: 5px; line-height: 1.65; }

.doc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-link { padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-sm); transition: .18s ease; }
.doc-link:hover { border-color: rgba(255, 106, 21, .35); color: inherit; box-shadow: var(--sh-md); }
.doc-link em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--acc); letter-spacing: .08em; }
.doc-link b { display: block; font-size: 15.5px; margin: 8px 0 5px; }
.doc-link span { font-size: 13px; color: var(--txt-3); line-height: 1.7; display: block; }

/* ---------------- 11. FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 920px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-sm); overflow: hidden; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(255, 106, 21, .35); background: #fffdfb; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--acc); flex: 0 0 auto; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 26px 24px; font-size: 14.5px; color: var(--txt-2); line-height: 1.9; }

/* ---------------- 12. CTA ---------------- */
.cta-band {
  position: relative; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 106, 21, .22);
  background:
    radial-gradient(90% 170% at 10% 0%, rgba(255, 122, 47, .12), transparent 58%),
    radial-gradient(70% 140% at 92% 100%, rgba(255, 170, 100, .14), transparent 60%),
    linear-gradient(180deg, #fffaf5, #fff5ec);
  padding: 76px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  box-shadow: 0 30px 60px -30px rgba(255, 106, 21, .3);
}
.cta-band h2 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; }
.cta-band p { color: var(--txt-2); margin-top: 14px; font-size: 16px; max-width: 54ch; line-height: 1.85; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: 0 0 auto; }

/* ---------------- 13. 页脚 ---------------- */
.foot { border-top: 1px solid var(--line); padding: 80px 0 32px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr 1fr; gap: 48px; }
.foot-about { font-size: 14px; color: var(--txt-3); line-height: 1.85; margin-top: 20px; max-width: 36ch; }
.foot h4 { font-size: 12px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 18px; font-weight: 500; }
.foot ul { display: grid; gap: 10px; }
.foot ul a, .foot ul li { font-size: 14px; color: var(--txt-2); }
.foot ul a:hover { color: var(--acc); }
.foot-qr img { display: block; width: 120px; height: 120px; border-radius: 10px; background: #fff; padding: 5px; border: 1px solid var(--line); }
.foot-qr span { display: block; margin-top: 8px; font-size: 12px; color: var(--txt-3); }
.foot-bot {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 13px; color: var(--txt-3); flex-wrap: wrap;
}
.foot-bot a { color: var(--txt-2); }
.foot-bot a:hover { color: var(--acc); }
.foot-bot .sep { margin: 0 8px; opacity: .4; }

/* ---------------- 14. 内页 ---------------- */
.page-hero { position: relative; padding: 88px 0 64px; border-bottom: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, #fffaf5, #ffffff); }
.page-hero::before {
  content: ""; position: absolute; inset: -70% 20% auto -10%; height: 520px;
  background: radial-gradient(closest-side, rgba(255, 122, 47, .08), transparent 72%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txt-3); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a { color: var(--txt-3); }
.crumb a:hover { color: var(--acc); }
.crumb i { font-style: normal; opacity: .5; }
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.035em; }
.page-hero .lead { margin-top: 18px; font-size: 17px; color: var(--txt-2); max-width: 66ch; line-height: 1.85; }

/* 卡片列表 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; padding: 32px 28px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: rgba(255, 106, 21, .38); transform: translateY(-4px); color: inherit; box-shadow: var(--sh-md); }
.card-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--acc-soft); border: 1px solid rgba(255, 106, 21, .14); display: grid; place-items: center; margin-bottom: 20px; }
.card-ico img { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--txt-2); line-height: 1.8; }
.card-meta { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--txt-3); }
.card-meta .go { color: var(--acc); }

/* 文档列表布局 */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-side { position: sticky; top: 100px; }
.doc-side h4 { font-size: 11.5px; font-family: var(--mono); letter-spacing: .1em; color: var(--txt-3); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.doc-side ul { display: grid; gap: 2px; }
.doc-side a { display: block; padding: 9px 13px; border-radius: 9px; font-size: 14px; color: var(--txt-2); border-left: 2px solid transparent; }
.doc-side a:hover { background: var(--bg-soft); color: var(--txt); }
.doc-side a.on { color: var(--acc); border-left-color: var(--acc); background: var(--acc-soft); }
.doc-list { display: grid; gap: 14px; }
.doc-row {
  display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-sm);
  transition: .18s ease;
}
.doc-row:hover { border-color: rgba(255, 106, 21, .35); box-shadow: var(--sh-md); color: inherit; }
.doc-row .no { font-family: var(--mono); font-size: 12px; color: var(--acc); padding-top: 3px; }
.doc-row b { display: block; font-size: 16px; }
.doc-row p { font-size: 13.5px; color: var(--txt-3); margin-top: 5px; line-height: 1.7; }
.doc-row .date { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--txt-3); white-space: nowrap; padding-top: 3px; }

/* 更新日志：版本时间线（数据来自程序根目录 CHANGELOG.md，升级后自动更新） */
.rel-list { display: grid; gap: 14px; }
.rel-item {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  padding: 22px 26px; box-shadow: var(--sh-sm);
}
.rel-item.is-cur { border-color: rgba(255, 106, 21, .35); box-shadow: var(--sh-md); }
.rel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rel-head .rel-ver { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--acc); padding-top: 0; }
.rel-head .rel-tag {
  font-size: 11px; font-family: var(--mono); letter-spacing: .06em; color: var(--acc);
  background: var(--acc-soft); border-radius: 999px; padding: 2px 10px;
}
.rel-head .date { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--txt-3); white-space: nowrap; padding-top: 0; }
.rel-notes { font-size: 14px; color: var(--txt-2); line-height: 1.85; display: grid; gap: 6px; }
.rel-notes > li { position: relative; padding-left: 18px; }
.rel-notes > li::before {
  content: ""; position: absolute; left: 4px; top: .78em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--acc);
}
.rel-notes b { color: var(--txt); font-weight: 600; }
.rel-notes code {
  font-family: var(--mono); font-size: 12.5px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;
}
.rel-sub { margin-top: 6px; display: grid; gap: 4px; }
.rel-sub > li { position: relative; padding-left: 16px; font-size: 13.5px; color: #6f6a62; }
.rel-sub > li::before { content: "—"; position: absolute; left: 0; color: var(--txt-3); }
@media (max-width: 640px) {
  .rel-item { padding: 18px; }
  .rel-head { flex-wrap: wrap; }
  .rel-head .date { margin-left: 0; width: 100%; }
}

/* 文章 */
.article { max-width: 820px; color: var(--txt-2); font-size: 16px; line-height: 2; }
.article > *:first-child { margin-top: 0; }
.article h2 { font-size: 26px; color: var(--txt); margin: 48px 0 18px; letter-spacing: -.02em; }
.article h3 { font-size: 19px; color: var(--txt); margin: 36px 0 14px; }
.article p { margin: 18px 0; }
.article a { color: var(--acc); border-bottom: 1px solid rgba(255, 106, 21, .4); }
.article ul, .article ol { margin: 18px 0; padding-left: 4px; }
.article ul li { position: relative; padding-left: 24px; margin: 10px 0; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: .74em; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.article ol { counter-reset: a; padding-left: 2px; }
.article ol li { position: relative; padding-left: 30px; margin: 10px 0; counter-increment: a; }
.article ol li::before { content: counter(a); position: absolute; left: 0; top: .3em; font-family: var(--mono); font-size: 11px; color: var(--acc); }
.article strong { color: var(--txt); font-weight: 650; }
.article blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 2px solid var(--acc);
  background: var(--acc-soft); border-radius: 0 12px 12px 0; color: var(--txt-2);
}
.article code { font-family: var(--mono); font-size: .88em; background: var(--acc-soft); padding: 2px 7px; border-radius: 6px; color: var(--acc-2); }
.article pre { margin: 24px 0; padding: 20px 22px; background: #17141f; border-radius: 14px; overflow-x: auto; }
.article pre code { background: none; padding: 0; color: #d5d1e0; font-size: 13px; line-height: 1.9; }
.article table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
.article th, .article td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: left; }
.article th { color: var(--txt); font-weight: 600; background: var(--bg-soft); }
.article img { border-radius: 14px; margin: 26px 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* 文章页布局 */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.art-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.side-box { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; box-shadow: var(--sh-sm); }
.side-box h4 { font-size: 14px; color: var(--txt); margin-bottom: 14px; }
.side-box p { font-size: 13.5px; color: var(--txt-3); line-height: 1.8; }
.side-box ul { display: grid; gap: 9px; }
.side-box ul a { font-size: 13.5px; color: var(--txt-2); display: flex; gap: 8px; }
.side-box ul a::before { content: "→"; color: var(--acc); opacity: .7; }
.side-box .btn { margin-top: 18px; }

.detail-nav { display: flex; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.detail-nav a { flex: 1 1 240px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--txt-2); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.detail-nav a:hover { border-color: rgba(255, 106, 21, .4); color: var(--txt); box-shadow: var(--sh-sm); }
.detail-nav span { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); margin-bottom: 6px; letter-spacing: .08em; }

.meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--txt-3); }
.meta-row .pill { border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 11px; color: var(--txt-2); }

/* 分页 */
.pager { display: flex; align-items: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-size: 13.5px; color: var(--txt-2); background: #fff;
}
.pager a:hover { border-color: var(--acc); color: var(--acc); }
.pager .on { background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 600; }
.pager .disabled { opacity: .35; }

/* 空状态 */
.empty { padding: 70px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--txt-3); font-size: 14.5px; }

/* 搜索框 */
.searchbar { display: flex; gap: 10px; max-width: 580px; margin-bottom: 40px; }
.searchbar input {
  flex: 1; height: 52px; padding: 0 20px; border-radius: 100px;
  background: #fff; border: 1px solid var(--line-2); color: var(--txt);
  font-size: 15px; box-shadow: var(--sh-sm);
}
.searchbar input::placeholder { color: var(--txt-3); }
.searchbar input:focus { border-color: var(--acc); outline: none; }

/* ---------------- 15. 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--txt-2); letter-spacing: .02em; }
.field label i { color: var(--acc); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-2);
  color: var(--txt); font-size: 15px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--acc); background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 106, 21, .1);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form-note { font-size: 12.5px; color: var(--txt-3); }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-row img { height: 44px; width: 116px; border-radius: 9px; cursor: pointer; border: 1px solid var(--line-2); }
.form-msg { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; font-size: 14px; }
.form-msg.ok { display: block; border: 1px solid rgba(24, 160, 88, .35); background: rgba(24, 160, 88, .07); color: #0f7a42; }
.form-msg.err { display: block; border: 1px solid rgba(220, 60, 60, .35); background: rgba(220, 60, 60, .06); color: #b42323; }

/* 联系页信息 */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 15px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-sm); }
.info-item .k { font-size: 12px; color: var(--txt-3); font-family: var(--mono); letter-spacing: .06em; display: block; margin-bottom: 4px; }
.info-item b { font-size: 15px; font-weight: 550; word-break: break-all; }
.info-item .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; flex: 0 0 auto; font-size: 15px; }

/* ---------------- 16. 杂项 ---------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 17. 响应式 ---------------- */
@media (max-width: 1080px) {
  .sec { padding: 96px 0; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 640px; }
  .float-b { left: 0; }
  .float-a { right: 0; }
  .pain-grid, .feat-grid, .theme-grid, .cards, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .deep { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 80px 0; }
  .deep.rev .deep-visual { order: 0; }
  .deep-visual { min-width: 0; }
  .split2 { grid-template-columns: 1fr; gap: 48px; }
  .art-layout { grid-template-columns: 1fr; }
  .art-side { position: static; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-side { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sec-head { margin-bottom: 48px; }
  .stat-row { gap: 32px; margin-top: 80px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-actions .btn-ghost { display: none; }
  .hdr-in { gap: 12px; }
  .sec { padding: 76px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); margin-top: 60px; padding-top: 40px; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .deep { padding: 64px 0; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 calc(50% - 7px); padding: 0 10px; }
  /* 小屏收窄后台示意：隐藏侧栏，KPI 紧凑排布 */
  .mock-side { display: none; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-main { padding: 14px 14px 18px; }
  .kpi { padding: 9px 10px; }
  .kpi b { font-size: 16px; }
  .kpi b small { font-size: 9.5px; margin-left: 2px; }
  .kpi em { font-size: 9.5px; }
  .chart { height: 76px; }
  .pain-grid, .feat-grid, .theme-grid, .cards, .steps, .doc-links, .foot-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 30px; }
  .stat span { font-size: 12.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .float { display: none; }
  .page-hero { padding: 52px 0 40px; }
  .doc-row .date { display: none; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-band { padding: 40px 26px; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .btn { flex: 1; }
  .price-card { padding: 32px 26px; }
}

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

/* ---------------- 18. 标签库自带结构（面包屑 / 分页） ---------------- */
.tw-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txt-3); margin-bottom: 18px; flex-wrap: wrap; }
.tw-crumb a { color: var(--txt-3); }
.tw-crumb a:hover { color: var(--acc); }
.tw-crumb em { font-style: normal; opacity: .45; }
.tw-crumb span[aria-current] { color: var(--txt-2); }

.tw-pager { display: flex; align-items: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.tw-pager-item, .tw-pager-dot {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-size: 13.5px; color: var(--txt-2);
  font-family: var(--mono); background: #fff;
}
.tw-pager-item:hover { border-color: var(--acc); color: var(--acc); }
.tw-pager-item.is-active { background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 600; }
.tw-pager-dot { border-color: transparent; color: var(--txt-3); }

/* ==========================================================
   首页轮播（后台「幻灯片 → 首页轮播 home」配了图才出现）
   没配图时这段样式不会被引用，不影响首页原貌
   ========================================================== */
.hero-slider { position: relative; overflow: hidden; background: #17141f; }
.hs-track { position: relative; }
.hs-item {
  display: none; position: relative; min-height: 460px;
  background-color: #17141f; background-size: cover; background-position: center;
  align-items: center;
}
.hs-item.on { display: flex; }
.hs-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 13, 22, .78) 0%, rgba(16, 13, 22, .46) 48%, rgba(16, 13, 22, .12) 100%);
}
.hs-mask { display: none; }
.hs-copy { position: relative; z-index: 1; color: #fff; padding-top: 64px; padding-bottom: 64px; }
.hs-copy h2 {
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.16; letter-spacing: -.03em;
  margin: 0; max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
}
.hs-copy p {
  margin: 18px 0 0; font-size: 17px; line-height: 1.75; max-width: 46ch;
  color: rgba(255, 255, 255, .84); text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}
.hs-copy .btn { margin-top: 30px; }

.hs-dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.hs-dots button {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255, 255, 255, .38); transition: background .25s, width .25s;
}
.hs-dots button.on { background: #fff; width: 40px; }

.hs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(18, 15, 24, .32);
  color: #fff; font-size: 24px; line-height: 1; padding: 0;
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.hs-nav:hover { background: rgba(255, 106, 21, .85); border-color: transparent; }
.hs-nav.prev { left: 22px; }
.hs-nav.next { right: 22px; }

/* 内页横幅：栏目绑定了幻灯片分组时，标题压在图上 */
.page-hero.has-slides { background: #17141f; border-bottom: 0; }
.page-hero.has-slides::before { display: none; }
.page-hero.has-slides .wrap { color: #fff; }
.page-hero.has-slides h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.page-hero.has-slides .lead { color: rgba(255, 255, 255, .82); }
.page-hero.has-slides .crumb, .page-hero.has-slides .crumb a { color: rgba(255, 255, 255, .7); }
.page-hero .ph-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.page-hero .ph-bg.on { opacity: 1; }
.page-hero.has-slides::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 13, 22, .8) 0%, rgba(16, 13, 22, .5) 55%, rgba(16, 13, 22, .2) 100%);
}

@media (max-width: 720px) {
  .hs-item { min-height: 340px; }
  .hs-copy { padding-top: 44px; padding-bottom: 44px; }
  .hs-copy h2 { font-size: 26px; }
  .hs-copy p { font-size: 15px; }
  .hs-nav { display: none; }
}
