/* ==========================================================================
   火世CRM 客户关系管理系统 — 官网样式
   站点: https://crm.huokeji.cn
   ========================================================================== */

:root {
  --brand: #1e4fff;
  --brand-dark: #0d2ec4;
  --brand-soft: #eef2ff;
  --fire: #ff6b2c;
  --fire-dark: #e3521a;
  --fire-soft: #fff2ea;
  --ink: #0b1526;
  --ink-2: #16233a;
  --text: #1f2a37;
  --muted: #5c6b7f;
  --line: #e5eaf1;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --ok: #12a06a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, .06), 0 4px 12px rgba(16, 30, 54, .06);
  --shadow-md: 0 10px 30px rgba(16, 30, 54, .10);
  --shadow-lg: 0 24px 60px rgba(11, 21, 38, .16);
  --container: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 14px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: .2px; }
h1 { font-size: clamp(30px, 4.4vw, 48px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }
strong { color: var(--ink); }
small { font-size: 13px; }
code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: linear-gradient(160deg, #0b1526 0%, #14213a 60%, #1b2b4d 100%); color: #dce4f2; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--fire-dark); background: var(--fire-soft);
  border: 1px solid #ffd9c4; border-radius: 999px;
  padding: 4px 14px; margin-bottom: 16px;
}
.section--ink .eyebrow { background: rgba(255, 107, 44, .14); border-color: rgba(255, 107, 44, .4); color: #ffb188; }

.lead { font-size: 17px; color: var(--muted); }
.section--ink .lead { color: #b6c4da; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav-bar { display: flex; align-items: center; gap: 26px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { white-space: nowrap; }
.brand__text em { font-style: normal; color: var(--brand); }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; color: var(--text); font-size: 15.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--fire); border-radius: 2px;
}
.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15.5px; font-weight: 700; line-height: 1;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: linear-gradient(120deg, var(--brand) 0%, #3a6bff 100%); color: #fff; box-shadow: 0 8px 20px rgba(30, 79, 255, .26); }
.btn--primary:hover { background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 100%); }
.btn--fire { background: linear-gradient(120deg, var(--fire) 0%, #ff8a4c 100%); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 44, .28); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #c9d5e8; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 78px 0 66px;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(30, 79, 255, .12), transparent 60%),
    radial-gradient(700px 380px at 8% 8%, rgba(255, 107, 44, .10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 70%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand); }
.hero h1 .hl-fire { color: var(--fire); }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; flex: none; }
.hero__visual { position: relative; }
.hero__visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 10px 16px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.hero__badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* --------------------------------------------------------------------------
   Stats / trust strip
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 18px 12px; }
.stat b { display: block; font-size: 30px; color: var(--brand); line-height: 1.2; }
.stat span { font-size: 14.5px; color: var(--muted); }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; justify-content: center; padding: 18px 0; font-size: 14.5px; color: var(--muted); }
.trust__inner i { font-style: normal; display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d6e0f2; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card__title-sm { font-size: 17px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card--accent { border-left: 3px solid var(--fire); }
.card--ink { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.card--ink h3, .card--ink h4 { color: #fff; }
.card--ink p { color: #b6c4da; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }
.icon--fire { background: var(--fire-soft); color: var(--fire-dark); }
.icon--sm { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 0; }
.icon--sm svg { width: 18px; height: 18px; }

.tag {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  color: var(--brand); background: var(--brand-soft);
  border-radius: 6px; padding: 2px 9px; margin: 0 6px 6px 0;
}
.tag--fire { color: var(--fire-dark); background: var(--fire-soft); }
.tag--gray { color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   痛点 → 解决 对照
   -------------------------------------------------------------------------- */
.pain {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.pain__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.pain__problem { padding: 20px 24px; background: linear-gradient(180deg, #fff7f2, #fff); border-bottom: 1px dashed #ffd0b6; }
.pain__problem h3 { font-size: 17.5px; display: flex; gap: 9px; align-items: flex-start; }
.pain__problem h3::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--fire); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.pain__problem p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.pain__answer { padding: 20px 24px; }
.pain__answer h4 { font-size: 15px; color: var(--brand); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pain__answer ul { margin: 0; padding-left: 0; list-style: none; }
.pain__answer li { font-size: 14.5px; color: var(--text); padding-left: 20px; position: relative; margin: 5px 0; }
.pain__answer li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); opacity: .55; }

/* --------------------------------------------------------------------------
   流程步骤
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 22px 18px; }
.step__num { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--fire); margin-bottom: 8px; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; color: #fff; }
.step p { font-size: 14px; color: #a9b8ce; margin: 0; }

/* --------------------------------------------------------------------------
   功能列表
   -------------------------------------------------------------------------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 26px; margin: 9px 0; font-size: 15px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a06a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.feature-list--muted li { color: #9aa7b8; }
.feature-list--muted li::before { opacity: .35; }

.module { display: flex; gap: 18px; align-items: flex-start; }
.module__body { flex: 1; min-width: 0; }
.module__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.module__head h3 { margin: 0; }

/* --------------------------------------------------------------------------
   Tabs (产品页功能分组)
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; justify-content: center; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-size: 15px; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: all .15s;
}
.tab:hover { border-color: #c3d3f2; color: var(--brand); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   表格
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: #fff; color: var(--ink); font-size: 14px; border-bottom: 2px solid var(--line); position: sticky; top: 0; }
tbody th { font-weight: 600; color: var(--text); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fbfcfe; }
td .yes { color: var(--ok); font-weight: 800; }
td .no { color: #b6c0cd; }
td .extra { color: var(--fire-dark); font-weight: 700; }

/* --------------------------------------------------------------------------
   定价
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; }
.plan--featured { border-color: var(--brand); box-shadow: 0 18px 44px rgba(30, 79, 255, .18); }
.plan--featured::before {
  content: "最受欢迎"; position: absolute; top: -12px; left: 22px;
  background: linear-gradient(120deg, var(--brand), #4a78ff); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.plan h3 { font-size: 18px; }
.plan__desc { font-size: 14px; color: var(--muted); min-height: 44px; margin: 6px 0 14px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price b { font-size: 34px; color: var(--ink); line-height: 1; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan .feature-list { flex: 1; margin-bottom: 20px; }
.plan .feature-list li { font-size: 14.5px; margin: 7px 0; }
.plan__btn { margin-top: auto; }

.billing-switch { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 22px; }
.billing-switch button { border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--muted); padding: 7px 18px; border-radius: 999px; cursor: pointer; }
.billing-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save-pill { font-size: 12px; color: var(--ok); font-weight: 700; }

.addon { display: flex; gap: 16px; align-items: flex-start; }
.addon__price { margin-left: auto; font-weight: 800; color: var(--fire-dark); white-space: nowrap; font-size: 15px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq__item > dt { margin: 0; }
.faq__q {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink); font-size: 16px;
  padding: 17px 20px; cursor: pointer;
}
.faq__q::after { content: "+"; margin-left: auto; color: var(--brand); font-size: 20px; line-height: 1.2; flex: none; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { padding: 0 20px 18px 20px; color: var(--muted); font-size: 15px; }
.faq__a[hidden] { display: none; }
.faq__a p { margin-bottom: 8px; }
.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   对比 / 优点条
   -------------------------------------------------------------------------- */
.benefit-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit h4 { font-size: 15.5px; margin-bottom: 4px; }
.benefit p { font-size: 14px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: 20px; padding: 46px 40px; color: #fff;
  background:
    radial-gradient(600px 240px at 88% 0%, rgba(255, 107, 44, .35), transparent 60%),
    linear-gradient(120deg, #0d1a33 0%, #17306e 100%);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c3d2ea; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__note { font-size: 13px; color: #9fb1cc; text-align: center; }

/* --------------------------------------------------------------------------
   表单
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--fire); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 79, 255, .14);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14.5px; }
.form-status--ok { background: #eaf7f1; border: 1px solid #b7e3cd; color: #0d6b47; }
.form-status--err { background: #fdefec; border: 1px solid #ffcdbd; color: #a53c17; }
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   联系页
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.qr-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.qr-card img { width: 220px; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.qr-card h3 { margin-bottom: 6px; }
.qr-card p { font-size: 14.5px; color: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list b { display: block; font-size: 15px; color: var(--ink); }
.info-list span { font-size: 14.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   面包屑
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #c2ccd8; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   页内目录 / 锚点导航
   -------------------------------------------------------------------------- */
.anchor-nav { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-nav a { font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: #fff; }
.anchor-nav a:hover { color: var(--brand); border-color: #c3d3f2; text-decoration: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #a9b8ce; padding: 60px 0 26px; font-size: 14.5px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.footer-grid a { color: #a9b8ce; }
.footer-grid a:hover { color: #fff; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.footer__about { max-width: 340px; }
.footer__qr { margin-top: 18px; }
.footer__qr img { width: 108px; border-radius: 8px; background: #fff; padding: 6px; }
.footer__qr span { font-size: 13px; display: block; margin-top: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 13.5px;
}
.footer-bottom a { color: #a9b8ce; }
.footer-bottom .beian { color: #7f8fa6; }

/* --------------------------------------------------------------------------
   移动端浮动 CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
}
.mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: 15px; }

/* --------------------------------------------------------------------------
   动效
   -------------------------------------------------------------------------- */
/* 滚动渐显：仅在 JS 生效时启用，脚本失败或未执行时内容始终可见 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .benefit-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .hero { padding: 46px 0; }
  .hero__grid, .contact-grid, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; }
  .hero__badge { left: 10px; bottom: 14px; }
  .cta-band { padding: 34px 26px; }
  .pain { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 8px 18px 18px; margin-left: 0;
    transform: translateY(-120%); transition: transform .22s ease; z-index: 95;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .site-footer { padding-bottom: 40px; }
}

@media (max-width: 620px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .benefit-bar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 32px; }
  .hero__sub { font-size: 16.5px; }
  .qr-card img { width: 190px; }
  table { min-width: 640px; }
}

@media print {
  .site-header, .mobile-cta, .anchor-nav, .cta-band__actions, .nav-toggle { display: none !important; }
  .section { padding: 20px 0; }
  body { color: #000; }
}
