/* =========================================
   银狐防护官网 v2（结构化安全产品站）
   设计语言：安全控制台 —— 细描边、状态色、数据带、攻击链简报
   全站禁用雾状光晕；标题得意黑 900；数据/标签等宽字体
   ========================================= */

@font-face {
  font-family: "SmileySans";
  src: url("../fonts/SmileySans-Oblique.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #6ea8ff;
  --brand-2: #9b8cff;
  --brand-soft: rgba(110, 168, 255, 0.12);
  --ok: #3ddc84;
  --ok-soft: rgba(61, 220, 132, 0.14);
  --warn: #ffb545;
  --warn-soft: rgba(255, 181, 69, 0.15);
  --danger: #ff4d6a;
  --danger-soft: rgba(255, 77, 106, 0.13);
  --radius: 18px;
  --mono: "SF Mono", "Cascadia Mono", Consolas, monospace;
  --disp: "SmileySans", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 浅色（基准） */
  --bg: #eef1fa;
  --bg-alt: #f6f8ff;
  --panel: #ffffff;
  --text: #161a28;
  --muted: #5a6178;
  --border: rgba(45, 75, 150, 0.16);
  --border-strong: rgba(80, 115, 205, 0.45);
  --line: rgba(30, 45, 90, 0.10);
  --grid-line: rgba(30, 45, 90, 0.055);
  --header-bg: rgba(246, 248, 255, 0.85);
  --titlebar-bg: rgba(0, 0, 0, 0.035);
  --code-bg: #e8edf9;
  --code-color: #33529b;
  --cursor-color: #000000;
}

[data-theme="dark"] {
  --bg: #090c13;
  --bg-alt: #0d111b;
  --panel: #121724;
  --text: #e9edf6;
  --muted: #8d97ae;
  --border: rgba(120, 160, 240, 0.17);
  --border-strong: rgba(120, 160, 240, 0.48);
  --line: rgba(120, 150, 220, 0.12);
  --grid-line: rgba(120, 150, 220, 0.06);
  --header-bg: rgba(9, 12, 19, 0.82);
  --titlebar-bg: rgba(255, 255, 255, 0.035);
  --code-bg: #1a2133;
  --code-color: #b6c9ef;
  --cursor-color: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-2); }

code {
  font-family: var(--mono);
  background: var(--code-bg);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88em;
  color: var(--code-color);
}

/* ===== 自定义沉浸式光标 ===== */
.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%) scale(0);
  opacity: 0;
  will-change: transform, opacity;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 2.5px solid var(--cursor-color);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.18);
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cursor-color);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.22);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
}

/* 激活状态：鼠标进入窗口 */
html.custom-cursor-active .cursor-ring,
html.custom-cursor-active .cursor-dot {
  opacity: 1;
}

/* 悬停交互元素时放大 */
html.custom-cursor-active.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  background: var(--danger-soft);
}

html.custom-cursor-active.cursor-hover .cursor-dot {
  width: 8px;
  height: 8px;
}

/* 桌面精细指针：激活时隐藏系统光标，改由自定义光标接管 */
@media (pointer: fine) {
  html.custom-cursor-active,
  html.custom-cursor-active * {
    cursor: none !important;
  }
}

/* 触摸设备 / 无悬停能力：不启用自定义光标 */
@media (pointer: coarse), (hover: none) {
  .cursor-ring, .cursor-dot {
    display: none !important;
  }
}

/* 布局容器 */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-icon { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--disp); font-size: 1.18rem; font-weight: 800; letter-spacing: 1.5px; }
.brand-text span { font-size: 0.7rem; color: var(--muted); letter-spacing: 3px; font-family: var(--mono); }

.top-nav { display: flex; gap: 4px; align-items: center; margin-left: 10px; }
.top-nav a { padding: 7px 13px; border-radius: 8px; color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.top-nav a:hover { color: var(--text); background: var(--titlebar-bg); }

.version-pill {
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  font-family: var(--mono);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .icon-auto, .theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ===== Hero：全宽双栏，右侧安全控制台 ===== */
.hero {
  position: relative;
  padding: 76px 0 56px;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 22px;
  font-family: var(--mono);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
  display: inline-block;
  flex: none;
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero-title {
  font-family: var(--disp);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.16;
  margin: 0 0 6px;
  letter-spacing: 2px;
}

.hero-title .hero-en {
  display: block;
  font-family: var(--mono);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 6px;
  margin-top: 10px;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 520px;
  margin: 18px 0 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 9px;
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid transparent;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
/* 实色主按钮：安全软件的克制手感，无渐变无发光 */
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { color: #fff; filter: brightness(0.94); }
[data-theme="dark"] .btn-primary:hover { filter: brightness(1.08); }
.btn-secondary {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--brand); border-color: var(--border-strong); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

.hero-meta { color: var(--muted); font-size: 0.84rem; margin: 0; font-family: var(--mono); }

/* ---- 安全控制台面板 ---- */
.console {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 16, 34, 0.16);
}
[data-theme="dark"] .console { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--titlebar-bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.console-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #ffbd2e; } .dot.g { background: #28c840; }
.console-bar .ct { margin-left: 6px; letter-spacing: 1px; }

.console-body { padding: 22px 24px 24px; }

.console-status { display: flex; align-items: center; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.console-shield {
  width: 58px; height: 58px; flex: none;
  border-radius: 15px;
  background: var(--ok-soft);
  border: 1px solid rgba(61, 220, 132, 0.38);
  display: grid; place-items: center;
}
.console-shield img { width: 34px; height: 34px; }
.console-status .t { font-family: var(--disp); font-size: 1.3rem; font-weight: 800; color: var(--ok); letter-spacing: 1px; }
.console-status .s { font-size: 0.8rem; color: var(--muted); margin-top: 1px; }

.console-checks { padding: 6px 0 2px; }
.ccheck {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}
.ccheck:last-child { border-bottom: none; }
.ccheck .cdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ccheck .cdot.on { background: var(--ok); box-shadow: 0 0 0 2px var(--ok-soft); }
.ccheck .cdot.opt { background: var(--muted); opacity: 0.5; }
.ccheck .name { flex: 1; font-weight: 600; }
.ccheck .val { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 1px; color: var(--muted); }
.ccheck .val.on { color: var(--ok); }

/* 扫描进度条（有生命感，无光晕） */
.console-scan { margin-top: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--titlebar-bg); }
.console-scan .row1 { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); font-family: var(--mono); margin-bottom: 8px; }
.console-scan .row1 b { color: var(--text); font-weight: 600; }
.scan-track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.scan-fill {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  animation: scanMove 4.5s var(--ease, ease-in-out) infinite;
}
@keyframes scanMove {
  0% { width: 8%; }
  55% { width: 86%; }
  100% { width: 8%; }
}

/* ===== 数据带 ===== */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat b {
  display: block;
  font-family: var(--disp);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--brand);
}
.stat span { font-size: 0.82rem; color: var(--muted); letter-spacing: 1px; }

/* ===== 分区通用 ===== */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--disp);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 8px;
}
.section-head p { color: var(--muted); margin: 0 auto; font-size: 0.96rem; max-width: 620px; }
.section-head .rule {
  width: 46px; height: 3px; border-radius: 2px;
  background: var(--brand);
  margin: 18px auto 0;
}
.section-head.left { text-align: left; }
.section-head.left .rule { margin-left: 0; }

/* ===== 威胁简报：攻击链 ===== */
.threat-panel {
  border: 1px solid rgba(255, 77, 106, 0.30);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.threat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--danger-soft);
  border-bottom: 1px solid rgba(255, 77, 106, 0.25);
  font-weight: 800;
  letter-spacing: 1px;
}
.threat-head .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.4);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 1px;
}
.chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.chain-step {
  position: relative;
  padding: 26px 22px 28px;
  border-left: 1px solid var(--line);
}
.chain-step:first-child { border-left: none; }
.chain-step .no {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--danger);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.chain-step h4 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }
.chain-step p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
/* 连接箭头 */
.chain-step::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.chain-step:last-child::after { display: none; }

/* ===== 防护管线 ===== */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.pipe-node {
  position: relative;
  padding: 24px 18px 22px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.pipe-node:first-child { border-left: none; }
.pipe-node .pico {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  color: var(--brand);
}
.pipe-node .pico svg { width: 22px; height: 22px; }
.pipe-node h5 { margin: 0 0 5px; font-size: 0.94rem; font-weight: 800; }
.pipe-node p { margin: 0; font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.pipe-node .ptag {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  letter-spacing: 1px;
}
.pipe-node.final { background: var(--ok-soft); }
.pipe-node.final .pico { background: rgba(61, 220, 132, 0.16); border-color: rgba(61, 220, 132, 0.4); color: var(--ok); }

/* ===== 核心能力：分栏矩阵（行式，非卡片堆） ===== */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.feat {
  display: flex;
  gap: 18px;
  padding: 28px 30px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.feat:nth-child(-n+2) { border-top: none; }
.feat:nth-child(odd) { border-left: none; }
.feat:hover { background: var(--titlebar-bg); }
.feat-ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  color: var(--brand);
}
.feat-ico svg { width: 23px; height: 23px; }
.feat h3 { margin: 0 0 7px; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.5px; }
.feat h3 .fno { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 1.5px; margin-left: 8px; font-weight: 600; }
.feat p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ===== 主题编辑器 promo ===== */
.promo {
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 34px 40px;
}
.promo-copy { flex: 1; min-width: 0; }
.promo-copy h2 { font-family: var(--disp); font-size: 1.8rem; font-weight: 900; letter-spacing: 1.5px; margin: 0 0 10px; }
.promo-copy p { color: var(--muted); margin: 0 0 20px; font-size: 0.94rem; max-width: 480px; }
.promo-swatches { display: flex; flex-direction: column; gap: 10px; flex: none; }
.promo-swatch { width: 150px; height: 34px; border-radius: 9px; border: 1px solid var(--border); }

/* ===== 安装：横向时间线 ===== */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.step3 {
  position: relative;
  padding: 30px 28px;
  border-left: 1px solid var(--line);
}
.step3:first-child { border-left: none; }
.step3 .no {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 14px;
}
.step3 h4 { margin: 0 0 8px; font-size: 1.04rem; font-weight: 800; }
.step3 p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
.step3::after {
  content: "";
  position: absolute;
  right: -8px; top: 50%;
  width: 14px; height: 14px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
}
.step3:last-child::after { display: none; }

.install-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--titlebar-bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== 隐私两栏 ===== */
.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.privacy-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 34px;
}
.privacy-panel h3 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 800; }
.privacy-panel p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.pledge { list-style: none; margin: 0; padding: 0; }
.pledge li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.pledge li:last-child { border-bottom: none; }
.pledge .tick { color: var(--ok); flex: none; font-weight: 800; }

/* ===== 检测引擎矩阵（29 维，独家内容墙） ===== */
.matrix {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.mx-group { border-top: 1px solid var(--line); }
.mx-group:first-child { border-top: none; }
.mx-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 24px 14px;
  background: var(--titlebar-bg);
}
.mx-group-head .gtag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--brand);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 1.5px;
}
.mx-group-head h4 { margin: 0; font-size: 1.02rem; font-weight: 800; letter-spacing: 0.5px; }
.mx-group-head .gcount { margin-left: auto; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 1px; }
.mx-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 4px 24px 22px;
}
.mx-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mx-item:hover { border-color: var(--border-strong); background: var(--titlebar-bg); }
.mx-item .w {
  flex: none;
  min-width: 30px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--brand-soft);
  color: var(--brand);
}
.mx-item .w.high { background: var(--danger-soft); color: var(--danger); }
.mx-item .w.mid { background: var(--warn-soft); color: var(--warn); }
.mx-item .t b { display: block; font-size: 0.85rem; font-weight: 700; line-height: 1.4; }
.mx-item .t span { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.5; margin-top: 1px; }

/* ===== 高级清除原理面板（绿色调 = 我方反制） ===== */
.clean-panel {
  margin-top: 26px;
  border: 1px solid rgba(61, 220, 132, 0.30);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.clean-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--ok-soft);
  border-bottom: 1px solid rgba(61, 220, 132, 0.25);
  font-weight: 800;
  letter-spacing: 1px;
}
.clean-head .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ok);
  border: 1px solid rgba(61, 220, 132, 0.4);
  border-radius: 6px;
  padding: 2px 8px;
  letter-spacing: 1px;
}
.clean-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.clean-step {
  position: relative;
  padding: 24px 22px 26px;
  border-left: 1px solid var(--line);
}
.clean-step:first-child { border-left: none; }
.clean-step .no {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ok);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.clean-step h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; }
.clean-step p { margin: 0; color: var(--muted); font-size: 0.87rem; line-height: 1.7; }
.clean-step::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.clean-step:last-child::after { display: none; }

/* ===== 环境检测程序 · 配置要求（折叠面板） ===== */
.req {
  margin-top: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.req summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.95rem;
}
.req summary::-webkit-details-marker { display: none; }
.req summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}
.req details summary::after, .req[open] summary::after { transform: rotate(45deg); }
.req .req-body {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.req-col h4 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
table.req-t { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.req-t th {
  text-align: left; color: var(--muted); font-weight: 600;
  padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line);
  width: 76px; vertical-align: top; white-space: nowrap;
}
.req-t td { padding: 7px 0; border-bottom: 1px dashed var(--line); line-height: 1.6; }
.req-t tr:last-child th, .req-t tr:last-child td { border-bottom: none; }
@media (max-width: 980px) {
  .req .req-body { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 4px;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 6px;
  font-weight: 800;
  font-size: 0.98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qmark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 6px 18px 46px; color: var(--muted); font-size: 0.92rem; line-height: 1.8; }
.faq .a b { color: var(--text); }

/* ===== 底部 CTA 带 ===== */
.cta-band {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { font-family: var(--disp); font-size: 2rem; font-weight: 900; letter-spacing: 2px; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 30px 24px; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--brand); }
.footer-inner .sep { margin: 0 6px; opacity: 0.5; }

/* ===== 响应式 ===== */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { max-width: 460px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain-step:nth-child(3) { border-left: none; }
  .chain-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chain-step:nth-child(2)::after, .chain-step:nth-child(4)::after { display: none; }
  .clean-chain { grid-template-columns: repeat(2, 1fr); }
  .clean-step:nth-child(3) { border-left: none; }
  .clean-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .clean-step:nth-child(2)::after, .clean-step:nth-child(4)::after { display: none; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-node { border-top: 1px solid var(--line); }
  .pipe-node:nth-child(-n+2) { border-top: none; }
  .pipe-node:nth-child(odd) { border-left: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .feat:first-child { border-top: none !important; }
  .steps3 { grid-template-columns: 1fr; }
  .step3 { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .step3:first-child { border-top: none !important; }
  .step3::after { display: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .promo { flex-direction: column; align-items: stretch; }
  .promo-swatches { flex-direction: row; }
  .promo-swatch { flex: 1; width: auto; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding: 10px 16px; }
  .top-nav { order: 3; width: 100%; justify-content: center; padding-top: 6px; flex-wrap: wrap; }
  .version-pill { margin-left: auto; }
  .hero { padding: 44px 0 40px; }
  .hero-title { font-size: 2.3rem; }
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .chain { grid-template-columns: 1fr; }
  .chain-step { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .chain-step:first-child { border-top: none !important; }
  .chain-step::after { display: none; }
  .clean-chain { grid-template-columns: 1fr; }
  .clean-step { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .clean-step:first-child { border-top: none !important; }
  .clean-step::after { display: none; }
  .pipeline { grid-template-columns: 1fr; }
  .pipe-node { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .pipe-node:first-child { border-top: none !important; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
}