/* ============================================================
   布谷学长 · styles-v2.css
   依据：DESIGN-V2.md（Warm Editorial v2.0 · 明亮个人专家站）
   范围：首页 index.html 完整样式；令牌与组件区可供其他页面改版复用
   铁律：颜色 / 圆角 / 间距 / 阴影 / 缓动一律引用 :root 令牌
   科技感预算自检：
     - 光晕 2 处（全部在 Hero，含 1 处呼吸动画）+ 主标题 1 处文字渐变
     - 深色 CTA 区背景微渐变 1 处（§6 场景表允许项）
     - 科技蓝：仅 AI 标签底色（tag-tech）×2，面积 < 1%
     - 玻璃拟态：导航栏 ×1 + Hero 漂浮卡 ×1（浅色版，@supports 降级）
   ============================================================ */

/* ------------------------------------------------------------
   1. Design Tokens（与 DESIGN-V2.md §2/§3/§5/§7/§8 同步）
   ------------------------------------------------------------ */
:root {
  /* Colors — Primary 暖炭黑 */
  --color-primary: #1a1d23;
  --color-primary-light: #1e2a35;

  /* Colors — Accent 布谷鸟眼环琥珀金 */
  --color-accent: #d4953a;
  --color-accent-hover: #c7852e;
  --color-accent-subtle: #f7ead4;

  /* Colors — Tech Blue（克制使用：填充 ≤5%） */
  --color-tech: #4e6e9e;
  --color-tech-deep: #3d5a85;
  --color-tech-subtle: #eaf0f7;

  /* Colors — Secondary 鼠尾草灰绿 */
  --color-secondary: #8a9b8e;
  --color-secondary-light: #eaf0ec;

  /* Colors — Neutral（v2.0 提亮） */
  --color-bg: #fdfcfa;
  --color-surface: #ffffff;
  --color-surface-elevated: #f7f5f1;
  --color-border: #e9e4dc;
  --color-border-strong: #d4cfc6;

  /* Colors — Text */
  --color-text-primary: #26282e;
  --color-text-secondary: #55585f;
  --color-text-muted: #8b8d93;
  --color-text-inverse: #fdfcfa;

  /* Colors — Semantic */
  --color-success: #4a7c59;
  --color-warning: #c9912f;
  --color-danger: #b54242;
  --color-info: #3d5a85;

  /* Typography */
  --font-heading: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
  --font-en: 'Inter', 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  /* Radius — v2.0 阶梯（卡片16 / 按钮输入框10 / 标签6 / 大容器20） */
  --radius-tag: 6px;
  --radius-btn: 10px;
  --radius-card: 16px;
  --radius-card-lg: 20px;
  --radius-full: 999px;

  /* Spacing — 4px 基数 */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Elevation — 更柔更散 */
  --shadow-subtle: 0 1px 3px rgba(26, 29, 35, 0.04);
  --shadow-raised: 0 4px 16px rgba(26, 29, 35, 0.06);
  --shadow-floating: 0 12px 32px rgba(26, 29, 35, 0.09);
  --shadow-overlay: 0 24px 56px rgba(26, 29, 35, 0.14);
  --shadow-glow-accent: 0 6px 16px rgba(212, 149, 58, 0.28);

  /* Motion */
  --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.33, 1, 0.68, 1);

  /* Layout */
  --container-max: 1120px;
  --nav-height: 72px;
  --nav-height-mobile: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-primary);
}

/* 键盘焦点环（仅 keyboard focus） */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 149, 58, 0.3);
}

/* 跳转链接（无障碍） */
.skip-link {
  position: fixed;
  top: -48px;
  left: var(--space-4);
  z-index: 500;
  padding: 10px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 14px;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: top var(--transition-base);
}
.skip-link:focus {
  top: var(--space-4);
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding: var(--space-9) 0;
}

.prose {
  max-width: 680px;
}

/* 区块标题组：琥珀金短线 + 眉题 + H2 + 导语 */
.section-head {
  max-width: 640px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.eyebrow-bar {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  flex: none;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* ------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 12px 26px;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

/* 导航右侧缩小版主 CTA */
.btn-nav {
  height: 40px;
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------
   5. 链接（箭头文字链）
   ------------------------------------------------------------ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  text-decoration: none;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--color-accent-hover);
  transition: transform var(--transition-base);
}

.link-arrow:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   6. Tag / Badge（圆角 6px 阶梯）
   ------------------------------------------------------------ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-tag);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.tag-default {
  background: var(--color-secondary-light);
  color: var(--color-text-secondary);
}

.tag-outline {
  padding: 3px 9px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

/* AI 标签专用：科技蓝仅到底色级（白名单允许项） */
.tag-tech {
  background: var(--color-tech-subtle);
  color: var(--color-tech-deep);
}

.tag-tech::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-tech);
}

/* ------------------------------------------------------------
   7. 导航栏（浅色玻璃拟态，吸顶，z-index 200）
   ------------------------------------------------------------ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 8px rgba(26, 29, 35, 0.04);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-nav {
    background: rgba(253, 252, 250, 0.98);
  }
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  transition: opacity 0.2s ease;
}

.nav-brand:hover .nav-brand-name {
  opacity: 0.85;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-accent-hover);
}

/* 当前页：琥珀金 2px 下划线 */
.nav-links a.active {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* 汉堡按钮（触控目标 44×44） */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-tag);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-text-primary);
  transition: transform var(--transition-base), opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单：浅色面板（挂在导航下方） */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-height-mobile));
  overflow-y: auto;
  padding: var(--space-4) var(--space-5) var(--space-7);
  background: rgba(253, 252, 250, 0.97);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-overlay);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

@supports not (backdrop-filter: blur(1px)) {
  .mobile-menu {
    background: rgba(253, 252, 250, 0.99);
  }
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: var(--space-2) 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.mobile-links a:last-child {
  border-bottom: none;
}

/* 逐项 stagger 淡入：每项延迟 50ms（仅展开时） */
.mobile-menu.is-open .mobile-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i, 0) * 50ms);
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--color-accent-hover);
}

.mobile-menu-foot {
  margin-top: var(--space-5);
}

.mobile-menu-hint {
  margin-top: var(--space-4);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-secondary);
}

/* 深色遮罩（浅色面板背后的 scrim） */
.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(26, 29, 35, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------
   8. Hero 区（暖白底 + 双光晕 + 逐字标题 + 形象照主角）
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 136px 0 64px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--space-10);
  align-items: center;
}

.hero-label {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* 主标题：Display 56 / 宋体 700 / 逐字显现（每字 35ms，见 §14 动效） */
.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.ht-line {
  display: block;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  animation: char-in 0.5s var(--ease-out-soft) forwards;
  animation-delay: calc(var(--char-index, 0) * 0.035s);
}

/* 渐变字（仅「布谷学长」4 字）：金→蓝，按整行 1em 切片由 JS 定位 */
.hero-title .char.gchar {
  background: linear-gradient(105deg, var(--color-accent) 20%, var(--color-tech) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34em;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.hero-credo {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* 形象照（Hero 主角） */
.hero-figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}

/* CSS 自绘装饰：错位衬底板 */
.hero-figure::before {
  content: '';
  position: absolute;
  top: 24px;
  right: -20px;
  bottom: -20px;
  left: 24px;
  border-radius: var(--radius-card-lg);
  background: var(--color-surface-elevated);
}

.hero-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-floating);
}

/* 漂浮在光晕上的浅色玻璃卡（每页玻璃卡 ≤2，此处为 1/2） */
.hero-float {
  position: absolute;
  left: -36px;
  bottom: 44px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
}

.hero-float strong {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}

.hero-float span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* 浅色玻璃卡（DESIGN-V2 §5 原样参数） */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
}

@supports not (backdrop-filter: blur(1px)) {
  .glass-card {
    background: rgba(255, 255, 255, 0.92);
  }
}

/* 光晕（DESIGN-V2 §6 原样参数：蓝金双色、透明度 ≤0.10、blur 40px） */
.hero-glow-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212, 149, 58, 0.10) 0%,
    rgba(78, 110, 158, 0.06) 45%,
    transparent 70%);
  filter: blur(40px);
}

/* 光晕 1/2：形象照后侧（部分出血），唯一呼吸动画 */
.hero-glow-1 {
  top: -60px;
  right: -140px;
  animation: glow-breathe 8s ease-in-out infinite;
}

/* 光晕 2/2：标题左上，静态、更弱 */
.hero-glow-2 {
  top: -210px;
  left: -170px;
  width: 380px;
  height: 380px;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Hero 光晕视差（仅桌面，rAF 写入 --scroll-y，禁止 scroll 直改 style） */
@media (min-width: 1025px) {
  .hero-glow-layer {
    transform: translateY(calc(var(--scroll-y, 0px) * 0.12));
    will-change: transform;
  }
}

/* ------------------------------------------------------------
   9. 信任墙
   ------------------------------------------------------------ */
.trust-band {
  padding: 64px 0 56px;
}

.trust-lead {
  max-width: 640px;
  margin: 0 auto var(--space-6);
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.trust-lead strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  padding: 20px 24px;
}

.trust-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-tag);
}

/* ------------------------------------------------------------
   10. 我能帮你什么（4 个需求入口）
   ------------------------------------------------------------ */
.services-grid {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-7);
  transition: box-shadow 0.3s var(--ease-in-out-soft),
              transform 0.3s var(--ease-in-out-soft),
              border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 29, 35, 0.09);
  border-color: var(--color-border-strong);
}

/* 触屏设备无 hover：关闭浮动 */
@media (hover: none) {
  .service-card:hover {
    transform: none;
    box-shadow: var(--shadow-subtle);
  }
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  background: var(--color-accent-subtle);
  color: var(--color-accent-hover);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.service-card .link-arrow {
  margin-top: auto;
}

/* ------------------------------------------------------------
   11. 个人故事（微抬升区节奏交替 + 数据背书）
   ------------------------------------------------------------ */
.story-band {
  background: var(--color-surface-elevated);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-10);
  align-items: start;
}

.story-text {
  max-width: 600px;
  margin: var(--space-7) 0 var(--space-6);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}

/* Stat Card：无边框无阴影，纯排版（大数字 Inter 700 / 40px / 琥珀金） */
.story-stats {
  display: flex;
  flex-direction: column;
}

.stat {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.stat:first-child {
  padding-top: var(--space-2);
}

.stat:last-child {
  border-bottom: none;
}

.stat-number {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: var(--space-1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.stat-desc {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ------------------------------------------------------------
   12. 最新思考（公众号精选）
   ------------------------------------------------------------ */
.articles-grid {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-6) 28px;
  transition: box-shadow 0.3s var(--ease-in-out-soft),
              transform 0.3s var(--ease-in-out-soft),
              border-color 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 29, 35, 0.09);
  border-color: var(--color-border-strong);
}

@media (hover: none) {
  .article-card:hover {
    transform: none;
    box-shadow: var(--shadow-subtle);
  }
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.article-source {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.article-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.article-title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: var(--color-accent-hover);
}

.article-excerpt {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articles-more {
  margin-top: var(--space-8);
  text-align: center;
}

/* ------------------------------------------------------------
   13. CTA 区（深色 + 背景微渐变：炭黑 → 深蓝）
   ------------------------------------------------------------ */
.cta-dark {
  padding: var(--space-9) 0;
  background: linear-gradient(135deg, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: var(--color-text-inverse);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-10);
  align-items: center;
}

.cta-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-6);
}

.cta-copy h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.cta-lead {
  max-width: 30em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(253, 252, 250, 0.72);
  margin-bottom: var(--space-7);
}

.cta-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

/* 深色区上的联系面板：实色微亮面板（非玻璃，规避深色玻璃禁区） */
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.cta-contact:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 149, 58, 0.4);
}

.cta-contact-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.cta-contact-icon svg {
  width: 22px;
  height: 22px;
}

.cta-contact-label {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(253, 252, 250, 0.55);
}

.cta-contact-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-inverse);
  word-break: break-all;
}

.cta-contact--qr {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: var(--space-5);
}

.qr-frame {
  flex: none;
  display: block;
  padding: 8px;
  background: var(--color-surface);
  border-radius: var(--radius-btn);
}

.qr-frame img {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-tag);
}

.qr-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* ------------------------------------------------------------
   14. Footer（深色延续）
   ------------------------------------------------------------ */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-brand-link img {
  height: 32px;
  width: auto;
}

.footer-brand-link span {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-inverse);
  transition: opacity 0.2s ease;
}

.footer-brand-link:hover span {
  opacity: 0.85;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(253, 252, 250, 0.55);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(253, 252, 250, 0.5);
  margin-bottom: var(--space-4);
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(253, 252, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(253, 252, 250, 0.55);
}

/* ------------------------------------------------------------
   15. 动效（全部参数化，prefers-reduced-motion 见 §17）
   ------------------------------------------------------------ */
/* 逐字显现（仅 Hero 一处；每字 35ms） */
@keyframes char-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 滚动显现（位移 24px / 0.6s / ease-out-soft；移动端位移减半） */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(var(--reveal-dist, 24px)); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 仅在 JS 可用时才隐藏初始态（无 JS 不丢内容） */
.js .reveal {
  opacity: 0;
  animation: reveal-up 0.6s var(--ease-out-soft) forwards;
  animation-play-state: paused;
  animation-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  animation-play-state: running;
}

/* ------------------------------------------------------------
   16. 响应式（桌面优先；平板 ≤1024 两列，移动 ≤640 单列）
   ------------------------------------------------------------ */
/* ---------- 平板：640–1024 ---------- */
@media (max-width: 1024px) {
  .nav-inner {
    height: var(--nav-height-mobile);
  }

  .nav-brand img {
    height: 30px;
  }

  .nav-links,
  .nav-actions .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 112px 0 56px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-figure {
    justify-self: center;
    max-width: 440px;
  }

  .hero-float {
    left: -20px;
    bottom: 32px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .story-text {
    margin-top: var(--space-6);
  }

  .story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }

  .stat {
    padding: 0;
    border-bottom: none;
    border-top: 1px solid var(--color-border-strong);
    padding-top: var(--space-4);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-7);
  }
}

/* ---------- 移动：≤640 ---------- */
@media (max-width: 640px) {
  :root {
    --reveal-dist: 12px; /* 移动端位移减半 */
  }

  .container {
    padding-inline: var(--space-4);
  }

  .section {
    padding: var(--space-8) 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .eyebrow {
    margin-bottom: var(--space-3);
  }

  .hero {
    padding: 96px 0 48px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-credo {
    margin-bottom: var(--space-6);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    gap: var(--space-2);
  }

  .hero-figure {
    max-width: 360px;
  }

  /* 浅色玻璃卡仅用于漂浮在光晕上；移动端无光晕层则隐藏 */
  .hero-float {
    display: none;
  }

  .trust-band {
    padding: 48px 0 40px;
  }

  .trust-card {
    padding: 14px 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-card {
    padding: var(--space-6);
  }

  .story-grid {
    gap: var(--space-6);
  }

  .story-text {
    font-size: 16px;
    line-height: 1.85;
  }

  .story-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat {
    padding: var(--space-5) 0;
    border-top: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat:first-child {
    padding-top: 0;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .article-card {
    padding: var(--space-6) var(--space-5);
  }

  .articles-more {
    margin-top: var(--space-6);
  }

  .cta-dark {
    padding: var(--space-8) 0;
  }

  .cta-copy h2 {
    font-size: 26px;
  }

  .cta-contacts {
    grid-template-columns: 1fr;
  }

  .cta-contact--qr {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding-top: var(--space-5);
  }
}

/* ------------------------------------------------------------
   17. prefers-reduced-motion 降级（必须包含，DESIGN-V2 §8 原样）
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-title .char {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  /* 视差完全关闭 */
  .hero-glow-layer {
    transform: none !important;
  }

  /* 呼吸光晕静止 */
  .glow {
    animation: none;
  }
}
