/* ============================================================
   萌力觉醒科技 · 设计系统 (GEO + 本地生活数字化获客官网)
   纯静态 · 零依赖 · 覆盖全站 class
   配色：靛紫主色渐变 #5b6cff → #8a5cff / 暖珊瑚 CTA #ff7a45
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f6f8fc;
  --c-surface: #ffffff;
  --c-text: #1a1d29;
  --c-sub: #6b7280;
  --c-body: #3a3f4d;
  --c-border: #e8ebf2;

  --c-primary: #5b6cff;
  --c-primary-2: #8a5cff;
  --c-accent: #ff7a45;
  --c-accent-2: #ff9a6c;

  --grad: linear-gradient(135deg, #5b6cff 0%, #8a5cff 100%);
  --grad-accent: linear-gradient(135deg, #ff7a45 0%, #ff9a6c 100%);
  --grad-soft: linear-gradient(135deg, rgba(91, 108, 255, 0.08), rgba(138, 92, 255, 0.08));

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 22px 48px rgba(16, 24, 40, 0.14);

  --maxw: 1180px;
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--c-text); }

::selection { background: rgba(91, 108, 255, 0.18); color: var(--c-text); }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 6px;
}

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

main { display: block; padding-bottom: 64px; }
main.container { padding-top: 8px; }

section[id] { scroll-margin-top: 84px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--c-sub);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover { color: var(--c-text); background: rgba(91, 108, 255, 0.08); }
.nav-links a.active { color: var(--c-primary); background: rgba(91, 108, 255, 0.10); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-text);
}

/* ---------- 品牌标识 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
}
.brand-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  align-self: center;
  box-shadow: 0 6px 16px rgba(91, 108, 255, 0.35);
}
.brand small {
  color: var(--c-sub);
  font-size: 11.5px;
  font-weight: 500;
  border-left: 1px solid var(--c-border);
  padding-left: 8px;
  letter-spacing: 0.02em;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(91, 108, 255, 0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(91, 108, 255, 0.40); }

.btn-accent {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 69, 0.30);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 122, 69, 0.42); }

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

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
  background:
    radial-gradient(58% 60% at 86% 8%, rgba(138, 92, 255, 0.12), transparent 60%),
    radial-gradient(50% 50% at 4% 0%, rgba(91, 108, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.35), transparent 70%);
  top: -130px; right: -90px;
}
.hero::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.28), transparent 70%);
  bottom: -150px; left: -110px;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 18px 0 18px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--c-sub);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 42px;
}
.hero-stats .num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .lab { font-size: 13px; color: var(--c-sub); margin-top: 4px; }

/* Hero 视觉卡片 */
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.float-row { display: flex; gap: 14px; }
.float-row .float-card { flex: 1; }
.float-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.fc-head { display: flex; align-items: center; gap: 12px; }
.fc-head h4 { font-size: 15px; margin: 0; }
.fc-head p { font-size: 12px; color: var(--c-sub); margin: 2px 0 0; }
.fc-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ---------- 通用区块 ---------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-tight { padding-top: 40px; padding-bottom: 40px; }
.bg-alt { background: var(--c-bg-alt); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
}
.sec-head p { color: var(--c-sub); font-size: 16px; line-height: 1.7; margin: 0; }

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

/* ---------- 卡片 ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(91, 108, 255, 0.25); }
.card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--c-sub); font-size: 14.5px; line-height: 1.7; margin: 0; }

.ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.10);
}

.biz-card { position: relative; }
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(91, 108, 255, 0.30);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12px;
  color: var(--c-primary);
  background: rgba(91, 108, 255, 0.08);
  border: 1px solid rgba(91, 108, 255, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
}

.more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
  transition: transform 0.18s ease;
}
.card:hover .more { transform: translateX(3px); }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  margin-top: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(91, 108, 255, 0.35);
}
.step h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.step p { color: var(--c-sub); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 特性清单 ---------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: rgba(91, 108, 255, 0.25); }
.feature-list li b { font-weight: 700; }

.ck {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(91, 108, 255, 0.12);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- 表格 ---------- */
.tbl, table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.tbl th, table th {
  background: var(--c-bg-alt);
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.tbl td, table td {
  padding: 13px 16px;
  font-size: 14px;
  color: var(--c-sub);
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.tbl tr:last-child td, table tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover, table tbody tr:hover { background: #fafbff; }

/* ---------- FAQ ---------- */
.faq {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq li {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.faq q {
  display: block;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--c-text);
  margin-bottom: 6px;
  quotes: none;
}
.faq q::before, .faq q::after { content: none; }
.faq .a { display: block; color: var(--c-sub); font-size: 14.5px; line-height: 1.7; }
.faq .ck { color: var(--c-primary); font-weight: 700; margin-right: 6px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 0 0 12px; }
.cta p { color: rgba(255, 255, 255, 0.86); font-size: 16px; margin: 0 0 24px; }
.cta .hero-actions { justify-content: center; }
.cta .btn-primary { background: #fff; color: var(--c-primary); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.cta .btn-primary:hover { background: #f3f4ff; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* ---------- 面包屑 ---------- */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-sub);
  margin: 18px 0 28px;
  flex-wrap: wrap;
}
.crumb a { color: var(--c-sub); text-decoration: none; transition: color 0.18s ease; }
.crumb a:hover { color: var(--c-primary); }
.crumb span { color: var(--c-border); }

/* ---------- 页面 Hero ---------- */
.page-hero { padding: 24px 0 8px; max-width: 840px; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 46px); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.page-hero p { color: var(--c-sub); font-size: 17px; line-height: 1.75; margin: 16px 0 0; max-width: 720px; }

/* ---------- 眉标 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  background: rgba(91, 108, 255, 0.08);
  border: 1px solid rgba(91, 108, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.16);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #0f1226;
  color: #c7cbe0;
  padding: 56px 0 28px;
  margin-top: 8px;
}
.footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer .brand { color: #fff; font-size: 18px; }
.footer .brand small { color: #8087ad; border-left-color: rgba(255, 255, 255, 0.16); }
.footer .logo { box-shadow: 0 6px 16px rgba(91, 108, 255, 0.45); }
.footer .desc { color: #9aa0c0; font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 700; letter-spacing: 0.02em; }
.footer .cols a {
  display: block;
  color: #aeb3d4;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer .cols a:hover { color: #fff; }
.footer .bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
  color: #8087ad;
}
.footer .beian {
  color: #8087ad;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer .beian:hover { color: #cfd4f0; }

/* ---------- 博客索引 ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(91, 108, 255, 0.30); }
.post-thumb {
  height: 130px;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #fff;
}
.post-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.post-body .meta { font-size: 12.5px; color: var(--c-primary); font-weight: 600; }
.post-body h3 { font-size: 16.5px; font-weight: 700; margin: 0; line-height: 1.4; }
.post-body p {
  font-size: 13.5px;
  color: var(--c-sub);
  margin: 0;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-body .more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-primary); }

/* ---------- 博客文章 ---------- */
.article {
  max-width: 780px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.article .meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--c-sub);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.2; margin: 0 0 18px; }
.article .summary {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 18px;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  margin: 0 0 24px;
}
.article .def {
  background: var(--grad-soft);
  border: 1px solid rgba(91, 108, 255, 0.15);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
}
.article .def b { color: var(--c-primary); }
.article h2 { font-size: 22px; font-weight: 800; margin: 32px 0 14px; letter-spacing: -0.01em; }
.article p { color: var(--c-body); font-size: 15.5px; line-height: 1.85; margin: 0 0 16px; }
.article table { margin: 8px 0 24px; }
.article .faq { margin-bottom: 8px; }

/* ---------- 滚动揭示动效（JS 启用时生效） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 32px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 26px; }
  .cta { padding: 36px 22px; }
  .article { padding: 28px 20px; border-radius: var(--r); }
  .nav .container { height: 62px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 20px; }
  .hero-stats .num { font-size: 28px; }
}

/* 尊重用户的减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ============================================================
   页脚联系方式（真实信息 + 复制提示）
   ============================================================ */
.footer .cols a.ft-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
}
.footer .cols a.ft-contact .copy-tip {
  font-size: 11px;
  line-height: 1;
  color: var(--c-primary);
  background: rgba(91, 108, 255, 0.10);
  border: 1px solid rgba(91, 108, 255, 0.18);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 2px;
  transition: background 0.18s ease, color 0.18s ease;
}
.footer .cols a.ft-contact[data-copy]:hover .copy-tip {
  background: var(--c-primary);
  color: #fff;
}

/* ============================================================
   悬浮「添加微信」组件（由 main.js 注入，全站生效，零依赖）
   设计语言：圆角 / 阴影 / 渐变 与全站一致
   ============================================================ */
.wx-fab-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #09bb07 0%, #1ec84b 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(7, 193, 96, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, height 0.2s ease;
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
}
.wx-fab-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(7, 193, 96, 0.5); }
.wx-fab-btn:active { transform: translateY(0) scale(0.96); }
.wx-fab-ic { font-size: 20px; line-height: 1; }
.wx-fab-txt { font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; }
.wx-fab-btn.is-shrunk { width: 46px; height: 46px; }
.wx-fab-btn.is-shrunk .wx-fab-txt { display: none; }

/* 弹层容器与遮罩 */
.wx-panel { position: fixed; inset: 0; z-index: 9998; visibility: hidden; }
.wx-panel.open { visibility: visible; }
.wx-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 38, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.wx-panel.open .wx-overlay { opacity: 1; }

/* 弹层卡片（桌面：右下角浮卡） */
.wx-panel-card {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: 280px;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 16px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease, opacity 0.22s ease;
  pointer-events: none;
}
.wx-panel.open .wx-panel-card { opacity: 1; transform: none; pointer-events: auto; }
.wx-sheet-handle { display: none; }
.wx-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wx-panel-title { font-size: 15px; font-weight: 800; color: var(--c-text); }
.wx-panel-close {
  border: none; background: var(--c-bg-alt); color: var(--c-sub);
  width: 28px; height: 28px; border-radius: 50%; font-size: 18px; line-height: 1;
  cursor: pointer; transition: background 0.18s ease, color 0.18s ease;
}
.wx-panel-close:hover { background: #eef0f7; color: var(--c-text); }

.wx-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; border-top: 1px solid var(--c-border);
}
.wx-row:first-of-type { border-top: none; }
.wx-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wx-id-lab { font-size: 11px; color: var(--c-sub); }
.wx-id-num { font-size: 16px; font-weight: 800; color: var(--c-text); letter-spacing: 0.01em; }
.wx-tel { text-decoration: none; }
.wx-copy {
  border: 1px solid var(--c-border); background: #fff; color: var(--c-primary);
  font: inherit; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.wx-copy:hover { background: rgba(91, 108, 255, 0.10); border-color: rgba(91, 108, 255, 0.30); }
.wx-copy.done { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.wx-qr {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-border);
}
.wx-qr-img {
  width: 160px; height: 160px;
  display: block;
  background: #fff; padding: 6px; box-sizing: border-box;
  border: 1px solid var(--c-border); border-radius: 10px;
  box-shadow: 0 2px 8px rgba(17, 20, 42, 0.04);
}
.wx-qr-cap { font-size: 12px; color: var(--c-sub); }

/* 复制成功 Toast */
.wx-toast {
  position: fixed; left: 50%; bottom: 92px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(17, 20, 42, 0.94); color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow);
  z-index: 10001; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wx-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 移动端：底部上滑 sheet */
@media (max-width: 768px) {
  .wx-fab-btn {
    width: 48px; height: 48px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .wx-fab-ic { font-size: 18px; }
  .wx-fab-txt { font-size: 9px; }
  .wx-panel-card {
    right: 0; left: 0; bottom: 0; width: 100%;
    max-height: 80vh; overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 6px 18px calc(22px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .wx-panel.open .wx-panel-card { transform: translateY(0); }
  .wx-sheet-handle {
    display: block; width: 40px; height: 4px; border-radius: 999px;
    background: #d7dae6; margin: 6px auto 12px;
  }
  .wx-toast { bottom: calc(22px + env(safe-area-inset-bottom)); }
}
