/* ==========================================================================
   算数 · 滚塑 ERP — 产品介绍站样式
   结构：变量 / 基础 / 顶栏 + 二级导航 / 首屏 / 通用区块 / 卡片 / 表格 /
        时间轴 / 场景 / 下载中心 / 页脚（对齐 zhubao.zerocod.cn 布局） / 响应式
   ========================================================================== */

:root {
  --brand: #1f6feb;
  --brand-2: #2f8ce0;
  --brand-deep: #0f3f96;
  --cyan: #22d3ee;
  --teal: #14b8a6;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #22c55e;

  --ink: #0f2246;
  --ink-2: #33456b;
  --muted: #5a6b84;
  --faint: #8497b0;

  --bg: #f5f8fc;
  --panel: #ffffff;
  --panel-2: #eef4fc;
  --line: #dce6f4;
  --line-2: #e8eff9;

  --dark-900: #061426;
  --dark-800: #0a1d36;
  --dark-700: #0f2f52;
  --dark-line: rgba(140, 180, 235, 0.18);
  --dark-text: #e6f0fb;
  --dark-muted: #9fb8d6;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 70, 0.06), 0 4px 14px rgba(15, 34, 70, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 34, 70, 0.1);
  --shadow-lg: 0 22px 60px rgba(9, 28, 56, 0.16);
  --container: 1180px;
  --header-h: 66px;
  --font: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.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;
}

/* ---------------------------------------------------------------- 顶栏 + 二级导航 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 20, 38, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(140, 180, 235, 0.14);
}
.site-header.is-scrolled { background: rgba(6, 20, 38, 0.97); box-shadow: 0 10px 30px rgba(4, 12, 24, 0.35); }

.header-top {
  display: flex; align-items: center; gap: 18px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt strong { color: #fff; font-size: 1.02rem; letter-spacing: 0.01em; }
.brand-txt span { color: var(--dark-muted); font-size: 0.7rem; letter-spacing: 0.06em; }

/* 二级导航（参考 servechina.cn：一级横排 + 悬浮整幅面板） */
.nav { display: flex; align-items: stretch; gap: 2px; margin-left: 6px; flex: 1 1 auto; min-width: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--header-h); padding: 0 13px;
  color: #d7e5f7; font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color 0.18s, border-color 0.18s;
}
.nav-item > a:hover, .nav-item > a[aria-current="page"] { color: #fff; border-bottom-color: var(--cyan); }
.nav-item__caret {
  width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.65; transition: transform 0.18s;
}
.nav-item:hover .nav-item__caret { transform: rotate(225deg) translateY(-1px); }

.nav-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  width: min(880px, calc(100vw - 40px));
  padding: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}
.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-panel__card {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.nav-panel__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 14px; }
.nav-panel__links a {
  display: block; padding: 10px 12px; border-radius: 10px; transition: background 0.16s;
}
.nav-panel__links a:hover { background: var(--panel-2); }
.nav-panel__links strong { display: block; color: var(--ink); font-size: 0.88rem; font-weight: 700; }
.nav-panel__links em { display: block; color: var(--muted); font-size: 0.76rem; font-style: normal; margin-top: 2px; }
.nav-panel__feature {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px; background: linear-gradient(160deg, #0b2140, #12365c); color: #dbe9fa;
}
.nav-panel__feature img { width: 100%; height: 128px; object-fit: cover; border-radius: 12px; }
.nav-panel__feature strong { color: #fff; font-size: 0.95rem; }
.nav-panel__feature em { color: var(--dark-muted); font-size: 0.78rem; font-style: normal; line-height: 1.6; }
.nav-panel__cta { margin-top: auto; color: var(--cyan); font-size: 0.82rem; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px; font-size: 0.87rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, color 0.16s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #1558c8); color: #fff; box-shadow: 0 6px 18px rgba(31, 111, 235, 0.32); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(31, 111, 235, 0.42); }
.btn-ghost { border-color: rgba(150, 190, 240, 0.4); color: #dbe9fa; }
.btn-ghost:hover { background: rgba(150, 190, 240, 0.12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 13px 26px; font-size: 0.95rem; }

.nav-toggle {
  display: none; width: 42px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(150, 190, 240, 0.35); background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: #dbe9fa; border-radius: 2px; }

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: #061426; overflow-y: auto; padding: 16px 18px 60px;
  transform: translateX(100%); transition: transform 0.24s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer details { border-bottom: 1px solid rgba(140, 180, 235, 0.14); }
.mobile-drawer summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; color: #fff; font-weight: 700; font-size: 0.95rem; cursor: pointer; list-style: none;
}
.mobile-drawer summary::-webkit-details-marker { display: none; }
.mobile-drawer summary::after { content: '+'; color: var(--cyan); font-size: 1.1rem; }
.mobile-drawer details[open] summary::after { content: '−'; }
.mobile-drawer .mlinks { padding: 0 2px 12px; }
.mobile-drawer .mlinks a { display: block; padding: 9px 10px; border-radius: 9px; color: var(--dark-muted); font-size: 0.86rem; }
.mobile-drawer .mlinks a:hover { background: rgba(150, 190, 240, 0.1); color: #fff; }
.mobile-drawer .drawer-cta { margin-top: 18px; display: grid; gap: 10px; }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative; overflow: hidden; color: var(--dark-text);
  background: radial-gradient(1100px 520px at 78% -10%, rgba(34, 211, 238, 0.22), transparent 62%),
              radial-gradient(900px 460px at 6% 8%, rgba(31, 111, 235, 0.3), transparent 60%),
              linear-gradient(160deg, #05101f 0%, #0a2342 58%, #0c2c52 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(120, 170, 230, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(120, 170, 230, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 42px; align-items: center; padding: 62px 0 66px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 999px;
  background: rgba(34, 211, 238, 0.09); color: var(--cyan);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
}
.hero h1 {
  margin: 18px 0 0; color: #fff; font-size: clamp(1.9rem, 3.3vw, 2.72rem); line-height: 1.24; letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #7fd3ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 16px; color: #b8cde8; font-size: 1.01rem; max-width: 600px; }
.hero-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-kpi {
  padding: 10px 15px; border-radius: 12px; background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(150, 190, 240, 0.2); min-width: 132px;
}
.hero-kpi b { display: block; color: #fff; font-size: 1.16rem; line-height: 1.2; }
.hero-kpi span { color: var(--dark-muted); font-size: 0.74rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 14px; color: #7f9cbe; font-size: 0.78rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid rgba(150, 190, 240, 0.22); box-shadow: 0 30px 70px rgba(3, 12, 26, 0.6); display: block; }
.hero-media .float-card {
  position: absolute; left: -16px; bottom: -20px; width: 232px; padding: 12px 14px;
  border-radius: 14px; background: rgba(8, 25, 45, 0.94); border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 18px 40px rgba(3, 12, 26, 0.5);
}
.hero-media .float-card strong { display: block; color: var(--cyan); font-size: 0.82rem; }
.hero-media .float-card span { color: var(--dark-muted); font-size: 0.74rem; }

/* 信任条 */
.trust-strip { background: #07182c; border-top: 1px solid rgba(140, 180, 235, 0.14); border-bottom: 1px solid rgba(140, 180, 235, 0.14); }
.trust-strip-inner { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; padding: 15px 0; }
.trust-strip p { color: var(--dark-muted); font-size: 0.8rem; }
.trust-strip strong { color: #dbe9fa; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chips span {
  padding: 4px 11px; border-radius: 999px; font-size: 0.73rem;
  color: #9fd9f5; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22);
}

/* ---------------------------------------------------------------- 区块 */
.section { padding: 66px 0; }
.section--alt { background: var(--panel); }
.section--tint { background: linear-gradient(180deg, #eef4fc, #f7fafd); }
.section-head { max-width: 800px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: rgba(31, 111, 235, 0.09); color: var(--brand); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
}
.section-head h2 { font-size: clamp(1.42rem, 2.3vw, 1.94rem); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 0.96rem; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c3d6ef; }
.card h3 { font-size: 1.02rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.88rem; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; background: var(--panel-2); color: var(--brand); border: 1px solid #d5e3f6; }
.tag-amber { background: rgba(245, 158, 11, 0.1); color: #b45309; border-color: rgba(245, 158, 11, 0.28); }
.tag-green { background: rgba(34, 197, 94, 0.1); color: #15803d; border-color: rgba(34, 197, 94, 0.28); }
.tag-cyan { background: rgba(34, 211, 238, 0.1); color: #0e7490; border-color: rgba(34, 211, 238, 0.3); }

.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.14), rgba(34, 211, 238, 0.14));
  color: var(--brand); font-size: 1.05rem; font-weight: 800;
}

/* 场景图卡 */
.scene-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #08182c; box-shadow: var(--shadow-sm);
}
.scene-card img { display: block; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.scene-card .scene-body { padding: 16px 18px 18px; background: #fff; }
.scene-card h3 { font-size: 1rem; }
.scene-card p { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }
.scene-card .scene-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(6, 20, 38, 0.82); color: #9fd9f5; font-size: 0.72rem; font-weight: 700;
  border: 1px solid rgba(34, 211, 238, 0.3);
}
.scene-list { display: grid; gap: 6px; margin-top: 12px; }
.scene-list li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 0.84rem; }
.scene-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand-2);
}

/* 模块全景 */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.module-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.module-card header { display: flex; align-items: center; gap: 10px; }
.module-code {
  flex: none; padding: 3px 9px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}
.module-card h3 { font-size: 0.98rem; }
.module-card > p { margin-top: 10px; color: var(--muted); font-size: 0.84rem; }
.module-card ul { margin-top: 10px; display: grid; gap: 4px; }
.module-card ul li { color: var(--ink-2); font-size: 0.81rem; padding-left: 14px; position: relative; }
.module-card ul li::before { content: '·'; position: absolute; left: 3px; color: var(--brand); font-weight: 900; }

/* 指标 */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.metric {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.metric b { display: block; font-size: 1.6rem; color: var(--brand); line-height: 1.15; }
.metric span { color: var(--muted); font-size: 0.8rem; }
.metric--amber b { color: var(--amber); }
.metric--red b { color: var(--red); }
.metric--green b { color: var(--green); }

/* 流程时间轴 */
.flow { display: grid; gap: 14px; }
.flow-step {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.flow-step .no {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
}
.flow-step h3 { font-size: 0.98rem; }
.flow-step p { margin-top: 6px; color: var(--muted); font-size: 0.86rem; }
.flow-step .flow-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 分级预警 */
.risk-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.risk-item { border-radius: var(--radius); padding: 14px 16px; border: 1px solid; }
.risk-item b { display: block; font-size: 0.95rem; }
.risk-item span { font-size: 0.8rem; }
.risk-overdue { background: rgba(239, 68, 68, 0.07); border-color: rgba(239, 68, 68, 0.28); }
.risk-overdue b { color: #dc2626; }
.risk-risk { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.3); }
.risk-risk b { color: #b45309; }
.risk-watch { background: rgba(31, 111, 235, 0.07); border-color: rgba(31, 111, 235, 0.24); }
.risk-watch b { color: var(--brand); }
.risk-ontrack { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.28); }
.risk-ontrack b { color: #15803d; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 720px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; font-size: 0.85rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data thead th { background: #f2f7fe; color: var(--ink); font-weight: 700; white-space: nowrap; }
table.data tbody tr:hover td { background: #f8fbff; }
table.data td code { background: #f2f7fe; padding: 1px 6px; border-radius: 6px; font-size: 0.8rem; color: var(--brand-deep); }

/* 角色卡 */
.role-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.role-card .role-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.role-card h3 { font-size: 1rem; }
.role-card .role-kpi { color: var(--brand); font-weight: 800; font-size: 0.84rem; }
.role-card ul { margin-top: 12px; display: grid; gap: 8px; }
.role-card ul li { font-size: 0.84rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.role-card ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; font-size: 0.8rem;
}

/* 筛选 Tab */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.16s;
}
.tab:hover { border-color: var(--brand-2); color: var(--brand); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(31, 111, 235, 0.3); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.24s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 下载中心 */
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.download-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download-card .dl-kind {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 11px; border-radius: 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
}
.dl-xlsx { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.dl-pptx { background: rgba(249, 115, 22, 0.12); color: #c2410c; }
.dl-docx { background: rgba(31, 111, 235, 0.12); color: var(--brand-deep); }
.dl-pdf { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.download-card h3 { font-size: 1rem; }
.download-card p { color: var(--muted); font-size: 0.85rem; }
.download-card .dl-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 0.76rem; }
.download-card .dl-actions { display: flex; gap: 10px; margin-top: auto; }
.download-card .dl-actions .btn { flex: 1; }

/* ---------------------------------------------------------------- 页脚（对齐 zhubao.zerocod.cn 布局） */
.site-footer {
  position: relative; margin-top: 36px; padding: 0 0 20px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, rgba(4, 6, 10, 0.98) 100%), #061426;
  color: var(--dark-muted); overflow: hidden;
}
.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(31, 111, 235, 0.4) 20%, rgba(34, 211, 238, 0.6) 50%, rgba(31, 111, 235, 0.4) 80%, transparent 100%);
}
.footer-shell { position: relative; padding: 32px 24px 20px; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(200px, 248px) minmax(0, 1fr) auto;
  gap: 24px 40px; align-items: start; max-width: 1080px; margin: 0 auto;
}
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo-link { display: block; line-height: 0; }
.footer-logo { display: block; max-width: 168px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.footer-brand-name { margin: 0; color: #dbe9fa; font-size: 1.05rem; font-weight: 700; }
.footer-slogan { margin: 0; max-width: 236px; color: var(--dark-muted); font-size: 0.8rem; line-height: 1.55; }
/* 商务联系（页脚品牌栏）：电话为第一联系方式，字号加大以便一眼看到 */
.footer-biz {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px;
  margin-top: 2px; padding: 8px 13px; border-radius: 10px;
  background: rgba(34, 211, 238, 0.07); border: 1px solid rgba(34, 211, 238, 0.2);
}
.footer-biz-label { color: #9fc5ea; font-size: 0.72rem; }
.footer-biz-phone { color: #7fd3ff; font-size: 1.06rem; font-weight: 700; letter-spacing: 0.02em; }
.footer-biz-phone:hover { color: #a5e6ff; }
.footer-biz-note { color: var(--dark-muted); font-size: 0.72rem; }
.footer-cta {
  display: inline-flex; align-items: center; margin-top: 2px; padding: 7px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: #06182e;
  background: linear-gradient(135deg, #22d3ee, #2f8ce0); transition: filter 0.2s, box-shadow 0.2s;
}
.footer-cta:hover { color: #06182e; filter: brightness(1.08); box-shadow: 0 3px 12px rgba(34, 211, 238, 0.3); }
.footer-qr-col { align-self: center; justify-self: end; }
/* 页脚二维码组：企业微信（商务联系）+ 资料/演示入口 */
.footer-qrs { display: flex; gap: 18px; align-items: stretch; }
.footer-wechat {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 0; padding: 0; border: none; background: transparent;
}
.footer-wechat img { display: block; width: 88px; height: 88px; border-radius: 8px; background: #fff; padding: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.footer-wechat figcaption { min-height: 2.8em; color: #9fc5ea; font-size: 0.75rem; text-align: center; line-height: 1.4; }
.footer-wechat--wecom figcaption { color: #7fd3ff; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.footer-col h4 { margin: 0 0 10px; color: #9fc5ea; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; }
.footer-col-list { list-style: none; margin: 0; padding: 0; }
.footer-col-list a { display: block; padding: 3px 0; color: var(--dark-muted); font-size: 0.8rem; line-height: 1.4; transition: color 0.2s; }
.footer-col-list a:hover { color: #9fd9f5; }

.footer-trust-bar { max-width: 1080px; margin: 0 auto; padding: 16px 24px 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: center; }
.footer-trust-line, .footer-trust-badges, .footer-trust-meta { max-width: 980px; margin-inline: auto; }
.footer-trust-line { margin: 0 auto 12px; color: var(--dark-muted); font-size: 0.78rem; line-height: 1.5; }
.footer-trust-line strong { color: #dbe9fa; font-weight: 600; }
.footer-trust-sep { margin: 0 4px; opacity: 0.35; }
.footer-trust-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 12px; padding: 0; }
.footer-trust-badges li {
  padding: 4px 10px; border-radius: 999px; white-space: nowrap; font-size: 0.72rem;
  color: #7fd3ff; background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.2);
}
.footer-trust-meta { margin: 0 auto; color: var(--dark-muted); font-size: 0.78rem; line-height: 1.6; }
.footer-trust-meta a { color: var(--dark-muted); }
.footer-trust-meta a:hover { color: #9fd9f5; }
.footer-bottom { max-width: 1080px; margin: 0 auto; padding: 12px 24px 16px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.footer-bottom-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 8px; }
.footer-bottom-links a { color: var(--dark-muted); font-size: 0.74rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: #9fd9f5; }
.footer-copyright { margin: 0; color: var(--dark-muted); font-size: 0.72rem; line-height: 1.5; opacity: 0.85; }
.footer-copyright a { color: #9fc5ea; text-decoration: none; transition: color 0.2s; }
.footer-copyright a:hover { color: #a5e6ff; text-decoration: underline; }

/* ---------------------------------------------------------------- 通用页脚 CTA / 锚点 / 返回顶部 */
.cta-band {
  border-radius: var(--radius-lg); padding: 34px 30px; color: #dbe9fa;
  background: radial-gradient(700px 320px at 82% 0%, rgba(34, 211, 238, 0.24), transparent 60%), linear-gradient(160deg, #0a1d36, #123a63);
  border: 1px solid rgba(150, 190, 240, 0.2);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; font-size: 1.34rem; }
.cta-band p { margin-top: 8px; color: var(--dark-muted); font-size: 0.9rem; max-width: 620px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--faint); font-size: 0.8rem; padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span.sep { opacity: 0.5; }

.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(150, 190, 240, 0.3);
  background: rgba(6, 20, 38, 0.9); color: #dbe9fa; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-2px); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 子页面标题带 */
.page-hero {
  color: var(--dark-text);
  background: radial-gradient(900px 380px at 82% -20%, rgba(34, 211, 238, 0.2), transparent 62%),
              linear-gradient(160deg, #05101f 0%, #0a2342 100%);
  padding: 46px 0 42px; border-bottom: 1px solid rgba(140, 180, 235, 0.16);
}
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.page-hero p { margin-top: 12px; color: #b8cde8; max-width: 780px; font-size: 0.95rem; }
.page-hero .hero-kpis { margin-top: 18px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .nav-panel { width: min(760px, calc(100vw - 32px)); }
  .nav-panel__card { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 980px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 52px; }
  .hero-media .float-card { left: 12px; bottom: -14px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .section { padding: 46px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.68rem; }
  .hero-kpi { min-width: 118px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-col { align-items: center; text-align: center; }
  .footer-slogan { max-width: 280px; }
  .footer-qr-col { justify-self: center; align-self: center; }
  .footer-wechat { align-items: center; }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-shell { padding: 22px 16px 12px; }
  .footer-trust-bar, .footer-bottom { padding-inline: 16px; }
  .flow-step { grid-template-columns: 44px minmax(0, 1fr); }
  .cta-band { padding: 24px 20px; }
  .to-top { right: 12px; bottom: 14px; }
}
@media (max-width: 420px) {
  .footer-nav-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .download-card:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .to-top, .site-footer, .cta-band, .toc-aside, .dl-actions, .hero-cta { display: none !important; }
  body { background: #fff; }
  .doc-sheet { box-shadow: none; border: none; }
}

/* ---------------------------------------------------------------- 子页布局：粘性目录 + 正文 */
.with-aside { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 30px; align-items: start; }
.toc-aside { position: sticky; top: 96px; }
.toc-aside .toc-title { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 700; }
.toc-aside ul { margin-top: 10px; display: grid; gap: 2px; }
.toc-aside a {
  display: block; padding: 7px 11px; border-radius: 9px; color: var(--ink-2);
  font-size: 0.84rem; border-left: 3px solid transparent; transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.toc-aside a:hover { background: var(--panel-2); color: var(--brand-deep); }
.toc-aside a.is-active { background: var(--panel-2); color: var(--brand-deep); font-weight: 700; border-left-color: var(--brand); }
.toc-aside .toc-back { margin-top: 14px; display: inline-flex; }

/* 模块区段 */
.feat-group { scroll-margin-top: 92px; }
.feat-group + .feat-group { margin-top: 48px; }
.feat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.feat-head .module-code { font-size: 0.8rem; }
.feat-head h2 { font-size: 1.24rem; }
.feat-head .feat-count { margin-left: auto; color: var(--faint); font-size: 0.78rem; }
.feat-head p { flex: 1 1 100%; margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.feat-sub { margin-top: 22px; }
.feat-sub h3 {
  font-size: 0.94rem; color: var(--brand-deep); display: flex; align-items: center; gap: 8px;
}
.feat-sub h3::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--cyan)); }
.feat-sub .table-wrap { margin-top: 10px; }
.feat-sub table.data { min-width: 640px; }
.feat-sub table.data td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.feat-sub table.data td:nth-child(3) { color: var(--muted); font-size: 0.81rem; }
.feat-sub table.data td:last-child { color: #b45309; font-size: 0.81rem; }

/* 顶部锚点快捷条 */
.jump-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-bar a {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 0.82rem; box-shadow: var(--shadow-sm); transition: all 0.18s;
}
.jump-bar a:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); }

/* 文档式排版（下载说明 / 关于页） */
.doc-sheet {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
}

/* 商务联系卡片（关于页 / 资料页）：电话 + 企业微信二维码 */
.biz-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px;
  margin-top: 18px; padding: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.05), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(31, 111, 235, 0.16);
}
.biz-card-txt { flex: 1 1 240px; }
.biz-card-txt h3 { margin: 0 0 6px; font-size: 1rem; }
.biz-card-txt p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }
.biz-card-txt a { color: var(--brand); font-weight: 600; }
.biz-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; flex: 0 0 auto; }
.biz-qr img {
  display: block; width: 118px; height: 118px; border-radius: 10px;
  background: #fff; padding: 5px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.biz-qr figcaption { color: var(--muted); font-size: 0.74rem; text-align: center; line-height: 1.4; }
.doc-sheet h2 { font-size: 1.2rem; margin-top: 26px; }
.doc-sheet h2:first-child { margin-top: 0; }
.doc-sheet h3 { font-size: 1rem; margin-top: 18px; }
.doc-sheet p { margin-top: 10px; color: var(--ink-2); font-size: 0.9rem; }
.doc-sheet ul, .doc-sheet ol { margin-top: 10px; display: grid; gap: 7px; }
.doc-sheet li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 0.88rem; }
.doc-sheet ul li::before { content: '·'; position: absolute; left: 4px; color: var(--brand); font-weight: 900; }
.doc-sheet ol { counter-reset: n; }
.doc-sheet ol li { padding-left: 24px; counter-increment: n; }
.doc-sheet ol li::before {
  content: counter(n); position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%; background: var(--panel-2); color: var(--brand-deep);
  font-size: 0.66rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.doc-sheet table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.doc-sheet th, .doc-sheet td { border: 1px solid var(--line-2); padding: 9px 12px; text-align: left; font-size: 0.84rem; vertical-align: top; }
.doc-sheet thead th { background: #f2f7fe; }
.doc-sheet code { background: #f2f7fe; padding: 1px 6px; border-radius: 6px; font-size: 0.82rem; color: var(--brand-deep); }

/* 分档表格 */
.file-table { width: 100%; border-collapse: collapse; }
.file-table th, .file-table td { padding: 12px 14px; text-align: left; font-size: 0.85rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.file-table thead th { background: #f2f7fe; color: var(--ink); font-weight: 700; white-space: nowrap; }
.file-table tbody tr:hover td { background: #f8fbff; }
.file-table .file-name { font-weight: 700; color: var(--ink); }
.file-table .file-name small { display: block; color: var(--faint); font-weight: 400; font-size: 0.76rem; margin-top: 3px; }

/* 步骤条（纵向） */
.steps { display: grid; gap: 0; }
.step-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding-bottom: 24px; }
.step-row .dot { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--panel-2); color: var(--brand-deep); font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.step-row:not(:last-child) .dot::after { content: ''; position: absolute; top: 32px; left: 50%; transform: translateX(-50%); width: 2px; height: calc(100% - 6px); background: var(--line); }
.step-row h3 { font-size: 1rem; }
.step-row p { margin-top: 6px; color: var(--muted); font-size: 0.87rem; }

/* 对照表（能力 vs 通用ERP） */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 12px 14px; text-align: left; font-size: 0.85rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { background: #0a2342; color: #cfe2f8; font-weight: 600; }
.compare tbody th { background: #f7fafd; font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare .yes { color: #15803d; font-weight: 700; }
.compare .no { color: #b91c1c; }

@media (max-width: 980px) {
  .with-aside { grid-template-columns: 1fr; }
  .toc-aside { position: static; }
  .toc-aside ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc-aside a { border-left: none; border: 1px solid var(--line); background: #fff; }
  .doc-sheet { padding: 22px 18px; }
}
