/* =========================================================
   鸿裕助手 官网样式表  xhongyu.cn
   品牌色取自官方 Logo：玫红 #F5596B / 青绿 #17CFC0
   策略：移动优先 · 紧凑排版 · 纯手写无框架依赖
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --rose: #f5596b;
  --rose-deep: #e03a55;
  --rose-soft: #ffeaee;
  --teal: #17cfc0;
  --teal-deep: #0aa89b;
  --teal-soft: #e2faf7;

  --ink: #0f1729;
  --ink-2: #1b2540;
  --text: #26334d;
  --muted: #66748f;
  --faint: #9aa6bd;

  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e6ecf5;
  --line-2: #eef2f8;

  --grad: linear-gradient(118deg, var(--rose) 0%, #ff7d84 42%, var(--teal) 100%);
  --grad-txt: linear-gradient(96deg, var(--rose) 10%, var(--teal-deep) 92%);

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --r-xl: 26px;

  --sh-xs: 0 1px 2px rgba(20, 32, 60, .05);
  --sh-s: 0 4px 14px rgba(20, 32, 60, .06);
  --sh-m: 0 10px 30px rgba(20, 32, 60, .08);
  --sh-l: 0 22px 50px rgba(20, 32, 60, .12);
  --sh-brand: 0 14px 34px rgba(245, 89, 107, .26);

  --gap: 14px;
  --pad-x: 16px;
  --maxw: 1160px;
  --nav-h: 62px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
          "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Courier New", monospace;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -.2px; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
code { font-family: var(--mono); font-size: 13px; background: var(--teal-soft); color: var(--teal-deep); padding: 1px 6px; border-radius: 5px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- 3. 布局工具 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.sect { padding: 44px 0; }
.sect--tight { padding: 30px 0; }
.sect--white { background: #fff; }
.sect--soft { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.sect--ink { background: radial-gradient(1000px 460px at 15% -10%, #1e2c4d 0%, var(--ink) 60%); color: #cfd8ea; }
.sect--ink h2, .sect--ink h3 { color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
/* minmax(0,1fr) 允许轨道收缩，避免子项 min-content 撑破栅格造成横向滚动 */
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- 4. 区块标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .6px;
  color: var(--rose-deep); background: var(--rose-soft);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
}
.eyebrow--teal { color: var(--teal-deep); background: var(--teal-soft); }
.sect-head { margin-bottom: 22px; }
.sect-head h2 { font-size: 23px; }
.sect-head p { color: var(--muted); font-size: 14px; max-width: 660px; margin: 0; }
.sect-head--center { text-align: center; }
.sect-head--center p { margin-inline: auto; }
.sect-head--light .eyebrow { background: rgba(255, 255, 255, .14); color: #ffdfe4; }
.sect-head--light p { color: #a9b6d1; }

/* ---------- 5. 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 236, 245, .9);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 10px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: var(--sh-xs); }
.brand b { font-size: 16.5px; letter-spacing: -.3px; }
.brand span { display: block; font-size: 11px; color: var(--faint); font-weight: 500; letter-spacing: .3px; line-height: 1.15; }

.menu { display: none; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu li { margin: 0; }
.menu a {
  display: block; padding: 8px 12px; font-size: 14px; font-weight: 500;
  color: var(--text); border-radius: var(--r-s); transition: .18s;
}
.menu a:hover { color: var(--rose-deep); background: var(--rose-soft); }
.menu a.on { color: var(--rose-deep); background: var(--rose-soft); font-weight: 600; }

.nav-cta { display: none; }
.nav-cta .btn { padding: 8px 15px; font-size: 13.5px; }

.burger {
  width: 44px; height: 44px; flex: none; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.burger i { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .22s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: .22s; }
.burger i::before { top: -5.5px; }
.burger i::after { top: 5.5px; }
.burger.on i { background: transparent; }
.burger.on i::before { top: 0; transform: rotate(45deg); background: var(--rose-deep); }
.burger.on i::after { top: 0; transform: rotate(-45deg); background: var(--rose-deep); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 85;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-m); padding: 8px var(--pad-x) 16px;
  transform: translateY(-120%); transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
  visibility: hidden; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.drawer.on { transform: translateY(0); visibility: visible; }
.drawer a { display: block; padding: 11px 8px; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--line-2); font-weight: 500; }
.drawer a:last-of-type { border-bottom: 0; }
.drawer a.on { color: var(--rose-deep); font-weight: 700; }
.drawer .btn { width: 100%; margin-top: 12px; }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
  line-height: 1.2; text-align: center;
}
.btn svg { width: 16px; height: 16px; }
.btn-main { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(245, 89, 107, .34); }
.btn-teal { background: linear-gradient(115deg, var(--teal) 0%, var(--teal-deep) 100%); color: #fff; box-shadow: 0 12px 28px rgba(23, 207, 192, .28); }
.btn-teal:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); transform: translateY(-2px); }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- 7. 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh-xs);
  transition: transform .24s, box-shadow .24s, border-color .24s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-m); border-color: #d8e3f2; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.68; }
.ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 11px; background: var(--rose-soft); color: var(--rose-deep); flex: none;
}
.ico svg { width: 21px; height: 21px; }
.ico--teal { background: var(--teal-soft); color: var(--teal-deep); }
.ico--blue { background: #eaf1ff; color: #3f6fe0; }
.ico--gold { background: #fff5e2; color: #d18a1c; }
.card--flat:hover { transform: none; box-shadow: var(--sh-xs); }

.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 6px; background: var(--bg); color: var(--muted); margin: 0 5px 5px 0; }
.tag--rose { background: var(--rose-soft); color: var(--rose-deep); }
.tag--teal { background: var(--teal-soft); color: var(--teal-deep); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 420px at 82% 8%, rgba(23, 207, 192, .3) 0%, transparent 62%),
              radial-gradient(760px 400px at 8% 0%, rgba(245, 89, 107, .38) 0%, transparent 60%),
              linear-gradient(160deg, #16203a 0%, #0f1729 55%, #14203c 100%);
  padding: 34px 0 40px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 100%);
}
.hero-in { position: relative; z-index: 2; display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; }
.hero h1 { color: #fff; font-size: 29px; line-height: 1.28; margin-bottom: 12px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #b3c0da; font-size: 14.5px; line-height: 1.78; margin-bottom: 18px; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: #93a3c2; }
.hero-meta b { color: #fff; font-weight: 600; font-size: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  color: #d9f6f2; background: rgba(23, 207, 192, .14); border: 1px solid rgba(23, 207, 192, .34);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(23, 207, 192, .6); animation: pulse 1.9s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(23, 207, 192, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 207, 192, 0); } }

/* ---------- 9. 手机模型 + 实况图 ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative; width: 268px; max-width: 76vw; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #2b3552, #101728 60%, #26304a);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone-screen { position: relative; border-radius: 26px; overflow: hidden; background: #f3f5f9; }
.phone-screen img { width: 100%; display: block; }
.phone-notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; background: #0d1424; border-radius: 12px; z-index: 3;
}
.phone-glow { position: absolute; inset: -14% -22% auto; height: 62%; background: radial-gradient(closest-side, rgba(23, 207, 192, .34), transparent 72%); filter: blur(14px); z-index: 0; pointer-events: none; }
.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px; box-shadow: var(--sh-m); border: 1px solid rgba(255, 255, 255, .7);
  animation: float 4.6s ease-in-out infinite;
}
.chip svg { width: 13px; height: 13px; }
.chip-1 { top: 16%; left: -8%; color: var(--rose-deep); }
.chip-2 { top: 46%; right: -10%; animation-delay: 1.1s; color: var(--teal-deep); }
.chip-3 { bottom: 12%; left: -6%; animation-delay: 2.1s; color: #3f6fe0; }
@keyframes float { 50% { transform: translateY(-9px); } }
.phone-note { text-align: center; font-size: 12px; color: #8b9ab8; margin-top: 14px; }

/* ---------- 10. 实况图独立展示 ---------- */
.shot-wrap { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
.shot-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-l);
}
.shot-frame img { width: 100%; }
.shot-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(transparent, rgba(12, 20, 38, .82));
  color: #fff; font-size: 12.5px; display: flex; align-items: center; gap: 7px;
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }
.zoom { cursor: zoom-in; }

/* ---------- 11. 步骤条 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding: 15px 15px 15px 54px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-xs); }
.steps li::before {
  content: counter(sc); counter-increment: sc; position: absolute; left: 14px; top: 15px;
  width: 27px; height: 27px; border-radius: 9px; background: var(--grad); color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center; box-shadow: var(--sh-brand);
}
.steps { counter-reset: sc; }
.steps b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.steps p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.66; }
.steps--teal li::before { background: linear-gradient(115deg, var(--teal), var(--teal-deep)); box-shadow: 0 10px 22px rgba(23, 207, 192, .3); }

/* ---------- 12. Tab 切换 ---------- */
.tabs { display: flex; gap: 6px; padding: 4px; background: #eef2f8; border-radius: 999px; margin-bottom: 18px; }
.tabs button {
  flex: 1; padding: 9px 10px; border: 0; background: transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; transition: .2s;
}
.tabs button.on { background: #fff; color: var(--rose-deep); box-shadow: var(--sh-s); }
.panel { display: none; animation: fade .3s ease; }
.panel.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(7px); } }

/* ---------- 13. 表格 ---------- */
.tbl-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; box-shadow: var(--sh-xs); }
.tbl-scroll table { min-width: 520px; }
th, td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--line-2); }
th { background: #f8fafd; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
td { font-size: 13.5px; color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcff; }

/* ---------- 14. 提示条 ---------- */
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-m); font-size: 13px; line-height: 1.66; border: 1px solid; }
.note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.note b { display: block; margin-bottom: 2px; font-size: 13.5px; }
.note-info { background: #f2f7ff; border-color: #d9e7fb; color: #3b629f; }
.note-info svg, .note-info b { color: #2f5fa8; }
.note-warn { background: #fff8ec; border-color: #f6e2bd; color: #8a6528; }
.note-warn svg, .note-warn b { color: #b5822b; }
.note-safe { background: var(--teal-soft); border-color: #bdf0e9; color: #10706a; }
.note-safe svg, .note-safe b { color: var(--teal-deep); }
.note-stop { background: var(--rose-soft); border-color: #ffd3da; color: #9c3444; }
.note-stop svg, .note-stop b { color: var(--rose-deep); }

/* ---------- 15. 客服联系卡 ---------- */
.kefu-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.kefu {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px;
  padding: 16px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-s);
}
.kefu::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.kefu--b::before { background: linear-gradient(180deg, var(--teal), var(--teal-deep)); }
.kefu-ava { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose-deep); flex: none; font-weight: 800; font-size: 15px; }
.kefu--b .kefu-ava { background: var(--teal-soft); color: var(--teal-deep); }
.kefu-txt { flex: 1; min-width: 0; }
.kefu-txt small { display: block; font-size: 12px; color: var(--faint); }
.kefu-id { font-family: var(--mono); font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: .5px; word-break: break-all; }
.kefu .btn { flex: none; }

/* ---------- 16. 手风琴 FAQ ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; margin-bottom: 10px; overflow: hidden; box-shadow: var(--sh-xs); }
.acc-q { width: 100%; text-align: left; padding: 14px 44px 14px 15px; background: transparent; border: 0; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; position: relative; line-height: 1.5; }
.acc-q::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: translateY(-70%) rotate(45deg); transition: .25s; }
.acc.on .acc-q::after { transform: translateY(-30%) rotate(-135deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .32s cubic-bezier(.4, 0, .2, 1); }
.acc-a-in { padding: 0 15px 15px; font-size: 14px; color: var(--muted); line-height: 1.75; border-top: 1px dashed var(--line); }
.acc-a-in p { margin-top: 10px; }
.acc.on { border-color: #f3c8cf; box-shadow: var(--sh-s); }

/* ---------- 17. 统计数字 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { text-align: center; padding: 16px 8px; border-radius: var(--r-m); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.stat b { display: block; font-size: 24px; font-weight: 800; color: #fff; font-family: var(--mono); letter-spacing: -.5px; }
.stat span { font-size: 12px; color: #9db0d0; }
.sect--white .stat, .card .stat { background: var(--bg); border-color: var(--line); }

/* ---------- 18. 面包屑 ---------- */
.crumb { font-size: 12.5px; color: var(--faint); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--rose-deep); }
.crumb i { font-style: normal; margin: 0 5px; color: #cbd4e2; }

/* ---------- 19. 页头 Banner（内页） ---------- */
.page-head { background: linear-gradient(150deg, #16203a 0%, #0f1729 70%); color: #fff; padding: 26px 0 28px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 207, 192, .3), transparent); }
.page-head h1 { color: #fff; font-size: 25px; margin-bottom: 8px; position: relative; z-index: 2; }
.page-head p { color: #a9b8d4; font-size: 14px; margin: 0; max-width: 680px; position: relative; z-index: 2; }
.page-head .crumb { color: #8698b8; position: relative; z-index: 2; }
.page-head .crumb a { color: #b6c6e0; }
.page-head .crumb i { color: #5c6f92; }

/* ---------- 20. 文章 ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 20px; margin-top: 26px; padding-left: 11px; border-left: 3px solid var(--rose); line-height: 1.4; }
.article h3 { font-size: 16.5px; margin-top: 20px; color: var(--ink-2); }
.article p { font-size: 15.5px; line-height: 1.88; color: #3a4761; text-align: justify; }
.article ul li, .article ol li { font-size: 15px; line-height: 1.82; color: #3a4761; }
.article .lead { font-size: 16px; color: var(--ink-2); background: var(--bg); border-left: 3px solid var(--teal); padding: 13px 15px; border-radius: 0 var(--r-m) var(--r-m) 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--faint); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.meta-line b { color: var(--muted); font-weight: 600; }

.news-item { display: flex; gap: 13px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); transition: .22s; }
.news-item:hover { border-color: #f2c3cb; box-shadow: var(--sh-s); transform: translateY(-3px); }
.news-item time { font-size: 12px; color: var(--faint); font-family: var(--mono); flex: none; padding-top: 2px; }
.news-item h3 { font-size: 15px; margin-bottom: 4px; }
.news-item p { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rel-links { display: flex; flex-wrap: wrap; gap: 8px; }
.rel-links a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.rel-links a:hover { border-color: var(--rose); color: var(--rose-deep); }

.pager { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.pager a { display: block; flex: 1; max-width: 49%; padding: 11px 13px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; color: var(--text); line-height: 1.5; }
.pager a:hover { border-color: var(--rose); color: var(--rose-deep); }
.pager small { display: block; font-size: 12px; color: var(--faint); }

/* ---------- 21. 页脚 ---------- */
.foot { background: #0c1424; color: #8ea0c0; padding: 34px 0 96px; font-size: 13px; }
.foot a { color: #a9bad8; }
.foot a:hover { color: var(--teal); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.foot h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 7px; }
.foot-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 10px; }
.foot-brand b { color: #fff; font-size: 16px; }
.foot-about p { line-height: 1.75; max-width: 320px; }
.foot-kf { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 8px 11px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; }
.foot-kf code { background: transparent; color: #fff; font-size: 14.5px; font-weight: 700; padding: 0; flex: 1; }
.foot-kf button { border: 0; background: rgba(23, 207, 192, .16); color: var(--teal); font-size: 11.5px; padding: 3px 9px; border-radius: 6px; cursor: pointer; font-family: inherit; }
.foot-kf button:hover { background: rgba(23, 207, 192, .3); }
.foot-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 12px; line-height: 1.8; color: #6f809f; }
.foot-disc { background: rgba(245, 89, 107, .09); border: 1px solid rgba(245, 89, 107, .22); color: #d99aa5; padding: 11px 13px; border-radius: 10px; font-size: 12px; line-height: 1.7; margin-top: 14px; }

/* ---------- 22. 悬浮工具 ---------- */
.tools { position: fixed; right: 12px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 9px; transition: opacity .28s, transform .28s; }
/* 页脚进入视口时淡出，避免遮挡页脚内的复制按钮 */
.tools.dim { opacity: 0; pointer-events: none; transform: translateY(10px); }
.tool {
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-m); color: var(--ink); transition: .2s; padding: 0;
}
.tool svg { width: 19px; height: 19px; }
.tool:hover { transform: translateY(-3px); color: var(--rose-deep); border-color: #f3c8cf; }
.tool--kf { background: var(--grad); color: #fff; border: 0; box-shadow: var(--sh-brand); width: 48px; height: 48px; border-radius: 16px; }
.tool--kf:hover { color: #fff; }
#toTop { opacity: 0; pointer-events: none; transform: translateY(10px); }
#toTop.on { opacity: 1; pointer-events: auto; transform: none; }

/* 客服弹层 */
.mask { position: fixed; inset: 0; background: rgba(10, 18, 34, .55); backdrop-filter: blur(3px); z-index: 96; opacity: 0; pointer-events: none; transition: .25s; }
.mask.on { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; z-index: 97; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.97);
  width: min(430px, calc(100vw - 28px)); max-width: calc(100% - 24px); background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-l); opacity: 0; pointer-events: none; visibility: hidden; transition: .28s cubic-bezier(.3, 1.2, .5, 1), visibility .28s;
  max-height: 86vh; overflow-y: auto;
}
.modal.on { opacity: 1; pointer-events: auto; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-x { width: 30px; height: 30px; border-radius: 9px; border: 0; background: var(--bg); cursor: pointer; font-size: 17px; color: var(--muted); line-height: 1; }
.modal-x:hover { background: var(--rose-soft); color: var(--rose-deep); }
.modal-body { padding: 4px 18px 18px; }
.modal .kefu { padding: 13px; }
.modal .kefu-id { font-size: 16.5px; }

/* 图片放大 */
.lightbox { position: fixed; inset: 0; z-index: 99; background: rgba(6, 11, 22, .93); display: none; place-items: center; padding: 18px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #93a3c2; font-size: 12px; margin: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 24px); z-index: 120;
  background: rgba(15, 23, 41, .95); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; box-shadow: var(--sh-l); opacity: 0; pointer-events: none; transition: .3s; max-width: 88vw; text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 23. 滚动进场 ---------- */
/* 默认保持可见，仅当 JS 可用时才做进场动画，避免脚本异常导致整块内容不可见 */
.rv { opacity: 1; transform: none; }
html.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
html.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s; }
.rv-d2 { transition-delay: .14s; }
.rv-d3 { transition-delay: .21s; }
.rv-d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .chip, .dot-live { animation: none; }
}

/* ---------- 24. 下载引导条 ---------- */
.dl-bar { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 16px; border-radius: var(--r-l); background: linear-gradient(120deg, var(--rose-soft), var(--teal-soft)); border: 1px solid #dcefec; }
.dl-item { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: var(--r-m); padding: 11px 13px; box-shadow: var(--sh-xs); min-width: 0; }
.dl-item > div { min-width: 0; }
.dl-item .ico { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
.dl-item .ico svg { width: 18px; height: 18px; }
.dl-item b { display: block; font-size: 14px; color: var(--ink); }
.dl-item small { font-size: 12px; color: var(--faint); }
.dl-item .btn { margin-left: auto; }

/* ---------- 24b. 数据卡片皮肤（功能页版式预览） ---------- */
.dcard { border-radius: var(--r-m); padding: 13px 14px; box-shadow: var(--sh-s); overflow: hidden; }
.dcard-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 600; padding-bottom: 9px; border-bottom: 1px dashed rgba(128, 128, 128, .3); }
.dcard-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; font-size: 14px; font-weight: 700; }
.dcard-body b { font-size: 17px; letter-spacing: 1px; }
.dcard-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; opacity: .85; }
.dcard--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.dcard--light .dcard-body b { color: var(--rose-deep); }
.dcard--gold {
  background: linear-gradient(150deg, #14161d 0%, #23211a 55%, #101218 100%);
  color: #f3e6c4; border: 1px solid rgba(212, 175, 55, .38);
  box-shadow: 0 16px 34px rgba(16, 14, 8, .34), inset 0 1px 0 rgba(255, 226, 160, .16);
}
.dcard--gold .dcard-body b { color: #e8c877; }
.dcard--gold .dcard-top { border-bottom-color: rgba(212, 175, 55, .3); color: #cdb277; }
.dcard--aurora {
  position: relative; color: #eaf4ff; border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(140deg, rgba(23, 207, 192, .5), rgba(63, 111, 224, .48) 46%, rgba(245, 89, 107, .42));
  backdrop-filter: blur(8px); box-shadow: 0 16px 34px rgba(28, 52, 96, .3);
}
.dcard--aurora::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at 82% 10%, rgba(255, 255, 255, .4), transparent 70%); pointer-events: none; }
.dcard--aurora .dcard-body b { color: #fff; }
.dcard--aurora .dcard-top { border-bottom-color: rgba(255, 255, 255, .28); color: #dce9fb; }

/* ---------- 24d. 客服获取组件（单页版） ---------- */
/* 备注提示胶囊 */
.remark { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--rose-deep); background: var(--rose-soft); border: 1px solid #f6c4cc; border-radius: 999px; padding: 3px 12px; }
.remark b { font-size: 14.5px; font-weight: 800; letter-spacing: 2px; }
.remark--dark { color: #ffe2e6; background: rgba(245, 89, 107, .18); border-color: rgba(245, 89, 107, .46); }

/* Hero 内的客服获取卡：深色底上使用高亮白底号码行，保证第一屏即可看见号码 */
.kf-box { position: relative; border-radius: var(--r-l); padding: 15px 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); margin-bottom: 18px; }
.kf-box-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 11px; flex-wrap: wrap; }
.kf-box-h svg { width: 17px; height: 17px; color: var(--teal); flex: none; }
.kf-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 12px; background: #fff; margin-bottom: 8px; box-shadow: var(--sh-xs); min-width: 0; }
.kf-row > div { min-width: 0; }
.kf-row small { display: block; font-size: 11.5px; color: var(--faint); line-height: 1.4; }
.kf-num { display: block; font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .8px; line-height: 1.25; word-break: break-all; }
.kf-row .btn { margin-left: auto; flex: none; }
.kf-remark { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; background: rgba(23, 207, 192, .16); border: 1px dashed rgba(23, 207, 192, .55); }
.kf-remark i { font-style: normal; font-size: 12.5px; color: #b6d8e6; }
.kf-remark b { font-size: 17px; font-weight: 800; color: #eafffb; letter-spacing: 4px; }
.kf-remark .btn { margin-left: auto; }
/* 浅色背景上的变体（用于获取方式区块） */
.kf-box--light { background: linear-gradient(120deg, var(--rose-soft), var(--teal-soft)); border-color: #dcefec; margin-bottom: var(--gap); }
.kf-box--light .kf-box-h { color: var(--ink); }
.kf-box--light .kf-box-h svg { color: var(--rose-deep); }
.kf-box--light .kf-remark { background: #fff; border-style: solid; border-color: #bfe9e3; }
.kf-box--light .kf-remark i { color: var(--muted); }
.kf-box--light .kf-remark b { color: var(--teal-deep); }

/* 客服区块的放大态：用于深色客服专区 */
.kefu--xl { padding: 16px; }
.kefu--xl .kefu-ava { width: 50px; height: 50px; border-radius: 15px; font-size: 17px; }
.kefu--xl .kefu-id { font-size: 25px; letter-spacing: 1px; }

/* 移动端底部常驻客服条 */
.kfbar { display: none; }
.kfbar-in { display: flex; align-items: center; gap: 7px; }
.kfbar-lb { flex: none; font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.kfbar-lb b { display: block; font-size: 12.5px; color: var(--rose-deep); letter-spacing: .5px; font-weight: 800; }
.kfbar-btn { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 6px; border-radius: 11px; border: 0; font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .2px; color: #fff; cursor: pointer; box-shadow: var(--sh-xs); }
.kfbar-btn svg { width: 13px; height: 13px; flex: none; }
.kfbar-btn--a { background: var(--grad); }
.kfbar-btn--b { background: linear-gradient(115deg, var(--teal) 0%, var(--teal-deep) 100%); }

/* ---------- 24c. 小屏专项修正（防止溢出、提升紧凑度） ---------- */
@media (max-width: 639px) {
  /* 含表格 / 长步骤的复杂区块改为单列堆叠（网格收缩规则见下方 ≤749 块）*/
  /* 竖屏长图限制展示宽度，避免一张截图占据近一屏高度 */
  .shot-frame { max-width: 272px; margin-inline: auto; }
  .article .shot-frame { max-width: 280px; }
  /* 悬浮工具缩小并下提，减少对正文右缘的可点击区域遮挡 */
  .tools { right: 10px; bottom: 14px; gap: 7px; }
  .tool { width: 40px; height: 40px; border-radius: 12px; }
  .tool--kf { width: 44px; height: 44px; border-radius: 14px; }
  /* 客服卡按钮换行到下一行，保证两张卡高度一致 */
  .kefu { flex-wrap: wrap; }
  .kefu .btn { width: 100%; margin-top: 8px; }
  /* 页脚复制按钮避开右下角悬浮客服 */
  .foot-kf { padding-right: 58px; }
  /* 底部常驻客服条：让悬浮按钮与页脚正文都不被遮挡 */
  .kfbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 88; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 32, 60, .1); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); }
  .tools { bottom: 78px; }
  .kf-num { font-size: 19px; }
  .kefu--xl .kefu-id { font-size: 21px; }
  /* 轻提示抬高到常驻客服条上方，避免遮住号码按钮 */
  .toast { bottom: 62px; }
  /* 首屏客服卡进一步收紧，保证号码与手机模型都在首屏内 */
  .kf-box { padding: 13px; margin-bottom: 15px; }
  .kf-row { padding: 8px 11px; }
  .kf-remark { padding: 8px 11px; }
  /* 步骤与卡片内部边距收紧 */
  :root { --gap: 12px; }
  .card { padding: 16px; }
  .card p { line-height: 1.62; }
  .sect { padding: 34px 0; }
  .sect--tight { padding: 24px 0; }
  .sect-head { margin-bottom: 16px; }
  .steps li { padding: 13px 13px 13px 46px; }
  .steps li::before { left: 11px; top: 13px; width: 25px; height: 25px; }
  /* Hero 与手机模型收紧，降低首屏高度 */
  .hero { padding: 26px 0 32px; }
  .hero-sub { font-size: 14px; margin-bottom: 15px; }
  .hero-btns { margin-bottom: 14px; }
  .phone { width: 236px; }
  /* 页脚压缩，并为底部常驻客服条预留安全间距 */
  .foot { padding: 26px 0 132px; font-size: 12.5px; }
  .foot-grid { gap: 18px; }
  .foot ul li { margin-bottom: 5px; }
  .foot-about p { font-size: 12px; line-height: 1.7; }
  .foot-disc { font-size: 11.5px; padding: 10px 12px; line-height: 1.65; }
  .foot-bottom { margin-top: 18px; padding-top: 12px; font-size: 11.5px; line-height: 1.7; }
}

/* 复杂区块在 ≤749px 强制单列：双列会使轨道不足 300px，号码行与复制按钮余量不够。
   使用 .grid.grid--stack 提高特异性，避免被后面 min-width:640px 里的 .grid-2 同权重覆盖 */
@media (max-width: 749px) {
  .grid.grid--stack { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 480px) and (max-width: 639px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 25. 平板及以上 ---------- */
@media (min-width: 640px) {
  :root { --pad-x: 24px; --gap: 16px; }
  body { font-size: 15.5px; }
  h1 { font-size: 36px; }
  .sect { padding: 56px 0; }
  .hero { padding: 48px 0 54px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 15.5px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kefu-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .phone { width: 292px; max-width: 46vw; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .article p { font-size: 16px; }
}

@media (min-width: 900px) {
  :root { --nav-h: 68px; }
  .menu { display: flex; }
  .nav-cta { display: flex; align-items: center; gap: 8px; }
  .burger { display: none; }
  .drawer { display: none; }
  .hero-in { grid-template-columns: 1.06fr .94fr; gap: 34px; }
  .hero { padding: 62px 0 68px; }
  .sect { padding: 66px 0; }
  .sect-head h2 { font-size: 27px; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shot-wrap { grid-template-columns: .92fr 1.08fr; gap: 34px; }
  /* 下载条两列需 ≥900px 才不致文字挤压，640~899 保持单列 */
  .dl-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 30px; }
  .card { padding: 21px; }
  .steps li { padding: 17px 17px 17px 58px; }
  .tools { right: 22px; bottom: 26px; }
  h1 { font-size: 40px; }
  .page-head { padding: 40px 0 44px; }
  .page-head h1 { font-size: 32px; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 46px; }
  .phone { width: 320px; }
}

/* ---------- 26. 小屏紧凑适配 ---------- */
@media (max-width: 380px) {
  :root { --pad-x: 12px; }
  body { font-size: 14.5px; }
  h1, .hero h1 { font-size: 25px; }
  h2, .sect-head h2 { font-size: 20px; }
  .sect { padding: 34px 0; }
  .card { padding: 15px; }
  .btn:not(.btn-sm):not(.btn-lg) { padding: 10px 16px; font-size: 13.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .kefu { flex-wrap: wrap; }
  .kefu .btn { width: 100%; margin-top: 4px; }
  .stat b { font-size: 20px; }
  .phone { width: 240px; }
}

/* ---------- 27. 打印 ---------- */
@media print {
  .nav, .tools, .foot, .mask, .modal, .lightbox, .toast, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .steps li { box-shadow: none; border-color: #ccc; }
}
