:root {
  --bg: #ffffff;
  --bg-warm: #faf9f7;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #999;
  --accent: #2563eb;
  --accent-light: #eff4ff;
  --accent-hover: #1d4ed8;
  --orange: #f97316;
  --orange-light: #fff7ed;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --border: #eee;
  --border-hover: #ddd;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
  --radius: 14px;
  --max-w: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
.mobile-br { display: none; }
@media (max-width: 768px) { .mobile-br { display: block; } }
/* 桌面端强制换行、移动端隐藏（让文字自然流） */
.desktop-br { display: none; }
@media (min-width: 769px) { .desktop-br { display: inline; } }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  /* blur 从 12px 降到 6px：固定导航的 backdrop-filter 会在每个滚动帧全宽重算高斯模糊，
     60Hz 集显（如 MacBook Air）有时算不进 16.7ms 预算 → 间歇性掉帧。半径减半 ≈ 卷积成本减半，
     底色 0.96 不透明度足够，玻璃质感基本保留。移动端已在下方 @media 完全关闭 blur。 */
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.05); }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; }
.nav-logo { font-size: 15px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.nav-logo img { height: 36px; width: auto; }
@media (max-width: 768px) {
  .nav-logo { font-size: 0; }
  .nav-logo img { height: 32px; }
  /* 移动端关闭 backdrop-filter：blur 会把下方滚动到 nav 后的彩色按钮"染色"渗出，
     看起来像 nav 透着杂乱内容（CLAUDE.md 已列入前端三大陷阱之一）。 */
  .nav {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; white-space: nowrap; }
.nav-links li { position: relative; }
.nav-links a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary); font-size: 15px; font-weight: 400;
  padding: 6px 12px;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.2,.9,.3,1), opacity 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after {
  transform: translateX(-50%) scaleX(0.55);
  opacity: 0.5;
}
.nav-links a:not(.nav-cta).active {
  color: var(--accent);
}
.nav-links a:not(.nav-cta).active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
  box-shadow: 0 1px 4px rgba(37,99,235,0.25);
}
.nav-cta {
  padding: 8px 20px; margin-left: 8px;
  background: var(--text); color: var(--bg) !important;
  font-weight: 600; font-size: 14px;
  border-radius: 8px; letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
/* 登录（演示位，账户系统上线后接入真实路由）——第二档视觉：比内容导航重，比主 CTA 轻 */
.nav-sep { display: inline-flex; align-items: center; padding: 0 6px; pointer-events: none; }
.nav-sep span {
  display: block; width: 1px; height: 14px;
  background: var(--border);
}
.nav-links a.nav-login {
  font-size: 14px;
  color: var(--text) !important;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a.nav-login:hover {
  background: rgba(26,26,46,0.05);
}
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.hamburger span { width: 20px; height: 1.5px; background: var(--text); border-radius: 1px; transition: transform 0.25s ease, opacity 0.2s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: flex; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 0;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a:not(.mobile-menu-cta) {
  color: var(--text); font-size: 22px; font-weight: 500; padding: 18px 0;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s;
}
.mobile-menu.active a:not(.mobile-menu-cta) { opacity: 1; transform: translateY(0); }
.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.14s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.17s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.20s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.23s; }
.mobile-menu.active a:nth-child(8) { transition-delay: 0.26s; }
.mobile-menu.active a:nth-child(9) { transition-delay: 0.29s; }
.mobile-menu-cta {
  display: block; margin-top: 32px; padding: 14px 0; width: 200px; text-align: center;
  background: var(--text); color: var(--bg) !important; font-size: 16px; font-weight: 600;
  border-radius: 10px; letter-spacing: 0.01em;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.2s ease 0.33s, transform 0.2s ease 0.33s;
}
.mobile-menu.active .mobile-menu-cta { opacity: 1; transform: translateY(0); }

/* === Hero + 小O 共享包裹 === */
.hero-xiaoou-wrap {
  position: relative;
  background: linear-gradient(180deg, #eef0ff 0%, #f0ecff 10%, #f8f7ff 25%, #ffffff 40%, #ffffff 55%, #f8f7ff 70%, #f1eeff 82%, #f4f2ff 92%, #f4f2ff 100%);
  overflow: hidden;
}
/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}
/* 底部渐隐已整合到背景渐变中 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black, transparent);
}
/* hero::before / ::after 紫色大光斑已移除——原本被 overflow:hidden 硬切，
   在 hero 底部形成可见裂缝，与 xiaoou 板块衔接处不自然 */
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 24px 16px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #4338ca;
  background: rgba(67,56,202,0.06);
  border: 1px solid rgba(67,56,202,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #1a1a2e;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
  /* 光扫效果 */
  position: relative;
}
/* 光扫 — 更窄更快，只扫文字不扫背景 */
.hero h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.15) 47%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.15) 53%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: hero-title-shine 5s ease-in-out 2s infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@keyframes hero-title-shine {
  0%, 20% { background-position: 200% 0; }
  60%, 100% { background-position: -100% 0; }
}
.hero-keyword {
  position: relative;
  background: linear-gradient(135deg, #4338ca, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 高亮标记线 — 从左到右画出 */
.hero-keyword::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.12em;
  background: linear-gradient(90deg, #4338ca, #7c3aed, #2563eb);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-underline-draw 0.8s cubic-bezier(0.16,1,0.3,1) 1s forwards;
  opacity: 0.35;
}
@keyframes hero-underline-draw {
  to { transform: scaleX(1); }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-h1-aka {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 1.5px;
  margin: -8px auto 28px;
  max-width: 520px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
.hero-h1-aka::before,
.hero-h1-aka::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,0.55), transparent);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: #64748b;
  margin: 0 auto 40px;
  max-width: 640px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 0.7s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
/* 星座网络 Canvas — 覆盖 hero+小O 整个区域 */
.hero-constellation {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-xiaoou-wrap > .hero-constellation {
  z-index: 0;
}
.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-in 0.6s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}
.hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.2);
  cursor: pointer;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.hero-avatar:hover { transform: scale(1.12); }
.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-in 0.6s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
.hero-tag {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  cursor: default;
}
.hero-tag .tag-icon { font-size: 14px; }
.hero-tag:hover {
  border-color: #818cf8;
  color: #4338ca;
  background: #f5f3ff;
  transform: translateY(-1px);
}
.hero-endorse {
  font-size: 14px;
  color: #64748b;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 8px;
  opacity: 0;
  animation: hero-in 0.5s ease-out 1s forwards;
}
.hero-endorse::before,
.hero-endorse::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c7d2fe, transparent);
  vertical-align: middle;
  margin: 0 16px;
}
.hero-endorse strong {
  color: #4338ca;
  font-weight: 700;
  letter-spacing: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
  .hero h1, .hero-h1-aka, .hero-sub, .hero-action, .hero-tags, .hero-endorse { animation: none !important; opacity: 1; transform: none; }
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: #1a1a2e; color: #fff;
  font-weight: 700; font-size: 15px; border-radius: 12px; border: none; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(26,26,46,0.2);
}
.btn-primary:hover { background: #2d2b55; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,46,0.25); color: #fff; }

/* ==================================================================
   HERO CTA · "Midnight Lantern · Restrained"
   首屏唯一转化点 · 深色基底 + 靛蓝光晕（仅近距离，不侵入下方文字区）
   2026-05-19 v2: 高度 73→58px，阴影从 5 层 78px 散射收紧到 3 层 22px。
   ================================================================== */
.hero-cta {
  --c-core:  #1a1a2e;
  --c-light: #2d2a55;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;

  background:
    radial-gradient(120% 80% at 30% 18%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--c-core) 0%, var(--c-light) 100%);

  border: none;
  border-radius: 12px;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;

  /* 3 层阴影 · 全部 ≤ 22px 半径 · 不再侵入按钮以下区域 */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 6px 18px rgba(67, 56, 202, 0.26);

  transition:
    transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    letter-spacing 0.32s ease;

  animation: hero-cta-breathe 5s ease-in-out infinite;
}

@keyframes hero-cta-breathe {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      inset 0 -1px 0 rgba(0, 0, 0, 0.28),
      0 6px 18px rgba(67, 56, 202, 0.26);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(0, 0, 0, 0.28),
      0 8px 22px rgba(67, 56, 202, 0.36);
  }
}

/* 外层光晕：hover 时浮现，收敛在按钮外缘 6px 内（不再向下散射） */
.hero-cta-glow {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 80%, rgba(67, 56, 202, 0.30) 0%, transparent 70%);
  opacity: 0;
  filter: blur(5px);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

/* 反光带：hover 时从左扫到右 */
.hero-cta-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 62%,
    transparent 100%
  );
  transition: left 0.95s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.hero-cta:hover {
  transform: translateY(-2px);
  letter-spacing: 0.07em;
  animation-play-state: paused;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 10px 24px rgba(67, 56, 202, 0.42);
  color: #fff;
}

.hero-cta:hover .hero-cta-glow { opacity: 1; }
.hero-cta:hover .hero-cta-shine { left: 130%; }

.hero-cta:active {
  transform: translateY(0);
  transition-duration: 0.1s;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 3px 10px rgba(67, 56, 202, 0.28);
}

.hero-cta:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 0 0 3px #fff,
    0 0 0 5px rgba(67, 56, 202, 0.7),
    0 6px 18px rgba(67, 56, 202, 0.26);
}

.hero-cta-text {
  position: relative;
  z-index: 1;
}

/* 图标双态容器：→ ↔ 💬 */
.hero-cta-icon {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.hero-cta-icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-cta-icon-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.hero-cta-icon-chat {
  opacity: 0;
  transform: translateX(-6px) rotate(-14deg) scale(0.65);
}
.hero-cta:hover .hero-cta-icon-arrow {
  opacity: 0;
  transform: translateX(8px) scale(0.6);
}
.hero-cta:hover .hero-cta-icon-chat {
  opacity: 1;
  transform: translateX(0) rotate(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta {
    animation: none;
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
  }
  .hero-cta:hover { transform: none; letter-spacing: 0.05em; }
  .hero-cta-shine { display: none; }
}

@media (max-width: 768px) {
  .hero-cta {
    padding: 13px 30px;
    font-size: 15px;
    border-radius: 11px;
    gap: 10px;
    letter-spacing: 0.04em;
  }
  .hero-cta:hover { letter-spacing: 0.05em; }
  .hero-cta-icon { width: 16px; height: 16px; }
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: transparent; color: #1a1a2e;
  font-weight: 600; font-size: 15px; border-radius: 12px; border: 1.5px solid #d1d5db; cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: #9ca3af; background: rgba(0,0,0,0.02); color: #1a1a2e; }

/* === 小O 板块 === */
.section.xiaoou-section {
  padding: 0 16px 24px;
  background: transparent;
  position: relative;
  overflow: visible;
}
@media (min-width: 769px) {
  .section.xiaoou-section { padding: 0 24px 80px; }
}
.xiaoou-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(99,102,241,0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 32px rgba(99,102,241,0.06);
  position: relative;
  z-index: 1;
}
@media (min-width: 769px) {
  .xiaoou-inner { gap: 0; border-radius: 24px; padding: 48px 56px 48px 24px; }
}

/* 左侧：小O 视频/图片（移动优先） */
.xiaoou-left {
  flex: 0 0 88px;
  width: 88px;
  max-width: 88px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 769px) {
  .xiaoou-left { flex: 0 0 260px; width: 260px; max-width: 260px; }
}
.xiaoou-avatar {
  width: 88px;
  height: 110px;
  border-radius: 0;
  object-fit: contain;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, black 40%, transparent 80%);
  mix-blend-mode: normal;
}
@media (min-width: 769px) {
  .xiaoou-avatar {
    width: 240px; height: 300px; max-height: 300px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 55%, black 45%, transparent 85%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 55%, black 45%, transparent 85%);
    mix-blend-mode: multiply;
  }
}
.xiaoou-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
  margin-top: 4px;
  display: none;
}
@media (min-width: 769px) {
  .xiaoou-name { display: block; font-size: 18px; margin-top: 0; }
}
.xiaoou-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: none;
}
@media (min-width: 769px) {
  .xiaoou-role { display: block; }
}

/* 右侧：文字+标签（移动优先） */
.xiaoou-right {
  flex: 1;
  padding-left: 0;
  min-width: 0;
}
@media (min-width: 769px) {
  .xiaoou-right { padding-left: 40px; }
}
/* 小O 文字：移动优先，桌面端用 min-width 覆盖 */
.xiaoou-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: 0;
}
.xiaoou-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 500px;
}
.xiaoou-tags-label {
  font-size: 10px;
  font-weight: 600;
  color: #6366f1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
@media (min-width: 769px) {
  .xiaoou-title { font-size: 26px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
  .xiaoou-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
  .xiaoou-tags-label { font-size: 12px; margin-bottom: 14px; letter-spacing: 1px; }
}
.xiaoou-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xiaoou-tag {
  padding: 7px 16px;
  background: rgba(99,102,241,0.07);
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #4338ca;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
  opacity: 0;
  transform: translateY(10px);
}
.xiaoou-tag.show {
  opacity: 1;
  transform: translateY(0);
}
.xiaoou-tag:hover {
  background: rgba(99,102,241,0.14);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(99,102,241,0.12);
}
.xiaoou-tag.more {
  background: transparent;
  border: 1.5px dashed rgba(99,102,241,0.2);
  color: #818cf8;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 7px 20px;
  position: relative;
  overflow: hidden;
}
.xiaoou-tag.more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.05), transparent);
  animation: more-shimmer 3s ease-in-out infinite;
}
@keyframes more-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
.xiaoou-tag.more:hover {
  border-color: rgba(99,102,241,0.35);
  color: #6366f1;
  transform: none;
  box-shadow: none;
}

/* ── 跑马灯标签（移动端专用） ── */
.xiaoou-marquee { display: none; }
@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── 移动端小O区域：集中定义 ── */
@media (max-width: 768px) {
  .xiaoou-section .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .xiaoou-inner { flex-direction: row; text-align: left; overflow: hidden; flex-wrap: wrap; }
  /* 移动端小O入场动画：与 hero-in 风格统一 */
  .xiaoou-inner .xiaoou-left {
    animation: hero-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.5s both;
  }
  .xiaoou-inner .xiaoou-title {
    animation: hero-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.65s both;
  }
  .xiaoou-inner .xiaoou-desc {
    animation: hero-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.8s both;
  }
  .xiaoou-inner .xiaoou-tags-label {
    animation: hero-in 0.45s cubic-bezier(0.16,1,0.3,1) 0.95s both;
  }
  .xiaoou-inner .xiaoou-marquee {
    animation: hero-in 0.45s cubic-bezier(0.16,1,0.3,1) 1.05s both;
  }
  .xiaoou-tags { display: none; }
  .xiaoou-tags-label { display: block; margin: 4px 0 2px; text-align: left; }
  .xiaoou-marquee {
    display: block;
    width: calc(100% + 102px + 16px);
    margin: 4px 0 -12px calc(-102px - 14px);
    padding: 0 0 10px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  .marquee-row {
    overflow: hidden;
    margin-bottom: 6px;
  }
  .marquee-track {
    display: flex;
    gap: 6px;
    width: max-content;
    will-change: transform;
  }
  .marquee-left .marquee-track {
    animation: marquee-scroll-left 25s linear infinite;
    animation-play-state: paused;
  }
  .marquee-right .marquee-track {
    animation: marquee-scroll-right 30s linear infinite;
    animation-play-state: paused;
  }
  .xiaoou-marquee.in-view .marquee-track { animation-play-state: running; }
  .marquee-track span {
    flex-shrink: 0;
    padding: 4px 10px;
    background: rgba(99,102,241,0.07);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #4338ca;
    white-space: nowrap;
  }
}

/* === SECTIONS === */
.section { padding: 80px 24px; }
.section-warm { background: var(--bg-warm); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.section-title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.section-desc { font-size: 15px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* reveal */
.reveal { opacity: 0; transition: opacity 0.6s; }
.reveal.visible { opacity: 1; }

/* === SHOWCASE（生态图谱 V11：4 实卡共享舞台，原 #services 已合并） === */
.svc-showcase {
  background: linear-gradient(135deg, #1e1b35 0%, #1a1a2e 50%, #1b2030 100%);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 40px rgba(30, 27, 53, 0.25);
}
.svc-stage {
  display: flex; align-items: stretch; height: 320px;
}
.svc-left {
  flex: 1; padding: 44px 40px; display: flex; align-items: center;
}
.svc-right {
  flex: 0 0 400px; padding: 32px 36px 32px 0;
  display: flex; align-items: center; justify-content: center;
}
/* 文字区 */
.svc-slide-text { color: #fff; }
.svc-slide-text .svc-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  margin-bottom: 14px; display: inline-block; padding: 4px 12px;
  border-radius: 999px; background: rgba(99,102,241,0.15); color: #a5b4fc;
}
.svc-slide-text h3 {
  font-size: 24px; font-weight: 800; margin-bottom: 14px; line-height: 1.3;
}
.svc-slide-text p {
  font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0;
}
.svc-slide-cta {
  display: inline-block; margin-top: 22px;
  font-size: 14px; font-weight: 600; color: #a5b4fc;
}
/* 动画预览区 */
.svc-slide-visual {
  width: 100%; border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,0.03); padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
/* 聊天界面 */
.svc-chat { display: flex; flex-direction: column; gap: 10px; }
.svc-chat-row {
  display: flex; align-items: flex-end; gap: 8px;
  opacity: 0; transform: translateY(8px);
  animation: svc-bubble-in 0.4s ease forwards;
}
.svc-chat-row.is-user { flex-direction: row-reverse; }
.svc-chat-row:nth-child(2) { animation-delay: 0.7s; }
.svc-chat-row:nth-child(3) { animation-delay: 1.4s; }
.svc-chat-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(99,102,241,0.2); overflow: hidden;
}
.svc-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.svc-chat-row.is-user .svc-chat-avatar { background: rgba(255,255,255,0.1); }
.svc-bubble {
  padding: 9px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.55;
  max-width: 80%; width: fit-content;
}
.svc-bubble-ai {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
}
.svc-bubble-user {
  background: linear-gradient(135deg, #6366f1, #818cf8); color: #fff;
  border-bottom-right-radius: 4px;
}
@keyframes svc-bubble-in { to { opacity: 1; transform: translateY(0); } }
/* 标签流 */
.svc-tags-flow {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 100%;
}
.svc-tags-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%;
}
.svc-tag-pill {
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  opacity: 0; transform: scale(0.92);
  animation: svc-tag-pop 0.3s ease forwards;
  transition: transform 0.2s, background 0.2s;
}
.svc-tag-pill.is-main {
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.18);
  color: #c4b5fd;
}
.svc-tag-pill.is-main:hover { background: rgba(99,102,241,0.2); }
.svc-tag-pill.is-sub {
  padding: 7px 14px; font-size: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
}
.svc-tag-pill.is-sub:hover { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
@keyframes svc-tag-pop { to { opacity: 1; transform: scale(1); } }
/* 节点连线 */
.svc-nodes {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.svc-node {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  opacity: 0; transform: scale(0.8);
  animation: svc-node-in 0.4s ease forwards;
}
.svc-node-line {
  width: 24px; height: 1px; background: rgba(255,255,255,0.15);
  opacity: 0; animation: svc-line-grow 0.3s ease forwards;
}
@keyframes svc-node-in { to { opacity: 1; transform: scale(1); } }
@keyframes svc-line-grow { to { opacity: 1; } }
/* 柱状图 */
.svc-bars {
  display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 10px;
}
.svc-bar {
  flex: 1; border-radius: 4px 4px 0 0; min-width: 24px;
  transform-origin: bottom; transform: scaleY(0);
  animation: svc-bar-grow 0.6s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes svc-bar-grow { to { transform: scaleY(1); } }
/* 园区卡片 */
.svc-parks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%;
}
.svc-park {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateX(8px);
  animation: svc-bubble-in 0.35s ease forwards;
  transition: all 0.25s;
}
.svc-park:hover {
  background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.2);
  transform: translateX(0) translateY(-1px);
}
.svc-park-icon {
  font-size: 24px; line-height: 1; flex-shrink: 0;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border-radius: 10px;
}
.svc-park-info { flex: 1; min-width: 0; }
.svc-park-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); display: block; margin-bottom: 3px; }
.svc-park-tag {
  display: inline-block; padding: 2px 7px; border-radius: 4px;
  font-size: 9px; font-weight: 500;
  background: rgba(99,102,241,0.1); color: #a5b4fc;
}
/* 线下空间 */
.svc-space { display: flex; flex-direction: column; gap: 6px; }
.svc-space-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateX(8px);
  animation: svc-bubble-in 0.35s ease forwards;
  transition: background 0.2s;
}
.svc-space-item:hover { background: rgba(255,255,255,0.07); }
.svc-space-item:first-child { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.15); }
.svc-space-icon { font-size: 16px; line-height: 1; flex-shrink: 0; }
.svc-space-text { font-size: 12.5px; color: rgba(255,255,255,0.7); font-weight: 500;
}
/* 微信群聊风格 */
.svc-wechat {
  display: flex; flex-direction: column; height: 100%;
  background: rgba(255,255,255,0.02); border-radius: 10px; overflow: hidden;
}
.svc-wechat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-wechat-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); }
.svc-wechat-count { font-size: 10px; color: rgba(255,255,255,0.3); }
.svc-wechat-body {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  padding: 10px 12px; overflow: hidden;
}
.svc-wechat-msg {
  display: flex; align-items: flex-start; gap: 8px;
  opacity: 0; transform: translateY(6px);
  animation: svc-bubble-in 0.35s ease forwards;
}
.svc-wechat-av {
  width: 26px; height: 26px; border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(255,255,255,0.08);
}
.svc-wechat-content { flex: 1; min-width: 0; }
.svc-wechat-name { font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 2px; }
.svc-wechat-txt {
  display: inline-block; padding: 6px 10px; border-radius: 0 8px 8px 8px;
  background: rgba(255,255,255,0.08); font-size: 12px; line-height: 1.5;
  color: rgba(255,255,255,0.75); max-width: 95%;
}
/* 创业者画像卡片 */
.svc-profile { display: flex; align-items: center; justify-content: center; height: 100%; }
.svc-profile-card {
  padding: 18px 20px; border-radius: 14px; width: 100%;
  background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(99,102,241,0.15);
  opacity: 0; transform: translateY(8px); animation: svc-bubble-in 0.4s ease forwards;
}
.svc-profile-type {
  font-size: 18px; font-weight: 800; color: #c4b5fd; margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.svc-profile-traits { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.svc-profile-trait {
  padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 500;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.svc-profile-quote {
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.55);
  font-style: italic; padding-left: 10px;
  border-left: 2px solid rgba(99,102,241,0.3);
}
.svc-profile-sig {
  font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 8px; text-align: right;
}
/* 入驻对接流程 */
.svc-onboard { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.svc-onboard-step {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateX(8px); animation: svc-bubble-in 0.3s ease forwards;
}
.svc-onboard-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  background: rgba(99,102,241,0.15); color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.2);
}
.svc-onboard-step.is-done .svc-onboard-num {
  background: rgba(52,211,153,0.15); color: #6ee7b7;
  border-color: rgba(52,211,153,0.2);
}
.svc-onboard-txt { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.svc-onboard-step.is-done .svc-onboard-txt { color: #6ee7b7; }
.svc-onboard-line {
  width: 1px; height: 12px; margin-left: 12px;
  background: rgba(255,255,255,0.1);
  opacity: 0; animation: svc-bubble-in 0.2s ease forwards;
}
/* Tab 导航 */
.svc-tabs {
  display: flex;
  min-height: 53px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.svc-tab {
  flex: 1; padding: 16px 12px; text-align: center; cursor: pointer;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.35);
  transition: color 0.3s, background 0.3s; position: relative;
  border: none; background: none;
}
.svc-tab:hover { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.03); }
.svc-tab.active { color: #fff; border-bottom: 2px solid rgba(99,102,241,0.5); }
/* 进度条：独立元素放在 Tab 栏上方 */
.svc-progress {
  height: 2px; width: 100%; background: transparent;
  position: relative; overflow: hidden;
}
.svc-progress-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  transform-origin: left; transform: scaleX(0);
  animation: svc-tab-progress 5s linear forwards;
}
@keyframes svc-tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.svc-showcase.paused .svc-progress-bar { animation-play-state: paused; }
.svc-tab-badge {
  font-size: 9px; padding: 1px 5px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4);
  margin-left: 4px; vertical-align: middle;
}
/* 过渡动画 — 淡入（慢、柔）*/
.svc-slide-text, .svc-slide-visual {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 淡出（快、干脆）*/
.svc-showcase.switching .svc-slide-text {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc-showcase.switching .svc-slide-visual {
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.25s ease 0.04s, transform 0.25s ease 0.04s;
}
@media (max-width: 768px) {
  .svc-showcase { border-radius: 12px; margin: 0 -4px; }
  .svc-stage { flex-direction: column; height: auto; }
  .svc-left { padding: 24px 20px 12px; display: flex; align-items: center; }
  .svc-slide-text h3 { font-size: 20px; }
  .svc-slide-text p { font-size: 13.5px; }
  .svc-right { flex: 1; padding: 0 20px 20px; display: flex; align-items: center; justify-content: center; }
  .svc-slide-visual { padding: 14px; width: 100%; }
  /* Tab 移动端：横向滚动 */
  .svc-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { flex: 0 0 auto; padding: 12px 14px; font-size: 12px; white-space: nowrap; }
  /* 聊天气泡 */
  .svc-chat-avatar { width: 24px; height: 24px; }
  .svc-chat-avatar img { width: 100%; height: 100%; }
  .svc-bubble { font-size: 12px; padding: 8px 11px; }
  /* 微信群 */
  .svc-wechat-av { width: 22px; height: 22px; font-size: 11px; }
  .svc-wechat-txt { font-size: 11px; }
  /* 方向标签 */
  .svc-tag-pill.is-main { padding: 8px 14px; font-size: 12.5px; }
  .svc-tag-pill.is-sub { padding: 7px 12px; font-size: 11.5px; }
  /* 园区/空间/导师列表 */
  .svc-parks { grid-template-columns: 1fr; }
  .svc-space-item { padding: 8px 12px; }
  .svc-space-text { font-size: 12px; }
}

/* === ECG-SHOWCASE：生态图谱 V11 嵌入 .egm-canvas-realcards 的微调 === */
.ecg-showcase {
  margin-top: 28px;
  margin-bottom: 8px;
  border-radius: 18px;
}
.ecg-showcase .svc-stage { height: 280px; }
.ecg-showcase .svc-slide-text h3 { font-size: 22px; margin-bottom: 12px; }
.ecg-showcase .svc-slide-text p { font-size: 14px; }
.ecg-showcase .svc-progress { border-top: 1px solid rgba(255,255,255,0.06); }
/* Spotlight banner：方法维度入口，常驻舞台顶部，4 卡之外的主 CTA */
.ecg-spotlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(99,102,241,0.16) 0%, rgba(99,102,241,0.05) 60%, rgba(255,255,255,0.02) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: inherit;
  transition: background .25s;
}
.ecg-spotlight:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.24) 0%, rgba(99,102,241,0.1) 60%, rgba(255,255,255,0.04) 100%);
}
.ecg-spotlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.18);
  color: #c4b5fd;
  flex-shrink: 0;
}
.ecg-spotlight-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ecg-spotlight-text strong {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.ecg-spotlight-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.ecg-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.3);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s, transform .25s;
  flex-shrink: 0;
}
.ecg-spotlight:hover .ecg-spotlight-cta {
  background: rgba(99,102,241,0.28);
  transform: translateX(3px);
}
/* 卡 1 项目精选 · 子文本（成员 · 状态） */
.ecg-pool .svc-space-text strong {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2px;
  font-weight: 600;
}
.ecg-pool-sub {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  font-weight: 400;
}
/* 卡 4 园区里程碑：svc-onboard-num 装 2 位年份 */
.ecg-timeline { gap: 0; }
.ecg-timeline .svc-onboard-step { gap: 12px; align-items: center; }
.ecg-timeline .svc-onboard-num {
  width: 34px;
  height: 34px;
  font-size: 12px;
  font-weight: 700;
}
.ecg-timeline .svc-onboard-line {
  margin-left: 17px;
  height: 14px;
}
.ecg-timeline .svc-onboard-txt strong {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}
/* 4 实卡 active 状态：联动舞台高亮（左光条 + 阴影增强 + 浮起） */
.egm-realcard.is-active {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.55);
  box-shadow: 0 18px 48px -20px rgba(67,56,202,.32);
}
.egm-realcard.is-active::before { opacity: 1; }
.egm-realcard.is-active .egm-realcard-avatars img { transform: translateY(-2px); }
/* 左侧光条：用 ::after 独立元素，瞬切（不被 box-shadow transition 拖慢） */
.egm-realcard::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%);
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity .12s ease-out;
  pointer-events: none;
  z-index: 2;
}
.egm-realcard.is-active::after { opacity: 1; }
/* 移动端：舞台主体隐藏，但 spotlight banner 保留作为关键入口 */
@media (max-width: 768px) {
  .ecg-showcase {
    margin-top: 18px;
    border-radius: 14px;
  }
  .ecg-showcase .svc-stage,
  .ecg-showcase .svc-progress {
    display: none;
  }
  .ecg-spotlight {
    padding: 14px 16px;
    gap: 12px;
    border-bottom: none;
  }
  .ecg-spotlight-icon {
    width: 32px;
    height: 32px;
  }
  .ecg-spotlight-text strong {
    font-size: 13.5px;
  }
  .ecg-spotlight-sub {
    font-size: 11.5px;
  }
  .ecg-spotlight-cta {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* === MAP === */
.map-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.map-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: all 0.3s; cursor: pointer;
}
.map-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.map-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.map-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.map-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.map-tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--bg-warm); color: var(--text-secondary); }

/* === FAQ === */
#faq { background: linear-gradient(180deg, #fff 0%, #f9f8fc 40%, #f9f8fc 60%, #fff 100%); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border-radius: 16px; border: 1px solid var(--border);
  overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.active {
  border-color: rgba(99,102,241,0.15);
  box-shadow: 0 2px 12px rgba(99,102,241,0.06);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--text-primary); gap: 14px; -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
@media (hover: hover) { .faq-q:hover { color: var(--accent); } }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-warm); display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s, color 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg); background: var(--accent); color: #fff;
}
.faq-icon svg { width: 12px; height: 12px; stroke: currentColor; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.active .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
}
.faq-a p {
  font-size: 14px; line-height: 1.8; color: var(--text-secondary);
  padding: 0 20px 16px; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}
.faq-item.active .faq-a p { opacity: 1; transform: translateY(0); }
.faq-lead {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
}
.faq-a .faq-cta { color: var(--accent); font-weight: 600; margin-left: 4px; }
@media (hover: hover) { .faq-a .faq-cta:hover { text-decoration: underline; } }

/* === CASES === */
#cases { background: #fff; }

/* 无限滚动轮播 */
.cases-carousel { position: relative; overflow: hidden; margin: 0 calc(-1 * (50vw - var(--max-w) / 2)); padding: 0 calc(50vw - var(--max-w) / 2); }
/* 桌面滚动模式：缩小左侧 gutter，让第一张卡片靠近视口左侧，避免大片留白 */
@media (min-width: 769px) {
  .cases-carousel:not(.is-static) { padding-left: 64px; }
}
.cases-track {
  display: flex; gap: 24px;
  width: max-content;
  padding: 20px 0 60px;
  will-change: transform;
}

/* 卡片 */
.case-card {
  flex: 0 0 360px;
  display: flex; flex-direction: column;
  position: relative; border-radius: 20px; padding: 20px 28px 28px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99,102,241,0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  overflow: hidden;
}
.case-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(129,140,248,0.05), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.case-card:hover::before { opacity: 1; }
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(99,102,241,0.1), 0 0 0 1px rgba(99,102,241,0.08);
}
.case-card::after {
  content: ''; position: absolute; bottom: -40px; left: 50%; width: 80%; height: 60px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
  transform: translateX(-50%); pointer-events: none;
  opacity: 0; transition: opacity 0.4s;
}
.case-card:hover::after { opacity: 1; }

/* 核心数字 */
.case-metric-hero {
  font-size: 32px; font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), #818cf8, #a78bfa);
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.2; margin-bottom: 6px;
  animation: case-shimmer 4s ease-in-out infinite;
}
@keyframes case-shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.case-metric-label { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.case-quote {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px;
  position: relative; padding-left: 16px;
}
.case-quote::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--accent), rgba(99,102,241,0.1));
}

.case-footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.case-avatar {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s;
}
.case-card:hover .case-avatar { transform: scale(1.08); }
.ca-blue { background: linear-gradient(135deg, #6366f1, #818cf8); }
.ca-orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.ca-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.ca-real { background: none; overflow: hidden; }
.ca-real img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.case-name { font-size: 14px; font-weight: 700; }
.case-role { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.case-tag {
  font-size: 10px; line-height: 1; padding: 3px 7px; border-radius: 6px;
  color: var(--accent); background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.1);
  white-space: nowrap;
}
.case-tag.tag-warm {
  color: #d97706; background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.12);
}
.case-link {
  margin-left: auto; color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  display: flex; align-items: center;
}
.case-link:hover { color: var(--accent); transform: translateY(-1px); }
.case-product-logo {
  margin-left: auto; width: 28px; height: 28px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
}

/* 数字 + logo 同行 */
.case-metric-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.case-logos {
  display: flex; gap: 5px; align-items: center; flex-shrink: 0;
}
.case-logos img {
  width: 28px; height: 28px; border-radius: 8px; object-fit: contain;
  background: #f8f8f8; padding: 2px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.25s;
}
.case-logos img:hover { transform: scale(1.12); }

/* 导航：圆点 + 箭头（仅移动端显示） */
.cases-nav {
  display: none; align-items: center; justify-content: space-between;
  margin-top: 8px; padding: 0 4px;
}
.cases-carousel.is-static .cases-nav { display: none !important; }
.cases-carousel.is-static .cases-track { width: 100%; justify-content: center; }
.cases-dots { display: flex; gap: 8px; }
.cases-dot {
  width: 16px; height: 3px; border-radius: 3px; border: none; padding: 0; cursor: pointer;
  background: var(--border); transition: all 0.3s;
}
.cases-dot.active { background: var(--accent); width: 28px; }
.cases-arrows { display: flex; gap: 8px; }
.cases-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all 0.25s;
}
.cases-arrow:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* === CASES GRID v0 · 3 张固定（桌面 3 列 / 平板 2 列 / 手机 1 列）+ 换一批 ===
   按钮位置稳定原则：grid 容器 min-height 由 JS 在初始/resize 时测出"最高单卡"高度并设置。
   - 不锁卡片 min-height（避免每卡底部大留白）
   - 一行内卡片由 Grid stretch 自动对齐到该批最高
   - 不同批容器高度恒定（由 inline min-height 保证），下方按钮位置永不漂移 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 8px 0 28px;
  min-height: 460px; /* JS 加载前的兜底；初始化后会被 inline min-height 覆盖 */
  transition: opacity 0.22s ease;
}
.cases-grid.is-fading { opacity: 0.15; }
.cases-grid .case-card {
  flex: none;
  width: auto;
  min-width: 0;
}
@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
/* 移动端：单卡视图（其他 display:none）+ ← → 按钮切换
   原理：所有 3 张卡片仍在 DOM 内（pickCases 后），但只 .is-active 显示
   容器高度 = 当前 active 卡片的自然高度 → 100% 消除留白
   切换时容器高度可能小幅变化（30-60px），但远好于大面积留白 */
@media (max-width: 640px) {
  .cases-grid {
    display: block;
    grid-template-columns: none;
    overflow: visible;
    gap: 0;
    padding: 0;
    margin-bottom: 8px;
    min-height: 0;
    /* 容器高度 transition：换卡时按钮位置平滑过渡（非瞬间跳），消除"闪烁"感 */
    transition: opacity 0.22s ease, height 0.32s cubic-bezier(0.4, 0.2, 0.2, 1);
  }
  .cases-grid .case-card {
    display: none;
    width: auto;
    min-width: 0;
    padding: 20px 22px 22px;
  }
  .cases-grid .case-card.is-active {
    display: flex;
    flex-direction: column;
  }
  /* quote 只 line-clamp 截断长文（消除文字下方留白）—— 不锁 min-height */
  .cases-grid .case-quote {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* footer 紧跟 quote 自然位置（不被 margin-top:auto 推到底，避免 stretch 留白） */
  .cases-grid .case-footer { margin-top: 14px; }
  .cases-actions { margin-top: 16px; }
}

/* 移动端切换控件（← dots →）—— 三层视觉强化「可切换」感知 */
.cases-mobile-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 4px 0;
}
@media (max-width: 640px) {
  .cases-mobile-controls { display: flex; }
}
.cases-mobile-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border: none; border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  flex-shrink: 0;
  font-family: inherit;
}
.cases-mobile-arrow:hover, .cases-mobile-arrow:active {
  background: var(--accent);
  color: #fff;
  transform: scale(0.96);
}
.cases-mobile-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--accent-light);
  color: var(--accent);
  transform: none;
}
.cases-mobile-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.cases-mobile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  transition: background 0.28s, width 0.28s cubic-bezier(.4,.2,.2,1), border-radius 0.28s;
}
.cases-mobile-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

.cases-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cases-shuffle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--accent) 0%, #6366f1 100%);
  color: #fff;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border-radius: 12px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.22);
  font-family: inherit;
}
.cases-shuffle-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.32); }
.cases-shuffle-btn:active { transform: translateY(0); }
.cases-shuffle-btn .cases-shuffle-icon { transition: transform 0.4s cubic-bezier(.4,.2,.2,1); }
.cases-shuffle-btn:hover .cases-shuffle-icon { transform: rotate(180deg); }
/* 桌面默认：显示长文案，移动端切换为短文案 */
.cases-cta-short { display: none; }
@media (max-width: 640px) {
  .cases-actions { flex-direction: row; gap: 10px; flex-wrap: nowrap; }
  .cases-shuffle-btn,
  .cases-actions .news-all-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 10px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }
  .cases-cta-full { display: none; }
  .cases-cta-short { display: inline; }
  .cases-actions .news-all-btn svg { display: none; }
}

/* === PARTNERS === */
.partners-group { margin-bottom: 20px; }
.partners-group:last-child { margin-bottom: 0; }
.partners-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.partners-list { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-chip {
  padding: 10px 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.partner-chip:hover { border-color: var(--accent); color: var(--accent); }

/* === NEWS === */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
/* 封面槽位（桌面）：容器锁定微信公众号官方封面比例 900×383 ≈ 2.35:1
   标准公众号封面 → 直接 cover 满屏完美；非标历史封面 → 下方 ::before 用同图模糊兜底 */
.news-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 383;
  overflow: hidden;
  background-color: var(--bg-warm);
  display: block;
}
.news-card-thumb-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--cover);
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.92);
  z-index: 0;
}
/* 兜底：即便外层 wrap 因 HTML 缓存还没刷新缺失，纯 img 也按 2.35:1 contain 显示 */
.news-card-thumb {
  width: 100%;
  aspect-ratio: 900 / 383;
  object-fit: contain;
  background-color: var(--bg-warm);
  display: block;
}
/* 套在 wrap 内时：撤掉 img 自身的比例约束，让 wrap 主导，img 满填 */
.news-card-thumb-wrap > .news-card-thumb {
  position: relative;
  z-index: 1;
  height: 100%;
  aspect-ratio: auto;
  background: none;
}
.news-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* === NEWS CTA === */
.news-all-wrap { text-align: center; margin-top: 24px; }
.news-all-btn { gap: 6px; text-decoration: none; }

/* === 社群带：加入社群（插在底部最终 CTA 之上；门控复用 .cta-qr-tile + syncGate）
   配色对齐首页板块双色系：主体走蓝色 accent（同 .section-tag/.section-title），
   金墨只留给右侧 QR 海报（加群组件，与 nav-join / 弹窗一致）。 === */
.join-band { background: var(--bg); }  /* 与上方 FAQ、下方 CTA 同为白底，避免出现一条暖白色带 */
/* 左栏 + 海报作为一对整体居中，避免出现中间大块空洞 */
.join-inner { max-width: 1040px; margin: 0 auto; padding: 40px 24px; display: flex; justify-content: center; align-items: center; gap: 76px; }
.join-main { flex: 0 1 470px; }
.join-title { font-size: clamp(24px, 3.2vw, 30px); line-height: 1.3; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.join-sub { font-size: 15px; line-height: 1.65; color: var(--text-secondary); max-width: 430px; margin-bottom: 26px; }
.join-sub b { color: var(--text); font-weight: 600; }
.join-values { display: flex; flex-direction: column; max-width: 450px; }
.jv { display: flex; align-items: center; gap: 15px; padding: 14px 0; border-top: 1px solid var(--border); }
.jv:first-child { border-top: none; padding-top: 0; }
.jv:last-child { padding-bottom: 0; }
.jv-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.jv-ico svg { width: 19px; height: 19px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.jv-t { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.jv-d { font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }
.join-poster { flex: 0 0 auto; width: 280px; background: #fff; border: 1px solid #f1ece3; border-radius: 22px; padding: 28px 28px 24px; text-align: center; box-shadow: 0 1px 2px rgba(50,42,30,0.04), 0 30px 64px -22px rgba(60,48,30,0.26); }
.join-poster .qr-card-logo { height: 40px; }
.join-poster .qr-card-divider { margin: 14px 0 18px; }
/* tile 用 auto 高（同弹窗），否则固定 204×204 会把门控内容压缩，锁头被挤成椭圆 */
.join-poster .cta-qr-tile { width: auto; height: auto; padding: 18px; }
.join-poster .cta-qr-img { width: 190px; height: 190px; }
.join-poster .cta-qr-badge { flex: 0 0 auto; }
.join-poster .cta-qr-gate { gap: 11px; padding: 26px 18px; }
.join-mobile-cta { display: none; }

@media (max-width: 768px) {
  /* 移动端用普通块流，绕开 flex 项 min-width 撑开导致的横向溢出 */
  .join-inner { display: block; padding: 42px 22px; text-align: center; }
  .join-main { width: auto; }
  .join-title { font-size: 22px; line-height: 1.35; }
  .join-sub { max-width: 320px; margin: 0 auto 22px; }
  .join-values { margin: 0 auto 22px; max-width: 300px; }
  .jv { padding: 12px 0; gap: 13px; }
  .jv-ico { width: 34px; height: 34px; border-radius: 9px; }
  .jv-ico svg { width: 17px; height: 17px; }
  .jv-d { display: none; }
  .jv-t { font-size: 14.5px; }
  .join-poster { display: none; }
  .join-mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; max-width: 300px; margin: 0 auto; background: #1d1b18; color: #fff; border: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; padding: 15px 24px; border-radius: 14px; box-shadow: 0 10px 24px -6px rgba(29,27,24,0.32); }
  .join-mobile-cta svg { width: 17px; height: 17px; color: #d8b576; }
}

/* === CTA === */
/* === 最终 CTA：宣言型收束（超大字号 + 真实社会证明） === */
.cta-section {
  padding: 48px 24px 90px;
  text-align: center;
  background: var(--bg);
}
.cta-inner { max-width: 820px; margin: 0 auto; }

/* ① 极细装饰线：告诉眼睛"重要节点" */
.cta-divider {
  width: 56px; height: 1px;
  margin: 0 auto 40px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.7;
}

/* ② 宣言级标题：字号本身撑气势，不靠颜色爆点 */
.cta-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}

.cta-subtitle {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ③ 主按钮：保持克制，字号撑气势不需要按钮也爆 · 2026-05-19 v2 阴影收紧 */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 38px;
  background: #1a1a2e;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26,26,46,0.20);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,26,46,0.28);
}

/* ④ 按钮下小字 trust：单行，不用对勾（对勾看起来像功能清单） */
.cta-trust-inline {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.cta-trust-inline .dot {
  color: var(--border);
  margin: 0 10px;
}

/* ⑥ 加群码底部入口：金色描边次级按钮（醒目但不压主按钮），点击开海报弹窗 */
.cta-qr-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px; padding: 13px 30px;
  background: #fff; cursor: pointer;
  border: 1.5px solid rgba(192,146,79,0.6); border-radius: 12px;
  color: #1d1b18; font: inherit; font-size: 15px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(60,48,30,0.06);
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-qr-link svg { width: 18px; height: 18px; color: #c0924f; }
.cta-qr-link:hover {
  border-color: #c0924f; background: #faf6ee;
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(60,48,30,0.12);
}

/* ⑤ 三点分隔：Apple/Notion 式轻量分隔 */
.cta-dots {
  display: flex; justify-content: center; gap: 8px;
  margin: 72px 0 36px;
}
.cta-dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.35;
}

@media (max-width: 768px) {
  .cta-section { padding: 36px 20px 60px; }
  .cta-divider { margin-bottom: 28px; }
  .cta-title { font-size: clamp(30px, 8vw, 40px); letter-spacing: -0.6px; margin-bottom: 16px; }
  .cta-subtitle { font-size: 15px; margin-bottom: 36px; padding: 0 4px; }
  .cta-primary { padding: 16px 28px; font-size: 15px; box-shadow: 0 3px 10px rgba(26,26,46,0.18); }
  .cta-primary:hover { box-shadow: 0 6px 16px rgba(26,26,46,0.24); }
  .cta-trust-inline { font-size: 12px; }
  .cta-trust-inline .dot { margin: 0 6px; }
  .cta-qr-link { margin-top: 18px; font-size: 13px; }
  .cta-dots { margin: 48px 0 24px; }
}

/* === FOOTER === */
/* FOOTER:CSS:START */
/* 共享 footer 样式（含 desktop + 移动端 @media 块）由 home_page() 运行时从 app.py 的 _FOOTER_CSS 常量注入 */
/* FOOTER:CSS:END */

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .map-grid { grid-template-columns: repeat(3, 1fr); }
}
/* nav 切换在 1279px：nav-inner max-width 是 1280px，容器装不下就切汉堡（覆盖华为 MateBook 14s / E 等 200% 缩放后 viewport 1260–1280px 临界场景） */
@media (max-width: 1279px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  /* ── 移动端 Hero：集中定义 ── */
  .hero { min-height: auto; }
  .hero-inner { padding: 88px 24px 24px; }
  .hero-badge { font-size: 11px; letter-spacing: 0.2px; white-space: nowrap; margin-bottom: 16px; padding: 6px 14px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 8px; }
  .hero-h1-aka { font-size: 11px; letter-spacing: 1px; max-width: 300px; margin: 0 auto 14px; gap: 10px; line-height: 1.5; }
  .hero-h1-aka::before, .hero-h1-aka::after { width: 20px; }
  .hero-sub { font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0 auto 24px; }
  .hero-action { flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 260px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
  .hero-action .btn-primary { width: 100%; justify-content: center; padding: 14px 0; font-size: 15px; border-radius: 10px; }
  .hero-action .btn-secondary {
    width: auto; padding: 8px 0; background: transparent; border: none;
    font-size: 13px; font-weight: 500; color: #6366f1; box-shadow: none;
  }
  .hero-action .btn-secondary::after { content: ' \2193'; font-size: 11px; }
  .hero-action .btn-secondary:hover { background: transparent; border: none; color: #4338ca; }
  .hero-endorse { display: none; }
  /* 移动端背景简化 */
  .hero-xiaoou-wrap {
    /* 末段 85%→100% 收敛到 #f4f2ff，与下方 egm-section 顶部同色，避免硬线 */
    background: linear-gradient(180deg, #eef0ff 0%, #f0ecff 8%, #ffffff 20%, #ffffff 80%, #f4f2ff 100%) !important;
  }
  .xiaoou-inner { background: #fff !important; }
  .hero-constellation { display: none; }
  .hero-grid { display: none; }
  .hero::before { width: 300px; height: 300px; top: -20%; left: 50%; transform: translateX(-50%); }
  .hero::after { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .section { padding: 60px 20px; }
  .map-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-carousel { margin: 0; padding: 0; overflow: hidden; }
  .cases-track {
    animation: none !important; transform: none !important;
    overflow-x: auto;
    /* mandatory + center + stop:always 是 Instagram/微博 Stories 的标准组合：
       - center 对齐：卡片居中于视口，左右对称
       - mandatory：松手必吸附到某卡，不会半露
       - stop: always：每次 swipe 只前进一张，永远不会跨卡飞过 */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 对称 padding 28 + 卡片宽 calc(100vw - 56px)：
       首张卡左右各 28 空白，完美居中；末张卡 snap 点 = max-scroll，精准到达 */
    padding: 12px 28px 28px 28px;
    width: auto;
    /* 移动端：让浏览器自己 direction-lock（横滑滑卡片，竖滑滑页面） */
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }
  .cases-track::-webkit-scrollbar { display: none; }
  /* 静态模式：卡片数不足时移动端竖向堆叠 */
  .cases-carousel.is-static .cases-track {
    flex-direction: column; overflow-x: visible; scroll-snap-type: none;
    padding: 12px 20px 20px; gap: 16px;
  }
  .cases-carousel.is-static .case-card {
    flex: 0 0 auto; width: 100%; scroll-snap-align: none;
  }
  .case-card {
    flex: 0 0 calc(100vw - 56px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    padding: 20px 16px;
    /* 移动端简化卡片样式，大幅降低滚动期重绘开销 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #fff;                       /* 纯色背景，避免 rgba 的 compositing */
    transition: opacity 0.15s ease;
    contain: layout paint;                  /* 渲染隔离：滚动时每卡自己重绘不影响其他 */
  }
  /* 移动端禁用所有 hover/active 的 transform 和伪元素显示，减少合成层抖动 */
  .case-card:hover, .case-card:active { transform: none; }
  .case-card:active { opacity: 0.88; }
  .case-card::before, .case-card::after,
  .case-card:hover::before, .case-card:active::before,
  .case-card:hover::after, .case-card:active::after { display: none; }
  /* 关闭 shimmer 动画（无限循环，是移动端滚动卡顿的主因）*/
  .case-metric-hero { animation: none; }
  .case-metric-hero { font-size: 24px; margin-bottom: 4px; }
  .case-metric-label { font-size: 12px; margin-bottom: 14px; }
  .case-quote { font-size: 13px; line-height: 1.7; margin-bottom: 16px; padding-left: 12px; }
  .case-footer { gap: 10px; }
  .case-avatar { width: 34px; height: 34px; border-radius: 10px; }
  .case-name { font-size: 13px; }
  .case-role { font-size: 10px; }
  .case-logos img { width: 24px; height: 24px; }
  .cases-nav { display: flex; padding: 0 20px; }
  .cases-arrows { display: none; }
  /* 移动端新闻卡片：图右文左、紧凑排版、原生 App 手感 */
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-card {
    flex-direction: row-reverse;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
  }
  /* 移动端：120×51 迷你横幅（公众号 2.35:1 比例 + blur 兜底）
     这个高度（51）<文字高度，所以卡片高度由文字决定，比 92×92 方案更矮 */
  .news-card-thumb-wrap {
    flex: 0 0 120px;
    width: 120px; height: 51px;
    aspect-ratio: 900 / 383;
    border-radius: 6px;
    align-self: center;
    background-color: var(--bg-warm);
  }
  .news-card-thumb-wrap::before { filter: blur(12px) brightness(0.92); }
  .news-card-thumb {
    width: 100%; height: 100%;
    object-fit: contain;
  }
  .news-card-body {
    padding: 0; flex: 1; min-width: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
  .news-card .news-date { font-size: 11px; margin-bottom: 6px; }
  .news-card h3 {
    font-size: 15px; line-height: 1.45;
    -webkit-line-clamp: 2; margin-bottom: 6px;
  }
  .news-card p {
    font-size: 12.5px; line-height: 1.55;
    -webkit-line-clamp: 2;
    color: var(--text-muted);
  }
  .news-card:hover { transform: none; box-shadow: none; }
  .news-card:active { background: var(--bg-warm); }
  /* 移动端 footer 样式已迁移到 app.py 的 _FOOTER_CSS 共享常量（@media 块在常量内）*/

  .partners-list { justify-content: center; }
  /* FAQ 移动端 */
  .faq-list { gap: 6px; }
  .faq-q { padding: 14px 16px; font-size: 14px; gap: 12px; }
  .faq-a p { padding: 0 16px 14px; font-size: 13px; line-height: 1.75; }
  .faq-lead { font-size: 14px; margin-bottom: 8px; }
}
@media (max-width: 480px) {
  .map-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
/* === BACK TO TOP === */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s ease, visibility 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover {
  box-shadow: 0 4px 24px rgba(99,102,241,0.25), 0 0 0 1px rgba(99,102,241,0.15);
  transform: translateY(-2px) scale(1);
}
.back-to-top:active { transform: translateY(0) scale(0.95); }
.back-to-top svg.btt-arrow {
  width: 16px; height: 16px; stroke: var(--text-secondary); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s, transform 0.25s;
}
.back-to-top:hover svg.btt-arrow { stroke: var(--accent); transform: translateY(-1px); }
/* 进度环 */
.back-to-top svg.btt-ring {
  position: absolute; top: 0; left: 0; width: 44px; height: 44px;
  transform: rotate(-90deg);
}
.back-to-top .btt-ring-track { fill: none; stroke: rgba(0,0,0,0.04); stroke-width: 2; }
.back-to-top .btt-ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 125.66; stroke-dashoffset: 125.66;
  stroke-linecap: round;
  /* 不加 stroke-dashoffset transition：滚动联动由 rAF 逐帧驱动，补间反而造成卡顿 */
}
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .back-to-top svg.btt-ring { width: 40px; height: 40px; }
  .back-to-top .btt-ring-track, .back-to-top .btt-ring-fill { stroke-width: 2.5; }
}

/* ============================================ */
/* === 生态图谱板块 · V9 · 统一画布 === */
.egm-section {
  --egm-ink: #10131d;
  --egm-ink-70: #3a4157;
  --egm-ink-50: #6e7693;
  --egm-ink-30: #a9b0c4;
  --egm-line: rgba(16,19,29,0.08);
  --egm-accent: #6366f1;
  --egm-accent-2: #2563eb;
  --egm-live: #10b981;
  --egm-live-bg: linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
  --egm-glass: rgba(255,255,255,0.92);
  --egm-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 80px 24px 76px;
  background:
    radial-gradient(900px 420px at 20% 28%, rgba(99,102,241,0.08), transparent 55%),
    radial-gradient(820px 380px at 82% 42%, rgba(37,99,235,0.06), transparent 58%),
    linear-gradient(180deg, #f4f2ff 0%, #f7f6ff 40%, #fbfaff 72%, #ffffff 94%);
  overflow: hidden;
}
.egm-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 92%);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 920px) {
  .egm-section::after { height: 260px; }
}
.egm-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
/* Header */
.egm-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.egm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--egm-accent);
  letter-spacing: 0.04em;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.16);
  box-shadow: 0 6px 16px rgba(99,102,241,0.08);
}
.egm-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--egm-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
.egm-title {
  /* margin 对齐 .section-title（无 top、10px bottom），eyebrow → title 间距 = 8px */
  margin: 0 0 10px;
  font-size: clamp(24px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--egm-ink);
  text-wrap: balance;
}
.egm-title .accent-word,
.egm-section .section-title .accent-word {
  background: linear-gradient(135deg, #6366f1, #2563eb 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* egm 板块 desc 宽度放宽，容纳两行自然断句 */
.egm-section .section-desc { max-width: 720px; }
.egm-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--egm-ink-50);
  max-width: 680px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* === CANVAS · 统一画布 === */
@property --egm-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.egm-canvas {
  position: relative;
  padding: 1.5px;
  border-radius: 30px;
  background:
    conic-gradient(from var(--egm-angle),
      rgba(99,102,241,0.3) 0deg,
      rgba(37,99,235,0.1) 90deg,
      rgba(99,102,241,0.05) 180deg,
      rgba(37,99,235,0.12) 270deg,
      rgba(99,102,241,0.3) 360deg);
  animation: egm-spin 22s linear infinite;
  box-shadow:
    0 32px 80px rgba(23,26,49,0.1),
    0 4px 14px rgba(23,26,49,0.04);
}
@keyframes egm-spin {
  to { --egm-angle: 360deg; }
}
.egm-canvas-inner {
  position: relative;
  border-radius: 28.5px;
  background: var(--egm-glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  overflow: hidden;
}
.egm-canvas-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 260px at 26% 30%, rgba(99,102,241,0.1), transparent 60%),
    radial-gradient(460px 220px at 78% 72%, rgba(37,99,235,0.06), transparent 60%);
}

/* Top bar */
.egm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px 0;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.egm-topbar-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--egm-ink-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.egm-topbar-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--egm-accent));
}
.egm-topbar-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--egm-ink-50);
  font-variant-numeric: tabular-nums;
}
.egm-topbar-count strong {
  color: var(--egm-ink);
  font-weight: 700;
}
.egm-topbar-count-sep {
  width: 1px;
  height: 10px;
  background: rgba(99,102,241,0.2);
}

/* Body: viz + featured */
.egm-body {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 14px;
  padding: 22px 30px 22px;
  position: relative;
  z-index: 2;
}

/* Viz */
.egm-viz {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(99,102,241,0.18) 0%, rgba(99,102,241,0.05) 40%, transparent 66%),
    conic-gradient(from 180deg at 50% 50%, rgba(99,102,241,0.04), rgba(37,99,235,0.02), rgba(99,102,241,0.04)),
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(247,247,255,0.4));
  border: 1px solid rgba(99,102,241,0.1);
  overflow: hidden;
  isolation: isolate;
}
.egm-viz::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 60%);
  filter: blur(12px);
  animation: egm-viz-breathe 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes egm-viz-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
.egm-viz-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.egm-viz-watermark {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.32s var(--egm-ease);
}
.egm-viz-watermark img {
  display: block;
  height: 22px;
  width: auto;
  filter: grayscale(0.2);
}
.egm-viz:hover .egm-viz-watermark { opacity: 0.55; }
@media (max-width: 920px) {
  .egm-viz-watermark { display: none; }
}
.egm-orbit {
  fill: none;
  stroke: rgba(99,102,241,0.3);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  animation: egm-orbit-flow 14s linear infinite;
}
@keyframes egm-orbit-flow {
  to { stroke-dashoffset: -80; }
}
.egm-orbit-outer {
  fill: none;
  stroke: rgba(99,102,241,0.12);
  stroke-width: 1;
  stroke-dasharray: 1 4;
  animation: egm-orbit-flow 22s linear infinite reverse;
}
.egm-spoke {
  fill: none;
  stroke: rgba(99,102,241,0.22);
  stroke-width: 1.2;
  stroke-dasharray: 2 4;
  transition: stroke 0.28s var(--egm-ease), stroke-width 0.28s var(--egm-ease), opacity 0.28s var(--egm-ease);
}
.egm-spoke.active {
  stroke: rgba(99,102,241,0.9);
  stroke-width: 2.2;
  stroke-dasharray: 8 4;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.6));
  animation: egm-spoke-flow 1.6s linear infinite;
}
@keyframes egm-spoke-flow {
  to { stroke-dashoffset: -48; }
}
.egm-spark {
  fill: #fff;
  stroke: var(--egm-accent);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(99,102,241,0.7));
}

/* Center "你" */
.egm-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 98px;
  height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 36%, #fff 0%, #f3f4ff 100%);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 50%;
  box-shadow:
    0 18px 44px rgba(99,102,241,0.22),
    inset 0 -2px 4px rgba(99,102,241,0.05);
  z-index: 3;
}
.egm-center::before,
.egm-center::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.egm-center::before {
  inset: -8px;
  border: 1px solid rgba(99,102,241,0.16);
  animation: egm-halo 3.4s ease-in-out infinite;
}
.egm-center::after {
  inset: -18px;
  border: 1px solid rgba(99,102,241,0.08);
  animation: egm-halo 3.4s ease-in-out 0.5s infinite;
}
@keyframes egm-halo {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.06); }
}
.egm-center-you {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #1a1e2c 0%, #4338ca 55%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(67,56,202,0.18));
}
.egm-center-role {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--egm-ink-50);
}

/* Nodes */
.egm-node {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: transform 0.28s var(--egm-ease);
}
.egm-node.in {
  animation: egm-node-in 0.7s var(--egm-ease) forwards;
}
@keyframes egm-node-in {
  from { opacity: 0; translate: 0 10px; scale: 0.9; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}
.egm-node.in .egm-node-orb {
  animation: egm-node-float 5.2s ease-in-out infinite;
}
.egm-node[data-id="capability"].in .egm-node-orb { animation-delay: -1.2s; }
.egm-node[data-id="method"].in .egm-node-orb { animation-delay: -2.4s; }
.egm-node[data-id="resource"].in .egm-node-orb { animation-delay: -3.4s; }
.egm-node[data-id="service"].in .egm-node-orb { animation-delay: -0.6s; }
@keyframes egm-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.egm-node:hover .egm-node-orb,
.egm-node.active .egm-node-orb {
  animation: none;
}
.egm-node-orb {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 22%, #ffffff 0%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #fdfdff 0%, #eef0ff 100%);
  border: 1px solid rgba(16,19,29,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--egm-ink-70);
  box-shadow:
    0 8px 20px rgba(23,26,49,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(99,102,241,0.06);
  transition: all 0.28s var(--egm-ease);
}
.egm-node-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.42);
  opacity: 0;
  pointer-events: none;
}
.egm-node-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.28);
  opacity: 0;
  pointer-events: none;
}
.egm-node.active .egm-node-orb::before {
  animation: egm-node-pulse 2.4s ease-out infinite;
}
.egm-node.active .egm-node-orb::after {
  animation: egm-node-pulse 2.4s ease-out 1.2s infinite;
}
@keyframes egm-node-pulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.9); }
}
.egm-node-orb svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}
.egm-node:hover .egm-node-orb {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23,26,49,0.12);
}
.egm-node.active .egm-node-orb {
  background: var(--egm-live-bg);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 32px rgba(99,102,241,0.4);
  transform: translateY(-2px);
}
.egm-node-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--egm-ink);
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: color 0.28s;
}
.egm-node.active .egm-node-label {
  color: var(--egm-accent);
}
.egm-node-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  z-index: 2;
}
.egm-node-dot.live {
  background: var(--egm-live);
  box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(16,185,129,0.6);
  animation: egm-dot-pulse 2s ease-in-out infinite;
}
.egm-node-dot.prep {
  background: #d97706;
  box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(245,158,11,0.45);
}
@keyframes egm-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(16,185,129,0.35); }
  50% { box-shadow: 0 0 0 2px #fff, 0 0 0 8px rgba(16,185,129,0); }
}

/* Node positions (5 evenly spaced on orbit r=130 in 400×400 viewBox) */
.egm-node[data-id="demand"]     { left: 50%;   top: 17.5%; }
.egm-node[data-id="capability"] { left: 80.9%; top: 40%;   }
.egm-node[data-id="method"]     { left: 69.1%; top: 76.3%; }
.egm-node[data-id="resource"]   { left: 30.9%; top: 76.3%; }
.egm-node[data-id="service"]    { left: 19.1%; top: 40%;   }

/* Featured panel */
.egm-featured {
  display: flex;
  flex-direction: column;
  padding: 30px 34px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(99,102,241,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  transition: opacity 0.18s var(--egm-ease);
}
.egm-featured.egm-fade {
  opacity: 0.35;
}
.egm-featured-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.egm-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.egm-featured-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.egm-featured-badge.live {
  background: rgba(16,185,129,0.12);
  color: #059669;
}
.egm-featured-badge.live::before {
  background: var(--egm-live);
  animation: egm-badge-pulse 2s ease-in-out infinite;
}
.egm-featured-badge.prep {
  background: rgba(245,158,11,0.10);
  color: #b45309;
}
.egm-featured-badge.prep::before {
  background: #d97706;
}
@keyframes egm-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.egm-featured-kicker {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--egm-ink-30);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.egm-featured-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--egm-ink);
}
.egm-featured-desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--egm-ink-50);
  text-wrap: pretty;
}
.egm-featured-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.egm-featured-item {
  position: relative;
  padding: 13px 16px 13px 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(37,99,235,0.02));
  border: 1px solid rgba(99,102,241,0.08);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--egm-ink-70);
}
.egm-featured-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--egm-live-bg);
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.egm-featured-item::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 22px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}
.egm-featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(99,102,241,0.1);
  flex-wrap: wrap;
}
.egm-featured-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.egm-featured-meta-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--egm-line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--egm-ink-70);
}
.egm-featured-link { margin: 0 0 18px; }
.egm-featured-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 10px;
  background: #1a1a2e;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(26,26,46,0.14);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.egm-featured-link-btn:hover {
  background: #2d2b55;
  box-shadow: 0 8px 20px rgba(26,26,46,0.22);
  transform: translateY(-1px);
}
.egm-featured-link-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.9;
  transition: transform 0.2s, opacity 0.2s;
}
.egm-featured-link-btn:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

/* Chips (bottom tab strip) */
.egm-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0 30px 28px;
  position: relative;
  z-index: 2;
}
.egm-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--egm-line);
  cursor: pointer;
  transition: transform 0.24s var(--egm-ease), background 0.24s var(--egm-ease), border-color 0.24s var(--egm-ease), box-shadow 0.24s var(--egm-ease);
  font-family: inherit;
  color: inherit;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}
.egm-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -4px);
  width: 44px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #6366f1, #2563eb);
  opacity: 0;
  transition: transform 0.32s var(--egm-ease), opacity 0.32s var(--egm-ease);
}
.egm-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(37,99,235,0.06));
  opacity: 0;
  transition: opacity 0.32s var(--egm-ease);
  z-index: -1;
}
.egm-chip:hover {
  border-color: rgba(99,102,241,0.22);
  background: rgba(255,255,255,0.85);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23,26,49,0.06);
}
.egm-chip[data-live="true"]:not(.active) {
  border-color: rgba(16,185,129,0.24);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.06), 0 4px 12px rgba(16,185,129,0.08);
}
.egm-chip[data-live="true"]:not(.active):hover {
  border-color: rgba(16,185,129,0.38);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.1), 0 10px 22px rgba(16,185,129,0.12);
}
.egm-chip.active {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 12px 26px rgba(99,102,241,0.14);
  transform: translateY(-1px);
}
.egm-chip.active::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
.egm-chip.active::after {
  opacity: 1;
}
.egm-chip:focus-visible {
  outline: 2px solid var(--egm-accent);
  outline-offset: 2px;
}
.egm-chip-ordinal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--egm-ink-30);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  transition: color 0.24s;
}
.egm-chip.active .egm-chip-ordinal {
  color: var(--egm-accent);
}
.egm-chip-leading-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  transition: box-shadow 0.24s;
}
.egm-chip-leading-dot.live {
  background: var(--egm-live);
  box-shadow: 0 0 0 2px rgba(16,185,129,0.18);
}
.egm-chip-leading-dot.prep {
  background: #d97706;
  box-shadow: 0 0 0 2px rgba(245,158,11,0.16);
}
.egm-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(99,102,241,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--egm-ink-70);
  flex-shrink: 0;
  transition: all 0.24s var(--egm-ease);
}
.egm-chip-icon svg { width: 16px; height: 16px; stroke-width: 1.7; }
.egm-chip.active .egm-chip-icon {
  background: var(--egm-live-bg);
  color: #fff;
}
.egm-chip-body {
  flex: 1;
  min-width: 0;
}
.egm-chip-label {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 780;
  color: var(--egm-ink);
  letter-spacing: -0.1px;
}
.egm-chip-status {
  font-size: 10.5px;
  color: var(--egm-ink-50);
  margin-top: 2px;
  letter-spacing: 0.04em;
  transition: color 0.24s var(--egm-ease);
}
.egm-chip.active .egm-chip-status { color: var(--egm-accent); font-weight: 700; }

/* Mobile */
@media (max-width: 920px) {
  .egm-section { padding: 48px 16px 54px; }
  .egm-header { text-align: left; margin-bottom: 20px; }
  .egm-header .egm-desc { max-width: none; margin: 0; font-size: 14.5px; line-height: 1.7; }
  .egm-topbar {
    padding: 14px 14px 0;
    gap: 10px;
  }
  .egm-topbar-label {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .egm-topbar-label::before { width: 14px; }
  .egm-topbar-count { font-size: 11px; white-space: nowrap; }
  .egm-spark { display: none; }
  .egm-body {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
  }
  .egm-viz { aspect-ratio: auto; min-height: 280px; }
  .egm-center { width: 68px; height: 68px; }
  .egm-center::before { inset: -5px; }
  .egm-center::after { inset: -11px; }
  .egm-center-you { font-size: 18px; }
  .egm-center-role { font-size: 7.5px; letter-spacing: 0.16em; margin-top: 2px; }
  .egm-node-orb { width: 44px; height: 44px; }
  .egm-node-orb svg { width: 18px; height: 18px; }
  .egm-node-label { font-size: 11.5px; margin-top: 6px; }
  .egm-featured {
    padding: 18px 16px 16px;
    min-height: 0 !important;
  }
  .egm-featured-head { margin-bottom: 10px; gap: 8px; }
  .egm-featured-badge { font-size: 11px; padding: 4px 10px; }
  .egm-featured-kicker { font-size: 10.5px; letter-spacing: 0.1em; }
  .egm-featured-title { font-size: 24px; margin-bottom: 8px; }
  .egm-featured-desc { font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; }
  .egm-featured-list { gap: 8px; margin-bottom: 0; }
  .egm-featured-link { margin: 14px 0 0; }
  .egm-featured-item {
    padding: 10px 12px 10px 34px;
    font-size: 12.5px;
    line-height: 1.55;
  }
  .egm-featured-item::before { left: 12px; top: 13px; width: 12px; height: 12px; }
  .egm-featured-item::after { left: 16px; top: 17px; }
  .egm-featured-foot { display: none; }
  .egm-chips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0 14px 18px;
    gap: 8px;
  }
  .egm-chip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 4px 11px;
    gap: 8px;
    background: rgba(255,255,255,0.72);
  }
  .egm-chip[data-live="true"]:not(.active) {
    border-color: var(--egm-line);
    box-shadow: none;
  }
  .egm-chip[data-live="true"]:not(.active):hover {
    border-color: rgba(99,102,241,0.22);
    box-shadow: 0 4px 12px rgba(23,26,49,0.06);
  }
  .egm-chip::before { width: 28px; }
  .egm-chip-status { display: none; }
  .egm-chip-ordinal { display: none; }
  .egm-chip-leading-dot { display: none; }
  .egm-chip-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,242,255,0.6)),
      rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    color: var(--egm-ink-70);
  }
  .egm-chip-icon svg { width: 18px; height: 18px; stroke-width: 1.75; }
  .egm-chip.active .egm-chip-icon {
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(99,102,241,0.35);
  }
  .egm-chip-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--egm-ink);
    justify-content: center;
    letter-spacing: 0;
  }
  .egm-chip.active .egm-chip-label { color: var(--egm-accent); }

  .egm-canvas-inner {
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .egm-canvas-inner::before {
    background:
      radial-gradient(360px 180px at 24% 24%, rgba(99,102,241,0.06), transparent 62%),
      radial-gradient(320px 160px at 78% 76%, rgba(37,99,235,0.04), transparent 62%);
  }
  .egm-viz { background: #fafbff; border-color: rgba(99,102,241,0.08); }
  .egm-viz::before { display: none; }
  .egm-featured { background: rgba(255,255,255,0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .egm-section *,
  .egm-section *::before,
  .egm-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .egm-node { opacity: 1 !important; }
  .egm-canvas { animation: none !important; }
}

/* =========================================================
   移动端性能优化层（2026-04-24 · 专家团队评审 · 档1+2）
   - 禁用 backdrop-filter：微信 X5 不支持 + 安卓 GPU 开销大
   - 玻璃背景用高不透明度实色替代（保持质感不掉）
   - 关闭装饰性 background-position / shimmer 动画
   - 保留所有品牌动画：浪潮 / 小O / 生态图谱 / 服务Tab
   ========================================================= */
@media (max-width: 768px) {
  *, *::before, *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .nav { background: rgba(255,255,255,0.97) !important; }
  .case-metric-hero { animation: none !important; }
  .xiaoou-tag.more::before { animation: none !important; }
}

/* =========================================================
   档 3：重型 section 离开视口时暂停所有动画
   - 生态图谱（10 个 infinite 动画 + conic-gradient 旋转）
   - 浪潮 cinema（3 个 wave 动画）
   通过 JS IntersectionObserver 切换 .in-view 类，
   不在视口时所有子动画 paused，进入视口立即恢复。
   视觉无变化，GPU/主线程占用大幅下降。
   ========================================================= */
.egm-section:not(.in-view) *,
.egm-section:not(.in-view) *::before,
.egm-section:not(.in-view) *::after {
  animation-play-state: paused !important;
}

/* 档 3.5：生态图谱 conic-gradient 旋转移动端减速 22s → 60s
   conic-gradient 每帧 CPU 重绘，是首页最贵的单个动画。
   减慢 3 倍后重绘频率随之下降，视觉位移人眼几乎察觉不到。 */
@media (max-width: 768px) {
  .egm-canvas { animation-duration: 60s !important; }
}

/* ============================
   EGM Realcards · V10 · 2026-05-13
   两实卡 + ghost · 取代 V9 五维 SVG 圆图
   保留 .egm-section / .egm-canvas / .egm-canvas-inner 外壳和旋转描边
   ============================ */

.egm-canvas-realcards {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.egm-desc-strong {
  font-weight: 600;
  color: #0f172a;
}

.egm-realcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.egm-realcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(99,102,241,0.07), rgba(99,102,241,0.015));
  border: 1px solid rgba(99,102,241,0.16);
  text-decoration: none;
  color: inherit;
  transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .42s cubic-bezier(.16,1,.3,1), border-color .42s ease;
  will-change: transform;
  overflow: hidden;
}

.egm-realcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(99,102,241,0.12), transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

/* hover：轻触感反馈，不动 transform（让 is-active 独占 translateY） */
@media (hover: hover) {
  .egm-realcard:hover {
    border-color: rgba(99,102,241,0.32);
    box-shadow: 0 8px 24px -16px rgba(67,56,202,.18);
  }
  .egm-realcard:hover::before {
    opacity: 0.6;
  }
}

.egm-realcard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  position: relative;
}

.egm-realcard-kicker {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.egm-realcard-title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
  letter-spacing: -0.02em;
  position: relative;
}

.egm-realcard-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
  position: relative;
}

.egm-realcard-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  position: relative;
}

.egm-realcard-bullets li {
  position: relative;
  font-size: 12.5px;
  color: #64748b;
  padding-left: 14px;
  margin-bottom: 5px;
  line-height: 1.55;
}

.egm-realcard-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.egm-realcard-avatars {
  display: flex;
  margin: 2px 0 16px;
  position: relative;
}

.egm-realcard-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  box-shadow: 0 2px 6px rgba(15,23,42,.08);
  transition: transform .3s;
}

.egm-realcard-avatars img:first-child {
  margin-left: 0;
}

.egm-realcard:hover .egm-realcard-avatars img {
  transform: translateY(-2px);
}

.egm-realcard-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4338ca;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  position: relative;
}

.egm-realcard-cta svg {
  transition: transform .3s;
}

.egm-realcard:hover .egm-realcard-cta {
  gap: 10px;
}

.egm-realcard:hover .egm-realcard-cta svg {
  transform: translateX(3px);
}

/* ghost · 三个还在搭的维度 */
.egm-prep-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 22px;
  margin: 0;
  border-radius: 14px;
  background: rgba(148,163,184,0.05);
  border: 1px dashed rgba(148,163,184,0.25);
}

.egm-prep-label {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 600;
}

.egm-prep-item {
  font-size: 13px;
  color: #94a3b8;
}

.egm-prep-sep {
  color: #cbd5e1;
  font-size: 12px;
}

/* 中等宽度 (平板 / 窄桌面) · 4 列降级 2×2，方法宽卡仍跨满 */
@media (max-width: 1100px) and (min-width: 769px) {
  .egm-realcards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .egm-realcard {
    padding: 24px 22px 22px;
  }
  .egm-realcard-title {
    font-size: 19px;
  }
  .egm-realcard-desc {
    font-size: 13.5px;
  }
}

/* 移动端 · 1 列堆叠 */
@media (max-width: 768px) {
  .egm-canvas-realcards {
    padding: 24px 18px;
    gap: 16px;
  }
  .egm-realcards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .egm-realcard {
    padding: 22px 20px 20px;
  }
  .egm-realcard-title {
    font-size: 20px;
  }
  .egm-realcard-desc {
    font-size: 13.5px;
  }
  .egm-prep-row {
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    text-align: center;
  }
  .egm-prep-sep {
    display: none;
  }
}


/* ==================================================================
   NEWS SECTION · 媒体身份信任条 + 原 SSR 6 篇网格
   2026-05-19 整体视觉精修：
   · h2 关键词渐变下划线呼应 hero-keyword
   · eyebrow 改 mono 大写 + 左右细横线（高级感）
   · chip 按 3 个等级分组（中央 / 省市 / 新媒体），每组带组标签
   · chip 等级配色拉开层次：央视淡靛蓝渐变 / 省级淡蓝 / 市级灰白 / 新媒体白底虚线
   ================================================================== */

/* === H2 关键词高亮（呼应 hero-keyword 风格） === */
.news-h2-key {
  position: relative;
  display: inline-block;
  color: var(--text);
  white-space: nowrap;
}
.news-h2-key::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 6px;
  height: 11px;
  background: linear-gradient(90deg, rgba(99,102,241,0.22), rgba(37,99,235,0.16));
  border-radius: 2px;
  z-index: -1;
  transform: skewX(-3deg);
}

/* desc · 反矛盾命题陈述 + 金句结论
   桌面：2 行布局（第一行陈述 / 第二行场景+金句一体）→ br-1 生效 / br-2 隐藏
   移动：3 段独立换行 → 两个 br 都生效，金句 inline-block 保完整 */
#news .section-desc {
  margin-top: 16px;
  max-width: 820px;
  line-height: 1.9;
}
#news .section-desc b {
  color: var(--text);
  font-weight: 700;
}
/* 金句结论 · inline-block 保证下划线整体不被分行拆开 */
#news .section-desc .news-desc-punch {
  display: inline-block;
  color: var(--text);
  background-image: linear-gradient(180deg, transparent 62%, rgba(99,102,241,0.18) 62%, rgba(37,99,235,0.14) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding: 0 2px;
}
.news-desc-br-1 { display: inline; }
.news-desc-br-2 { display: none; }
.news-desc-br-3 { display: none; }
.news-desc-br { display: none; }

/* === 媒体信任条 · 10 chip 平铺一行 === */
.news-outlets {
  margin: 36px auto 64px;
  max-width: 1080px;
}

/* === Chip 平铺一行（自然换行）=== */
.news-outlets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: center;
}

/* === Chip 基础样式 === */
.news-outlet-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: default;
  white-space: nowrap;
  position: relative;
}
.news-outlet-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c7d2fe;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
}
/* 媒介类型微差异（小色点） */
.news-outlet-chip.is-tv::before    { background: #4338ca; }
.news-outlet-chip.is-paper::before { background: #2563eb; }
.news-outlet-chip.is-web::before   { background: #6366f1; }

/* 等级 · 央视/央网（最重） */
.news-outlet-chip.tier-cn {
  background: linear-gradient(135deg, #eff4ff 0%, #f5f3ff 100%);
  border-color: #c7d2fe;
  color: #312e81;
  font-weight: 700;
}
.news-outlet-chip.tier-cn::before { background: #4338ca; box-shadow: 0 0 0 2px #eff4ff, 0 0 0 3px rgba(67,56,202,0.18); }

/* 等级 · 省级 */
.news-outlet-chip.tier-pv {
  background: linear-gradient(135deg, #f5faff 0%, #eff4ff 100%);
  border-color: #d9e3f4;
  color: #1e3a8a;
}

/* 等级 · 市级（保持默认灰白） */
.news-outlet-chip.tier-ct {
  background: #fafbfc;
  border-color: #e5e7eb;
}

/* 等级 · 新媒体（虚线描边） */
.news-outlet-chip.tier-na {
  background: #fff;
  border-color: #d1d5db;
  border-style: dashed;
  color: var(--text-secondary);
}

/* hover · 所有 chip 通用 */
.news-outlet-chip:hover {
  border-color: var(--accent);
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* === Logo 模式（真实 logo · 抠图透明背景 webp）
   关键：与同行的文字 chip 高度对齐（文字 chip ≈ 38px 高） === */
.news-outlet-chip.has-logo::before { display: none; }
.news-outlet-chip.has-logo {
  padding: 7px 14px;
  gap: 8px;
  min-height: 36px;  /* 与文字 chip 视觉高度对齐 */
}
.news-outlet-logo {
  height: auto;
  width: auto;
  max-height: 22px;
  max-width: 78px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.news-outlet-name { line-height: 1; }

/* logo-only：隐藏文字 + 内边距收紧但保持 min-height 对齐 */
.news-outlet-chip.logo-only { padding: 7px 12px; }
.news-outlet-chip.logo-only .news-outlet-name.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* "持续增长"占位（视觉上提示后面还会扩展） */
.news-outlets-more {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 4px 10px;
  position: relative;
}
.news-outlets-more::before {
  content: "···";
  margin-right: 6px;
  color: #c7d2fe;
  letter-spacing: 2px;
}

/* === Mobile responsive (≤768px) === */
@media (max-width: 768px) {
  .news-h2-key::after {
    height: 9px;
    bottom: 4px;
  }
  .news-desc-br-2 { display: inline; }
  .news-desc-br-3 { display: inline; }
  #news .section-desc { font-size: 14px; padding: 0 8px; }

  .news-outlets { margin: 28px auto 44px; }

  .news-outlets-row { gap: 8px 10px; }
  .news-outlet-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
}



/* === TOOLS WALL · 社区军火库（暖底内嵌深色保险库 · 整墙背景 + 单一 CTA） === */
/* section 用暖底，和上下板块同层级，不再全幅深色断层 */
#tools-wall { padding-top: 72px; padding-bottom: 72px; }
#tools-wall .tw-accent {
  background: linear-gradient(100deg, #d4915e, #b5703a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 标题与描述：片段原子化 nowrap，靠 <br> 精确控行，桌面/移动都不乱断 */
.tw-title { white-space: nowrap; }
.tw-desc { max-width: 720px; }
.tw-desc .nw { white-space: nowrap; }
@media (max-width: 768px) {
  /* 小屏标题/描述字号收一档，确保 nowrap 单行都容得下不被裁切 */
  .tw-title { font-size: clamp(16px, 4.7vw, 23px); }
  .tw-desc  { font-size: 13px; }
}
/* 内嵌深色圆角保险库卡片（沿用站内"浅底放深色面板"层级） */
.tw-vault {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  padding: 34px;
  background: radial-gradient(130% 120% at 50% -20%, #2a2118 0%, #1a1512 50%, #14100d 100%);
  border: 1px solid rgba(212,145,94,0.18);
  box-shadow: 0 24px 60px -24px rgba(45,30,15,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
  isolation: isolate;
}
/* 顶部铜金光晕 */
.tw-glow {
  position: absolute; top: -34%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(212,145,94,0.30), rgba(212,145,94,0.06) 60%, transparent 72%);
  animation: twGlowPulse 7s ease-in-out infinite;
}
@keyframes twGlowPulse {
  0%,100% { opacity: 0.7;  transform: translateX(-50%) scale(1); }
  50%     { opacity: 1;    transform: translateX(-50%) scale(1.07); }
}
/* logo 墙：纯装饰背景，整体不可点击 */
.tw-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px;
  pointer-events: none;          /* 图标不可点击 */
}
.tw-tile {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  /* 浅色芯片：保证深色 logo 也清晰，且在深色保险库上形成对比 */
  background: linear-gradient(160deg, #ffffff, #f3ece1);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 12px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s, transform 0.4s cubic-bezier(.2,.9,.3,1);
}
.reveal.visible .tw-tile { opacity: 1; transform: translateY(0); }
.reveal.visible .tw-tile:nth-child(3n) { transition-delay: 0.05s; }
.reveal.visible .tw-tile:nth-child(5n) { transition-delay: 0.09s; }
.reveal.visible .tw-tile:nth-child(7n) { transition-delay: 0.13s; }
.tw-logo {
  width: 42px; height: 42px; object-fit: contain;
}
/* 整墙覆盖遮罩 + 居中文字按钮（唯一可点击元素） */
.tw-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(20,16,13,0.78) 0%, rgba(20,16,13,0.32) 55%, rgba(20,16,13,0.04) 100%);
}
.tw-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.2px;
  color: #2a1c10;
  background: linear-gradient(100deg, #f0b074, #d4915e);
  box-shadow: 0 10px 30px -6px rgba(212,145,94,0.55), 0 0 0 1px rgba(255,255,255,0.18) inset;
  transition: transform 0.22s cubic-bezier(.2,.9,.3,1), box-shadow 0.22s;
}
.tw-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -6px rgba(212,145,94,0.7), 0 0 0 1px rgba(255,255,255,0.28) inset;
}
.tw-cta svg { transition: transform 0.22s; }
.tw-cta:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .tw-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  #tools-wall { padding-top: 52px; padding-bottom: 52px; }
  .tw-vault { padding: 22px 16px; border-radius: 18px; }
  .tw-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
  .tw-logo { width: 32px; height: 32px; }
  .tw-glow { animation: none; width: 480px; }
  .tw-cta { padding: 13px 24px; font-size: 14px; }
  .tw-overlay { background: radial-gradient(80% 45% at 50% 50%, rgba(20,16,13,0.82) 0%, rgba(20,16,13,0.4) 60%, rgba(20,16,13,0.1) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .tw-glow { animation: none; }
  .tw-tile { transition: none; opacity: 1; transform: none; }
}
