/* ==========================================================================
   得寿健康官网 — 样式系统
   规范来源：设计文档/官网首页信息架构与模块设计.md
   - 移动优先，断点 768 / 1024 / 1280
   - 适老化：正文 ≥16px、按钮热区 ≥44px、对比度 ≥4.5:1
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --primary:        #1f7ae0;
  --primary-dark:   #1560b5;
  --primary-light:  #e8f2fe;
  --primary-soft:   #f4f9ff;
  --accent:         #0f9d8e;
  --accent-light:   #e4f7f4;
  --warn:           #e8833a;
  --warn-light:     #fdf2e8;
  --danger:         #dc4f52;
  --danger-light:   #fdeded;

  --text-1: #0f1c2e;
  --text-2: #40505f;
  --text-3: #8394a5;
  --line:   #e4eaf1;
  --line-2: #f0f4f8;
  --bg:     #ffffff;
  --bg-soft:#f7fafd;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(15, 28, 46, .06);
  --shadow:    0 4px 16px rgba(15, 28, 46, .07);
  --shadow-md: 0 10px 30px rgba(15, 28, 46, .09);
  --shadow-lg: 0 20px 50px rgba(15, 28, 46, .12);

  --container: 1180px;
  --header-h: 64px;

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;            /* 适老化基线 */
  line-height: 1.75;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.32; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* hidden 属性必须始终生效：
   作者样式里的 display: flex/grid 会覆盖 HTML 默认的 [hidden]{display:none}，
   导致带 hidden 的移动端菜单在桌面端也显示出来（出现重复菜单）。
   用 !important 兜底，避免任何 display 规则意外把它顶掉。 */
[hidden] { display: none !important; }

/* ---------- 3. 布局基元 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 48px 0; }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 4px 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--primary); background: var(--primary-light);
  border-radius: var(--radius-pill);
}
.section-title { font-size: 26px; margin-bottom: 14px; }
.section-title .hl { color: var(--primary); }
.section-sub { font-size: 16px; color: var(--text-2); line-height: 1.85; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;               /* ≥44px 热区 */
  padding: 0 26px;
  font-size: 16px; font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #2f8bf0, var(--primary-dark)); box-shadow: 0 6px 18px rgba(31,122,224,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,122,224,.36); }
.btn-ghost { color: var(--primary); background: #fff; border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-plain { color: var(--text-2); background: var(--bg-soft); border: 1.5px solid var(--line); }
.btn-plain:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 5. 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
/* Logo：不再套蓝色渐变块 —— logo 自带渐变，叠加会浑浊、且压缩图标可读面积 */
.brand-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand-mark picture { display: block; }
.brand-mark img { display: block; width: auto; object-fit: contain; }
/* 窄屏：方形标记 */
.brand-mark img { height: 44px; }
/* 宽屏：横向完整 logo（宽度按 1.5:1 比例自适应，约 63px） */
@media (min-width: 640px) {
  .brand-mark img { height: 42px; }
}
/* 页脚在深色底上，logo 略放大以提升可见度 */
.brand-mark--footer img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: .01em; }
.brand-text small { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }

.nav-desktop { display: none; gap: 4px; }
.nav-desktop a {
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text-2);
  border-radius: var(--radius-sm); transition: color .18s, background .18s;
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--primary); background: var(--primary-soft); }

/* 首页：紧凑图标式，与其他文字项形成层次 */
.nav-desktop a.nav-home {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; margin-right: 2px;
  color: var(--text-2);
}
.nav-desktop a.nav-home svg { width: 16px; height: 16px; flex: none; }
.nav-desktop a.nav-home.is-active { color: var(--primary); background: var(--primary-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  width: 42px; height: 42px; display: grid; place-content: center; gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-1); border-radius: 2px; transition: .22s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff; padding: 12px 20px 22px;
  display: flex; flex-direction: column;
}
.mobile-nav a { padding: 14px 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-nav a.is-active { color: var(--primary); }
/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 56px;
  background:
    radial-gradient(900px 420px at 88% -6%, #dceaff 0%, rgba(220,234,255,0) 62%),
    radial-gradient(700px 380px at 4% 8%, #e2f7f4 0%, rgba(226,247,244,0) 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.hero-grid { display: grid; gap: 40px; }
.hero-title { font-size: 30px; letter-spacing: -.02em; margin-bottom: 18px; }
.hero-title .hl {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: var(--text-2); line-height: 1.9; margin-bottom: 22px; max-width: 560px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; font-size: 15px; font-weight: 600;
  color: var(--primary-dark); background: #fff;
  border: 1px solid #cfe4fb; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hero-chip svg { width: 16px; height: 16px; color: var(--primary); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--text-3); }

/* 分隔条 */
.section-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; }
.section-divider::before, .section-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-divider span { font-size: 13px; font-weight: 600; color: var(--text-3); }

/* 分流条 */
.hero-split {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; background: #fff;
  border: 1px dashed #c9ddf3; border-radius: var(--radius);
}
.hero-split-label { font-size: 15px; font-weight: 600; color: var(--text-2); margin-right: 4px; }
.split-chip {
  min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600;
  color: var(--primary); background: var(--primary-soft);
  border: 1px solid #d3e6fb; border-radius: var(--radius-pill);
  transition: .18s;
}
.split-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Hero 视觉：手机示意 */
.hero-visual { display: flex; justify-content: center; }
.hero-phone-stack { position: relative; width: 100%; max-width: 320px; }

.phone {
  width: 100%; background: #0f1c2e; border-radius: 34px; padding: 9px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-screen { background: #f2f6fb; border-radius: 26px; overflow: hidden; }
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 18px; background: #0f1c2e; border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px 6px; font-size: 11px; color: #64748b; font-weight: 600;
}
.phone-appbar {
  background: linear-gradient(135deg, #3d95f5, #1560b5);
  color: #fff; padding: 12px 16px 16px;
}
.phone-appbar h5 { font-size: 14px; font-weight: 600; }
.phone-appbar p { font-size: 11px; opacity: .85; margin-top: 2px; }
.phone-body { padding: 12px; display: grid; gap: 10px; }

.ph-card { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 3px rgba(15,28,46,.05); }
.ph-card-title { font-size: 11px; font-weight: 700; color: var(--text-2); margin-bottom: 9px; display: flex; justify-content: space-between; align-items: center; }
.ph-card-title em { font-style: normal; font-size: 10px; font-weight: 500; color: var(--text-3); }

.ph-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ph-metric { background: var(--bg-soft); border-radius: 9px; padding: 9px 10px; }
.ph-metric span { display: block; font-size: 10px; color: var(--text-3); }
.ph-metric strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.ph-metric strong i { font-style: normal; font-size: 10px; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.ph-metric.is-warn strong { color: var(--warn); }
.ph-metric.is-ok strong { color: var(--accent); }

/* 迷你折线图 */
.ph-chart { position: relative; height: 66px; }
.ph-chart svg { width: 100%; height: 100%; overflow: visible; }

/* 迷你用药列表 */
.ph-med { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.ph-med:last-child { border-bottom: 0; }
.ph-med-icon {
  width: 26px; height: 26px; flex: none; display: grid; place-items: center;
  border-radius: 8px; font-size: 13px; background: var(--primary-light);
}
.ph-med-text { flex: 1; min-width: 0; }
.ph-med-text strong { display: block; font-size: 11px; font-weight: 600; }
.ph-med-text span { display: block; font-size: 10px; color: var(--text-3); }
.ph-med-ok { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 3px 8px; border-radius: var(--radius-pill); flex: none; }
.ph-med-wait { font-size: 10px; font-weight: 600; color: var(--text-3); background: var(--line-2); padding: 3px 8px; border-radius: var(--radius-pill); flex: none; }

/* 浮动设备气泡 */
.float-card {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.float-card svg { width: 18px; height: 18px; color: var(--primary); }
.float-card--a { top: 12%; left: -14px; animation: floaty 5s ease-in-out infinite; }
.float-card--b { bottom: 16%; right: -14px; animation: floaty 5s ease-in-out infinite .9s; }
.float-card--c { bottom: 4%; left: -6px; animation: floaty 5s ease-in-out infinite 1.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 7. 能力速览条 ---------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat-item {
  padding: 24px 16px; text-align: center; border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.stat-item:nth-child(2n) { border-right: 0; }
.stat-item:nth-last-child(-n+2) { border-bottom: 0; }
.stat-num { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1.1; }
.stat-num i { font-style: normal; font-size: 15px; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--text-1); margin-top: 6px; }
.stat-desc { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ---------- 8. 能力卡片（三卡） ---------- */
.cap-grid { display: grid; gap: 20px; }
.cap-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe4fb; }
.cap-step {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  color: var(--primary); margin-bottom: 14px;
}
.cap-step b {
  display: grid; place-items: center; width: 24px; height: 24px;
  background: var(--primary); color: #fff; border-radius: 50%; font-size: 12px;
}
.cap-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 15px; color: #fff;
  background: linear-gradient(135deg, #3d95f5, var(--primary-dark));
  box-shadow: 0 8px 20px rgba(31,122,224,.25);
}
.cap-card:nth-child(2) .cap-icon { background: linear-gradient(135deg, #23b3a2, #0b7d71); box-shadow: 0 8px 20px rgba(15,157,142,.25); }
.cap-card:nth-child(3) .cap-icon { background: linear-gradient(135deg, #f0a05a, #d3722a); box-shadow: 0 8px 20px rgba(232,131,58,.25); }
.cap-icon svg { width: 28px; height: 28px; }
.cap-title { font-size: 20px; margin-bottom: 10px; }
.cap-sub { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; }
.cap-list { display: grid; gap: 10px; margin-bottom: 22px; }
.cap-list li { display: flex; gap: 9px; font-size: 15px; color: var(--text-2); line-height: 1.7; }
.cap-list li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.cap-list li b { color: var(--text-1); font-weight: 600; }

.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cap-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cap-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--primary); }
.cap-link svg { width: 16px; height: 16px; transition: transform .2s; }
.cap-card:hover .cap-link svg { transform: translateX(4px); }

/* 状态标签 */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; font-size: 12px; font-weight: 600; border-radius: var(--radius-pill); }
.tag--live { color: #0b7d71; background: var(--accent-light); }
.tag--soon { color: #b8641f; background: var(--warn-light); }
.tag--chip { color: var(--primary-dark); background: var(--primary-light); }

/* 闭环串联语 */
.flow-note {
  margin-top: 28px; padding: 20px 24px; text-align: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-light));
  border-radius: var(--radius); font-size: 16px; color: var(--text-2); line-height: 1.9;
}
.flow-note strong { color: var(--primary-dark); }

/* ---------- 8b. AI 对话界面 ---------- */
/* 对话气泡：用于首页 AI 区块与 AI 页面 */
.chat-thread { display: grid; gap: 10px; }
.chat-turn { display: flex; gap: 8px; align-items: flex-start; }
.chat-turn--user { flex-direction: row-reverse; }
.chat-avatar {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border-radius: 50%; color: #fff;
}
.chat-avatar svg { width: 17px; height: 17px; }
.chat-turn--ai .chat-avatar { background: linear-gradient(135deg, #3d95f5, var(--primary-dark)); }
.chat-turn--user .chat-avatar { background: #94a6b8; }
.chat-bubble {
  max-width: 84%; padding: 10px 13px; font-size: 14px; line-height: 1.7;
  border-radius: 14px; word-break: break-word;
}
.chat-turn--ai .chat-bubble {
  background: #fff; color: var(--text-1);
  border: 1px solid var(--line);
  border-top-left-radius: 5px;
}
.chat-turn--user .chat-bubble {
  background: linear-gradient(135deg, #2f8bf0, var(--primary-dark));
  color: #fff;
  border-top-right-radius: 5px;
}
.chat-meta { font-size: 11px; color: var(--text-3); margin-top: 5px; }

/* 手机内的对话版本（更紧凑） */
.phone-body .chat-thread { gap: 8px; }
.phone-body .chat-avatar { width: 24px; height: 24px; }
.phone-body .chat-avatar svg { width: 14px; height: 14px; }
.phone-body .chat-bubble { font-size: 12px; padding: 8px 11px; line-height: 1.65; max-width: 88%; }

/* 语音播报条 */
.voice-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-light));
  border: 1px solid #d8e8f8;
  font-size: 13px; color: var(--text-2);
}
.voice-bar svg { width: 18px; height: 18px; flex: none; color: var(--primary); }
.voice-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.voice-wave i { display: block; width: 3px; background: var(--primary); border-radius: 2px; animation: waveform 1.1s ease-in-out infinite; }
.voice-wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.voice-wave i:nth-child(2) { height: 11px; animation-delay: .16s; }
.voice-wave i:nth-child(3) { height: 8px; animation-delay: .32s; }
.voice-wave i:nth-child(4) { height: 13px; animation-delay: .48s; }
.voice-wave i:nth-child(5) { height: 7px; animation-delay: .64s; }
@keyframes waveform { 0%,100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* 对话示例卡（AI 页面） */
.chat-demo {
  padding: 22px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.chat-demo h4 { font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.chat-demo h4 svg { width: 19px; height: 19px; color: var(--primary); }

/* AI 区块：左对话 / 右能力 */
.ai-grid { display: grid; gap: 32px; align-items: start; }
.ai-visual { display: flex; justify-content: center; }
.ai-points { display: grid; gap: 14px; margin-bottom: 22px; }
.ai-point { display: flex; gap: 12px; }
.ai-point-icon {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--primary-light); color: var(--primary);
}
.ai-point-icon svg { width: 21px; height: 21px; }
.ai-point b { display: block; font-size: 15px; margin-bottom: 3px; }
.ai-point p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* AI 页面：能力网格用 feat-item 复用，规划用时间线 */
.roadmap-grid { display: grid; gap: 16px; }
.roadmap-card {
  padding: 22px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.roadmap-card h4 {
  font-size: 15px; margin-bottom: 14px; color: var(--primary-dark);
  display: flex; align-items: center; gap: 8px;
}
.roadmap-card h4 span {
  display: grid; place-items: center; width: 24px; height: 24px;
  font-size: 12px; font-weight: 700; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, #3d95f5, var(--primary-dark));
}
.roadmap-card li { display: flex; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.75; padding: 5px 0; }
.roadmap-card li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }

@media (min-width: 640px) {
  .roadmap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .ai-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .ai-visual { justify-content: flex-start; }
}

/* ---------- 9. 支撑能力网格 ---------- */
.feat-grid { display: grid; gap: 16px; }
.feat-item {
  display: flex; gap: 14px; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.feat-item:hover { border-color: #cfe4fb; box-shadow: var(--shadow-sm); }
.feat-icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--primary-light); color: var(--primary);
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-body h4 { font-size: 16px; margin-bottom: 6px; }
.feat-body p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.feat-body .tag { margin-top: 10px; }

/* ---------- 10. 价值主张 ---------- */
.value-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.value-tab {
  min-height: 46px; padding: 0 26px; font-size: 16px; font-weight: 600;
  color: var(--text-2); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); transition: .2s;
}
.value-tab:hover { color: var(--primary); border-color: #cfe4fb; }
.value-tab.is-active { color: #fff; background: linear-gradient(135deg, #2f8bf0, var(--primary-dark)); border-color: transparent; box-shadow: 0 6px 18px rgba(31,122,224,.26); }

.value-panel { display: none; }
.value-panel.is-active { display: block; animation: fadeUp .32s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.value-headline {
  max-width: 780px; margin: 0 auto 30px; text-align: center;
  font-size: 19px; font-weight: 600; line-height: 1.75; color: var(--text-1);
}
.value-headline .hl { color: var(--primary); }

.compare-grid { display: grid; gap: 14px; }
.compare-card {
  display: grid; gap: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.compare-before, .compare-after { padding: 18px 20px; }
.compare-before { background: #fbfcfd; border-bottom: 1px solid var(--line-2); }
.compare-after { background: var(--primary-soft); }
.compare-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px;
}
.compare-before .compare-label { color: var(--text-3); }
.compare-after .compare-label { color: var(--primary); }
.compare-before p { font-size: 15px; color: var(--text-3); line-height: 1.7; text-decoration: line-through; text-decoration-color: #cbd5e1; }
.compare-after p { font-size: 15px; color: var(--text-1); font-weight: 500; line-height: 1.7; }
.compare-after .metric { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: var(--radius-pill); }

.value-cta { margin-top: 30px; text-align: center; }

/* ---------- 11. 解决方案矩阵 ---------- */
.sol-grid { display: grid; gap: 18px; }
.sol-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe4fb; }
.sol-card--primary { background: linear-gradient(150deg, #f7fbff, #eef6ff); border-color: #d6e8fb; }
.sol-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-weight: 700; color: var(--primary);
  background: var(--primary-light); padding: 3px 10px; border-radius: var(--radius-pill);
}
.sol-icon {
  width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 14px; font-size: 22px; background: var(--primary-light);
}
.sol-card h3 { font-size: 19px; margin-bottom: 8px; }
.sol-audience { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.sol-card > p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; }
.sol-points { display: grid; gap: 8px; margin-bottom: 22px; }
.sol-points li { display: flex; gap: 8px; font-size: 14px; color: var(--text-2); }
.sol-points li::before { content: ""; width: 6px; height: 6px; flex: none; margin-top: 9px; border-radius: 50%; background: var(--primary); }
.sol-card .btn { margin-top: auto; }

.disease-strip { margin-top: 26px; text-align: center; }
.disease-strip > span { display: block; font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.disease-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.disease-chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600;
  color: var(--text-2); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); transition: .2s;
}
.disease-chip:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.disease-chip i { font-style: normal; font-size: 16px; }

/* ---------- 12. 数据闭环 ---------- */
.loop-wrap { display: grid; gap: 16px; }
.loop-step {
  position: relative; padding: 22px 20px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.loop-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px;
  font-size: 14px; font-weight: 700; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, #3d95f5, var(--primary-dark));
}
.loop-step h4 { font-size: 16px; margin-bottom: 6px; }
.loop-step p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.loop-side { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.loop-arrow { display: grid; place-items: center; color: #c3d6ea; }
.loop-arrow svg { width: 22px; height: 22px; transform: rotate(90deg); }
.loop-footnote { margin-top: 22px; text-align: center; font-size: 15px; color: var(--text-2); }

/* ---------- 13. 使用流程 ---------- */
.steps-grid { display: grid; gap: 16px; counter-reset: step; }
.step-card {
  position: relative; padding: 26px 22px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 14px; right: 18px;
  font-size: 30px; font-weight: 800; color: var(--primary-light); letter-spacing: -.04em;
}
.step-card h4 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.step-flag {
  display: inline-flex; margin-top: 12px; padding: 3px 10px;
  font-size: 12px; font-weight: 600; color: #b8641f; background: var(--warn-light);
  border-radius: var(--radius-pill);
}

/* ---------- 14. 信任背书 ---------- */
.trust-grid { display: grid; gap: 16px; }
.trust-item {
  display: flex; gap: 14px; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.trust-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-light); color: var(--accent); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item h4 { font-size: 16px; margin-bottom: 6px; }
.trust-item p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

/* ---------- 15. 健康指南 ---------- */
.guide-grid { display: grid; gap: 18px; }
.guide-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .22s, box-shadow .22s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-cover {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center; padding: 16px;
}
.guide-cover--red    { background: linear-gradient(140deg, #d9534f, #a8322e); }
.guide-cover--orange { background: linear-gradient(140deg, #e8944a, #c06a1f); }
.guide-cover--teal   { background: linear-gradient(140deg, #2aa89a, #146d64); }
.guide-cover--blue   { background: linear-gradient(140deg, #4a8fe0, #2461ab); }
.guide-cover-inner {
  width: 100%; height: 100%; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.5); border-radius: 12px;
}
.guide-cover-inner strong { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .1em; }
.guide-cover-inner small { display: block; margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.85); letter-spacing: .16em; text-align: center; }
.guide-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.guide-cat { display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); border-radius: var(--radius-pill); }
.guide-body h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.5; }
.guide-body p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.guide-more { margin-top: 14px; font-size: 13px; color: var(--text-3); }

/* ---------- 16. 底部 CTA ---------- */
.cta-band {
  padding: 52px 0;
  background: linear-gradient(135deg, #1a6cd0, #0d4e93);
  color: #fff; text-align: center;
}
.cta-band h2 { font-size: 25px; margin-bottom: 12px; color: #fff; }
.cta-band p { font-size: 16px; opacity: .9; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- 17. 内页通用 ---------- */
.page-hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(760px 320px at 90% 0%, #dfeeff 0%, rgba(223,238,255,0) 60%),
    linear-gradient(180deg, #f7fbff, #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero .lead { font-size: 17px; color: var(--text-2); line-height: 1.9; max-width: 760px; }
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.detail-block { display: grid; gap: 26px; }
.detail-block + .detail-block { margin-top: 52px; }
.detail-body h3 { font-size: 21px; margin-bottom: 12px; }
.detail-body > p { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 16px; }
.detail-list { display: grid; gap: 12px; }
.detail-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); line-height: 1.8; }
.detail-list li svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--accent); }
.detail-list li b { color: var(--text-1); font-weight: 600; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th { font-size: 13px; font-weight: 700; color: var(--text-2); background: var(--bg-soft); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { font-weight: 600; }
table.data .muted { color: var(--text-3); }

/* 免责框 */
.disclaimer-box {
  display: flex; gap: 12px; padding: 16px 18px; margin-top: 24px;
  background: var(--warn-light); border-left: 3px solid var(--warn);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px; color: #8a4d17; line-height: 1.8;
}
.disclaimer-box svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }

/* 方案锚点卡 */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.anchor-nav a {
  min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
}
.anchor-nav a:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }

.solution-detail {
  padding: 30px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  scroll-margin-top: 84px;
}
.solution-detail + .solution-detail { margin-top: 22px; }
.solution-detail h3 { font-size: 21px; margin-bottom: 8px; }
.solution-detail .sol-audience { margin-bottom: 16px; }
.sol-2col { display: grid; gap: 22px; margin-top: 20px; }
.sol-panel { padding: 20px; background: var(--bg-soft); border-radius: var(--radius); }
.sol-panel h4 { font-size: 15px; margin-bottom: 12px; color: var(--primary-dark); }

/* ---------- 18. 表单页 ---------- */
.form-layout { display: grid; gap: 30px; }
.form-card {
  padding: 28px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: var(--danger); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--text-1);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,122,224,.12);
}
.field-hint { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.field-error { font-size: 13px; color: var(--danger); margin-top: 6px; display: none; }
.field.has-error input { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.checkbox-row input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--primary); }
.checkbox-row a { color: var(--primary); font-weight: 600; }

.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.is-visible { display: block; animation: fadeUp .3s ease; }
.form-success-icon {
  width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-light); color: var(--accent);
}
.form-success-icon svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 21px; margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--text-2); line-height: 1.85; }

.form-aside { display: grid; gap: 16px; align-content: start; }
.aside-card { padding: 22px 20px; background: var(--bg-soft); border-radius: var(--radius); }
.aside-card h4 { font-size: 16px; margin-bottom: 12px; }
.aside-card ul { display: grid; gap: 9px; }
.aside-card li { display: flex; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.aside-card li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }
.aside-contact { font-size: 15px; color: var(--text-2); line-height: 2; }
.aside-contact strong { color: var(--text-1); }

/* ---------- 19. 关于页 ---------- */
.info-grid { display: grid; gap: 16px; }
.info-card { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .feat-icon { margin-bottom: 14px; }
.info-card h4 { font-size: 17px; margin-bottom: 10px; }
.info-card p { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.info-card .tag { margin-top: 12px; }


/* 空状态 / 占位 */
.placeholder-note {
  display: flex; gap: 12px; padding: 18px 20px;
  background: var(--primary-soft); border: 1px dashed #c9ddf3; border-radius: var(--radius);
  font-size: 14px; color: var(--text-2); line-height: 1.8;
}
.placeholder-note svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--primary); }
.placeholder-note strong { color: var(--primary-dark); }

/* ---------- 20. 页脚 ---------- */
.site-footer { background: #0f1c2e; color: #96a7b9; padding: 52px 0 0; font-size: 14px; }
.footer-grid { display: grid; gap: 30px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-desc { margin: 16px 0 20px; line-height: 1.85; }
.footer-qr { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.qr-box { width: 74px; height: 74px; padding: 5px; background: #fff; border-radius: 10px; flex: none; }
.qr-box svg { width: 100%; height: 100%; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 4px; font-weight: 600; }
.footer-col a { transition: color .18s; }
.footer-col a:hover { color: #fff; }

.footer-disclaimer {
  margin-top: 40px; padding: 18px 20px;
  background: rgba(255,255,255,.04); border-radius: var(--radius);
  font-size: 13px; line-height: 1.85; color: #8b9cb0;
}
.footer-disclaimer strong { color: #c3d2e0; }
.tag-note { display: block; margin-top: 6px; color: #6d8098; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: #6d8098;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: #fff; }

/* ---------- 21. 移动端底栏 / 回顶 ---------- */

.to-top {
  position: fixed; right: 16px; bottom: 74px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--primary); background: #fff;
  border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-md);
  transition: transform .2s, opacity .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 22. 响应式 ---------- */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item { border-bottom: 0; }
  .stat-item:nth-child(2n) { border-right: 1px solid var(--line-2); }
  .stat-item:last-child { border-right: 0; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-wrap { grid-template-columns: repeat(2, 1fr); }
  .loop-arrow { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 60px 0; }
  .hero { padding: 64px 0 76px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 18px; }
  .section-title { font-size: 32px; }
  .section-head { margin-bottom: 52px; }
  .page-hero { padding: 68px 0 56px; }
  .page-hero h1 { font-size: 40px; }
  .stat-num { font-size: 38px; }
  .cap-title { font-size: 21px; }
  .cta-band h2 { font-size: 30px; }
  .detail-block { grid-template-columns: 1fr; }
  .sol-2col { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1.45fr 1fr; }
  .solution-detail { padding: 36px 32px; }
  .form-card { padding: 34px 30px; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }
  }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  /* 导航 7 项在 1024px 断点最紧张：隐藏品牌副标题释放宽度，避免贴边 */
  .brand-text small { display: none; }
  .brand-text strong { font-size: 16px; }
  .nav-toggle { display: none; }
    /* 桌面端只保留一套导航：强制隐藏移动端菜单（双保险，与 [hidden] 规则呼应） */
  .mobile-nav { display: none !important; }
  .to-top { bottom: 26px; right: 26px; }

  .hero { padding: 76px 0 92px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .hero-title { font-size: 46px; }
  .hero-visual { justify-content: flex-end; }
  .hero-phone-stack { max-width: 340px; }
  .float-card--a { left: -44px; }
  .float-card--b { right: -40px; }

  .cap-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(4, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .loop-wrap { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .loop-arrow { display: grid; position: absolute; }
  .loop-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .value-headline { font-size: 21px; }
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-block--2col { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 52px; }
}

/* ---------- 23. 动效与无障碍 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* 打印 */
@media print {
  .site-header, .to-top, .cta-band, .site-footer { display: none; }
}
