/* ==========================================================================
   米粒互联网 · 企业官网 全局样式
   风格：简约大气 —— 深蓝主色 + 米金点缀 + 大量留白
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #1152d4;
  --brand-rgb: 17, 82, 212;      /* 供 rgba(var(--brand-rgb), .2) 使用 */
  --brand-2: #3f8bff;            /* 渐变亮端 */
  --brand-hover: #0d46b8;        /* 按钮悬停 */
  --brand-mid: #123f8f;          /* 多段渐变中间色 */
  --brand-deep: #0a2f7a;
  --brand-dark: #08224f;
  --brand-light: #eaf1ff;
  --gold: #f0a020;
  --gold-light: #fff6e6;
  --gold-deep: #b9740b;

  /* 辅助色（产品示意/装饰，主题可整体覆盖为灰度） */
  --accent-a: #2b8aef;
  --accent-a-deep: #12406e;
  --accent-b: #18a888;
  --accent-b-deep: #0d5f56;
  --accent-c: #c96a12;

  /* 中性色 */
  --ink: #0f1c2e;
  --ink-2: #33445c;
  --muted: #6b7c93;
  --muted-2: #97a5b8;
  --line: #e7ecf3;
  --line-2: #f0f3f8;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-deep: #0a1c33;

  /* 状态色 */
  --danger: #e0463c;
  --danger-bg: #fdeceb;
  --success: #12a673;
  --success-text: #12805a;
  --success-sub: #2f7f66;
  --danger-text: #b8322a;
  --danger-sub: #a4453d;

  /* 阴影基色（灰度主题会自动去彩） */
  --shadow-rgb: 15, 28, 46;

  /* 尺寸 */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 76px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(15, 28, 46, .05);
  --shadow-sm: 0 4px 16px rgba(15, 28, 46, .06);
  --shadow-md: 0 12px 32px rgba(15, 28, 46, .08);
  --shadow-lg: 0 24px 60px rgba(10, 34, 79, .12);
  --shadow-brand: 0 12px 28px rgba(var(--brand-rgb), .22);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

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

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

::selection { background: rgba(var(--brand-rgb), .14); color: var(--ink); }

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
}

.text-brand { color: var(--brand); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s var(--ease);
}
.btn-sm { height: 42px; padding: 0 22px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 38px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--brand-rgb), .3); }

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

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-outline-light:hover { background: #fff; color: var(--brand-dark); }

.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .18); }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(var(--shadow-rgb), .05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), .28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 19px; color: var(--ink); letter-spacing: .02em; }
.logo-text small { font-size: 10px; color: var(--muted-2); letter-spacing: .18em; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover { color: var(--brand); background: var(--brand-light); }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 18px; height: 3px;
  border-radius: 2px;
  background: var(--brand);
  transform: translateX(-50%);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(var(--brand-rgb), .10), transparent 62%),
    radial-gradient(700px 420px at 6% 92%, rgba(240, 160, 32, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(var(--shadow-rgb), .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 8px 0 16px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  font-size: 14px;
  color: var(--ink-2);
}
.hero-badge i {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.22;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 560px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hero-tags li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.hero-tags svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual > svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(var(--shadow-rgb), .16)); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  animation: floaty 6s ease-in-out infinite;
}
.float-card--1 { top: 6%; left: -4%; }
.float-card--2 { bottom: 12%; right: -2%; animation-delay: -3s; }
.float-card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-card b { display: block; font-size: 14px; color: var(--ink); line-height: 1.4; }
.float-card span { font-size: 12px; color: var(--muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 7. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat {
  padding: 34px 28px;
  background: #fff;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.stat b i { font-style: normal; font-size: 22px; margin-left: 3px; color: var(--brand); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- 8. 业务卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative;
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-md); }
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-light));
  color: var(--brand);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.card-list { margin-top: 18px; }
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 2.1;
}
.card-list li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.card-more:hover .arrow { transform: translateX(4px); }
.card-more .arrow { transition: transform .25s var(--ease); }

/* ---------- 9. 解决方案 ---------- */
.solution {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--brand-dark);
}
.solution::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 34, 79, .1) 0%, rgba(8, 34, 79, .88) 100%);
  z-index: 1;
}
.solution-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
}
.solution:hover .solution-bg { transform: scale(1.07); }
.solution-content { position: relative; z-index: 2; }
.solution h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.solution p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.8; }
.solution .tag {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  backdrop-filter: blur(4px);
}

/* 用渐变替代图片背景 */
.bg-1 { background: linear-gradient(135deg, var(--brand-2), var(--brand-deep)); }
.bg-2 { background: linear-gradient(135deg, var(--accent-a), var(--accent-a-deep)); }
.bg-3 { background: linear-gradient(135deg, var(--accent-b), var(--accent-b-deep)); }
.bg-4 { background: linear-gradient(135deg, var(--gold), var(--accent-c)); }

/* ---------- 10. 优势 / 特色区 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-light) 0%, var(--bg-soft) 60%, #fff 100%);
  border: 1px solid var(--line);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.split-media > svg { width: 100%; height: auto; }

.feature-list { margin-top: 32px; display: grid; gap: 22px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}
.feature-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

.check-list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 15px; color: var(--ink-2);
}
.check-list svg { flex-shrink: 0; margin-top: 6px; }

/* ---------- 11. 客户评价 ---------- */
.quote {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.quote:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.quote p { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); margin-bottom: 24px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.quote-author b { display: block; font-size: 15px; color: var(--ink); }
.quote-author span { font-size: 13px; color: var(--muted); }

/* ---------- 12. 客户 Logo 墙 ---------- */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.logo-wall li {
  padding: 14px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .25s var(--ease);
}
.logo-wall li:hover { color: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------- 13. CTA 区 ---------- */
.cta-band {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand-mid) 55%, var(--brand-2) 100%);
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .5;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 620px; margin: 0 auto 34px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 14. 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 76px 0 72px;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(var(--brand-rgb), .12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted-2);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--muted); }

/* ---------- 15. 产品详情块 ---------- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.product-block + .product-block { border-top: 1px solid var(--line-2); }
.product-block--reverse .product-visual { order: -1; }

.product-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--brand-light) 0%, var(--brand-light) 55%, #fff 100%);
  overflow: hidden;
}
.product-visual::before {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  right: -70px; bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .12), transparent 70%);
}
.product-visual > svg { position: relative; width: 100%; height: auto; max-height: 300px; }

.product-no {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand);
}
.product-no::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brand);
}
.product-info h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.product-info > p { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 26px; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 26px; }
.spec-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; color: var(--ink-2); }
.spec-list svg { flex-shrink: 0; margin-top: 6px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag-row span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- 16. 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step::after {
  content: "";
  position: absolute;
  top: 26px; left: calc(50% + 30px);
  width: calc(100% - 60px);
  border-top: 1px dashed var(--line);
}
.step:last-child::after { display: none; }
.step-no {
  position: relative;
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  z-index: 1;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 17. 时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), rgba(var(--brand-rgb), .12));
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}
.tl-year {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .04em;
}
.tl-item h4 { font-size: 18px; margin-bottom: 6px; }
.tl-item p { font-size: 15px; color: var(--muted); line-height: 1.85; }

/* ---------- 18. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.contact-card .ci {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-light);
  color: var(--brand);
}
.contact-card span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-card b { display: block; font-size: 17px; color: var(--ink); font-weight: 700; line-height: 1.6; }
.contact-card p { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

.form-wrap {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-wrap h3 { font-size: 22px; margin-bottom: 8px; }
.form-wrap > p { font-size: 15px; color: var(--muted); margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field label i { color: var(--danger); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 15px;
  transition: all .2s var(--ease);
  outline: none;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .1);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err { display: none; margin-top: 6px; font-size: 13px; color: var(--danger); }
.field.has-error .err { display: block; }

.form-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); line-height: 1.7; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  background: #eafaf1;
  border: 1px solid #bfe9d2;
}
.form-success.is-show { display: flex; }
.form-success b { display: block; color: var(--success-text); font-size: 16px; margin-bottom: 4px; }
.form-success p { font-size: 14px; color: var(--success-sub); }

.form-error {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  border: 1px solid #f5c2bd;
}
.form-error.is-show { display: flex; }
.form-error b { display: block; color: var(--danger-text); font-size: 16px; margin-bottom: 4px; }
.form-error p { font-size: 14px; color: var(--danger-sub); }

.office-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.office {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.office:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.office b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.office p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-q i {
  flex-shrink: 0;
  position: relative;
  width: 22px; height: 22px;
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-q i::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-q i::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}
.faq-item.is-open .faq-a { display: block; }

/* ---------- 19. 页脚 ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, .62);
  padding: 76px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text small { color: rgba(255, 255, 255, .4); }
.footer-brand p { margin: 20px 0 24px; line-height: 1.9; max-width: 330px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.footer-col h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--brand);
}
.footer-col li { margin-bottom: 12px; }
.footer-col li a { color: rgba(255, 255, 255, .62); }
.footer-col li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.8; }
.footer-contact svg { flex-shrink: 0; margin-top: 5px; color: rgba(255, 255, 255, .45); }
.footer-contact b { color: #fff; font-weight: 600; }

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; }

/* ---------- 20. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .office-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { padding: 60px 0 76px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-desc { font-size: 16.5px; }
  .split, .product-block, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-media { order: 0; }
  .product-block--reverse .product-visual { order: 0; }
  .split-media { min-height: 320px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { align-items: stretch; }
  .form-wrap { padding: 32px 26px; }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--brand-light); }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }

  .float-card { display: none; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .spec-list, .check-list, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .office-list { grid-template-columns: 1fr; }
  .product-block { padding: 40px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 20px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ============ 下载中心 ============ */
.dl-group { margin-bottom: 46px; }
.dl-group:last-child { margin-bottom: 0; }
.dl-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dl-group-head h2 { font-size: 20px; margin: 0; color: var(--ink); }
.dl-group-head .count { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.dl-group-head .line { flex: 1; height: 1px; background: var(--line-2); }
.dl-list { display: grid; gap: 12px; }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.dl-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(var(--shadow-rgb), .08); border-color: var(--line); }
.dl-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.dl-ico svg { width: 22px; height: 22px; }
.dl-main { flex: 1; min-width: 0; }
.dl-main b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; line-height: 1.5; }
.dl-main p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.dl-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); margin-top: 7px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.dl-btn { flex-shrink: 0; }
.dl-btn-off { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--bg-soft); color: #a8b4c6; font-size: 14px; font-weight: 600; }
.dl-empty { padding: 44px 20px; text-align: center; color: var(--muted-2); background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 14px; font-size: 14px; }
.dl-note { margin-top: 34px; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.dl-note b { color: var(--ink); }
@media (max-width: 640px) {
  .dl-item { flex-wrap: wrap; }
  .dl-ico { width: 40px; height: 40px; }
  .dl-btn, .dl-btn-off { width: 100%; justify-content: center; margin-top: 4px; }
}

/* ============ 客户案例页 ============ */
.case-stats { display:flex; gap:46px; flex-wrap:wrap; margin-top:30px; }
.case-stat { display:flex; flex-direction:column; }
.case-stat b { font-size:32px; color:var(--brand); font-weight:700; line-height:1.2; }
.case-stat span { font-size:13.5px; color:var(--muted); margin-top:4px; }

.logo-wall { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:14px; }
.logo-tile { padding:26px 12px; border-radius:12px; text-align:center; font-weight:600; font-size:15.5px; letter-spacing:.5px; transition:transform .25s; }
.logo-tile:hover { transform:translateY(-3px); }

.case-empty { padding:50px 24px; text-align:center; background:var(--bg-soft); border:1px dashed var(--line); border-radius:14px; color:var(--muted); }
.case-list { display:flex; flex-direction:column; gap:36px; }
.case-card { background:#fff; border:1px solid var(--line-2); border-radius:18px; overflow:hidden; display:grid; grid-template-columns:280px 1fr; transition:box-shadow .3s, transform .3s; }
.case-card:hover { box-shadow:0 16px 40px rgba(var(--shadow-rgb),.10); transform:translateY(-2px); }
.case-cover { position:relative; min-height:240px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.case-cover img { width:100%; height:100%; object-fit:cover; }
.case-cover-text { text-align:center; padding:20px; }
.case-cover-company { font-size:22px; font-weight:700; margin-bottom:8px; line-height:1.3; }
.case-cover-scale { font-size:13.5px; opacity:.85; }
.case-body { padding:32px 36px; }
.case-meta { display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
.case-meta .tag { padding:3px 10px; border-radius:20px; font-size:12.5px; font-weight:600; }
.case-scale { font-size:13px; color:var(--muted); }
.case-title { font-size:24px; font-weight:700; color:var(--ink); margin:0 0 8px; line-height:1.3; }
.case-summary { font-size:15px; color:var(--ink-2); line-height:1.75; margin:0 0 22px; padding-bottom:18px; border-bottom:1px dashed var(--line-2); }
.case-block { margin-bottom:18px; }
.case-block h4 { font-size:13px; font-weight:600; color:var(--muted-2); text-transform:uppercase; letter-spacing:1px; margin:0 0 8px; }
.case-text { font-size:14.5px; color:var(--ink-2); line-height:1.85; white-space:pre-line; }
.case-list-bullet { margin:0; padding:0 0 0 0; list-style:none; }
.case-list-bullet li { position:relative; padding:5px 0 5px 22px; font-size:14.5px; color:var(--ink-2); line-height:1.8; }
.case-list-bullet li::before { content:''; position:absolute; left:0; top:13px; width:8px; height:8px; border-radius:50%; background:var(--brand); }
.case-results { display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none; }
.case-results li { padding:8px 16px; border:1.5px solid var(--brand); border-radius:30px; font-size:14px; font-weight:600; background:rgba(var(--brand-rgb),.05); }
.case-quote { margin:20px 0 0; padding:20px 22px; background:var(--bg-soft); border-left:3px solid var(--brand); border-radius:0 10px 10px 0; }
.case-quote p { font-size:15px; color:var(--ink-2); line-height:1.85; margin:0 0 10px; font-style:italic; }
.case-quote footer { font-size:13px; color:var(--muted); }
.case-quote b { color:var(--ink); }
.case-quote cite { font-style:normal; color:var(--brand); }

.quote-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.quote-card { padding:24px 22px; border-radius:14px; box-shadow:0 4px 14px rgba(var(--shadow-rgb),.05); transition:transform .25s; }
.quote-card:hover { transform:translateY(-3px); }
.quote-card p { font-size:14.5px; color:var(--ink-2); line-height:1.85; margin:0 0 18px; }
.quote-foot { display:flex; align-items:center; gap:12px; }
.quote-avatar { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; font-size:16px; font-weight:600; flex-shrink:0; }
.quote-foot b { display:block; font-size:14px; color:var(--ink); }
.quote-foot .mut { font-size:12.5px; color:var(--muted-2); margin-top:2px; }

.ind-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.ind-tile { padding:24px 22px; background:#fff; border:1px solid var(--line-2); border-radius:14px; transition:all .25s; }
.ind-tile:hover { border-color:var(--brand); transform:translateY(-3px); box-shadow:0 10px 24px rgba(var(--shadow-rgb),.07); }
.ind-name { font-size:18px; font-weight:700; color:var(--ink); margin-bottom:6px; }
.ind-desc { font-size:13px; color:var(--muted); line-height:1.6; margin-bottom:12px; min-height:36px; }
.ind-cnt { font-size:12.5px; color:var(--muted-2); padding-top:10px; border-top:1px solid var(--bg-soft); }
.ind-cnt b { color:var(--brand); font-size:15px; }

@media (max-width:760px) {
  .case-stats { gap:24px; }
  .case-stat b { font-size:26px; }
  .case-card { grid-template-columns:1fr; }
  .case-cover { min-height:160px; }
  .case-body { padding:24px 22px; }
  .case-title { font-size:20px; }
  .logo-wall { grid-template-columns:repeat(2,1fr); }
  .ind-grid { grid-template-columns:1fr 1fr; }
}

/* ==========================================================================
   11. 政策 / 条款类长文正文（隐私政策、服务条款、网站地图共用）
   ========================================================================== */
.policy-wrap { max-width:860px; margin:0 auto; }
.policy { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
          padding:clamp(28px, 5vw, 56px); box-shadow:var(--shadow-xs); }

.policy-meta { display:flex; gap:10px; flex-wrap:wrap; align-items:center;
               padding-bottom:20px; margin-bottom:32px; border-bottom:1px dashed var(--line); }
.policy-meta .pm-item { display:inline-flex; align-items:center; gap:6px;
                        font-size:13px; color:var(--muted); background:var(--bg-soft);
                        border:1px solid var(--line); border-radius:20px; padding:5px 14px; }
.policy-meta .pm-item b { color:var(--ink-2); font-weight:600; }

/* 目录导航 */
.policy-toc { background:var(--bg-soft); border:1px solid var(--line-2);
              border-radius:var(--radius); padding:22px 26px; margin-bottom:40px; }
.policy-toc h4 { font-size:14px; color:var(--muted); text-transform:uppercase;
                 letter-spacing:.06em; margin:0 0 14px; }
.policy-toc ul { list-style:none; margin:0; padding:0; display:grid;
                 grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px 20px; }
.policy-toc a { font-size:14.5px; color:var(--ink-2); text-decoration:none;
                display:block; padding:4px 0; transition:color .2s; }
.policy-toc a:hover { color:var(--brand); }

/* 正文标题层级 */
.policy h2 { font-size:22px; color:var(--ink); margin:44px 0 16px; padding-top:6px;
             scroll-margin-top:calc(var(--header-h) + 20px); }
.policy h2:first-of-type { margin-top:0; }
.policy h2 .num { display:inline-block; min-width:30px; color:var(--brand);
                  font-size:15px; font-weight:700; vertical-align:2px; }
.policy h3 { font-size:17px; color:var(--ink-2); margin:28px 0 12px; }
.policy p  { font-size:15px; line-height:1.9; color:var(--ink-2); margin:0 0 16px; }

.policy ul, .policy ol { margin:0 0 18px; padding-left:22px; }
.policy li { font-size:15px; line-height:1.9; color:var(--ink-2); margin-bottom:8px; }
.policy li::marker { color:var(--brand); }
.policy strong { color:var(--ink); font-weight:600; }
.policy a { color:var(--brand); text-decoration:underline; text-underline-offset:3px; }

/* 提示框 */
.policy-note { background:var(--brand-light); border-left:3px solid var(--brand);
               border-radius:0 var(--radius-sm) var(--radius-sm) 0;
               padding:16px 20px; margin:22px 0; font-size:14.5px;
               line-height:1.85; color:var(--ink-2); }
.policy-note b { color:var(--brand-deep); }

/* 联系渠道卡片 */
.policy-contact { margin-top:40px; padding-top:28px; border-top:1px solid var(--line);
                  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; }
.policy-contact .pc-item { background:var(--bg-soft); border:1px solid var(--line-2);
                           border-radius:var(--radius-sm); padding:16px 18px; }
.policy-contact .pc-item span { display:block; font-size:12.5px; color:var(--muted); margin-bottom:4px; }
.policy-contact .pc-item b { font-size:15px; color:var(--ink); font-weight:600; }

/* ---- 网站地图 ---- */
.sitemap-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.sitemap-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius);
                padding:24px 26px; transition:box-shadow .25s, transform .25s; }
.sitemap-card:hover { box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.sitemap-card h3 { font-size:16px; color:var(--ink); margin:0 0 4px;
                   display:flex; align-items:center; gap:8px; }
.sitemap-card h3 svg { color:var(--brand); flex-shrink:0; }
.sitemap-card .sc-desc { font-size:13px; color:var(--muted); margin:0 0 14px;
                         padding-bottom:12px; border-bottom:1px dashed var(--line); }
.sitemap-card ul { list-style:none; margin:0; padding:0; }
.sitemap-card li { margin-bottom:9px; font-size:14.5px; }
.sitemap-card li a { color:var(--ink-2); text-decoration:none;
                     display:inline-flex; align-items:center; gap:7px; transition:color .2s; }
.sitemap-card li a:hover { color:var(--brand); }
.sitemap-card li a::before { content:''; width:5px; height:5px; border-radius:50%;
                             background:var(--muted-2); flex-shrink:0; transition:background .2s; }
.sitemap-card li a:hover::before { background:var(--brand); }
.sitemap-card li .sub { font-size:12.5px; color:var(--muted-2); margin-left:2px; }

@media (max-width:760px) {
  .policy-toc ul { grid-template-columns:1fr; }
  .policy-wrap { max-width:100%; }
}

/* ============================================================
   12. 首页演示视频（后台「站点设置 → 首页演示视频」配置）
   只靠 CSS 变量取色，换主题时播放按钮自动跟随
   ============================================================ */
.mili-video {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  background: #0f1c2e;
  box-shadow: 0 16px 36px rgba(15, 28, 46, .16);
  line-height: 0;
}
.mili-video__el {
  display: block;
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  background: #0f1c2e;
}
.mili-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(17, 82, 212, .38);
  transition: transform .22s ease;
}
.mili-video__play:hover { transform: translate(-50%, -50%) scale(1.07); }
.mili-video__play:active { transform: translate(-50%, -50%) scale(.97); }
.mili-video__play::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: miliPulse 2.4s ease-out infinite;
}
@keyframes miliPulse {
  0%   { transform: scale(.86); opacity: .9; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mili-video__play::before { animation: none; }
}
.mili-video.is-playing .mili-video__play { display: none; }
.mili-video__cap {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .mili-video__play { width: 64px; height: 64px; }
  .mili-video__play svg { width: 24px; height: 24px; }
}

.mili-video__err {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 28, 46, .86);
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

/* ============ 帮助中心：文档在线预览弹层 ============ */
.doc-modal { position: fixed; inset: 0; z-index: 999; }
.doc-modal[hidden] { display: none; }
.doc-modal-mask {
  position: absolute; inset: 0;
  background: rgba(10, 20, 40, .66);
  backdrop-filter: blur(2px);
}
.doc-modal-box {
  position: absolute; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
}
@media (min-width: 761px) {
  .doc-modal-box {
    inset: 4vh 6vw;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
}
.doc-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.doc-modal-title {
  font-size: 15px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.doc-modal-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.doc-modal-actions a { font-size: 13.5px; color: var(--brand); text-decoration: none; white-space: nowrap; }
.doc-modal-actions a:hover { text-decoration: underline; }
.doc-modal-close {
  border: 0; background: var(--bg-soft); color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1;
}
.doc-modal-close:hover { background: var(--brand-light); color: var(--brand); }
.doc-modal-frame { flex: 1; width: 100%; border: 0; background: #fff; }
