/* ============================================================
   矩阵威利 Matrix Weili · 官网主样式
   浅色高级风 · 移动优先 · 纯静态
   目录：
     1.  设计变量（配色/字体/间距/阴影/动效）
     2.  Reset & 基础
     3.  排版（标题/正文/渐变文字）
     4.  布局（容器/网格/section）
     5.  按钮
     6.  导航栏（含移动端菜单）
     7.  Hero（节点背景/标题/CTA）
     8.  卡片 & 业务网格
     9.  优势 / 数据统计
     10. 时间轴
     11. 表单
     12. 页脚
     13. 工具类 & 滚动入场动画
     14. 响应式断点
     15. 无障碍（reduced-motion）
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 配色 —— 方案A 墨蓝暖白 */
  --bg: #F4EFE6;              /* 主背景：米白暖底 */
  --bg-elevated: #EDE6D8;     /* 次级背景：暖灰 */
  --bg-card: #FFFFFF;         /* 卡片：纯白 */
  --bg-dark: #162635;         /* 深色对比块（墨蓝）*/
  --text: #162635;            /* 主文字：深墨蓝 */
  --text-muted: #5A5448;      /* 次要文字：暖灰 */
  --text-dim: #8A8275;        /* 浅暖灰 */
  --primary: #1E3A5F;         /* 墨蓝主色 */
  --primary-deep: #15293F;
  --accent: #B89968;          /* 金（点缀）*/
  --accent-2: #9A7E4E;        /* 深金 */
  --gradient: linear-gradient(135deg, #1E3A5F 0%, #2C5380 100%);
  --gradient-soft: linear-gradient(135deg, rgba(30,58,95,.07), rgba(184,153,104,.07));
  --border: rgba(22, 38, 53, 0.1);
  --border-strong: rgba(22, 38, 53, 0.16);
  --border-hover: rgba(30, 58, 95, 0.4);

  /* 字体 */
  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 间距 / 尺寸 */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;

  /* 阴影 —— 柔和多层（浅色站高级感的关键）*/
  --shadow-sm: 0 1px 2px rgba(45, 38, 28, 0.04), 0 1px 3px rgba(45, 38, 28, 0.03);
  --shadow: 0 1px 3px rgba(45, 38, 28, 0.05), 0 8px 24px rgba(45, 38, 28, 0.06);
  --shadow-lg: 0 4px 12px rgba(45, 38, 28, 0.06), 0 20px 48px rgba(45, 38, 28, 0.10);
  --glow: 0 8px 28px rgba(30, 58, 95, 0.18);

  /* 动效 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);

  /* 导航高度 */
  --nav-h: 70px;
}

/* ---------- 2. Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-cn), var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  /* 浅色氛围：右上柔和蓝青光晕 + 左下淡光 */
  background-image:
    radial-gradient(ellipse 70% 50% at 85% -5%, rgba(184, 153, 104, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 10%, rgba(30, 58, 95, 0.06), transparent 60%);
  background-attachment: fixed;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(30, 58, 95, 0.15); color: var(--primary-deep); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(45, 38, 28, 0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(30, 58, 95, 0.4); }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--text-muted); }
.lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); }

/* 渐变文字 */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 区块小标题（上方标签） */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

/* ---------- 4. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
/* section 交替浅灰底，增加层次 */
.section.alt { background: var(--bg-elevated); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; }

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

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30, 58, 95, 0.3); }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- 6. 导航栏 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(45, 38, 28, 0.05);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* logo */
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.logo-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark img { width: 100%; height: 100%; }
.logo-text small { display: block; font-family: var(--font-en); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; color: var(--text-dim); text-transform: uppercase; margin-top: 1px; }

/* 菜单 */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--text); background: rgba(15, 27, 45, 0.04); }
.nav-menu a.active { color: var(--primary); background: rgba(30, 58, 95, 0.08); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity 0.2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 7px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle.open span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
}
/* hero 底部渐隐到背景 */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .text-gradient { display: inline; }
.hero .lead { max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* hero 下方迷你指标 */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.hero-stat .num { font-family: var(--font-en); font-size: 1.9rem; font-weight: 700; }
.hero-stat .label { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- 8. 卡片 & 业务网格 ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* 业务要点列表 */
.card-list { margin-top: 16px; display: grid; gap: 10px; }
.card-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted);
}
.card-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 4px;
  border-radius: 50%;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- 9. 优势 / 数据统计 ---------- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  flex-shrink: 0;
  line-height: 1;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center;
  padding: 36px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.stat .num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}
.stat .suffix { font-size: 1.4rem; }
.stat .label { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); }

/* ---------- 10. 时间轴 ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(37,99,235,0.1));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
}
.timeline-item .when { font-family: var(--font-en); color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.timeline-item h3 { margin: 6px 0 6px; }
.timeline-item p { font-size: 0.92rem; }

/* ---------- 11. 表单 ---------- */
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--primary); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
}
.field input.invalid, .field textarea.invalid { border-color: #ef4444; }
.field .err { color: #ef4444; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.82rem; color: var(--text-dim); }
.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid var(--border-hover);
  color: var(--primary-deep);
  font-size: 0.92rem;
}
.form-success.show { display: block; }

/* 联系信息卡 */
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--primary);
}
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item .k { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 4px; }
.contact-item .v { color: var(--text); }

/* ---------- 12. 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--text); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- 13. 工具类 & 滚动入场动画 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--border); margin: 0; border: none; }

/* 标签 tag */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
}

/* 案例卡片顶部图区 —— 浅蓝高级感 */
.case-media {
  height: 150px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(30, 58, 95, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.14), transparent 60%),
    linear-gradient(135deg, #EFF4FF, #E6F4FB);
  border-bottom: 1px solid var(--border);
}
.case-media svg { width: 56px; height: 56px; color: var(--primary); opacity: 0.9; }

/* CTA 大横幅 —— 深蓝对比块（浅色站里的视觉重点） */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(ellipse at top left, rgba(184, 153, 104, 0.22), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(30, 58, 95, 0.5), transparent 55%),
    var(--bg-dark);
  border: 1px solid rgba(184, 153, 104, 0.2);
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta-band h2 { margin-bottom: 16px; color: #fff; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.78); }
.cta-band .text-gradient {
  background: linear-gradient(135deg, #D9BE8E, #B89968);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* reveal：默认隐藏，进入视口再加 .in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- 案例详情页 ---------- */
.case-hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 16px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.case-tag {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.case-tag .k { color: var(--text-dim); margin-right: 5px; font-weight: 400; }

/* 浏览器窗口 mockup —— 用于展示产品界面（深色，与真实产品风格一致） */
.browser-mockup {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #0f1419;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #161b22;
  border-bottom: 1px solid #2d3a4d;
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #f85149; }
.browser-dots span:nth-child(2) { background: #e3b341; }
.browser-dots span:nth-child(3) { background: #3fb950; }
.browser-url {
  flex: 1;
  font-size: 0.78rem;
  color: #8b949e;
  background: #0f1419;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #2d3a4d;
  font-family: var(--font-en);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-screen { padding: clamp(16px, 3vw, 24px); color: #e6edf3; }
.mockup-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.mockup-title { font-size: 1rem; font-weight: 600; color: #e6edf3; margin-right: auto; }
.mockup-btn { font-size: 0.75rem; padding: 6px 12px; border-radius: 6px; background: #21262d; color: #c9d1d9; border: 1px solid #30363d; white-space: nowrap; }
.mockup-btn.primary { background: #58a6ff; color: #0f1419; border-color: #58a6ff; font-weight: 600; }
.mockup-search { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 0.8rem; color: #8b949e; flex-wrap: wrap; }
.mockup-search .field { display: flex; align-items: center; gap: 6px; }
.mockup-search input {
  background: #0d1117; border: 1px solid #30363d; color: #e6edf3;
  padding: 6px 10px; border-radius: 6px; font-size: 0.8rem; width: 160px;
}
.match-badge { padding: 2px 9px; border-radius: 4px; background: rgba(63,181,80,.15); color: #3fb950; font-size: 0.72rem; font-weight: 600; }

/* mockup 查询输入区 */
.mockup-query {
  display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap;
  padding: 16px 18px; background: #0d1117;
  border: 1px solid #21262d; border-radius: 8px; margin-bottom: 20px;
}
.q-field { display: flex; flex-direction: column; gap: 5px; }
.q-label { font-size: 0.66rem; color: #6e7681; text-transform: uppercase; letter-spacing: 0.06em; }
.q-value { font-size: 0.88rem; color: #e6edf3; font-family: var(--font-en); font-weight: 500; }
.q-value.q-img { color: #58a6ff; font-family: var(--font-cn); }
.mockup-note { font-size: 0.7rem; color: #6e7681; margin-top: 16px; }

/* 深色报价表格（mockup 内） */
.mockup-scroll { overflow-x: auto; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; min-width: 640px; }
.quote-table th { text-align: left; padding: 9px 10px; color: #8b949e; font-weight: 500; border-bottom: 1px solid #2d3a4d; white-space: nowrap; }
.quote-table td { padding: 9px 10px; border-bottom: 1px solid #21262d; color: #c9d1d9; white-space: nowrap; }
.quote-table tr.highlight td { background: rgba(88,166,255,.07); }
.quote-table .price { color: #3fb950; font-weight: 600; font-family: var(--font-en); }
.quote-table .muted { color: #6e7681; }
.quote-table .brand { color: #58a6ff; }
.cursor-blink { display: inline-block; width: 7px; height: 13px; background: #58a6ff; vertical-align: middle; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scan { 0%, 100% { background-color: rgba(88,166,255,0); } 50% { background-color: rgba(88,166,255,.14); } }
.quote-table tr.scan td { animation: scan 2.6s ease-in-out infinite; }

/* 案例正文小标题 + 段落 */
.case-body p { margin-bottom: 14px; }
.case-body h3 { margin: 28px 0 12px; }

/* 置顶真实案例 featured 卡（左文案 + 右深色界面缩略） */
.featured-case { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.featured-case .fc-text { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.featured-case .fc-visual { background: #0f1419; padding: 28px; display: flex; align-items: center; justify-content: center; border-left: 1px solid #2d3a4d; }
.featured-case .fc-badge { align-self: flex-start; background: var(--gradient); color: #fff; border: none; }

/* ---------- 14. 响应式断点 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* 移动端导航：抽屉式菜单 */
  .nav-toggle { display: block; }
  .nav-menu, .nav-cta { display: none; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-menu.open a {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    color: var(--text);
  }
  .nav-menu.open a.active { background: rgba(30, 58, 95, 0.08); }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
  .featured-case { grid-template-columns: 1fr; }
  .featured-case .fc-visual { border-left: none; border-top: 1px solid #2d3a4d; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.5rem; }
}

/* ---------- 15. 无障碍：减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
