/* ============================================================
   SIB IDC 管理系统 — 官网全局样式
   设计语言：企业级基础设施 / 高信息密度 / 信任与转化导向
   ============================================================ */

:root {
  /* 色板 */
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-dark: #0b101b;
  --bg-dark-2: #111827;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --muted-dark: #98a2b3;
  --line: #e4e7ec;
  --line-dark: #1f2937;
  --brand: #039855;
  --brand-strong: #027a43;
  --brand-soft: #ecfdf3;
  --brand-soft-2: #d1fadf;
  --danger: #f04438;
  --amber: #f79009;
  --amber-soft: #fffaeb;
  --cyan: #0e7490;
  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
  /* 尺寸 */
  --wrap: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand-soft-2); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 顶部限时条（稀缺性） ---------- */
.topbar {
  background: var(--bg-dark);
  color: #e5e7eb;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.topbar strong { color: #ffd666; font-weight: 600; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: var(--brand-soft-2); }
.countdown { font-family: var(--font-num); color: #7ee2ae; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 8px rgba(16,24,40,.06); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.brand small { font-size: 11px; font-weight: 500; color: var(--muted); display: block; line-height: 1.2; letter-spacing: .4px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a {
  padding: 7px 13px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--brand-strong); font-weight: 600; }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .18s; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(3, 152, 85, .5); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #eef2f6; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--brand-strong);
  background: var(--brand-soft); border: 1px solid var(--brand-soft-2);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow.dark { color: #7ee2ae; background: rgba(3,152,85,.14); border-color: rgba(3,152,85,.3); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -.5px; font-weight: 800; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section-dark .sec-head p { color: var(--muted-dark); }

/* ---------- 页头（子页面） ---------- */
.page-hero { background: var(--bg-dark); color: #eef2f6; padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -.6px; line-height: 1.2; max-width: 760px; }
.page-hero .lead { margin-top: 18px; color: var(--muted-dark); font-size: 17.5px; max-width: 680px; }
.crumbs { font-size: 13.5px; color: var(--muted-dark); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .5; }

/* ---------- 首页 Hero ---------- */
.hero { background: var(--bg-dark); color: #eef2f6; padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: #b6f3cf; background: rgba(3,152,85,.15); border: 1px solid rgba(3,152,85,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #32d583; box-shadow: 0 0 0 3px rgba(50,213,131,.25); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; line-height: 1.18; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: #6ee7a8; }
.hero .sub { margin-top: 22px; font-size: 17.5px; color: var(--muted-dark); max-width: 540px; }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted-dark); }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { flex: none; }

/* Hero 右侧：纯 CSS 绘制的后台界面示意 */
.mock {
  background: #141c2b; border: 1px solid #243047; border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  overflow: hidden; font-size: 12px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #243047; background: #101827; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1) { background: #f04438; } .mock-bar i:nth-child(2) { background: #f79009; } .mock-bar i:nth-child(3) { background: #12b76a; }
.mock-bar span { margin-left: 10px; color: #64748b; font-family: var(--font-num); font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.mock-side { border-right: 1px solid #243047; padding: 14px 10px; background: #0f1725; }
.mock-side b { display: block; color: #e2e8f0; font-size: 11.5px; padding: 7px 9px; border-radius: 6px; font-weight: 600; }
.mock-side b.on { background: rgba(3,152,85,.2); color: #6ee7a8; }
.mock-side b:not(.on) { color: #64748b; font-weight: 500; }
.mock-main { padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { background: #1a2436; border: 1px solid #243047; border-radius: 9px; padding: 10px 12px; }
.mock-stat small { color: #64748b; font-size: 10.5px; display: block; }
.mock-stat strong { color: #f1f5f9; font-size: 17px; font-family: var(--font-num); font-weight: 700; }
.mock-stat strong i { font-style: normal; font-size: 10px; color: #32d583; margin-left: 4px; }
.mock-chart { margin-top: 12px; background: #1a2436; border: 1px solid #243047; border-radius: 9px; padding: 12px; }
.mock-chart small { color: #64748b; font-size: 10.5px; }
.mock-bars { display: flex; align-items: flex-end; gap: 7px; height: 74px; margin-top: 10px; }
.mock-bars i { flex: 1; background: linear-gradient(180deg, #12b76a, #0a6a3c); border-radius: 3px 3px 0 0; opacity: .9; }
.mock-rows { margin-top: 12px; display: grid; gap: 7px; }
.mock-rows p { display: flex; justify-content: space-between; background: #16202f; border-radius: 7px; padding: 8px 12px; color: #94a3b8; font-size: 11px; }
.mock-rows p b { color: #32d583; font-weight: 600; font-family: var(--font-num); }
.mock-rows p b.warn { color: #f79009; }

/* ---------- 数据统计条（社会证明） ---------- */
.stats-band { border-bottom: 1px solid var(--line); background: #fff; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 34px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }
.stat-cell .n { font-size: 34px; font-weight: 800; letter-spacing: -.5px; font-family: var(--font-num); }
.stat-cell .n em { font-style: normal; color: var(--brand); font-size: 22px; }
.stat-cell .t { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 功能网格 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feat-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feat-card .ic {
  width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.feat-card p { font-size: 14.5px; color: var(--muted); }
.feat-card ul { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 5px; }
.feat-card ul li { padding-left: 18px; position: relative; }
.feat-card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }

/* ---------- 分栏展示（左文右图交替） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev > .split-media { order: -1; }
.split h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.4px; line-height: 1.3; margin-bottom: 16px; }
.split .desc { color: var(--muted); font-size: 16px; }
.check-list { margin-top: 24px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.check-list li b { color: var(--ink); font-weight: 600; }
.check-list .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft-2); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* 终端/代码块 */
.terminal {
  background: #0d1522; border: 1px solid #1f2c40; border-radius: 12px; overflow: hidden;
  font-family: var(--font-num); font-size: 13px; box-shadow: var(--shadow-lg);
}
.terminal .t-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #1f2c40; }
.terminal .t-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b3a52; }
.terminal pre { padding: 18px 20px; color: #c8d6e5; line-height: 1.8; overflow-x: auto; }
.terminal .c-dim { color: #54677e; }
.terminal .c-green { color: #4ade80; }
.terminal .c-yellow { color: #fbbf24; }

/* 状态机图（纯CSS） */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.flow .node {
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; font-family: var(--font-num);
  background: #fff; border: 1.5px solid var(--line); color: var(--ink-2);
}
.flow .node.hot { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.flow .node.cold { border-style: dashed; color: var(--muted); }
.flow .arr { color: var(--muted); font-size: 15px; }

/* ---------- 定价卡片 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px;
  display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.hot {
  background: var(--bg-dark); color: #eef2f6; border-color: var(--bg-dark);
  box-shadow: 0 24px 60px -16px rgba(11,16,27,.45);
}
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--danger); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px -2px rgba(240,68,56,.5);
}
.price-card h3 { font-size: 20px; font-weight: 800; }
.price-card .who { font-size: 13.5px; color: var(--muted); margin-top: 5px; min-height: 40px; }
.price-card.hot .who { color: var(--muted-dark); }
.price-main { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-main .cur { font-size: 22px; font-weight: 700; }
.price-main .val { font-size: 46px; font-weight: 800; letter-spacing: -1.5px; font-family: var(--font-num); line-height: 1; }
.price-main .per { color: var(--muted); font-size: 14px; }
.price-card.hot .price-main .per { color: var(--muted-dark); }
.price-old { font-size: 14px; color: var(--muted); }
.price-old s { font-family: var(--font-num); }
.price-old .save { color: var(--danger); font-weight: 700; margin-left: 6px; }
.price-card.hot .price-old { color: var(--muted-dark); }
.price-cycle { display: flex; gap: 7px; margin: 18px 0 4px; flex-wrap: wrap; }
.price-cycle button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all .15s;
}
.price-card.hot .price-cycle button { background: rgba(255,255,255,.06); border-color: #2a3648; color: #cbd5e1; }
.price-cycle button.on { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.price-card.hot .price-cycle button.on { background: rgba(3,152,85,.22); color: #6ee7a8; border-color: var(--brand); }
.price-feats { margin: 22px 0 28px; display: grid; gap: 11px; font-size: 14px; flex: 1; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.price-card.hot .price-feats li { color: #cbd5e1; }
.price-feats svg { flex: none; margin-top: 4px; }
.price-feats li.dim { color: var(--muted); }
.price-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--muted); }
.price-card.hot .price-note { color: var(--muted-dark); }

/* ---------- 对比表 ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; position: sticky; left: 0; background: inherit; }
.cmp thead th { background: var(--bg-soft); font-size: 15px; font-weight: 700; padding: 18px 20px; }
.cmp thead th.hot { background: var(--bg-dark); color: #fff; }
.cmp tbody tr { background: #fff; transition: background .12s; }
.cmp tbody tr:hover { background: #fafbfc; }
.cmp tbody td.hot { background: #f0fdf6; }
.cmp tbody tr:hover td.hot { background: #e5f9ee; }
.cmp .grp td {
  background: var(--bg-soft); font-weight: 700; font-size: 13.5px; color: var(--ink-2);
  letter-spacing: .5px; padding: 10px 20px;
}
.cmp .y { color: var(--brand); font-weight: 700; }
.cmp .n { color: #cbd2d9; }
.cmp .pay { font-size: 12px; color: var(--amber); font-weight: 600; background: var(--amber-soft); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.cmp td b { font-weight: 600; }

/* ---------- 信任保障 ---------- */
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guard { text-align: center; padding: 30px 18px; }
.guard .ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; }
.guard h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.guard p { font-size: 13.5px; color: var(--muted); }

/* ---------- 评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column;
}
.quote .stars { color: var(--amber); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.quote p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.quote .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote .ava {
  width: 42px; height: 42px; border-radius: 50%; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.quote .who b { display: block; font-size: 14px; }
.quote .who small { color: var(--muted); font-size: 12.5px; }

/* ---------- 公告列表 ---------- */
.news-tools { display: flex; gap: 10px; margin: 34px 0 28px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); background: #fff; transition: all .15s;
}
.chip.on, .chip:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background .15s;
}
.news-item:hover { background: var(--bg-soft); }
.news-item .date { font-family: var(--font-num); font-size: 13px; color: var(--muted); }
.news-item .date b { display: block; font-size: 22px; color: var(--ink); font-weight: 700; }
.news-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.news-item h3 a:hover { color: var(--brand-strong); }
.news-item p { font-size: 14px; color: var(--muted); }
.news-item .arrow { color: var(--muted); transition: transform .15s, color .15s; }
.news-item:hover .arrow { transform: translateX(4px); color: var(--brand-strong); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 6px; margin-right: 8px; vertical-align: 2px; }
.tag-green { background: var(--brand-soft); color: var(--brand-strong); }
.tag-amber { background: var(--amber-soft); color: #b54708; }
.tag-blue { background: #eff8ff; color: #175cd3; }
.tag-red { background: #fef3f2; color: #b42318; }

/* ---------- 文章详情 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.article-body { font-size: 16px; color: var(--ink-2); }
.article-body h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 44px 0 16px; letter-spacing: -.3px; }
.article-body h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 32px 0 12px; }
.article-body p { margin: 14px 0; }
.article-body ul, .article-body ol { margin: 14px 0 14px 4px; padding-left: 22px; display: grid; gap: 8px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--ink); }
.article-body code {
  font-family: var(--font-num); font-size: 13.5px; background: var(--bg-soft);
  border: 1px solid var(--line); padding: 1px 7px; border-radius: 6px; color: #c0407a;
}
.article-body pre {
  background: #0d1522; color: #c8d6e5; border-radius: 10px; padding: 18px 20px; margin: 18px 0;
  font-family: var(--font-num); font-size: 13px; line-height: 1.8; overflow-x: auto;
}
.article-body pre code { background: none; border: none; color: inherit; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.callout {
  border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0;
  padding: 14px 18px; margin: 20px 0; font-size: 14.5px;
}
.callout.warn { border-color: var(--amber); background: var(--amber-soft); }
.article-side { position: sticky; top: 92px; display: grid; gap: 20px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.side-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.side-box .toc a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; }
.side-box .toc a:hover { color: var(--brand-strong); }
.side-cta { background: var(--bg-dark); color: #eef2f6; border: none; }
.side-cta p { font-size: 13.5px; color: var(--muted-dark); margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.article-nav a { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; transition: border-color .15s; }
.article-nav a:hover { border-color: var(--brand); }
.article-nav small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }
.article-nav b { font-size: 14.5px; font-weight: 600; }
.article-nav .next { text-align: right; }

/* ---------- 演示/凭证卡 ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.demo-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.demo-card .d-head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.demo-card .d-head h3 { font-size: 17px; font-weight: 700; }
.demo-card .d-body { padding: 24px 26px; }
.cred-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.cred-row:last-of-type { border-bottom: none; }
.cred-row .k { color: var(--muted); flex: none; width: 72px; }
.cred-row .v { font-family: var(--font-num); font-weight: 600; flex: 1; word-break: break-all; }
.copy-btn {
  flex: none; border: 1px solid var(--line); background: #fff; border-radius: 7px;
  font-size: 12.5px; padding: 4px 12px; color: var(--ink-2); font-weight: 600; transition: all .15s;
}
.copy-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.copy-btn.ok { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }
.alert-bar {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid #fedf89; border-radius: 12px; padding: 18px 22px; font-size: 14.5px;
}
.alert-bar b { color: #b54708; }
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-dark); color: #fff;
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 14px; color: var(--muted); }
.step p code { font-family: var(--font-num); font-size: 12.5px; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }

/* ---------- 插件生态 ---------- */
.plug-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plug {
  border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; transition: all .18s;
}
.plug:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.plug .p-name { font-family: var(--font-num); font-weight: 700; font-size: 14.5px; }
.plug .p-type { font-size: 11.5px; color: var(--brand-strong); background: var(--brand-soft); border-radius: 5px; padding: 1px 8px; font-weight: 600; margin-left: 8px; }
.plug p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--brand); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); transition: all .15s; }
.faq-list details[open] summary .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq-list .a { padding: 0 24px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: var(--bg-dark); border-radius: 20px; padding: 64px 56px; color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 100% at 100% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.cta-band p { color: var(--muted-dark); margin-top: 12px; font-size: 16px; }
.cta-band .row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: #b9c4d6; padding: 72px 0 0; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer .cols ul { display: grid; gap: 11px; }
.footer a { color: #b9c4d6; }
.footer a:hover { color: #fff; }
.footer .f-brand p { margin-top: 16px; max-width: 300px; line-height: 1.8; }
.footer .f-contact li { display: flex; gap: 10px; align-items: center; }
.footer .bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9dabc2; }

/* ---------- 文档页 ---------- */
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-nav { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.doc-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.doc-nav a:hover { background: var(--bg-soft); color: var(--brand-strong); }
.req-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 16px 0; }
.req-table th, .req-table td { border: 1px solid var(--line); padding: 11px 16px; text-align: left; }
.req-table th { background: var(--bg-soft); font-weight: 700; }

/* ---------- 杂项 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .feat-grid, .quote-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .guard-grid, .plug-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > .split-media { order: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .feat-grid, .quote-grid, .price-grid, .guard-grid, .plug-grid, .demo-grid { grid-template-columns: 1fr; }
  .stats-band .wrap { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-left: none; border-top: 1px solid var(--line); padding: 24px 12px; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .cta-band { padding: 44px 28px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-item .arrow { display: none; }
  .article-nav { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 32px; }
}
