/* ============================================================
   聚格CRM — 现代企业管理软件官网
   设计系统 / Design System
   ============================================================ */

:root {
  /* 品牌色 */
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-light: #eef2ff;
  --brand-50: #f5f3ff;
  --accent: #06b6d4;
  --accent-soft: #ecfeff;

  /* 中性色 */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft-2: #f1f5f9;

  /* 功能色 */
  --success: #10b981;
  --warning: #f59e0b;

  /* 形状 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(79, 70, 229, .35);
  --shadow-brand: 0 18px 40px -16px rgba(79, 70, 229, .45);

  --maxw: 1240px;
  --nav-h: 76px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================== 基础重置 ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #fafbff 0%, #f4f6ff 100%); }

/* ===================== 导航 ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* 滚动后：半透明毛玻璃 */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(226, 232, 240, .85);
  box-shadow: 0 10px 32px -22px rgba(15, 23, 42, .28);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; letter-spacing: -.02em; flex: none; }
.brand img { display: block; height: 42px; width: auto; }
.brand__logo { display: none; } /* 兼容旧结构：当前使用真实品牌图 */
.brand__name { display: none; } /* 兼容旧结构：当前使用真实品牌图 */

.nav__brand-group {
  display: flex; align-items: center; gap: 16px; flex: none;
}
.brand-phone {
  display: flex; flex-direction: column; gap: 1px;
  padding-left: 18px; border-left: 1px solid var(--line);
  line-height: 1.3;
}
.brand-phone small {
  font-size: 11px; color: var(--muted); font-weight: 500;
  letter-spacing: .04em;
}
.brand-phone a {
  font-size: 17px; font-weight: 800; color: var(--brand);
  letter-spacing: -.01em; white-space: nowrap;
}
.brand-phone a:hover { color: var(--brand-dark); }

/* 菜单 + 滑动指示条 */
.nav__menu {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.nav__menu a {
  position: relative; padding: 10px 18px; border-radius: 10px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  letter-spacing: .01em; white-space: nowrap;
  transition: color .28s ease, background .28s ease;
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a.is-active { color: var(--brand); font-weight: 700; }
.nav__indicator {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1),
              width .32s cubic-bezier(.4, 0, .2, 1),
              opacity .22s ease;
}
.nav__indicator.on { opacity: 1; }

.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* 汉堡按钮（三线 ⇄ 关闭 X 动画） */
.nav__toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  transition: background .25s ease;
}
.nav__toggle:hover { background: var(--bg-soft-2); }
.nav__toggle span {
  position: absolute; left: 12px; width: 20px; height: 2px;
  border-radius: 2px; background: var(--ink);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, top .32s cubic-bezier(.4, 0, .2, 1);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav__toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #0891b2; transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ===================== Hero ===================== */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(6,182,212,.16) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 20%, rgba(79,70,229,.18) 0%, transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7ff 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 0%, transparent 80%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--brand); box-shadow: var(--shadow-sm);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 20px 0 18px; letter-spacing: -.025em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat .n { font-size: 26px; font-weight: 800; color: var(--ink); }
.hero__stat .l { font-size: 13.5px; color: var(--muted); }

/* Hero 视觉卡 */
.hero__visual { position: relative; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 20px; overflow: hidden;
}
.dash__head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.dash__head i { width: 10px; height: 10px; border-radius: 50%; background: #fca5a5; }
.dash__head i:nth-child(2) { background: #fcd34d; }
.dash__head i:nth-child(3) { background: #86efac; }
.dash__title { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.kpi { background: var(--bg-soft); border-radius: 14px; padding: 14px; }
.kpi .v { font-size: 20px; font-weight: 800; }
.kpi .v.up { color: var(--success); }
.kpi .k { font-size: 12px; color: var(--muted); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 6px 2px 0; }
.chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand) 0%, #a5b4fc 100%); }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-card.fc1 { top: -22px; right: -10px; animation: float 5s ease-in-out infinite; }
.float-card.fc2 { bottom: -20px; left: -16px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===================== 信任条 ===================== */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; padding: 22px 0; }
.trust__item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); font-weight: 600; }
.trust__item .ic { color: var(--brand); }

/* ===================== 区块标题 ===================== */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head .eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.sec-head--left { text-align: left; margin-left: 0; }

/* ===================== 特性卡片 ===================== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand); margin-bottom: 18px; font-size: 24px;
  transition: background .25s ease, color .25s ease;
}
.card:hover .card__ic { background: var(--brand); color: #fff; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card__list li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.card__list .ck { color: var(--brand); flex: none; }

.feature-card--accent .card__ic { background: var(--accent-soft); color: var(--accent); }
.feature-card--accent:hover .card__ic { background: var(--accent); color: #fff; }

/* ===================== 产品页专用 ===================== */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.product-hero__copy h1 { font-size: clamp(28px, 3.4vw, 40px); }
.product-hero__copy p { color: var(--muted); font-size: 17px; margin: 16px 0 24px; }
.feature-list { display: grid; gap: 12px; margin-top: 8px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .ck { color: var(--brand); flex: none; margin-top: 3px; }
.feature-list b { color: var(--ink); }

/* Tab 切换 */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab {
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 600; font-size: 14.5px; color: var(--muted); background: #fff; transition: .2s;
}
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===================== 步骤 / 流程 ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand); font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===================== CTA 区块 ===================== */
.cta {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 55%, #3b2fb0 100%);
  border-radius: var(--r-xl); color: #fff; padding: 56px 48px;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(6,182,212,.5), transparent 70%); border-radius: 50%;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta p { color: rgba(255,255,255,.82); margin: 12px 0 26px; max-width: 560px; }
.cta .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.22); }

/* ===================== 终端展示 ===================== */
.terminal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.term-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; }
.term-card .tag { font-size: 13px; color: var(--brand); font-weight: 700; }
.term-card h3 { font-size: 20px; margin: 6px 0 14px; }
.term-card ul { display: grid; gap: 10px; }
.term-card li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.term-card li .ck { color: var(--accent); flex: none; }

/* ===================== 关于页数据 ===================== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; text-align: center; }
.stat-box .n { font-size: 40px; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-box .l { color: var(--muted); margin-top: 8px; font-size: 14.5px; }

/* 时间线 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.tl-item .yr { font-weight: 800; color: var(--brand); font-size: 15px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ===================== 联系页 ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-card h4 { font-size: 16px; }
.info-card p { color: var(--muted); font-size: 14.5px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-light);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===================== 二维码咨询卡 ===================== */
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.qr-card h3 { margin: 0; }
.qr-card__sub {
  color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.6; max-width: 320px;
}
.qr-card__img {
  width: 240px; height: 240px; margin: 6px auto 0;
  padding: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, .18);
  display: block;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.qr-card__img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -16px rgba(79, 70, 229, .28);
}
.qr-card__tip {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 8px 14px;
  border-radius: 999px; background: var(--brand-light); color: var(--brand);
  font-size: 13.5px; font-weight: 600;
}
.qr-card__tip .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgba(79, 70, 229, .6);
  animation: qr-pulse 1.8s ease-out infinite;
}
@keyframes qr-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(79, 70, 229, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0   rgba(79, 70, 229, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .qr-card__img { transition: none; }
  .qr-card__img:hover { transform: none; }
  .qr-card__tip .pulse { animation: none; }
}
@media (max-width: 760px) {
  .qr-card__img { width: 200px; height: 200px; }
}

.map {
  margin-top: 40px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef2ff, #ecfeff); min-height: 220px;
  display: grid; place-items: center; color: var(--muted); font-weight: 600;
}

/* ===================== 页脚 ===================== */
.footer { background: var(--ink); color: #cbd5e1; padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand__name b { color: #fff; }
.footer__about { color: #94a3b8; font-size: 14.5px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; position: relative; padding-left: 0; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: #94a3b8; font-size: 14.5px; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #64748b;
}
.footer__bottom a { color: #94a3b8; }
.footer__bottom a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cbd5e1; transition: .2s; }
.footer__social a:hover { background: var(--brand); color: #fff; }

/* ===================== 滚动揭示 ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */
@media (max-width: 1080px) {
  .brand-phone { display: none; }
  .nav__inner { gap: 24px; }
  .nav__menu a { padding: 10px 13px; font-size: 15px; }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; }
  .product-hero { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .terminal { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }

  /* 折叠菜单：汉堡 + 下拉面板动画 */
  .nav__toggle { display: block; margin-left: auto; }
  .nav__indicator { display: none; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    margin-left: 0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 14px 24px 22px;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    /* 展开/收起动画 */
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .3s ease, transform .34s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .34s;
  }
  .nav__menu.open {
    visibility: visible; opacity: 1; transform: translateY(0);
    pointer-events: auto;
    transition: opacity .3s ease, transform .34s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  }
  .nav__menu a {
    padding: 13px 16px; border-radius: 12px; font-size: 16px;
    opacity: 0; transform: translateY(-6px);
    transition: opacity .3s ease, transform .3s ease, color .25s ease, background .25s ease;
  }
  .nav__menu.open a { opacity: 1; transform: translateY(0); }
  .nav__menu.open a:nth-child(1) { transition-delay: .04s; }
  .nav__menu.open a:nth-child(2) { transition-delay: .08s; }
  .nav__menu.open a:nth-child(3) { transition-delay: .12s; }
  .nav__menu.open a:nth-child(4) { transition-delay: .16s; }
  .nav__menu.open a:nth-child(5) { transition-delay: .20s; }
  .nav__menu a:hover { background: var(--brand-light); }
  .nav__menu a.is-active { background: var(--brand-light); }
}
@media (max-width: 760px) {
  .nav__cta .btn { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4, .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 40px 26px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .brand img { height: 38px; }
}
@media (max-width: 460px) {
  .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .nav__inner { gap: 14px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== 全局悬浮电话按钮 ===================== */
.fab-phone {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 999;
  display: flex; align-items: center; gap: 0;
  height: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(79, 70, 229, .55), 0 4px 12px rgba(15, 23, 42, .12);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
  will-change: transform;
}
.fab-phone:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 40px -8px rgba(79, 70, 229, .65), 0 6px 16px rgba(15, 23, 42, .16);
  color: #fff;
}
.fab-phone:active { transform: scale(.96); }

/* 电话图标：来电摇铃动画 */
.fab-phone__icon {
  width: 24px; height: 24px; flex: none;
  animation: fab-ring-shake 2.6s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes fab-ring-shake {
  0%, 76%, 100% { transform: rotate(0); }
  80% { transform: rotate(-13deg); }
  84% { transform: rotate(11deg); }
  88% { transform: rotate(-9deg); }
  92% { transform: rotate(6deg); }
  96% { transform: rotate(-3deg); }
}

/* 外圈脉冲光环 */
.fab-phone__ring {
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(79, 70, 229, .45);
  animation: fab-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 70, 229, .45); }
  70%  { box-shadow: 0 0 0 16px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* 桌面端：悬停平滑展开号码 */
.fab-phone__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-size: 16px; font-weight: 800; letter-spacing: .01em;
  transition: max-width .38s cubic-bezier(.2,.7,.2,1), opacity .3s ease, margin-left .38s cubic-bezier(.2,.7,.2,1);
}
.fab-phone:hover .fab-phone__label,
.fab-phone:focus-visible .fab-phone__label {
  max-width: 160px; opacity: 1; margin-left: 10px;
}
.fab-phone:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }

/* 移动端：纯圆形按钮，稍小、避让内容与安全区 */
@media (max-width: 760px) {
  .fab-phone {
    height: 54px; width: 54px; padding: 0;
    justify-content: center;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .fab-phone__label { display: none; }
}

/* 减少动效偏好：停用摇铃与脉冲 */
@media (prefers-reduced-motion: reduce) {
  .fab-phone__icon, .fab-phone__ring { animation: none !important; }
  .fab-phone, .fab-phone:hover { transform: none; }
}
