/* 商秘库 · 商业秘密保护与存证平台 · 共享样式（零外部资源） */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1f3a5f;
  --primary-light: #eef3f9;
  --accent: #b8860b;
  --ok: #1a7f4b;
  --warn: #b25000;
  --danger: #b21f2d;
  --line: #d8dee8;
  --bg: #f5f7fa;
  --text: #26303c;
  --muted: #6b7684;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}
a { color: var(--primary); text-decoration: none; }

/* 顶栏 */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .brand { font-size: 17px; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.topbar .brand a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.topbar .brand .brand-logo { display: block; border-radius: 7px; flex-shrink: 0; }
.topbar .brand small { font-weight: 400; opacity: .75; margin-left: 10px; font-size: 12px; }
.topbar nav a { color: #dbe4f0; margin-left: 22px; font-size: 14px; }
.topbar nav a:hover, .topbar nav a.cur { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 4px; }

.container { max-width: 1180px; margin: 0 auto; padding: 28px 24px 60px; }

/* 通用卡片 */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(31,58,95,.06);
}
.card h2 { font-size: 18px; color: var(--primary); margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--accent); }
.card h3 { font-size: 15px; color: var(--primary); margin: 12px 0 8px; }
.muted { color: var(--muted); font-size: 13px; }
.small { font-size: 12.5px; }

/* 按钮 */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { opacity: .9; }
.btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn.warn { background: var(--warn); }
.btn.danger { background: var(--danger); }
.btn.sm { padding: 4px 12px; font-size: 12.5px; }

/* 表单 */
input[type=text], input[type=password], input[type=file], select, textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(31,58,95,.25); }
label.f { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* 表格 */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--primary-light); color: var(--primary); font-weight: 600; white-space: nowrap; }
tr:nth-child(even) td { background: #fafbfd; }
.mono { font-family: Consolas, "Courier New", monospace; font-size: 12.5px; word-break: break-all; }

/* 徽章 */
.tag { display: inline-block; border-radius: 20px; padding: 1px 10px; font-size: 12px; white-space: nowrap; }
.tag.ok { background: #e3f3ea; color: var(--ok); }
.tag.doing { background: #fdf0e0; color: var(--warn); }
.tag.todo { background: #eef0f3; color: var(--muted); }
.tag.blue { background: var(--primary-light); color: var(--primary); }
.tag.gold { background: #f7efdd; color: var(--accent); }
.tag.bad { background: #fdeaea; color: #c0392b; }   /* v1.9.0：协议签署异常状态（已拒签/已过期/发起失败） */
/* v1.9.5：印章列表（发起签署板块·辅助配置 serverSealId） */
.seal-row { display:flex; align-items:center; gap:10px; padding:4px 0; border-bottom:1px dashed #eee; }
.seal-row:last-child { border-bottom:0; }
.seal-name { font-weight:600; min-width:120px; }
.seal-type { color:#888; font-size:12px; min-width:90px; }
.seal-id { font-family:Menlo,Consolas,monospace; font-size:12px; background:#f0f0f0; padding:2px 6px; border-radius:3px; cursor:pointer; }
.seal-id:hover { background:#e0e8f0; }

/* 首页（旧版 hero，其他页面可能引用） */
.hero { background: linear-gradient(135deg, #1f3a5f 0%, #2c4f80 100%); color: #fff; padding: 64px 24px 56px; text-align: center; }
.hero h1 { font-size: 30px; margin-bottom: 14px; letter-spacing: 2px; }
.hero p { opacity: .85; max-width: 760px; margin: 0 auto 8px; }
.hero .btns { margin-top: 26px; }
.hero .btn { background: var(--accent); font-size: 15px; padding: 11px 30px; margin: 0 8px; }
.hero .btn.ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.feature .num { color: var(--accent); font-weight: 700; font-size: 20px; }
.notice {
  background: #f7efdd;
  border: 1px solid #e0cfa4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #6b5314;
  margin-top: 14px;
}

/* 流程步骤条（六环节，工作台等页面引用） */
.stepper { display: flex; gap: 0; margin: 18px 0 6px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 128px;
  text-align: center;
  position: relative;
  padding: 10px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  margin: 4px;
  transition: box-shadow .15s;
}
.step:hover { box-shadow: 0 2px 8px rgba(31,58,95,.15); }
.step .snum { font-size: 11px; color: var(--muted); }
.step .sname { font-weight: 700; font-size: 13.5px; margin: 2px 0; color: var(--primary); }
.step .spct { font-size: 12px; color: var(--muted); }
.step.done { border-color: var(--ok); background: #f0f9f4; }
.step.doing { border-color: var(--warn); background: #fdf6ec; }
.step.cur { outline: 2px solid var(--primary); }

/* 进度环 */
.ring { position: relative; width: 130px; height: 130px; margin: 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring .val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring .val b { font-size: 26px; color: var(--primary); }
.ring .val span { font-size: 12px; color: var(--muted); }

/* 时间线 */
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 8px; padding-left: 18px; }
.timeline li { position: relative; padding: 4px 0 12px; }
.timeline li::before {
  content: "";
  position: absolute; left: -24px; top: 10px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}
.timeline .t { font-size: 12px; color: var(--muted); }

/* 结果区 */
.result { border-radius: 8px; padding: 14px 18px; margin-top: 12px; font-size: 14px; }
.result.ok { background: #e3f3ea; border: 1px solid #9fd4b7; color: #14532d; }
.result.bad { background: #fbe7e9; border: 1px solid #e3a3a9; color: #7a1c25; }
.result.info { background: var(--primary-light); border: 1px solid #b9cbe2; color: var(--primary); }

/* 管理员 */
.gate { max-width: 420px; margin: 80px auto; }
.statcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 860px) { .statcards { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-align: center; }
.stat b { display: block; font-size: 28px; color: var(--primary); }
.stat span { font-size: 13px; color: var(--muted); }
.bar-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.bar-row .lbl { width: 110px; font-size: 13px; text-align: right; color: var(--muted); }
.bar-row .bar { flex: 1; height: 18px; background: #eef0f3; border-radius: 9px; overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; background: var(--primary); border-radius: 9px; }
.bar-row .num { width: 46px; font-size: 13px; }

footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 24px 30px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
}
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

/* ===== 全端自适应：电脑 / 平板 / 手机（2026-08-25 增补，零依赖纯 CSS）===== */

/* 平板（≤1024px）：收紧页面留白与导航间距 */
@media (max-width: 1024px) {
  .topbar { padding: 0 18px; }
  .topbar nav a { margin-left: 16px; }
  .container { padding: 24px 16px 52px; }
}

/* 手机 / 窄平板（≤860px）：顶栏两行化、导航横滑、宽表格与流程图卡片内横滚 */
@media (max-width: 860px) {
  body { font-size: 14.5px; }
  .topbar { height: auto; min-height: 52px; flex-wrap: wrap; padding: 8px 14px; row-gap: 2px; }
  .topbar .brand { font-size: 16px; }
  .topbar .brand small { display: none; }
  .topbar nav { order: 2; width: 100%; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: none; }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a { display: inline-block; margin: 0 16px 0 0; padding: 5px 0; flex: 0 0 auto; }
  .container { padding: 16px 12px 44px; }
  .card { padding: 16px 14px; margin-bottom: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .card h2 { font-size: 16.5px; margin-bottom: 10px; }
  table { min-width: 620px; }
  .hero { padding: 38px 14px 34px; }
  .hero h1 { font-size: 22px; letter-spacing: 1px; }
  .hero p { font-size: 13.5px; }
  .hero .btns { margin-top: 20px; }
  .hero .btn { display: block; max-width: 300px; margin: 0 auto 10px; }
  .statcards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat b { font-size: 22px; }
  .step { min-width: 104px; }
  .step .sname { font-size: 12.5px; }
  .step .spct { font-size: 11px; }
  .ring { width: 110px; height: 110px; }
  .ring .val b { font-size: 22px; }
  .bar-row .lbl { width: 84px; font-size: 12px; }
  .btn { padding: 8px 16px; }
  footer { padding: 18px 14px 24px; }
}

/* 小屏手机（≤480px） */
@media (max-width: 480px) {
  body { font-size: 14px; }
  .hero h1 { font-size: 19px; }
  .hero p { font-size: 12.5px; }
  .step { min-width: 92px; }
  /* v1.49.25：原 ≤480 导航换行规则已删（与 860 横滑冲突致错乱），≤640 由文件末尾汉堡抽屉接管 */
  table { min-width: 560px; }
}

/* ================================================================== */
/* ===== 首页增强样式（2026-08-25 国际化设计优化，仅 index.html 引用）===== */
/* ================================================================== */

/* --- 沉浸式首屏 Hero --- */
.hero2 {
  background: linear-gradient(135deg, #152d4a 0%, #1f3a5f 40%, #2c4f80 100%);
  color: #fff;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 24px 0;
  position: relative;
  overflow: hidden;
}
.hero2::before {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(184,134,11,.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero2::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -90px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero2-inner { position: relative; z-index: 1; max-width: 820px; }
.hero2-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  padding: 5px 18px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 22px;
  letter-spacing: 1px;
}
.hero2-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero2-dot { color: var(--accent); margin: 0 6px; }
.hero2-sub {
  font-size: 15px;
  opacity: .82;
  line-height: 2;
  max-width: 700px;
  margin: 0 auto;
}
.hero2-btns { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero2-btn {
  display: inline-block;
  border-radius: 6px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.hero2-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(184,134,11,.3);
}
.hero2-btn.primary:hover { background: #c99615; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(184,134,11,.45); }
.hero2-btn.ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
}
.hero2-btn.ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* 首屏统计栏 */
.hero2-stats {
  display: flex;
  width: 100%;
  max-width: 840px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero2-stat {
  flex: 1;
  text-align: center;
  padding: 24px 8px 30px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero2-stat:last-child { border-right: none; }
.hero2-stat b { display: block; font-size: 34px; color: var(--accent); margin-bottom: 4px; font-weight: 700; }
.hero2-stat span { font-size: 13px; opacity: .72; }

/* --- 区块标题 --- */
.sec-head { text-align: center; margin-bottom: 28px; margin-top: 8px; }
.sec-num {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.sec-head h2 { font-size: 26px; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 14px; }

/* --- 产品形态卡片 --- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.pkg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  transition: all .25s;
}
.pkg-card:hover {
  box-shadow: 0 10px 34px rgba(31,58,95,.12);
  transform: translateY(-5px);
  border-color: var(--accent);
}
.pkg-num { font-size: 30px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.pkg-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }

/* --- 打包定价卡 --- */
.price-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafd 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: 0 2px 14px rgba(31,58,95,.08);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.price-col { text-align: center; }
.price-col.main { border-right: 2px solid var(--line); padding-right: 56px; }
.price-label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.price-val { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-currency { font-size: 20px; color: var(--primary); }
.price-val b { font-size: 38px; color: var(--primary); font-weight: 700; }
.price-col.promo .price-val b { color: var(--accent); }
.price-unit { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.price-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

/* --- 两层存证可视化 --- */
.ev-layers { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.ev-layer { border-radius: 12px; padding: 22px 26px; position: relative; }
.ev-layer.base { background: var(--primary-light); border: 1px solid #b9cbe2; }
.ev-layer.top { background: #f7efdd; border: 1px solid #e0cfa4; margin-left: 48px; }
.ev-layer-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.ev-layer.base .ev-layer-tag { background: var(--primary); color: #fff; }
.ev-layer.top .ev-layer-tag { background: var(--accent); color: #fff; }
.ev-layer h3 { font-size: 16px; margin-bottom: 8px; }
.ev-layer.base h3 { color: var(--primary); }
.ev-layer.top h3 { color: #8a6308; }

/* --- 六环节步骤 --- */
.steps2 { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.step2 {
  flex: 1;
  min-width: 142px;
  max-width: 180px;
  text-align: center;
  padding: 22px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  transition: all .25s;
}
.step2:hover {
  box-shadow: 0 8px 24px rgba(31,58,95,.12);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.step2-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all .25s;
}
.step2:hover .step2-circle { background: var(--accent); }
.step2-name { font-weight: 700; font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.step2-desc { font-size: 12px; color: var(--muted); }

/* --- 安全架构卡片 --- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
  transition: all .25s;
}
.sec-card:hover {
  box-shadow: 0 6px 22px rgba(31,58,95,.10);
  transform: translateY(-3px);
}
.sec-card-num { font-size: 24px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.sec-card h3 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }

/* --- 案例卡片 --- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
  transition: all .25s;
}
.case-card:hover {
  box-shadow: 0 6px 22px rgba(31,58,95,.10);
  transform: translateY(-4px);
}
.case-card .tag { margin-bottom: 10px; }
.case-card h3 { font-size: 15px; color: var(--primary); margin-bottom: 10px; }

/* --- 痛点 / 方案卡片 --- */
.card.pain { border-left: 4px solid var(--danger); }
.card.solution { border-left: 4px solid var(--ok); }
.card.pain h3 { color: var(--danger); }
.card.solution h3 { color: var(--ok); }

/* --- 公共栏目 --- */
.pub-feature { text-align: center; padding: 36px 30px; }
.pub-feature h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }

/* ===== 首页新增元素 · 全端自适应 ===== */
@media (max-width: 1024px) {
  .pkg-grid, .sec-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hero2-title { font-size: 32px; }
}
@media (max-width: 860px) {
  .hero2 { padding: 50px 14px 0; min-height: 440px; }
  .hero2-title { font-size: 24px; letter-spacing: 1px; }
  .hero2-sub { font-size: 13.5px; line-height: 1.8; }
  .hero2-btns { flex-direction: column; align-items: center; }
  .hero2-btn { display: block; max-width: 300px; text-align: center; }
  .hero2-stats { flex-wrap: wrap; }
  .hero2-stat { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero2-stat b { font-size: 26px; }
  .pkg-grid, .sec-grid, .case-grid { grid-template-columns: 1fr; }
  .price-row { gap: 24px; }
  .price-col.main { border-right: none; border-bottom: 2px solid var(--line); padding-right: 0; padding-bottom: 24px; }
  .price-val b { font-size: 30px; }
  .ev-layer.top { margin-left: 0; }
  .steps2 { gap: 10px; }
  .step2 { min-width: 100px; padding: 16px 8px; }
  .step2-circle { width: 38px; height: 38px; font-size: 16px; }
  .sec-head h2 { font-size: 20px; }
  .pkg-card, .sec-card, .case-card { padding: 18px 16px; }
}
@media (max-width: 480px) {
  .hero2-title { font-size: 20px; }
  .hero2-stat { flex: 1 1 50%; }
  .hero2-stat b { font-size: 22px; }
  .step2 { min-width: 90px; }
  .hero2-badge { font-size: 12px; }
  .sec-head h2 { font-size: 18px; }
}

/* ================================================================== */
/* ===== 可信性升级（2026-08-25：品牌链接 / 卡片渐入 / 数字动画）===== */
/* ================================================================== */

/* 品牌名：点击新窗口回首页 */
.topbar .brand { cursor: pointer; }
.topbar .brand a { color: inherit; text-decoration: none; }

/* 卡片滚动渐入（JS 渐进增强添加 fade-in 类，无 JS 时正常显示） */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== 案例与法律库：Tab 切换 ===== */
.lib-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.lib-tab {
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  transition: color .2s, border-color .2s;
}
.lib-tab:hover { color: var(--primary); }
.lib-tab.cur { color: var(--primary); border-bottom-color: var(--accent); }

/* 法律库表格行 hover */
.law-row:hover td { background: var(--primary-light); }
.law-level-tag { white-space: nowrap; }

/* ===== 报告下载卡 ===== */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dl-card {
  background: linear-gradient(135deg, #fff 0%, #f8fafd 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  transition: all .25s;
}
.dl-card:hover { box-shadow: 0 10px 30px rgba(31,58,95,.12); transform: translateY(-4px); border-color: var(--accent); }
.dl-card .tag { margin-bottom: 10px; }
.dl-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 10px; line-height: 1.5; }
.dl-card .btn { margin-top: 14px; }
.dl-meta { margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; }
  .lib-tab { padding: 10px 16px; font-size: 14px; }
}

/* ================================================================== */
/* ===== 全端丝滑浏览增强（2026-08-26：手机/平板/电脑自适应优化）===== */
/* ================================================================== */

/* 触摸设备基础体验 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
a, .btn, .lib-tab, .flow-step, .step, .step2, .prov { touch-action: manipulation; }
img, svg, video { max-width: 100%; height: auto; }
.mono, td, th, p, li { overflow-wrap: break-word; }

/* 手机：按钮与交互元素触摸目标加大（≥44px） */
@media (max-width: 860px) {
  .btn { min-height: 42px; }
  .btn.sm { min-height: 36px; }
  .lib-tab { min-height: 44px; }
  .topbar nav a { padding: 8px 2px; margin-right: 18px; font-size: 14px; }
  .topbar { position: sticky; top: 0; }
  .topbar nav { padding-bottom: 4px; }
  /* 六环节步骤：手机2列网格 */
  .steps2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .step2 { min-width: 0; max-width: none; }
  /* 案例与法律库 Tab：整行横滑 */
  .lib-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lib-tabs::-webkit-scrollbar { display: none; }
  .lib-tab { flex: 0 0 auto; white-space: nowrap; }
  /* 档案/订单等宽表：压缩单元格 */
  table { font-size: 12.5px; }
  th, td { padding: 7px 8px; }
  /* 输入框：16px 防 iOS 聚焦自动放大 */
  input[type=text], input[type=password], input[type=email], input[type=tel], input[type=file], select, textarea { font-size: 16px; }
  .form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row textarea { font-size: 16px; }
  /* 管理后台统计卡 */
  .statcards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 12px 10px; }
  .stat b { font-size: 22px; }
  /* 流程步骤条（工作台六环节横条） */
  .stepper { gap: 6px; }
  .step { min-width: 96px; }
  /* 页脚 */
  footer { font-size: 12px; line-height: 1.8; padding: 16px 12px 22px; }
  /* 悬停效果在触屏设备关闭（避免"粘滞高亮"） */
  @media (hover: none) {
    .case-card:hover, .sec-card:hover, .pkg-card:hover, .dl-card:hover, .step2:hover {
      box-shadow: none; transform: none; border-color: var(--line);
    }
  }
}

/* 小屏手机（≤480px）：进一步紧凑 */
@media (max-width: 480px) {
  .container { padding: 14px 10px 40px; }
  .card { padding: 14px 12px; border-radius: 8px; }
  .hero2 { padding: 38px 12px 0; min-height: 380px; }
  .hero2-btns { gap: 10px; }
  .hero2-btn { padding: 12px 22px; font-size: 14px; max-width: 100%; }
  .hero2-stat { padding: 16px 4px 20px; }
  .steps2 { gap: 8px; }
  .step2 { padding: 12px 6px; }
  .step2-desc { font-size: 11px; }
  .case-card h3, .pkg-card h3, .sec-card h3 { font-size: 14.5px; }
  .sec-head { margin-bottom: 18px; }
  .sec-head p { font-size: 12.5px; }
  .price-card { padding: 20px 16px; }
  .ev-layer { padding: 16px 14px; }
  .notice { padding: 10px 12px; font-size: 12px; }
  .tag { font-size: 11px; padding: 1px 8px; }
}

/* 平板横竖屏之间（481-860px）：两列保留空间利用 */
@media (min-width: 481px) and (max-width: 860px) {
  .steps2 { grid-template-columns: repeat(3, 1fr); }
  .statcards { grid-template-columns: repeat(2, 1fr); }
}

/* 大屏（>1400px）：内容区上限微扩 */
@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}

/* 打印样式：隐藏导航与页脚装饰 */
@media print {
  .topbar, footer, .hero2-btns, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}

/* 动效偏好：系统减少动画时全局降级 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ================================================================== */
/* ===== 首页视觉升级 P0（2026-08-29 本地预览 · 零图片零依赖）===== */
/* ================================================================== */

/* --- A. Hero：网格纹理 + 漂浮护盾徽标 --- */
.hero2 {
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(135deg, #152d4a 0%, #1f3a5f 40%, #2c4f80 100%);
}
.hero2-float { position: absolute; z-index: 0; opacity: .92; pointer-events: none; }
.hero2-float svg { display: block; }
.hero2-float.f1 { top: 96px; left: 6%; width: 78px; height: 78px; animation: floatY 4.6s ease-in-out infinite; }
.hero2-float.f2 { bottom: 128px; right: 6%; width: 60px; height: 60px; animation: floatY 5.8s ease-in-out infinite .9s; }
.hero2-float.f3 { top: 210px; right: 16%; width: 40px; height: 40px; animation: floatY 5s ease-in-out infinite 1.6s; opacity:.6; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 1024px) { .hero2-float.f3 { display: none; } }
@media (max-width: 860px) { .hero2-float { display: none; } }

/* --- A2. 标题逐词浮现 --- */
.hero2-title .w { display: inline-block; opacity: 0; transform: translateY(14px); animation: wordUp .65s cubic-bezier(.22,.61,.36,1) forwards; }
.hero2-title .w-dot { color: var(--accent); margin: 0 5px; }
@keyframes wordUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero2-title .w { opacity: 1; transform: none; animation: none; }
  .hero2-float { animation: none; }
}

/* --- B. 通用图标块 --- */
.ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  transition: transform .25s;
}
.ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.blue { background: var(--primary-light); border: 1px solid rgba(31,58,95,.14); color: var(--primary); }
.ic.gold { background: #f7efdd; border: 1px solid rgba(184,134,11,.2); color: var(--accent); }
.ic.green { background: #e3f3ea; border: 1px solid rgba(26,127,75,.18); color: var(--ok); }
.pkg-card:hover .ic, .sec-card:hover .ic, .case-card:hover .ic { transform: scale(1.1); }

/* --- B1. 产品形态卡：图标 + 序号角标 --- */
.pkg-icon-wrap { position: relative; display: inline-block; margin: 0 auto 16px; }
.pkg-icon-wrap .ic { margin: 0; }
.pkg-badge {
  position: absolute; top: -7px; right: -11px;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.pkg-num { display: none; }

/* --- B2. 安全架构卡：图标左置水平布局 --- */
.sec-card { display: flex; gap: 15px; align-items: flex-start; text-align: left; }
.sec-card .ic { margin: 2px 0 0; flex: 0 0 auto; }
.sec-card-num { display: none; }
.sec-card h3 { margin-bottom: 6px; }

/* --- B3. 案例卡：行业图标 --- */
.case-card .ic { margin: 0 0 12px; }

/* --- C. 板块节奏：金色短线 + 序号徽章化 --- */
.sec-head { position: relative; }
.sec-head::before { content: ''; display: block; width: 64px; height: 3px; background: var(--accent); border-radius: 2px; margin: 0 auto 16px; }
.sec-num {
  background: var(--primary); color: #fff;
  border-radius: 20px; padding: 3px 14px;
  letter-spacing: 2px; font-size: 12px;
}

/* --- D. 两层存证层级图 --- */
.ev-layer.base { border-bottom: 6px solid var(--primary); }
.ev-layer.top { position: relative; }
.ev-layer.top::before {
  content: ''; position: absolute; top: -28px; right: 56px;
  width: 0; height: 22px; border-left: 2px dashed var(--accent);
}
.ev-layer.top::after {
  content: ''; position: absolute; top: -10px; right: 48px;
  border: 6px solid transparent; border-bottom-color: var(--accent);
}

/* --- E. 步骤条依次点亮（配合 JS stagger） --- */
.fade-in.step2 { transition-delay: var(--d, 0s); }

/* --- F. 密度治理 --- */
.pkg-card, .sec-card, .case-card, .card { line-height: 1.75; }
.small { font-size: 13px; line-height: 1.8; }
.sec-card .small, .case-card .small, .pkg-card .small { color: #45505e; }
.sec-head h2 { letter-spacing: 1px; }

/* ================================================================== */
/* ===== v1.10.3 全端响应式增强（2026-08-29 移动/平板/电脑三端同步）===== */
/* ================================================================== */

/* 全局兜底：防横向滚动（最外层）。
   v1.49.26：html/body 的 overflow-x:hidden 会使 html 成为滚动容器，
   打断 .topbar 的 sticky 吸顶（实测滚动后顶栏跟随内容滚出视口）。
   支持 overflow:clip 的浏览器改用 clip——只裁剪不创建滚动容器，sticky 恢复；
   不支持的浏览器保持 hidden 原行为（渐进增强）。 */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.hero2, .container, .card, .pkg-card, .sec-card, .case-card, .price-card, .ev-layer, .steps2, .pkg-grid, .sec-grid, .case-grid, .grid2, .grid3 { min-width: 0; }
img, svg, video { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* --- 1. 平板（≤1100px）：Hero 文字居中、插画隐藏、stats 限宽 --- */
@media (max-width: 1100px) {
  .hero2 { max-width: 100%; }
  .hero2-inner { max-width: 100%; }
  .hero2-stats { max-width: 100%; }
  .hero2-title { font-size: 32px; }
}

/* --- 2. 窄屏（≤860px）：Hero 重新布局、文字可换行、stats 2x2 --- */
@media (max-width: 860px) {
  /* Hero */
  .hero2 { padding: 50px 16px 0; }
  .hero2-inner { padding: 0; }
  .hero2-title { font-size: 22px; letter-spacing: 0; line-height: 1.45; overflow-wrap: break-word; word-break: break-word; }
  /* 关键修复：inline-block .w 之间无空格不换行，注入零宽空格制造换行点 */
  .hero2-title .w::after { content: '\200B'; display: inline; }
  .hero2-title .w-dot { display: inline-block; }
  .hero2-sub { font-size: 13.5px; line-height: 1.85; overflow-wrap: break-word; word-break: break-word; }
  .hero2-sub br { display: inline; } /* 保留 6环节 br 但允许长句换行 */
  .hero2-btns { gap: 10px; margin-top: 26px; }
  .hero2-btn { padding: 11px 24px; font-size: 14px; max-width: 320px; }
  /* Stats 2x2：右无边框 + 顶 2 底有边 */
  .hero2-stats { margin-top: 36px; flex-wrap: wrap; }
  .hero2-stat { flex: 1 1 50%; min-width: 0; padding: 18px 6px 22px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero2-stat:nth-child(2n) { border-right: none; }
  .hero2-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero2-stat b { font-size: 24px; }
  .hero2-stat span { font-size: 12px; }
  /* 痛点 / 方案卡：取消 float，改为 inline-flex 居顶 */
  .card.pain .side-ic, .card.solution .side-ic { float: none; display: inline-flex; margin: 0 10px 8px 0; vertical-align: top; }
  /* 案例卡：徽章缩小 */
  .case-badge { width: 52px; height: 52px; top: 14px; right: 14px; }
  .case-badge b { font-size: 12px; }
  .case-badge span { font-size: 9px; }
  .case-card .tag { margin-right: 62px; }
  .case-card { padding: 22px 18px 18px; }
  .case-card h3 { font-size: 14.5px; }
  /* 板块标题 */
  .sec-head h2 { font-size: 21px; letter-spacing: .5px; }
  .sec-head p { font-size: 13px; line-height: 1.7; }
  .sec-num { font-size: 11px; padding: 2px 12px; }
  /* 卡片通用 */
  .pkg-card, .sec-card { text-align: center; }
  .sec-card { flex-direction: column; align-items: center; gap: 10px; }
  .sec-card .ic { margin: 0; }
  .pkg-card h3, .sec-card h3, .case-card h3 { overflow-wrap: break-word; }
  .sec-card .ic { width: 44px; height: 44px; }
  .sec-card .ic svg { width: 22px; height: 22px; }
  .pkg-card h3 { font-size: 16px; }
  .sec-card h3 { font-size: 14.5px; }
  .pkg-card .small, .sec-card .small, .case-card .small { font-size: 12.5px; }
  /* 定价 */
  .price-card { padding: 22px 18px; }
  .price-val b { font-size: 28px; }
  .price-val .price-currency { font-size: 18px; }
  .price-note { font-size: 12px; }
  /* 存证层 */
  .ev-layer { padding: 18px 16px; }
  .ev-layer.top { margin-left: 0 !important; }
  .ev-layer.top::before, .ev-layer.top::after { display: none; }
}

/* --- 3. 小屏手机（≤480px）：进一步紧凑 --- */
@media (max-width: 480px) {
  .hero2 { padding: 36px 12px 0; min-height: 380px; }
  .hero2-badge { font-size: 11px; padding: 4px 12px; letter-spacing: .5px; }
  .hero2-title { font-size: 19px; }
  .hero2-title .w-dot { margin: 0 3px; }
  .hero2-sub { font-size: 12.5px; line-height: 1.8; }
  .hero2-btns { gap: 8px; }
  .hero2-btn { padding: 10px 18px; font-size: 13.5px; max-width: 280px; }
  .hero2-stats { margin-top: 28px; }
  .hero2-stat { padding: 14px 4px 18px; }
  .hero2-stat b { font-size: 20px; }
  .hero2-stat span { font-size: 11px; line-height: 1.4; }
  /* 案例徽章更小 */
  .case-badge { width: 44px; height: 44px; top: 12px; right: 12px; }
  .case-badge b { font-size: 11px; }
  .case-badge span { font-size: 8.5px; }
  .case-card .tag { margin-right: 52px; font-size: 10.5px; padding: 1px 7px; }
  .case-card { padding: 18px 14px 16px; }
  .case-card h3 { font-size: 14px; }
  /* 痛点/方案 */
  .card.pain, .card.solution { padding: 16px 14px; }
  .card.pain h3, .card.solution h3 { font-size: 15px; }
  .card.pain .small, .card.solution .small { font-size: 12.5px; }
  .card.pain .side-ic, .card.solution .side-ic { width: 44px; height: 44px; margin-bottom: 6px; }
  .card.pain .side-ic svg, .card.solution .side-ic svg { width: 22px; height: 22px; }
  /* 产品形态 */
  .pkg-card { padding: 22px 18px; }
  .pkg-card h3 { font-size: 15px; }
  /* 安全架构 */
  .sec-card { padding: 18px 16px; }
  .sec-card h3 { font-size: 14px; }
  /* 步骤 */
  .step2 { padding: 14px 8px; }
  .step2-name { font-size: 14px; }
  .step2-desc { font-size: 11px; line-height: 1.5; }
  .step2-circle { width: 36px; height: 36px; }
  .step2-circle svg { width: 20px; height: 20px; }
  /* 板块标题 */
  .sec-head h2 { font-size: 18px; }
  .sec-head p { font-size: 12.5px; }
  .sec-num { font-size: 10.5px; }
  /* 定价 */
  .price-card { padding: 20px 14px; }
  .price-val b { font-size: 24px; }
  .price-unit { font-size: 12px; }
  .price-note { font-size: 11.5px; line-height: 1.7; }
  /* 存证层 */
  .ev-layer { padding: 16px 14px; }
  .ev-layer h3 { font-size: 15px; }
  .ev-layer .small { font-size: 12px; }
  /* 通用图标缩小 */
  .ic { width: 44px; height: 44px; border-radius: 12px; }
  .ic svg { width: 22px; height: 22px; }
  .pkg-icon-wrap .ic { margin-bottom: 0; }
}

/* --- 4. 触屏设备：关闭 hover 态避免粘滞高亮 --- */
@media (hover: none) {
  .case-card:hover, .sec-card:hover, .pkg-card:hover, .dl-card:hover, .step2:hover, .case-card:hover .ic, .sec-card:hover .ic, .pkg-card:hover .ic { box-shadow: none; transform: none; border-color: var(--line); }
  .hero2-btn:hover { transform: none; }
}

/* --- 5. 中屏平板（768-1023）：Hero 字号过渡、卡片 2 列 --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero2-title { font-size: 30px; }
  .hero2-sub { font-size: 14.5px; }
  .pkg-grid, .sec-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .steps2 { grid-template-columns: repeat(3, 1fr); }
  .hero2-stats { max-width: 720px; margin: 42px auto 0; }
  .hero2-inner { max-width: 720px; margin: 0 auto; }
}

/* v1.43.7 免费体验版导航胶囊 */
.topbar nav a.nav-trial { padding: 4px 12px; border-radius: 999px; background: #1e9e6a; color: #fff; font-weight: 600; }
.topbar nav a.nav-trial:hover { background: #17845c; color: #fff; border-bottom: none; padding-bottom: 4px; }

/* ===== v1.49.25 移动端导航汉堡抽屉（≤640px；零 JS，checkbox 开关）=====
   641~860 保留单行横滑；≤640 收起为汉堡按钮，点击展开竖排抽屉。
   本块置于文件末尾，确保覆盖前文 860 断言的同特异性规则。 */
.nav-toggle { display: none; }
@media (max-width: 640px) {
  .nav-toggle { display: block; width: 38px; height: 32px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; cursor: pointer; position: relative; flex: 0 0 auto; margin-left: auto; background: linear-gradient(transparent 14px, #fff 14px, #fff 16px, transparent 16px); }
  .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 1px; transition: transform .18s ease, top .18s ease; }
  .nav-toggle::before { top: 8px; }
  .nav-toggle::after { top: 20px; }
  #nvbtn:checked + .nav-toggle { background: linear-gradient(transparent 14px, transparent 16px); }
  #nvbtn:checked + .nav-toggle::before { top: 14px; transform: rotate(45deg); }
  #nvbtn:checked + .nav-toggle::after { top: 14px; transform: rotate(-45deg); }
  .topbar nav { display: none; }
  #nvbtn:checked ~ nav { display: flex; flex-direction: column; overflow: visible; white-space: normal; padding: 0 4px 6px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 8px; }
  .topbar nav a { display: block; margin: 0; padding: 12px 6px; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,.10); }
  .topbar nav a:last-child { border-bottom: none; }
  .topbar nav a.cur { color: #ffd97a; border-bottom: 2px solid #ffd97a; padding-bottom: 10px; }
}

/* 【2026-09-29】页脚微信二维码小卡 */
.wxq-mini{display:inline-flex;align-items:center;gap:10px;margin:8px 0 2px;padding:8px 12px;background:#fff;border:1px solid #e8ecf4;border-radius:9px;vertical-align:middle}
.wxq-mini img{width:78px;height:78px;border-radius:6px;display:block;flex-shrink:0}
.wxq-mini .t{font-size:12.5px;line-height:1.65;color:#5A6B84;text-align:left}
.wxq-mini .t b{color:#1F2A3C}
@media(max-width:520px){.wxq-mini img{width:92px;height:92px}}
