/* ============================================================
   咨询管家 · 产品介绍官网（清爽对标版）
   对标：Linear / Stripe / 飞书 / Notion / Vanta
   原则：克制配色 · 大留白 · 真实界面 · 数据安全前置
   ============================================================ */

:root {
  /* 品牌主色（取自产品，保留 #039946） */
  --brand: #039946;
  --brand-dark: #027a38;
  --brand-darker: #016b31;
  --brand-light: #e8f7ee;
  --brand-tint: #f3fbf6;

  /* 中性色阶 */
  --ink: #0f1c17;        /* 近黑主文本 */
  --text-1: #1a2b24;
  --text-2: #54655d;
  --text-3: #8a978f;
  --border: #e8ecea;
  --border-strong: #d6ddd9;
  --bg: #ffffff;
  --bg-subtle: #f7faf8;
  --bg-mist: #fbfdfc;

  /* 安全区块深色（严肃区，制造"数据金库"心理暗示） */
  --dark: #0b281e;
  --dark-2: #103229;
  --dark-3: #16402f;
  --on-dark: #eef6f1;
  --on-dark-2: #a8c4b6;
  --on-dark-3: #6f8d7d;

  /* 状态/辅助 */
  --ok: #039946;
  --warn: #d98e04;

  /* 间距 / 栅格 */
  --container: 1160px;
  --section-y: 120px;
  --card-pad: 28px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* 字号（仅 5 级） */
  --fs-h1: 52px;
  --fs-h2: 32px;
  --fs-h3: 19px;
  --fs-body: 16px;
  --fs-cap: 14px;

  /* 字重（仅 3 档） */
  --w-regular: 400;
  --w-medium: 500;
  --w-bold: 600;

  /* 阴影（极轻，主要靠 1px 边框） */
  --shadow-card: 0 1px 2px rgba(15,28,23,0.04), 0 8px 24px rgba(15,28,23,0.05);
  --shadow-pop: 0 12px 40px rgba(15,28,23,0.10);

  --header-h: 68px;
  --font-cn: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: "SF Mono", "Roboto Mono", ui-monospace, "Menlo", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: var(--w-medium);
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
  line-height: 1.2;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(3,153,70,0.22);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(3,153,70,0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--brand-tint); border-color: var(--brand); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-on-dark {
  background: #fff;
  color: var(--dark);
}
.btn-on-dark:hover { background: #f0f5f2; transform: translateY(-1px); }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--dark-3);
}
.btn-ghost-on-dark:hover { background: rgba(255,255,255,0.08); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--border); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: var(--w-bold);
  color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text-2);
  border-radius: 8px;
  transition: all 0.18s ease;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-tint); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 600;
  font-family: var(--font-num);
}
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  width: 44px; height: 44px; padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: 0.22s ease;
}

/* ---------- 通用 section ---------- */
section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--w-medium);
  color: var(--brand);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--w-bold);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.section-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}
.text-grad {
  background: linear-gradient(120deg, var(--brand), #06b85c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 84px) 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(3,153,70,0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-mist), #fff 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.hero-badge .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-size: 11px;
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: var(--w-bold);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero-desc {
  margin: 22px 0 30px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 13px;
}
.hero-trust .logos { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; color: var(--text-2); }

/* 产品截图 · 浏览器窗口框 */
.browser {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d8e0db; display: block;
}
.browser-bar .url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-num);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 12px;
  flex: 1;
}
.browser-bar .tag {
  font-size: 11px; color: var(--brand); background: var(--brand-light);
  padding: 3px 10px; border-radius: 6px; font-weight: 500;
}
.browser img { display: block; width: 100%; height: auto; }
.browser-bar { display: none; }

/* ---------- 信任数字条 ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat .num .u { font-size: 20px; margin-left: 2px; }
.stat .label { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ---------- 核心价值 ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  transition: all 0.22s ease;
}
.value:hover { border-color: var(--brand); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.value .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.value .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 18px; font-weight: var(--w-bold); margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }

/* ---------- 产品能力 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cap {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.cap:hover { border-color: var(--brand); box-shadow: var(--shadow-card); }
.cap-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cap-head .n {
  font-family: var(--font-num);
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 7px;
  padding: 3px 9px;
}
.cap-head h3 { font-size: 17.5px; font-weight: var(--w-bold); }
.cap > p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; }
.cap-shot {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-subtle);
}
.cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 18px;
}
.cap-list li {
  font-size: 13.5px; color: var(--text-2);
  display: flex; align-items: flex-start; gap: 8px;
}
.cap-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); margin-top: 8px; flex: none;
}

/* ---------- 角色价值 ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.role {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 22px;
  background: var(--bg-subtle);
}
.role .who { font-size: 15px; font-weight: var(--w-bold); margin-bottom: 10px; color: var(--brand); }
.role p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* ---------- 数据安全（深色区块，严肃区）---------- */
.secure {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.secure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 85% 0%, rgba(3,153,70,0.16), transparent 60%);
  pointer-events: none;
}
.secure .section-head { position: relative; }
.secure .eyebrow { color: #5fd99a; }
.secure .section-title { color: #fff; }
.secure .section-sub { color: var(--on-dark-2); }

.secure-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}
.promise {
  border: 1px solid var(--dark-3);
  border-radius: var(--r-md);
  padding: 26px 24px;
  background: rgba(255,255,255,0.03);
}
.promise .shield { font-size: 24px; margin-bottom: 12px; }
.promise .shield svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise h4 { font-size: 17px; font-weight: var(--w-bold); color: #fff; margin-bottom: 8px; }
.promise p { font-size: 13.5px; color: var(--on-dark-2); line-height: 1.7; }
.promise .meta {
  margin-top: 14px; font-size: 12.5px; color: #5fd99a;
  font-family: var(--font-num); letter-spacing: 0.01em;
}

.secure-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  position: relative;
}
.secure-list { display: grid; gap: 14px; }
.secure-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: var(--on-dark);
  padding: 14px 16px;
  border: 1px solid var(--dark-3);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
}
.secure-list .k {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(3,153,70,0.18); color: #5fd99a;
  display: grid; place-items: center; font-size: 15px;
}
.secure-list b { color: #fff; font-weight: var(--w-bold); }
.secure-list span { color: var(--on-dark-2); }

.certs {
  border: 1px solid var(--dark-3);
  border-radius: var(--r-lg);
  padding: 26px;
  background: rgba(255,255,255,0.03);
}
.certs h4 { color: #fff; font-size: 15px; font-weight: var(--w-bold); margin-bottom: 16px; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cert {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--on-dark-2);
  padding: 9px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.cert .badge {
  width: 18px; height: 18px; border-radius: 5px; flex: none;
  background: var(--brand); color: #fff; font-size: 11px;
  display: grid; place-items: center; font-weight: 700;
}
.secure-cta {
  margin-top: 28px;
  display: flex; gap: 14px; flex-wrap: wrap;
  position: relative;
}

/* ---------- 客户案例 ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  background: #fff;
  transition: all 0.22s ease;
}
.case:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.case-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.case-logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
}
.case-top .name { font-size: 16px; font-weight: var(--w-bold); }
.case-top .meta { font-size: 13px; color: var(--text-3); }
.case blockquote {
  font-size: 15px; color: var(--text-1); line-height: 1.8;
  border-left: 3px solid var(--brand);
  padding-left: 16px; margin-bottom: 18px;
}
.case-figs { display: flex; gap: 28px; }
.case-figs .f .v {
  font-family: var(--font-num); font-size: 26px; font-weight: 600;
  color: var(--brand); line-height: 1.1;
}
.case-figs .f .l { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* ---------- 服务与交付 ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-subtle);
}
.service .ico { font-size: 28px; color: var(--brand); margin-bottom: 12px; }
.service .ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h4 { font-size: 15.5px; font-weight: var(--w-bold); margin-bottom: 6px; }
.service p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ---------- 定价 ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  background: #fff;
  display: flex; flex-direction: column;
  transition: all 0.22s ease;
}
.plan:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.plan.feature { border-color: var(--brand); box-shadow: var(--shadow-card); position: relative; }
.plan.feature::after {
  content: "最受咨询公司青睐";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 4px 14px; border-radius: 100px;
}
.plan h3 { font-size: 18px; font-weight: var(--w-bold); }
.plan .desc { font-size: 13px; color: var(--text-3); margin-top: 4px; min-height: 34px; }
.plan .price { margin: 18px 0; }
.plan .price .cur { font-size: 18px; font-weight: 600; color: var(--brand); }
.plan .price .val { font-family: var(--font-num); font-size: 38px; font-weight: 600; color: var(--brand); }
.plan .price .per { font-size: 13px; color: var(--text-3); }
.plan .price-sub { font-size: 12.5px; color: var(--text-3); margin: -12px 0 16px; line-height: 1.5; }
.plan ul { flex: 1; display: grid; gap: 10px; margin-bottom: 22px; }
.plan ul li { font-size: 13.5px; color: var(--text-2); display: flex; gap: 9px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }
.plan .secure-note {
  margin-top: auto;
  font-size: 12.5px; color: var(--text-3);
  border-top: 1px dashed var(--border); padding-top: 14px;
}
.plan .secure-note b { color: var(--brand); }

/* ---------- 最终 CTA ---------- */
.final {
  background: linear-gradient(135deg, var(--brand), #06b85c);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.14), transparent 60%);
}
.final h2 { font-size: 34px; font-weight: var(--w-bold); position: relative; }
.final p { font-size: 16px; opacity: 0.92; margin: 14px 0 28px; position: relative; }
.final .acts { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer .brand { margin-bottom: 14px; }
.footer-about { font-size: 13.5px; color: var(--text-2); line-height: 1.7; max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: var(--w-bold); margin-bottom: 14px; }
.footer-links a { display: block; font-size: 13.5px; color: var(--text-2); padding: 5px 0; transition: color 0.18s; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 回到顶部 ---------- */
.totop {
  position: fixed; right: 24px; bottom: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  color: var(--brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.25s ease; z-index: 900;
}
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--brand); color: #fff; }

/* ---------- 动画 ---------- */
.animate-target { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-in { opacity: 1; transform: translateY(0); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-120px);
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-size: 14px; z-index: 2000;
  box-shadow: var(--shadow-pop); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --fs-h1: 42px; --fs-h2: 28px; --section-y: 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cap-grid { grid-template-columns: 1fr; }
  .secure-detail { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.feature::after { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --fs-h1: 34px; --fs-h2: 24px; --section-y: 64px; --card-pad: 22px; --header-h: 60px; }
  section { padding: var(--section-y) 0; }
  .container { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { padding: 9px 16px; font-size: 14px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 56px; }
  .hero-grid { gap: 32px; }
  .hero h1 { letter-spacing: -0.01em; }
  .hero-desc { font-size: 16px; line-height: 1.7; margin: 18px 0 26px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 12px 18px; font-size: 15px; }
  .hero-trust { margin-top: 28px; gap: 10px; font-size: 12px; }
  .hero-trust .logos { gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--border); padding: 18px 8px; }
  .stat:nth-child(2n) { border-right: none; }
  .secure-promise { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .case-figs { gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .final { padding: 44px 22px; }
  .final h2 { font-size: 26px; }
  /* 移动端触控优化：菜单项与页脚链接达到 44px 触控标准 */
  .nav-links.mobile a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
  }
  .footer-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 420px) {
  :root { --fs-h1: 28px; --fs-h2: 22px; --fs-h3: 17px; --fs-body: 15px; }
  .hero { padding: calc(var(--header-h) + 44px) 0 44px; }
  .hero-badge { font-size: 12px; padding: 5px 12px 5px 6px; margin-bottom: 16px; }
  .hero-desc { font-size: 15px; }
  .hero-actions .btn { font-size: 14px; padding: 11px 14px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: var(--fs-h2); }
  .stat .num { font-size: 34px; }
  .stat .label { font-size: 12px; }
  .cap { padding: 22px; }
  .plan { padding: 24px 20px; }
  .plan .price { font-size: 34px; }
  .plan .feature li { font-size: 13.5px; }
  .value, .service { padding: 22px; }
  .case, .role-card { padding: 22px; }
  .footer-grid { gap: 22px; }
  .footer-links a { min-height: 40px; display: inline-flex; align-items: center; }
}

/* ---------- 预约演示弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal.open { display: block; }
.modal-mask { position: fixed; inset: 0; background: rgba(11,40,30,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal-box {
  position: relative; z-index: 1; max-width: 360px; max-height: 90vh;
  margin: 5vh auto; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 34px 30px 30px;
  text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.25);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
  border: none; background: transparent; font-size: 26px; line-height: 1;
  color: #aaa; cursor: pointer; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
}
.modal-close:hover { background: #f2f4f3; color: #555; }
.modal-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.modal-sub { font-size: 13.5px; color: var(--text-3); margin: 0 0 22px; line-height: 1.6; }
.modal-contact { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.mc-row { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.mc-label { color: var(--text-3); font-size: 13px; }
.mc-name { font-weight: 600; }
.mc-phone { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 10px; text-decoration: none; min-height: 44px; justify-content: center; }
.mc-phone .mc-num { font-family: var(--font-num); font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: .5px; }
.mc-phone:hover .mc-num { opacity: .85; }
.mc-tip { font-size: 12px; color: var(--text-3); margin: 6px 0 0; }
.modal-qr img { max-width: 200px; max-height: 260px; width: auto; height: auto; object-fit: contain; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.modal-qr p { font-size: 12.5px; color: var(--text-3); margin: 10px 0 0; }

/* 小屏弹窗紧凑化 */
@media (max-width: 420px) {
  .modal-box { max-width: 92vw; padding: 26px 20px 22px; margin: 4vh auto; max-height: 92vh; border-radius: 16px; }
  .modal-title { font-size: 18px; }
  .modal-sub { font-size: 13px; margin-bottom: 16px; }
  .modal-contact { padding: 12px 14px; margin-bottom: 16px; }
  .mc-phone .mc-num { font-size: 22px; }
  .modal-qr img { max-width: 160px; max-height: 210px; }
}

@media (max-height: 700px) {
  .modal-box { margin: 3vh auto; padding: 22px 18px 18px; }
  .modal-qr img { max-width: 140px; max-height: 180px; }
}
