/* ==========================================================================
   雷珏股份官网 · 设计系统
   依据《雷珏股份品牌VI手册与设计方法论》v2.0 Design Token 实现
   色彩：克莱因蓝主色 + 翠绿撞色 + 紫罗兰桥接 + 冷白过渡
   ========================================================================== */

/* ---------- 1. Design Token ---------- */
:root {
  /* 品牌主色 */
  --brand:            #5468E8;
  --brand-light:      #A5B4FF;
  --brand-dark:       #3B4BC4;
  --brand-tint:       rgba(84, 104, 232, 0.08);

  /* 品牌辅色 */
  --accent:           #3DD68C;
  --violet:           #8B7FFF;
  --frost:            #F0F2FF;

  /* 中性色 */
  --text-1:           #1A1A2E;
  --text-2:           #4B5563;
  --text-3:           #9CA3AF;
  --line:             #E5E7EB;
  --bg-subtle:        #F8F9FF;
  --white:            #FFFFFF;

  /* 功能色 */
  --success:          #10B981;
  --warning:          #F59E0B;
  --error:            #EF4444;
  --info:             #3B82F6;

  /* 圆角 */
  --r-sm:             8px;
  --r-md:             12px;
  --r-lg:             16px;
  --r-xl:             24px;
  --r-pill:           999px;

  /* 阴影（蓝紫色调，非中性灰） */
  --sh-1:             0 2px 8px rgba(60, 90, 200, 0.05);
  --sh-2:             0 8px 24px rgba(60, 90, 200, 0.08);
  --sh-3:             0 16px 48px rgba(60, 90, 200, 0.12);
  --sh-cta:           0 4px 12px rgba(84, 104, 232, 0.25);
  --sh-cta-hover:     0 10px 28px rgba(84, 104, 232, 0.35);

  /* 字体栈
   ── 中文：HarmonyOS Sans（华为生态原生）→ 苹方（Apple 生态）→ 思源黑体（开源跨平台）→ 微软雅黑（Windows 兜底）
   ── 英文：Inter（Google Fonts，工业级 UI 字体，OpenType features 齐全）→ SF Pro（Apple）→ 系统栈
   ── 数字：SF Pro Display / Inter，启用 tabular-nums 列对齐
   ── 等宽：JetBrains Mono，覆盖代码与表格数字 */
  --font-cn:          "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en:          "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:        "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --font-num:         "SF Pro Display", "Inter", var(--font-en);

  /* 布局 */
  --maxw:             1200px;
  --gutter:           24px;
  --nav-h:            72px;

  /* 动效 */
  --ease:             cubic-bezier(0.4, 0, 0.2, 1);
  --dur:              0.3s;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Fallback 字体的 metric override：
   当远端字体未到达时，本地替身占位 x-height/ascender 与目标字体保持一致，避免页面跳动 */
@font-face {
  font-family: "Inter Fallback";
  src: local("Helvetica Neue"), local("Helvetica"), local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "NotoSansSC Fallback";
  src: local("PingFang SC"), local("Microsoft YaHei"), local("SimSun");
  size-adjust: 100%;
  ascent-override: 88%;
  descent-override: 24%;
  line-gap-override: 0%;
}

body {
  margin: 0;
  font-family: var(--font-cn), "NotoSansSC Fallback", var(--font-en), "Inter Fallback", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--white);
  font-weight: 400;
  letter-spacing: 0.005em;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding-left: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. 排版字阶 ---------- */
/* 排版策略：CJK 主栈 + 英文 Inter / SF Pro 链；font-display: swap 防止 FOUT；字重 400/500/600/700 四档；字间距分场景 */
.display { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: clamp(38px, 5vw, 60px); font-weight: 700; line-height: 1.18; letter-spacing: -0.012em; font-feature-settings: "kern" 1; }
.h1      { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.22; letter-spacing: -0.008em; color: var(--text-1); }
.h2      { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.28; letter-spacing: -0.006em; color: var(--text-1); }
.h3      { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -0.003em; }
.h4      { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--text-1); }
.lead    { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: 16px; line-height: 1.7; color: var(--text-2); font-weight: 400; }
.body    { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: 15.5px; line-height: 1.75; color: var(--text-2); font-weight: 400; }
.caption { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.small   { font-family: var(--font-cn), "Inter Fallback", sans-serif; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.num     { font-family: var(--font-en), "Inter Fallback", sans-serif; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- 4. 布局容器与栅格 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.grid { display: grid; gap: var(--gutter); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

section { padding: clamp(40px, 5vw, 72px) 0; }
.sec-subtle { background: var(--bg-subtle); }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 { letter-spacing: -0.006em; }
.sec-head .lead { margin-top: 14px; }
/* sec-head 内的一行式引导句：小字号，桌面端单行排布 */
.sec-head .lead-sm { font-size: 14px; line-height: 1.7; }

/* 章节小标签 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600;
  color: var(--brand-dark);
  background: var(--frost);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 5. 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--line); box-shadow: var(--sh-1); }
.nav-inner { display: flex; align-items: center; gap: 32px; width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: auto; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 19px; font-weight: 600; color: var(--text-1); letter-spacing: 0.01em; }
.brand-en { font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; color: var(--brand); text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  letter-spacing: 0.01em;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-menu a:hover { color: var(--brand-dark); background: var(--brand-tint); }
.nav-menu a.is-active { color: var(--brand-dark); font-weight: 600; }
.nav-menu a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; padding-left: 16px; border-left: 1px solid var(--line); }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--text-3); }
.lang-switch a { padding: 4px 8px; border-radius: var(--r-sm); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.lang-switch a:hover { color: var(--brand-dark); background: var(--brand-tint); }
.lang-switch a.is-active { color: var(--brand-dark); font-weight: 600; background: var(--frost); }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text-1); position: relative; transition: background var(--dur) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--text-1);
  transition: transform var(--dur) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 透明导航态：首页 Hero 为整屏渐变时，导航浮于其上用反白色 */
.nav.is-overlay:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.is-overlay:not(.is-scrolled) .brand-cn { color: var(--white); }
.nav.is-overlay:not(.is-scrolled) .brand-en { color: rgba(255, 255, 255, 0.8); }
.nav.is-overlay:not(.is-scrolled) .nav-menu a { color: rgba(255, 255, 255, 0.88); }
.nav.is-overlay:not(.is-scrolled) .nav-menu a:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.nav.is-overlay:not(.is-scrolled) .nav-menu a.is-active { color: var(--white); }
.nav.is-overlay:not(.is-scrolled) .nav-menu a.is-active::after { background: var(--white); }
.nav.is-overlay:not(.is-scrolled) .nav-actions { border-left-color: rgba(255, 255, 255, 0.28); }
.nav.is-overlay:not(.is-scrolled) .lang-switch { color: rgba(255, 255, 255, 0.66); }
.nav.is-overlay:not(.is-scrolled) .lang-switch a { color: rgba(255, 255, 255, 0.78); }
.nav.is-overlay:not(.is-scrolled) .lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.nav.is-overlay:not(.is-scrolled) .lang-switch a.is-active { color: var(--white); background: rgba(255, 255, 255, 0.2); }
.nav.is-overlay:not(.is-scrolled) .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12); }
.nav.is-overlay:not(.is-scrolled) .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: var(--white); }
/* 透明态下主 CTA 反白，避免蓝底蓝按钮对比不足 */
.nav.is-overlay:not(.is-scrolled) .btn-primary { background: var(--white); color: var(--text-1); box-shadow: 0 4px 14px rgba(12, 18, 40, 0.22); }
.nav.is-overlay:not(.is-scrolled) .btn-primary:hover { background: var(--frost); box-shadow: 0 8px 22px rgba(12, 18, 40, 0.3); }
.nav.is-overlay:not(.is-scrolled) .nav-toggle span,
.nav.is-overlay:not(.is-scrolled) .nav-toggle span::before,
.nav.is-overlay:not(.is-scrolled) .nav-toggle span::after { background: var(--white); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--sh-cta); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--sh-cta-hover); }
.btn-ghost { background: var(--white); color: var(--brand-dark); border-color: var(--brand-light); }
.btn-ghost:hover { background: var(--frost); border-color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, 0.96); color: var(--text-1); box-shadow: var(--sh-cta); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.24); border-color: var(--white); }
.btn-sm { min-height: 36px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 34px; font-size: 16px; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--brand-dark); }
.textlink::after { content: "→"; transition: transform var(--dur) var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- 7. Hero 主视觉（紧凑高度 · 流动渐变） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 58vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(24px, 4vw, 48px)) 0 clamp(112px, 12vw, 152px);
  background: var(--white);
  color: var(--white);
}
/* 渐变底：CSS 渐变仅作图片加载失败时的兜底 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, #2D9FFF 0%, #3547FF 45%, #4708FB 72%, #5E00FF 100%);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
/* WebGL 着色器画布（成功挂载后接管，SVG 底图隐藏作为降级） */
.hero-bg canvas.hero-bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-bg .hero-bg-fallback.is-hidden { display: none; }
/* 底部白色渐隐：短而干净的过渡带（固定高度，避免压到正文按钮） */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 84px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.92) 78%,
    #FFFFFF 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
/* 文字区柔光压暗，保证白色文字在高饱和渐变上仍有足够对比度 */
.hero-inner::before {
  content: ""; position: absolute; z-index: -1;
  left: -14%; right: -14%; top: -44px; bottom: -24px;
  background: radial-gradient(58% 56% at 50% 46%, rgba(12, 18, 40, 0.26) 0%, rgba(12, 18, 40, 0.11) 55%, rgba(12, 18, 40, 0) 80%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 6px 16px 6px 8px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 13px; font-weight: 500; color: var(--text-1); box-shadow: var(--sh-1);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 6px; }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(26, 26, 46, 0.22); }
/* 副标：社会认同/数字背书，视觉分量仅次于 H1 */
.hero-sub { margin-top: 18px; font-size: clamp(17px, 2.2vw, 26px); font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, 0.98); text-shadow: 0 1px 16px rgba(26, 26, 46, 0.18); }
.hero-desc { margin: 14px auto 0; max-width: 660px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.88); }
.hero-desc + .hero-desc { margin-top: 6px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; }
.hero-note { margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
/* Hero 内次级文字链接（对标参考站的单 CTA + 文字链结构） */
.hero-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.hero-link:hover { color: var(--white); border-color: var(--white); }
.hero-link:hover::after { transform: translateX(4px); }

/* Hero 数据条 */
.hero-stats {
  position: relative; z-index: 1;
  margin: clamp(48px, 6vw, 72px) auto 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: rgba(255, 255, 255, 0.5); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-3);
}
.hero-stats li { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(10px); padding: 22px 16px; text-align: center; }
.hero-stats .v { font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--brand-dark); line-height: 1.1; }
.hero-stats .v em { font-style: normal; font-size: 0.55em; margin-left: 2px; }
.hero-stats .k { margin-top: 6px; font-size: 13px; color: var(--text-2); }

/* ---------- 8. 卡片 ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--brand-light); }
.card-ico { width: 48px; height: 48px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--frost); }
.card-ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.75; letter-spacing: 0.01em; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12px; color: var(--brand-dark); background: var(--frost); border-radius: var(--r-sm); padding: 4px 10px; }

/* 板块大卡（左右图文） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-visual {
  border-radius: var(--r-xl); overflow: hidden; min-height: 320px;
  background: linear-gradient(135deg, var(--frost) 0%, #E9EDFF 45%, #DFF3EA 100%);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  box-shadow: var(--sh-2);
}
.split-visual svg { width: 100%; height: auto; max-width: 420px; }
.split.reverse .split-visual { order: 2; }

/* ---------- 9. 数据墙 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.stat {
  background: var(--white); border-radius: var(--r-lg); padding: 28px 24px; text-align: center;
  box-shadow: var(--sh-1);
}
.stat .v { font-family: var(--font-num), "Inter Fallback", sans-serif; font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; color: var(--brand-dark); line-height: 1.08; letter-spacing: -0.015em; }
.stat .v em,
.stat .v sup { font-style: normal; font-size: 0.5em; font-weight: 600; margin-left: 2px; vertical-align: super; line-height: 0; }
.stat .k { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--text-1); letter-spacing: 0.02em; }
.stat .s { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.data-note { margin-top: 24px; text-align: center; font-size: 12px; color: var(--text-3); }

/* ---------- 10. 客户墙（文字徽标，规避 logo 授权风险） ---------- */
.logo-wall { display: block; }
.logo-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.logo-chip:hover { color: var(--brand-dark); border-color: var(--brand-light); background: var(--frost); }

/* 客户墙 · 政企分级分组 */
.logo-group { margin-top: 34px; }
.logo-group:first-child { margin-top: 0; }
.logo-group-h {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px; padding-left: 16px;
  border-left: 4px solid var(--brand);
}
.logo-group-h b { font-size: 17px; font-weight: 600; color: var(--text-1); letter-spacing: -0.002em; }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }

/* ---------- 11. 时间轴（居中对称版 · 中线串起五个阶段） ---------- */
.timeline { position: relative; padding: 8px 0 0; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--brand) 50%, var(--accent) 100%);
  transform: translateX(-50%); border-radius: 2px;
}
.tl-item {
  position: relative; padding: 0 0 64px;
  display: grid; grid-template-columns: 1fr 88px 1fr; align-items: start; column-gap: 0;
}
.tl-item:last-child { padding-bottom: 0; }
/* 中线圆点：定位到中间列 */
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 36px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--brand); box-sizing: border-box;
  transform: translate(-50%, 0); z-index: 2;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 1);
}
.tl-item.is-current::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(61, 214, 140, 0.18); }
/* 第 1/3/5 行（odd）：内容放右侧；第 2/4 行（even）：内容放左侧 */
.tl-item:nth-child(odd) .tl-stage { grid-column: 3; text-align: left; padding-left: 36px; }
.tl-item:nth-child(even) .tl-stage { grid-column: 1; text-align: right; padding-right: 36px; }
.tl-stage { display: flex; flex-direction: column; gap: 6px; }
.tl-stage .tl-num {
  font-family: var(--font-en), "Inter Fallback", sans-serif;
  font-size: 36px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.tl-item.is-current .tl-num { background: linear-gradient(135deg, var(--accent) 0%, #5DD0F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-stage .tl-year { font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: 12.5px; font-weight: 600; color: var(--text-3); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.tl-item.is-current .tl-year { color: var(--accent); }
.tl-stage h4 { margin: 4px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.002em; color: var(--text-1); }
.tl-item.is-current .tl-stage h4 { color: #1F9A66; }
.tl-stage p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-2); line-height: 1.78; letter-spacing: 0.01em; max-width: 340px; }
.tl-item:nth-child(even) .tl-stage p { margin-left: auto; }
/* 中间列：隐形占位 */
.tl-item > .tl-marker { grid-column: 2; }

@media (max-width: 720px) {
  .timeline::before { left: 22px; }
  .tl-item { grid-template-columns: 44px 1fr; padding-bottom: 48px; }
  .tl-item::before { left: 22px; transform: translate(-50%, 0); }
  .tl-item:nth-child(odd) .tl-stage,
  .tl-item:nth-child(even) .tl-stage {
    grid-column: 2; text-align: left; padding-left: 0; padding-right: 0;
  }
  .tl-item:nth-child(even) .tl-stage p { margin-left: 0; }
  .tl-stage p { max-width: 100%; }
  .tl-item > .tl-marker { display: none; }
}

/* ---------- 12. 案例卡 ---------- */

/* 卡片编号装饰：定位在卡片右上角的大号渐变数字 */
.card-number { position: relative; overflow: hidden; }
.card-number > .card-number-tag {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-en);
  font-size: 22px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand) 0%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.card-number > * { position: relative; z-index: 1; }
.card-number .card-ico { background: var(--frost); }

/* 资质荣誉卡片：按主题分组，图标底色区分 */
.card-theme-blue .card-ico   { background: rgba(84, 104, 232, 0.1); }
.card-theme-blue .card-ico svg { stroke: var(--brand); }
.card-theme-green .card-ico  { background: rgba(61, 214, 140, 0.12); }
.card-theme-green .card-ico svg { stroke: var(--accent); }
.card-theme-violet .card-ico { background: rgba(139, 127, 255, 0.12); }
.card-theme-violet .card-ico svg { stroke: var(--violet); }
.card-theme-amber .card-ico  { background: rgba(245, 158, 11, 0.12); }
.card-theme-amber .card-ico svg { stroke: #F59E0B; }

/* 社会责任卡片：左侧色条 */
.csr-card { position: relative; padding-left: 32px; }
.csr-card::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px;
  width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
}
.csr-card.csr-card-2::before { background: linear-gradient(180deg, var(--violet) 0%, var(--brand) 100%); }
.csr-card.csr-card-3::before { background: linear-gradient(180deg, var(--accent) 0%, #5DD0F5 100%); }

/* 服务承诺卡片：图标底色按响应/物流/质量分组 */
.card-resp .card-ico   { background: rgba(84, 104, 232, 0.1); }
.card-resp svg          { stroke: var(--brand); }
.card-logi .card-ico   { background: rgba(61, 214, 140, 0.12); }
.card-logi svg          { stroke: var(--accent); }
.card-qual .card-ico   { background: rgba(139, 127, 255, 0.12); }
.card-qual svg          { stroke: var(--violet); }
.card-time .card-ico   { background: rgba(245, 158, 11, 0.12); }
.card-time svg          { stroke: #F59E0B; }

.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.case-top {
  position: relative; overflow: hidden;
  display: block;
  height: 200px;
  background: linear-gradient(135deg, #5468E8, #7B5FFF);
}
.case-top::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 40, 0) 55%, rgba(12, 18, 40, 0.42) 100%);
  pointer-events: none;
}
.case-top .case-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
  filter: saturate(1.05) contrast(1.02);
  transition: transform var(--dur) var(--ease);
}
.case-card:hover .case-top .case-thumb { transform: scale(1.04); }
.case-top .case-tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--white); background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px);
  border-radius: var(--r-pill); padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.case-top .case-watermark {
  position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.95); font-size: 14px; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.case-top .case-watermark::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #8B7FFF);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}
.case-body {
  padding: 22px clamp(20px, 2vw, 26px) 24px;
  display: flex; flex-direction: column;
}
.case-body h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.case-body p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.case-figs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-fig { font-size: 12px; color: var(--text-2); background: var(--bg-subtle); border-radius: var(--r-sm); padding: 5px 10px; }
.case-fig b { font-family: var(--font-en), "Inter Fallback", sans-serif; color: var(--brand-dark); font-size: 13px; margin-right: 2px; }

/* 紧凑模式：按用户对标 MasterGo 案例卡片 */
.case-card-compact .case-top { height: 180px; }
.case-card-compact .case-body { padding: 20px 22px 22px; }
.case-card-compact .case-body h3 { font-size: 17px; }
.case-card-compact .case-body p { font-size: 13px; line-height: 1.6; }
.case-card-compact .case-figs { margin-top: 14px; padding-top: 12px; gap: 5px; }
.case-card-compact .case-fig { padding: 4px 9px; font-size: 11.5px; }

/* 案例筛选 */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  min-height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--white); color: var(--text-2);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--brand-light); color: var(--brand-dark); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.case-item[hidden] { display: none; }

/* ---------- 13. 产品矩阵 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.product {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--sh-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.product::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.product .pname { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.product .pname h3 { font-size: 19px; font-weight: 700; }
.product .pname .pen { font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
.product .ptag { font-size: 13px; color: var(--brand-dark); font-weight: 500; margin-bottom: 12px; }
.product p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.product ul { margin-top: 14px; }
.product li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text-2); line-height: 1.8; }
.product li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light); }

/* ---------- 14. 页面横幅 ---------- */
.pagehead { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--white); }
.pagehead-bg { position: absolute; inset: 0; z-index: 0; }
.pagehead-bg svg { width: 100%; height: 100%; }
/* Hero 与下方章节保持同一容器宽度（1200px），文字左对齐到 wrap 边界 */
.pagehead-inner { position: relative; z-index: 1; max-width: var(--maxw); text-align: left; }
.pagehead-inner .h1 { max-width: 880px; }
.pagehead .eyebrow { margin-bottom: 18px; }
.pagehead h1 { color: var(--text-1); }
.pagehead p { margin-top: 18px; }
/* lead-wide：与下方正文段落保持一致的最大行长（760px，约 63% 容器宽），保证阅读舒适度 */
.lead-wide { max-width: 740px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.78; color: var(--text-2); margin-top: 22px; }
.lead-wide strong { font-weight: 600; color: var(--brand-dark); background: linear-gradient(180deg, transparent 60%, rgba(165, 180, 255, 0.35) 60%); padding: 0 2px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-bottom: 18px; }
.crumb a:hover { color: var(--brand-dark); }
.crumb span { color: var(--text-3); }

/* ---------- 15. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.info-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-ico { width: 40px; height: 40px; flex: none; border-radius: var(--r-md); background: var(--frost); display: flex; align-items: center; justify-content: center; }
.info-ico svg { width: 20px; height: 20px; }
.info-txt .k { font-size: 13px; color: var(--text-3); }
.info-txt .v { font-size: 16px; font-weight: 600; color: var(--text-1); margin-top: 2px; }
.info-txt .v small { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); margin-top: 4px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--sh-2); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; font-size: 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(84, 104, 232, 0.16);
}
.field .err { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--error); }
.field.is-error .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--text-2); margin: 4px 0 18px; line-height: 1.6; }
.field .consent input { width: 18px; height: 18px; min-height: 0; padding: 0; border: none; margin: 1px 0 0; flex: none; accent-color: var(--brand); cursor: pointer; }
.field .consent span { flex: 1; }
.form-msg { margin-top: 14px; font-size: 15px; border-radius: var(--r-sm); padding: 12px 14px; display: none; }
.form-msg.ok { display: block; background: rgba(16, 185, 129, 0.1); color: #047857; }
.form-msg.bad { display: block; background: rgba(239, 68, 68, 0.1); color: #B91C1C; }

/* ---------- 16. CTA 区块 ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: linear-gradient(120deg, #4356DE 0%, #5468E8 40%, #7B5FFF 72%, #3DD68C 130%); color: var(--white); }
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 180, 255, 0.45) 0%, rgba(165, 180, 255, 0) 70%);
}
.cta-band::after {
  content: ""; position: absolute; inset: auto auto -50% -10%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 214, 140, 0.32) 0%, rgba(61, 214, 140, 0) 70%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); letter-spacing: -0.005em; }
.cta-band .cta-lead { margin-top: 16px; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.9); letter-spacing: 0.01em; }
.cta-band .hero-actions { margin-top: 36px; gap: 16px; }
.cta-band .hero-actions .btn { gap: 10px; }
.cta-band .hero-actions .btn::after { content: "→"; transition: transform var(--dur) var(--ease); }
.cta-band .hero-actions .btn:hover::after { transform: translateX(4px); }

/* ---------- 17. 页脚 ---------- */
.foot { background: #14162B; color: rgba(255, 255, 255, 0.72); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: 14px; letter-spacing: 0.01em; }
.foot a { color: rgba(255, 255, 255, 0.72); transition: color var(--dur) var(--ease); }
.foot a:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.foot-brand .brand-cn { color: var(--white); }
.foot-brand .brand-en { color: var(--brand-light); }
.foot-brand p { margin-top: 16px; max-width: 340px; font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.6); }
.foot h5 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0.04em; }
.foot li { margin-bottom: 10px; font-size: 13.5px; }
.foot-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.5);
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.42); }

/* ---------- 18. 滚动入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .case-card:hover, .product:hover { transform: none; }
}

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-menu { gap: 0; }
  .nav-menu a { padding: 10px; font-size: 14px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 12px 16px 20px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 14px 12px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-menu a.is-active::after { display: none; }
  .nav-actions { margin-left: auto; padding-left: 0; border-left: none; }
  .nav-actions .btn { display: none; }
  /* 展开菜单时回到浅色面板，避免透明导航下的反白文字看不见 */
  .nav.is-overlay.is-open { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--line); }
  .nav.is-overlay.is-open .brand-cn { color: var(--text-1); }
  .nav.is-overlay.is-open .brand-en { color: var(--brand); }
  .nav.is-overlay.is-open .nav-menu a { color: var(--text-2); }
  .nav.is-overlay.is-open .nav-menu a.is-active { color: var(--brand-dark); }
  .nav.is-overlay.is-open .lang-switch { color: var(--text-3); }
  .nav.is-overlay.is-open .lang-switch a { color: var(--text-3); }
  .nav.is-overlay.is-open .lang-switch a.is-active { color: var(--brand-dark); background: var(--frost); }
  .nav.is-overlay.is-open .nav-toggle span,
  .nav.is-overlay.is-open .nav-toggle span::before,
  .nav.is-overlay.is-open .nav-toggle span::after { background: var(--text-1); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3, .g-4, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g-2, .g-3, .g-4, .product-grid, .stat-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-band .hero-actions .btn { width: auto; }
}

/* ---------- 20. 无障碍辅助 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: var(--white); padding: 10px 18px; border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }
.is-mobile { display: none; }
@media (max-width: 640px) {
  .is-mobile { display: inline; }
}

/* ---------- 21. 客户案例页（参考 mastergo.com/customer-case 结构） ---------- */
.case-hero {
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(640px 280px at 12% -8%, rgba(84, 104, 232, 0.12), transparent 70%),
    radial-gradient(640px 280px at 88% -8%, rgba(61, 214, 140, 0.12), transparent 70%),
    var(--white);
}
.case-hero .h1 { margin-top: 12px; letter-spacing: -0.01em; }
.accent { color: var(--brand); }
.case-hero-lede { max-width: clamp(640px, 72vw, 820px); margin: 22px auto 0; display: grid; gap: 10px; }
.case-hero-lede p { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.case-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 44px);
}
.case-stat { display: flex; flex-direction: column; gap: 6px; padding: 4px clamp(28px, 5vw, 72px); }
.case-stat + .case-stat { border-left: 1px solid var(--line); }
.case-stat b { font-family: var(--font-en), "Inter Fallback", sans-serif; font-variant-numeric: tabular-nums; font-size: clamp(32px, 4vw, 44px); font-weight: 700; color: var(--text-1); line-height: 1; }
.case-stat b span { color: var(--brand); font-size: 0.62em; margin-left: 2px; }
.case-stat > span:last-child { font-size: 13px; color: var(--text-3); }

/* 焦点案例轮播 */
.feat { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-2); overflow: hidden; }
.feat-slide { display: none; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 440px; }
.feat-slide.is-active { display: grid; animation: featIn 0.45s var(--ease); }
@keyframes featIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.feat-visual {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 8px; padding: clamp(28px, 3vw, 40px);
  color: var(--white);
  min-height: 440px;
  background: linear-gradient(135deg, #5468E8, #7B5FFF);
}
.feat-visual .feat-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
  filter: saturate(1.05) contrast(1.02);
}
.feat-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 40, 0) 50%, rgba(12, 18, 40, 0.5) 100%);
  pointer-events: none;
}
.feat-visual > * { position: relative; z-index: 1; }
.feat-logo { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18); letter-spacing: 0.01em; }
.feat-sub { font-size: 14px; color: rgba(255, 255, 255, 0.88); }
.feat-body { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.feat-tag { font-size: 13px; font-weight: 500; color: var(--brand-dark); background: var(--frost); border-radius: var(--r-pill); padding: 6px 14px; }
.feat-body h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin-top: 16px; line-height: 1.35; }
.feat-desc { margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.feat-figs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feat-figs span { font-size: 12px; color: var(--text-2); background: var(--bg-subtle); border-radius: var(--r-sm); padding: 6px 11px; }
.feat-figs b { font-family: var(--font-en), "Inter Fallback", sans-serif; color: var(--brand-dark); font-size: 13px; }
.feat-link { margin-top: auto; padding-top: 24px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--brand-dark); border-bottom: 1px solid transparent; }
.feat-link span { transition: transform var(--dur) var(--ease); }
.feat-link:hover { border-bottom-color: var(--brand); }
.feat-link:hover span { transform: translateX(4px); }
.feat-dots { display: flex; justify-content: center; gap: 10px; padding: 22px 0 26px; background: var(--bg-subtle); }
.feat-dot { width: 22px; height: 6px; border-radius: var(--r-pill); background: var(--line); border: none; padding: 0; cursor: pointer; transition: background var(--dur) var(--ease), width var(--dur) var(--ease); }
.feat-dot.is-active { width: 34px; background: var(--brand); }

/* 双维筛选面板 */
.filter-panel {
  display: grid; gap: 14px;
  padding: 8px clamp(22px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.filter-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.filter-label { flex: none; width: 72px; padding-top: 8px; font-size: 14px; color: var(--text-3); letter-spacing: 0.02em; }
.filter-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.case-count { justify-self: end; margin: 4px 0 0; font-size: 13px; color: var(--text-3); }
.case-count b { font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: 15px; color: var(--brand-dark); }

/* 行业分组 */
.case-group { margin-top: clamp(48px, 6vw, 80px); }
.case-group[hidden] { display: none; }
.case-group-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 0 0 18px; border-left: 4px solid var(--brand);
  margin-bottom: 32px;
}
.case-group-head > div { flex: 1; }
.case-group-head h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.case-group-head p { margin-top: 8px; max-width: 640px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.case-group-head .case-group-count {
  flex: none; font-family: var(--font-en), "Inter Fallback", sans-serif; font-size: 13px; font-weight: 600;
  color: var(--brand-dark); background: var(--frost);
  padding: 6px 14px; border-radius: var(--r-pill);
}

@media (max-width: 960px) {
  .feat-slide { grid-template-columns: 1fr; min-height: 0; }
  .feat-visual { min-height: 220px; justify-content: flex-end; }
  .case-card { grid-template-columns: 1fr; }
  .case-top { min-height: 200px; }
  .case-stat + .case-stat { border-left: none; }
}
@media (max-width: 640px) {
  .case-stats { gap: 24px 0; }
  .case-stat { flex: 1 1 46%; padding: 4px 12px; }
  .filter-label { width: 100%; padding-top: 0; }
  .case-count { justify-self: start; }
  .case-top { min-height: 180px; }
}
