/* ============================================================
   LeadHarbor — Premium Enterprise Design System
   藏青蓝 + 冰蓝配色（无紫）· 规范见 DESIGN.md
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #0f5fff;
  --brand-hover: #0a47cc;
  --brand-deep: #073a99;
  --brand-soft: #e8f0ff;
  --brand-glow: rgba(15, 95, 255, .30);
  --brand-ink: #0b4bc4;

  --ink: #08182f;
  --ink-2: #1f3555;
  --body: #55677f;
  --muted: #8595ab;

  --bg: #ffffff;
  --bg-alt: #f6f9fd;
  --surface: #ffffff;
  --line: #e3eaf4;
  --line-soft: #eef3fa;

  --dark: #071426;
  --dark-2: #0f2039;

  --ice: #22c7e8;
  --ice-soft: #e2f7fc;
  --steel: #7ba7e8;
  --warn: #e2703a;
  --success: #0f9d58;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-1: 0 1px 2px rgba(8, 24, 47, .05);
  --sh-2: 0 1px 2px rgba(8, 24, 47, .04), 0 12px 28px -20px rgba(20, 52, 92, .32);
  --sh-3: 0 2px 4px rgba(8, 24, 47, .05), 0 28px 60px -30px rgba(20, 52, 92, .38);
  --sh-cta: 0 12px 30px -12px rgba(15, 95, 255, .55);

  --sans: 'Inter var', 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont,
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'Berkeley Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.78;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv01', 'ss03';
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.008em; }
p { margin: 0; }
/* 中文排版：标题与关键文案避免在词中间断行 */
h1, h2, h3, .h-xl, .h-lg, .h-md, .eyebrow, .btn, .card h3, .pain h3 {
  word-break: keep-word;
  overflow-wrap: break-word;
}
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 95, 255, .20);
  border-radius: 6px;
}

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 112px 0; }
.section--tight { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, .70);
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(255, 255, 255, .68); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 4. Typography blocks ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink);
  background: rgba(15, 95, 255, .06);
  border: 1px solid rgba(15, 95, 255, .22);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 26px;
}
.section--dark .eyebrow {
  color: #9cc0f5; background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

/* 中文标题字重说明：
   Stripe 用 300 细字重是拉丁字母语境，中文不适用 —— 中文字形笔画密集，
   300 会显得单薄发虚、缺乏权威感。这里按「展示越大字重越高」的规律上调，
   粗细对比靠字号与颜色拉开，而非靠极细字重。 */
.h-xl {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
}
.h-lg {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.014em;
}
.h-md {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.008em;
}

.lead {
  font-size: 17px; line-height: 1.75; color: var(--body);
  max-width: 720px; margin-top: 20px;
}
.lead--center { margin-inline: auto; }
/* 桌面端强制两行断句，避免中文在词中间断开；移动端自然换行 */
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

.sec-head { margin-bottom: 56px; }
.sec-head .lead { max-width: 640px; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); border-color: #cfdcee; box-shadow: var(--sh-2); }

.btn--primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.btn--primary:hover {
  background: var(--brand-hover); border-color: var(--brand-hover);
  box-shadow: var(--sh-cta);
}

.btn--ghost {
  background: transparent; border-color: #a9c6f2; color: var(--brand);
}
.btn--ghost:hover { background: rgba(15, 95, 255, .06); border-color: var(--brand); }

.btn--lg { min-height: 54px; padding: 15px 34px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.section--dark .btn { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.section--dark .btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .35); }
.section--dark .btn--primary { background: #fff; border-color: #fff; color: var(--dark); }
.section--dark .btn--primary:hover { background: #eceffa; border-color: #eceffa; }

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

/* arrow micro-icon */
.btn .arw { transition: transform .28s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s, border-color .35s;
}
.nav.on-dark {
  background: rgba(11, 16, 32, .72);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 4px 14px -4px var(--brand-glow);
  display: grid; place-items: center;
}
.brand-mark svg { width: 15px; height: 15px; }
.nav.on-dark .brand { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  position: relative;
  padding: 8px 14px; border-radius: 7px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.nav-links > a:hover { color: var(--ink); background: rgba(8, 24, 47, .05); }
.nav-links > a.active { color: var(--brand); }
.nav-links > a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.nav.on-dark .nav-links > a { color: rgba(255, 255, 255, .74); }
.nav.on-dark .nav-links > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav.on-dark .nav-links > a.active { color: #fff; }
.nav.on-dark .nav-links > a.active::after { background: #fff; }

.nav-cta {
  margin-left: 10px;
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--brand); color: #fff !important;
  font-size: 14.5px; font-weight: 500;
  box-shadow: 0 6px 18px -8px var(--brand-glow);
  transition: background .2s, box-shadow .25s, transform .25s var(--ease);
}
.nav-cta:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--sh-cta); }
.nav.on-dark .nav-cta { background: #fff; color: var(--dark) !important; }
.nav.on-dark .nav-cta:hover { background: #eceffa; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 108px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(15, 95, 255, .18) 0%, transparent 62%),
    radial-gradient(760px 420px at 84% 6%, rgba(34, 199, 232, .14) 0%, transparent 60%),
    radial-gradient(680px 400px at 14% 2%, rgba(123, 167, 232, .16) 0%, transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(8, 24, 47, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 24, 47, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(760px 420px at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(760px 420px at 50% 22%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero h1 { color: var(--ink); }
/* 中文笔画密集，background-clip:text 的连续渐变会在笔画内部产生断层、
   边缘发虚。改用「纯色 + 底部细高亮条」的方案，清晰且更高级。 */
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  display: inline-block;
  padding-bottom: .06em;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--ice));
}
.hero .lead { margin-inline: auto; max-width: 660px; }
.hero .btn-row { margin-top: 40px; }

.hero-meta {
  margin-top: 56px;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.hero-meta div { text-align: center; }
.hero-meta b {
  display: block; font-size: 36px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.hero-meta small { font-size: 13px; color: var(--muted); }

.hero-panel {
  margin-top: 72px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  overflow: hidden;
  text-align: left;
}
.hero-panel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fcfeff, var(--bg-alt));
}
.hero-panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7e1ee; display: block; }
.hero-panel-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hero-panel-body { padding: 26px; display: grid; gap: 12px; }

.mock-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 13px 16px; border-radius: 10px;
  background: #fafcfe; border: 1px solid var(--line-soft);
}
.mock-row b { font-size: 14px; font-weight: 500; color: var(--ink); }
.mock-row .score {
  font-family: var(--mono); font-size: 12.5px; color: var(--brand);
  background: var(--brand-soft); padding: 3px 9px; border-radius: 5px;
}
.mock-row .tag { font-size: 12px; color: var(--success); background: rgba(21, 190, 83, .12);
  padding: 3px 9px; border-radius: 999px; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: #d6e2f0; }
.card h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--body); }

.card--icon { padding-top: 30px; }
.card-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid rgba(15, 95, 255, .16);
}
.card-ico svg { width: 20px; height: 20px; }

.card--featured {
  border-color: rgba(15, 95, 255, .40);
  box-shadow: 0 0 0 1px rgba(15, 95, 255, .18), 0 28px 60px -32px rgba(15, 95, 255, .42);
}
.ribbon {
  position: absolute; top: -1px; right: 22px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: #fff; padding: 5px 12px 6px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
}

.price {
  font-size: 32px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink); margin: 6px 0 16px;
  font-variant-numeric: tabular-nums;
}

/* dark variant */
.section--dark .card {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .10);
}
.section--dark .card:hover { background: rgba(255, 255, 255, .075); border-color: rgba(255, 255, 255, .18); }
.section--dark .card p { color: rgba(255, 255, 255, .66); }
.section--dark .card-ico {
  background: rgba(255, 255, 255, .08); color: #a9c8f0;
  border-color: rgba(255, 255, 255, .12);
}
.section--dark .card--featured {
  border-color: rgba(140, 116, 255, .5);
  box-shadow: 0 0 0 1px rgba(140, 116, 255, .3), 0 40px 90px -46px rgba(0, 0, 0, .6);
}
.section--dark .price { color: #fff; }

/* ---------- 9. Pain points (numbered) ---------- */
.pain {
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.pain-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--warn); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.pain-num::after { content: ''; width: 26px; height: 1px; background: rgba(234, 34, 97, .3); }
.pain h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.pain p { font-size: 14.5px; }

/* ---------- 10. Steps / flow ---------- */
.flow { counter-reset: s; display: grid; gap: 0; }
.flow-item {
  counter-increment: s;
  display: grid; grid-template-columns: 62px 1fr; gap: 24px;
  padding: 30px 0; border-top: 1px solid var(--line-soft);
  align-items: start;
}
.flow-item:last-child { border-bottom: 1px solid var(--line-soft); }
.flow-item::before {
  content: '0' counter(s);
  font-family: var(--mono); font-size: 15px; letter-spacing: .04em;
  color: var(--brand); font-weight: 500;
  padding-top: 2px;
}
.flow-item h4 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.flow-item p { font-size: 14.5px; }

/* ---------- 11. Feature list ---------- */
.feature-list { display: grid; gap: 11px; }
.feature-list li {
  position: relative; padding-left: 26px;
  font-size: 14.5px; color: var(--body);
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg);
}
.section--dark .feature-list li { color: rgba(255, 255, 255, .68); }
.section--dark .feature-list li::before { border-color: var(--steel); }

/* ---------- 12. Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 26px 24px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  text-align: left;
}
.stat b {
  display: block; font-size: 36px; font-weight: 600; letter-spacing: -.01em;
  color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* ---------- 13. Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .lead { margin-top: 18px; }
.split--reverse .split-media { order: -1; }

.split-media {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fbfdff, #f1f6fc);
  box-shadow: var(--sh-3);
  padding: 26px;
}
.split-media-inner {
  border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line-soft);
  padding: 20px; display: grid; gap: 11px;
}
.split-media h5 {
  margin: 0 0 4px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .06em; color: var(--muted); font-weight: 500;
}

/* ---------- 14. Logo strip ---------- */
.logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 56px;
  align-items: center;
}
.logos span {
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); opacity: .8;
}

/* ---------- 15. Forms ---------- */
.lead-form-wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start;
}
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  padding: 34px;
  display: grid; gap: 16px;
}
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.form-field input {
  width: 100%;
  min-height: 48px; padding: 13px 15px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff;
  border: 1px solid #dfe7f2; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder { color: #a3b1c6; }
.form-field input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 95, 255, .14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--muted); }
#lead-result { font-size: 13.5px; min-height: 20px; color: var(--success); font-weight: 500; }
#lead-result.err { color: var(--warn); }

.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2);
}
.check-list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--success); }

/* ---------- 16. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 340px at 20% 0%, rgba(15, 95, 255, .36) 0%, transparent 62%),
    radial-gradient(620px 320px at 84% 100%, rgba(34, 199, 232, .28) 0%, transparent 60%),
    var(--dark);
  color: rgba(255, 255, 255, .72);
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(700px 340px at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(700px 340px at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .70); margin-inline: auto; }
.cta-band .btn-row { margin-top: 36px; }

/* ---------- 17. Page header ---------- */
.page-head {
  padding: 104px 0 68px;
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(15, 95, 255, .16), transparent 62%),
    linear-gradient(180deg, #fbfdff, #ffffff);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-head .lead { margin-inline: auto; }
.breadcrumb {
  font-size: 13px; color: var(--muted); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .55);
  padding: 76px 0 34px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer h5 {
  margin: 0 0 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); font-weight: 600;
}
.footer-links { display: grid; gap: 11px; }
.footer a { color: rgba(255, 255, 255, .62); }
.footer a:hover { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; line-height: 1.75; }
.footer-bottom {
  padding-top: 26px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, .38);
}

/* ---------- 19. Reveal animation ----------
   关键：内容默认「可见」。JS 只负责加 .js 类来增强入场动画。
   这样无 JS / 截图 / 打印 / 爬虫 / reduced-motion 下内容永远可读。 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1040px) {
  .split, .lead-form-wrap { gap: 48px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section--tight { padding: 64px 0; }
  .hero { padding: 96px 0 80px; }
  .page-head { padding: 80px 0 56px; }

  .grid-3, .grid-4, .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .split, .lead-form-wrap { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }

  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px 24px 28px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a { padding: 12px 14px; font-size: 15px; }
  .nav-links > a.active::after { display: none; }
  .nav-cta { margin: 12px 0 0; justify-content: center; min-height: 46px; }
  .nav-toggle { display: flex; }
  .nav.on-dark .nav-links { background: var(--dark); border-bottom-color: rgba(255, 255, 255, .1); }
  .nav.on-dark .nav-links > a { color: rgba(255, 255, 255, .8); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 76px 0 64px; }
  .hero-meta { gap: 32px; margin-top: 44px; }
  .hero-meta b { font-size: 27px; }
  .grid-2, .grid-3, .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card, .lead-form, .pain { padding: 22px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .flow-item { grid-template-columns: 1fr; gap: 10px; }
  .mock-row { grid-template-columns: 1fr; gap: 8px; }
  .wrap { padding-inline: 20px; }
}