/* ==========================================================
   数智化团队 · 数据服务 v4
   主色：#1a5fb8（深蓝）· 强调：#1fb585（薄荷绿）· 暖灰：#f4f1ec
   ========================================================== */
:root {
  --primary: #1a5fb8;
  --primary-dark: #144a91;
  --primary-light: #2c84e3;
  --accent: #1fb585;
  --accent-dark: #178c66;
  --warm: #f4f1ec;
  --warm-deep: #ece5d8;
  --text: #1a2236;
  --text-muted: #5a6478;
  --text-light: #8b94a8;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: #e6e9f0;
  --border-strong: #d4d9e4;
  --success: #2da44e;
  --warn: #e8590c;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, .06), 0 2px 6px rgba(20, 30, 60, .04);
  --shadow-md: 0 4px 12px rgba(20, 30, 60, .08), 0 2px 4px rgba(20, 30, 60, .04);
  --shadow-lg: 0 12px 32px rgba(20, 30, 60, .12), 0 4px 8px rgba(20, 30, 60, .06);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  background: rgba(26, 95, 184, .08);
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.section-title { font-size: 34px; margin-bottom: 12px; }
.section-lead { font-size: 16px; color: var(--text-muted); max-width: 720px; }
.section-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.section-head .kicker { display: inline-block; }
@media (max-width: 720px) { .section-title { font-size: 26px; } }

/* === 顶部导航 === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(20, 30, 60, .02); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.logo-mark { display: inline-flex; }
.logo-text { font-size: 17px; }
.logo-sub { color: var(--text-muted); font-weight: 500; font-size: 13px; margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 14.5px; padding: 6px 15px; border-radius: 10px; border: 1.5px solid transparent; }
.nav-links a:hover { color: var(--primary); }
/* 当前模块的导航：深色实心底 + 圆角 + 软投影（同 .nav-top 风格） */
.nav-links a.is-active:not(.nav-top) {
  display: inline-flex; align-items: center;
  padding: 6px 15px;
  border-radius: 10px;
  background: #0f4a8a;
  color: #fff !important;
  font-weight: 500;
  border: 1.5px solid #1a5fb8;
  box-shadow:
    0 4px 12px rgba(15, 74, 138, .32),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  letter-spacing: .02em;
}
.nav-links a.is-active:not(.nav-top)::after { content: ""; }
/* 数智化：回顶按钮
   - 默认：普通链接（带预留 padding 保持等宽，切换不抖动）
   - 仅在 hero 区滚动到顶部时（body.is-on-top）才升级为深色按钮 */
.nav-links a.nav-top {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 15px;
  border-radius: 10px;
  background: transparent;
  color: var(--text); font-weight: 500; font-size: 14px;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
  letter-spacing: .02em;
}
.nav-links a.nav-top::before { content: ""; }
/* 在 hero 区（页面顶部）时升级为深色按钮 */
body.is-on-top .nav-links a.nav-top {
  background: #0f4a8a;
  color: #fff;
  font-weight: 500;
  border-color: #1a5fb8;
  box-shadow:
    0 4px 12px rgba(15, 74, 138, .32),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}
body.is-on-top .nav-links a.nav-top:hover {
  color: #fff;
  background: #175a9c;
  border-color: #2c7ad4;
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(15, 74, 138, .45),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}
.nav-cta {
  padding: 8px 18px; border-radius: 8px;
  background: var(--accent); color: #fff !important;
  font-size: 14px !important; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
}

/* === Hero === */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 95, 184, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 95, 184, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .28; }
.orb-1 { width: 480px; height: 480px; top: -120px; right: -80px; background: radial-gradient(circle, #1a5fb8, transparent 60%); }
.orb-2 { width: 380px; height: 380px; bottom: -80px; left: -60px; background: radial-gradient(circle, #1fb585, transparent 60%); opacity: .18; }
.hero-chart { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 200px; opacity: .4; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  background: rgba(26, 95, 184, .1);
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero-title { font-size: 52px; line-height: 1.15; margin-bottom: 24px; font-weight: 800; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: var(--text-muted); max-width: 580px; margin-bottom: 32px; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all .25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(26, 95, 184, .25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 95, 184, .32); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .8); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-link { color: var(--primary); padding: 13px 0; font-weight: 500; }
.btn-link:hover { color: var(--primary-dark); }

/* === Hero Side (大数字) === */
.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-item {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.hs-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--primary); }
.hs-num {
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.hs-unit { font-size: 15px; font-weight: 600; }
.hs-label { font-size: 13px; color: var(--text-muted); }

/* === 服务行业条 === */
/* 服务行业 —— 静态卡片（不可点） */
.industries { padding: 56px 0 !important; background: var(--warm); border-top: 1px solid var(--warm-deep); border-bottom: 1px solid var(--warm-deep); }
.ind-head { text-align: center; margin-bottom: 28px; }
.ind-title { display: block; font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ind-sub { display: block; font-size: 13.5px; color: var(--text-muted); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1000px; margin: 0 auto;
}
.ind-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: var(--shadow-sm);
  cursor: default;  /* 明确不可点 */
}
.ind-emoji { font-size: 30px; line-height: 1; }
.ind-name { font-size: 14px; font-weight: 600; color: var(--text); text-align: center; }
@media (max-width: 880px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }

/* === Section === */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

/* === 痛点 === */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: #fff; border: 1px solid var(--border);
  padding: 32px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--warn), #f5a052);
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pain-card:hover::before { transform: scaleY(1); }
.pain-icon {
  font-size: 32px; margin-bottom: 16px;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(232, 89, 12, .08); border-radius: 14px;
}
.pain-card h3 { font-size: 20px; margin-bottom: 8px; }
.pain-card .pain-one { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; }
.pain-stat {
  font-size: 26px; font-weight: 800;
  color: var(--warn);
  font-variant-numeric: tabular-nums;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.pain-stat span { font-size: 13px; font-weight: 500; color: var(--text-light); margin-left: 6px; }
/* 行业痛点大卡片（三列等高） */
.pain-grid-lg { align-items: stretch; }
.pain-card-lg {
  padding: 26px 24px;
  display: flex; flex-direction: column;
}
.pain-card-lg:hover { transform: translateY(-4px); }

/* 顶部：图标 + 标题 + 场景 横排 */
.pain-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.pain-card-lg .pain-icon {
  font-size: 26px; margin-bottom: 0; flex-shrink: 0;
  width: 48px; height: 48px;
}
.pain-card-lg h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.35; }
.pain-scene {
  display: block;
  font-size: 12.5px; color: var(--text-light);
  line-height: 1.55;
  padding-left: 10px;
  border-left: 2px solid var(--border-strong);
}

/* 缺点列表 */
.pain-cons {
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 18px;
  flex: 1;
}
.pain-cons li {
  position: relative; padding-left: 22px;
  font-size: 13.5px; color: var(--text); line-height: 1.6;
}
.pain-cons li::before {
  content: "✕"; position: absolute; left: 0; top: 1px;
  width: 16px; height: 16px;
  background: rgba(232, 89, 12, .12); color: var(--warn);
  border-radius: 50%; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.pain-cons li strong { color: var(--warn); font-weight: 700; }

.pain-card-lg .pain-stat { font-size: 22px; padding-top: 14px; }
@media (max-width: 880px) { .pain-grid, .pain-grid-lg { grid-template-columns: 1fr; } }

/* === 数据基座 → AI 问数（递进结构） === */
.value-stack { display: flex; flex-direction: column; gap: 0; max-width: 980px; margin: 0 auto; }
.value-stage {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.stage-ai {
  background: linear-gradient(180deg, #fff 0%, #f0faf5 100%);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(31, 181, 133, .12);
}
.vs-head { margin-bottom: 24px; }
.vs-step {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--primary);
  padding: 4px 12px; border-radius: 14px;
  margin-bottom: 12px;
}
.stage-ai .vs-step { background: var(--accent); }
.vs-head h3 { font-size: 24px; margin-bottom: 6px; }
.vs-sub { font-size: 14.5px; color: var(--text-muted); }

/* ETL 流转图 */
/* ETL 横向链路：系统 → ETL工作流 → 数据仓库 → 应用 */
.etl-flow {
  display: grid;
  grid-template-columns: 1fr 78px auto 66px 1.1fr 66px 1fr;
  align-items: center;
  background: linear-gradient(135deg, #f7f9fc, #eef4fb);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 24px;
  position: relative;
}
.etl-sources { display: flex; flex-direction: column; gap: 11px; z-index: 2; }
.src-node {
  background: #fff; border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 10px 12px;
  font-size: 13px; font-weight: 600; color: var(--text);
  text-align: center;
  box-shadow: var(--shadow-sm);
  animation: nodePulse 2.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * .25s);
}
@keyframes nodePulse {
  0%, 100% { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
  50% { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(44, 132, 227, .12); }
}

/* 曲线连接层 */
.etl-linkset { position: relative; align-self: stretch; z-index: 1; }
.etl-linkset:not(.etl-linkset-out) { align-self: center; height: 264px; }
.etl-linkset svg { width: 100%; height: 100%; overflow: visible; }
.ln {
  fill: none;
  stroke: #efb96a;
  stroke-width: 1.7;
  stroke-dasharray: 5 4;
  opacity: .85;
  animation: dashFlow 1.1s linear infinite;
  animation-delay: var(--d);
}
@keyframes dashFlow { to { stroke-dashoffset: -18; } }
/* ETL→数据仓库 单线，垂直居中 */
.etl-linkset-out { align-self: center; height: 40px; }
/* 数据仓库→应用 虚线箭头 */
.etl-linkset-arrow { align-self: center; height: 264px; }
.ln.dash {
  stroke: #1f8a6d;
  stroke-width: 1.9;
  stroke-dasharray: 4 5;
  opacity: .95;
  marker-end: url(#arrowhead);
}
.etl-linkset-arrow svg { overflow: visible; }

/* ETL 工作流节点（链路上的一环） */
.etl-pipeline {
  position: relative; z-index: 2;
  background: linear-gradient(165deg, #fff8ef, #fff);
  border: 1.5px solid #e8a33d;
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232, 163, 61, .28);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  min-width: 132px;
}
.pl-gear { font-size: 20px; line-height: 1; }
.pl-title { font-size: 15px; font-weight: 800; color: #b8720f; white-space: nowrap; }
.pl-sub { font-size: 11.5px; color: #8a6520; white-space: nowrap; }
.pl-sched {
  font-size: 10.5px; color: #a08050;
  margin-top: 3px; padding-top: 7px;
  border-top: 1px dashed #f0d9b0;
  white-space: nowrap;
}

/* 数据仓库 / 数据湖 */
.etl-lake {
  position: relative; z-index: 2;
  width: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  padding: 26px 18px 20px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(26, 95, 184, .3);
}
.lake-label { color: #fff; font-size: 15px; font-weight: 700; position: relative; z-index: 2; display: block; }
.lake-sub {
  color: rgba(255,255,255,.82); font-size: 11.5px; font-weight: 500;
  position: relative; z-index: 2;
  display: block; margin-top: 3px;
  padding: 2px 0;
  letter-spacing: .08em;
}
.lake-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 14px; overflow: hidden; }
.lake-waves span {
  position: absolute; bottom: 0; left: 0;
  width: 200%; height: 100%;
  background: radial-gradient(circle at 10px -5px, transparent 8px, rgba(255,255,255,.25) 9px, transparent 10px) repeat-x;
  background-size: 20px 14px;
  animation: waveMove 3s linear infinite;
}
.lake-waves span:nth-child(2) { opacity: .5; animation-duration: 4s; animation-direction: reverse; }
.lake-waves span:nth-child(3) { opacity: .3; animation-duration: 5s; }
@keyframes waveMove { to { transform: translateX(-20px); } }

.etl-out { display: flex; flex-direction: column; gap: 11px; z-index: 2; }
.out-node {
  background: var(--accent); color: #fff;
  border-radius: 8px; padding: 10px 12px;
  font-size: 13px; font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(31, 181, 133, .25);
  animation: nodePulse 2.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * .3s);
}
@media (max-width: 900px) {
  .etl-flow { grid-template-columns: 1fr 56px auto 56px 1fr 56px 1fr; gap: 6px; padding: 20px 16px; }
  .etl-out { display: none; }
}
@media (max-width: 640px) {
  .etl-flow { grid-template-columns: 1fr; gap: 12px; }
  .etl-linkset { display: none; }
}

.vs-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.vsp {
  background: var(--bg-alt); border-radius: 10px; padding: 14px 16px;
}
.vsp strong { display: block; font-size: 14.5px; color: var(--primary); margin-bottom: 4px; }
.stage-ai .vsp strong { color: var(--accent-dark); }
.vsp span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.vs-result {
  background: rgba(26, 95, 184, .06);
  color: var(--text);
  padding: 14px 18px; border-radius: 10px;
  font-size: 15px; text-align: center;
}
.stage-ai .vs-result { background: rgba(31, 181, 133, .1); }
.vs-result strong { color: var(--primary); font-weight: 800; font-size: 18px; }
.stage-ai .vs-result strong { color: var(--accent-dark); }
.vs-result em { font-style: normal; color: var(--text-light); margin: 0 4px; }

/* STEP2 操作行：按钮 + 旁注 */
.vs-actions-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: 0 6px 18px rgba(31, 181, 133, .3);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 26px rgba(31, 181, 133, .4); transform: translateY(-2px); }
.vs-side-note { font-size: 14px; color: var(--text-muted); }
.vs-side-note strong { color: var(--accent-dark); font-weight: 800; font-size: 16px; }
.vs-side-note em { font-style: normal; color: var(--text-light); margin: 0 4px; }
.vs-sub strong { color: var(--accent-dark); font-weight: 700; }
@media (max-width: 580px) { .vs-actions-row { flex-direction: column; align-items: stretch; } .goto-chatbi { justify-content: center; } }

.value-arrow-down {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 16px 0;
  color: var(--text-muted); font-size: 13px;
}
.value-arrow-down b { font-size: 22px; color: var(--accent); animation: bounceY 1.6s infinite; }
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 720px) { .vs-points { grid-template-columns: 1fr; } }

/* === 案例（带 tabs + 图片槽位） === */
.case-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 36px; flex-wrap: wrap;
}
.ct-tab {
  padding: 8px 18px; border-radius: 20px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  color: var(--text-muted); transition: all .2s;
}
.ct-tab:hover { color: var(--primary); border-color: var(--primary); }
.ct-tab.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
/* 6 案例：3 列 × 2 行 */
.case-grid-6 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1080px) { .case-grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .case-grid-6 { grid-template-columns: 1fr; } }
.case-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.case-card.hidden { display: none; }

.case-img {
  background: linear-gradient(135deg, #f0f5fc 0%, #e6f0fa 100%);
  position: relative; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  cursor: zoom-in;
}
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--primary); text-align: center; padding: 24px;
  gap: 8px;
}
.case-img-placeholder span { font-size: 15px; font-weight: 600; }
.case-img-placeholder small { font-size: 12px; color: var(--text-light); }

/* 案例图缩略尺寸：高度 220px内（更紧凑） */
.case-img-thumb {
  aspect-ratio: auto;
  height: 200px;
  cursor: zoom-in;
}
/* 3 列布局下手册缩略图窄一点，改 2×2 排布更协调 */
/* 3 列卡片宽度下 4 张手机图：横向 1x4 排列，每张占 1/4 宽 */
.case-grid-6 .case-img-mobile {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 5px; padding: 8px;
  background: linear-gradient(135deg, #f4f7fb 0%, #eaf0f8 100%);
  height: 200px; position: relative;
}
.case-grid-6 .case-img-mobile .mob { aspect-ratio: auto; height: 100%; }
.case-grid-6 .case-img-mobile .mob img { object-position: top center; }
/* 4图角标 */
.mob-badges {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,.65) 100%);
  pointer-events: none;
}
.mb-count {
  font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(26,95,184,.95);
  padding: 2px 8px; border-radius: 10px;
}
.mb-tip {
  font-size: 11px; font-weight: 500; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.case-img-thumb img { object-fit: cover; width: 100%; height: 100%; }
/* 竖版信息图：完整显示不裁切 */
.case-grid-6 .case-img-contain img { object-fit: contain; background: #fafbfd; }

/* 放大提示（hover 时浮出） */
.case-zoom {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 16px;
  background: rgba(15, 23, 42, .78); color: #fff;
  font-size: 12px; font-weight: 500;
  opacity: 0; transform: translateY(-4px);
  transition: all .2s var(--ease);
  pointer-events: none;
}
.case-img-thumb:hover .case-zoom,
.case-img:hover .case-zoom { opacity: 1; transform: translateY(0); }
.case-img-empty .case-zoom { opacity: 1; transform: none; }

/* 动图角标（常驻，提示该案例有动态演示） */
.case-gif-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-size: 12px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(31,181,133,.35);
  z-index: 2;
}

/* ===== STEP 2 卡片内嵌演示区（与上方能力说明同一张卡） ===== */
/* 过渡条：能力说明 → 现场演示 */
.ai-bridge {
  display: flex; align-items: center; gap: 16px;
  margin: 26px 0 22px;
}
.ai-bridge-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #bfe8da, transparent); }
.ai-bridge-text {
  font-size: 13.5px; color: #0f3d2e;
  background: rgba(31,181,133,.1);
  border: 1px solid #bfe8da;
  padding: 7px 18px; border-radius: 20px;
  white-space: nowrap;
}
.ai-bridge-text strong { color: var(--accent-dark); font-weight: 700; }

/* 演示区：卡片内部的浅色块（不再是独立卡片） */
.ai-demo {
  border-top: 1px solid #d8f0e6;
  padding-top: 26px;
}
.aid-head { text-align: center; margin-bottom: 22px; }
.aid-badge {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 4px 13px; border-radius: 12px;
  margin-bottom: 11px;
}
.aid-head h3 { font-size: 22px; margin-bottom: 7px; color: #0f3d2e; }
.aid-sub { font-size: 13.5px; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.6; }
.ai-demo .chatbi-stage-lg { max-width: 100%; }
@media (max-width: 720px) { .aid-head h3 { font-size: 19px; } .ai-bridge-text { font-size: 12.5px; padding: 6px 12px; } }

/* 重播按钮 */
.cb-replay {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 8px; border-radius: 14px;
  background: #fff; border: 1px solid var(--border-strong);
  color: var(--text-muted); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s var(--ease);
  font-family: inherit;
}
.cb-replay:hover { padding: 6px 11px; border-color: var(--primary); color: var(--primary); }
/* 播放中：显示「自动播放中」提示 */
.cb-replay.playing {
  padding: 6px 11px; border-color: var(--accent); color: var(--accent-dark);
  background: rgba(31,181,133,.08);
  cursor: default;
}
.cb-replay.playing svg { animation: spin 1.4s linear infinite; }
.cb-replay .cb-replay-text { display: none; max-width: 0; overflow: hidden; transition: max-width .2s; }
.cb-replay:hover .cb-replay-text,
.cb-replay.playing .cb-replay-text { display: inline; max-width: 80px; }
.cb-replay.playing .cb-replay-text::before { content: ""; }
/* 播放中：把「重播」两个字替换成「自动播放中」 */
.cb-replay.playing .cb-replay-text { font-size: 0; }
.cb-replay.playing .cb-replay-text::before { font-size: 12px; content: "自动播放中"; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 演示提示 */
.cb-auto-tip {
  display: inline-block; margin-top: 4px;
  font-size: 12.5px; color: var(--accent-dark);
  background: rgba(31,181,133,.1);
  padding: 3px 10px; border-radius: 12px;
  animation: tipPulse 2s ease-in-out infinite;
}
@keyframes tipPulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.ai-demo {
  margin-top: 28px;
  padding: 32px 30px;
  background: linear-gradient(170deg, #f4fbf8 0%, #ffffff 40%);
  border: 1.5px solid #bfe8da;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(31, 181, 133, .12);
}
.aid-head { text-align: center; margin-bottom: 26px; }
.aid-badge {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 5px 14px; border-radius: 14px;
  margin-bottom: 12px;
}
.aid-head h3 { font-size: 26px; margin-bottom: 8px; color: #0f3d2e; }
.aid-sub { font-size: 14.5px; color: var(--text-muted); max-width: 720px; margin: 0 auto; line-height: 1.65; }
.ai-demo .chatbi-stage-lg { max-width: 100%; }
@media (max-width: 720px) { .ai-demo { padding: 22px 16px; } .aid-head h3 { font-size: 21px; } }

.form-hint {
  font-size: 13px; color: var(--text-muted);
  margin: -6px 0 18px; line-height: 1.6;
}
.form-err { color: #c0392b; font-size: 13.5px; margin-top: 10px; }
#formSubmit:disabled { opacity: .6; cursor: not-allowed; }

/* 在线打开真实大屏（外链） */
.cd-live-link {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding: 15px 18px;
  background: linear-gradient(135deg, #1a5fb8, #2c7ad4);
  border-radius: 12px;
  color: #fff; text-decoration: none;
  transition: all .25s var(--ease);
  box-shadow: 0 6px 18px rgba(26,95,184,.25);
}
.cd-live-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26,95,184,.35);
  color: #fff;
}
.cdll-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.cdll-text { display: flex; flex-direction: column; gap: 2px; }
.cdll-text strong { font-size: 15.5px; font-weight: 700; }
.cdll-text em { font-size: 12px; font-style: normal; opacity: .82; }
/* 行业案例：与其他标签同款样式（不特殊着色） */
.case-tag.real {
  background: rgba(26, 95, 184, .08);
  color: var(--primary);
  font-weight: 600;
}

/* 移动端案例：4 张水平并排缩略图 */
.case-img-mobile {
  aspect-ratio: auto;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  background: linear-gradient(135deg, #f0f5fc 0%, #e6f0fa 100%);
  cursor: default;
}
.mob {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  aspect-ratio: 351/710;
  cursor: pointer;
  transition: all .2s var(--ease);
  pointer-events: none; /* 禁用单图点击，统一由父级 js-lightbox-group 触发 */
}
.mob:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.mob img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.mob .case-zoom {
  position: absolute; top: 6px; right: 6px;
  opacity: 0;
  background: rgba(15, 23, 42, .78); color: #fff;
  padding: 3px 8px; border-radius: 12px;
  font-size: 11px; font-weight: 500;
  transform: none;
}
.mob:hover .case-zoom { opacity: 1; }
.case-img-hint {
  margin-top: 14px; padding: 10px 12px;
  background: var(--warm); border-radius: 8px;
  font-size: 13px; color: var(--text-muted);
}
.case-img-hint strong { color: var(--text); }
@media (max-width: 880px) {
  .case-img-mobile { grid-template-columns: repeat(2, 1fr); }
}

.case-info { padding: 24px 28px 28px; flex: 1; }
.case-meta { display: flex; gap: 8px; margin-bottom: 10px; }
.case-tag {
  font-size: 12px; font-weight: 600;
  background: rgba(26, 95, 184, .1); color: var(--primary);
  padding: 3px 10px; border-radius: 12px;
}
.case-info h3 { font-size: 19px; margin-bottom: 8px; }
.case-info > p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.case-info > p strong { color: var(--primary); font-weight: 700; }
.case-points { display: flex; flex-direction: column; gap: 6px; }
.case-points li {
  font-size: 13.5px; color: var(--text-muted);
  padding-left: 18px; position: relative; line-height: 1.6;
}
.case-points li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.case-tip {
  text-align: center; margin-top: 32px; padding: 16px;
  background: var(--warm); border-radius: var(--radius);
  color: var(--text); font-size: 14px;
}
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }

/* === ChatBI 独立模块（双栏） === */
.chatbi-stage {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  align-items: start; max-width: 1040px; margin: 0 auto;
}
/* 大窗口布局：左侧对话窗口占更大 */
.chatbi-stage-lg { grid-template-columns: 1.9fr 1fr; gap: 30px; max-width: 1180px; }
@media (max-width: 880px) {
  .chatbi-stage, .chatbi-stage-lg { grid-template-columns: 1fr; }
}

/* 右侧引导 */
.cb-side-ask {
  background: linear-gradient(135deg, rgba(26,95,184,.08), rgba(31,181,133,.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 24px;
}
.cb-side-label { font-size: 12px; font-weight: 700; color: var(--primary); display: block; margin-bottom: 6px; letter-spacing: .03em; }
.cb-side-ask p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.cb-side-note { margin-top: 20px; font-size: 12.5px; color: var(--text-light); text-align: center; }

/* 欢迎语里的引导问句 */
.cb-guide-q { color: var(--primary); font-style: normal; font-weight: 600; }

.chatbi-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 520px;
}
/* 大窗口：解除高度限制（必须放在 .chatbi-card 之后），保证下方问题 chips 与输入框可见 */
.chatbi-card-lg { max-height: none; }
.cb-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #f7f9fc, #fff);
  border-bottom: 1px solid var(--border);
}
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-light); }
.cb-dot.live { background: var(--success); box-shadow: 0 0 0 0 rgba(45, 164, 78, .6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 164, 78, .6); }
  70% { box-shadow: 0 0 0 8px rgba(45, 164, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 164, 78, 0); }
}
.cb-title { font-size: 14px; font-weight: 600; color: var(--text); flex: 1; }
.cb-tag { font-size: 11px; font-weight: 600; background: rgba(31, 181, 133, .12); color: var(--accent-dark); padding: 2px 8px; border-radius: 10px; }
.cb-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; max-height: 280px; background: #fafbfd; }
/* 大窗口消息区（必须放在 .cb-body 之后以覆盖） */
.cb-body-lg { min-height: 560px; max-height: 720px; }
@media (max-width: 880px) { .cb-body-lg { min-height: 420px; max-height: 560px; } }
.cb-msg { display: flex; gap: 10px; align-items: flex-start; animation: msgIn .4s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cb-msg.user { flex-direction: row-reverse; }
.cb-avatar {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50%;
  font-size: 16px;
}
.cb-msg.user .cb-avatar { background: var(--primary); border-color: var(--primary); }
.cb-bubble {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  font-size: 14px; color: var(--text);
  max-width: 85%; line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.cb-msg.user .cb-bubble { background: var(--primary); color: #fff; border-color: var(--primary); }
/* 含报告的气泡：深色卡片承载表格 */
.cb-bubble:has(.cb-report) {
  background: linear-gradient(160deg, #1c3354, #0f1c30);
  color: #fff;
  border-color: #1c3354;
  max-width: 96%;
  padding: 14px;
}
.cb-bubble strong { color: var(--accent-dark); }
.cb-msg.user .cb-bubble strong { color: #d4f4e6; }
.cb-bubble .mini-chart { margin-top: 8px; padding: 8px; background: #f7f9fc; border-radius: 6px; font-size: 12px; color: var(--text-muted); }

/* ChatBI 真实报告排版 */
.cb-report { min-width: 280px; }
.cb-report-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
}
.cb-badge {
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.15); color: #fff;
  padding: 3px 10px; border-radius: 12px;
}
.cb-conclusion { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.cb-conclusion.up { color: #7ff0c4; }
.cb-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; margin-bottom: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 8px; overflow: hidden;
}
.cb-table th {
  background: rgba(255,255,255,.12);
  color: #fff; font-weight: 600;
  padding: 7px 8px; text-align: left;
  font-size: 11.5px;
}
.cb-table td {
  padding: 6px 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.cb-table .tname { font-weight: 600; }
.cb-table .up { color: #7ff0c4; font-weight: 700; }
.cb-insight {
  font-size: 12.5px; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  padding: 8px 10px; border-radius: 8px;
  line-height: 1.6;
}
.cb-insight strong { color: #7ff0c4; }
.cb-suggest-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,.08);
  border-radius: 10px; padding: 10px 12px;
  margin-bottom: 8px;
}
.csc-num {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #7ff0c4; color: #0f3d2e;
  border-radius: 50%;
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.csc-body { flex: 1; min-width: 0; }
.csc-body h5 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; line-height: 1.5; }
.csc-body p { font-size: 12.5px; color: rgba(255,255,255,.82); line-height: 1.55; margin: 0; }
.csc-body .up { color: #7ff0c4; font-weight: 700; }
.cb-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.cb-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-light); animation: typing 1.2s infinite; }
.cb-typing span:nth-child(2) { animation-delay: .15s; }
.cb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* === ChatBI 深度思考动画 === */
.cb-thinking { background: #fffdf5; border-color: #f0e6c8; }
.think-head {
  font-size: 13.5px; font-weight: 700; color: #8a6d1f;
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.think-dots { display: inline-flex; gap: 3px; }
.think-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c9a84c; animation: typing 1s infinite; }
.think-dots i:nth-child(2) { animation-delay: .15s; }
.think-dots i:nth-child(3) { animation-delay: .3s; }
.think-step {
  font-size: 12.5px; color: var(--text-muted);
  line-height: 1.6; padding: 5px 0 5px 18px; position: relative;
  animation: stepIn .6s var(--ease);
}
.think-step::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  color: var(--accent); font-size: 11px; font-weight: 700;
}
@keyframes stepIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* === ChatBI 结果图表 === */
.cb-bubble-result { max-width: 100%; padding: 14px; }
/* 图表区 */
.cb-chart-wrap { padding-bottom: 4px; margin-bottom: 6px; }
.cb-chart {
  background: linear-gradient(160deg, #f7faff, #eef4fb);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px;
}
.cch-title { font-size: 13.5px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.cch-sub { font-size: 11.5px; color: var(--text-light); margin-bottom: 4px; line-height: 1.5; }
.cch-svg { width: 100%; height: auto; display: block; }
.axis { stroke: #cbd5e1; stroke-width: 1; }

/* 柱状图生长 */
.bar-rect {
  fill: url(#barGrad);
  fill: var(--primary);
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: barGrow 1.1s var(--ease) both;
}
@keyframes barGrow { from { transform: scaleY(0); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
.bar-val {
  font-size: 9px; font-weight: 700; fill: var(--primary-dark);
  opacity: 0; animation: valIn .4s ease both;
}
.bar-name { font-size: 9.5px; fill: var(--text-muted); }
@keyframes valIn { to { opacity: 1; } }

/* 折线图绘制 */
.line-path {
  fill: none; stroke: var(--accent); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: drawLine 2.2s var(--ease) forwards;
}
.line-area {
  fill: rgba(31, 181, 133, .14);
  opacity: 0; animation: areaIn 1s ease 1.3s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes areaIn { to { opacity: 1; } }
.line-dot { fill: #fff; stroke: var(--accent); stroke-width: 2.5; opacity: 0; animation: dotIn .3s ease forwards; }
.line-val { font-size: 10px; font-weight: 700; fill: var(--accent-dark); opacity: 0; animation: valIn .3s ease forwards; }
@keyframes dotIn { to { opacity: 1; } }

/* 逐行结论文字 */
.cb-lines { display: flex; flex-direction: column; gap: 7px; }
.cb-line {
  font-size: 13.5px; line-height: 1.65;
  animation: lineIn .7s var(--ease) both;
}
.cb-line-head { font-weight: 700; color: var(--text); font-size: 14px; }
.cb-line-text { color: var(--text); }
.cb-line-tip {
  background: rgba(31,181,133,.1); color: var(--accent-dark);
  border-radius: 8px; padding: 8px 10px; font-size: 13px;
}
.cb-line strong { color: var(--primary); font-weight: 700; }
.cb-line-tip strong { color: var(--accent-dark); }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cb-gen-note { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); background: #f7f9fc; padding: 8px 10px; border-radius: 8px; }
.cb-suggest {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f7f9fc, #fafbfd);
  border-top: 1px dashed var(--border-strong);
}
.cb-suggest::before {
  content: "试试问：";
  font-size: 12px; font-weight: 700; color: var(--text-light);
  flex-shrink: 0;
}
.cb-chip {
  font-size: 13px; padding: 7px 14px; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--primary-light);
  color: var(--primary); font-weight: 600;
  cursor: pointer; transition: all .2s var(--ease);
}
.cb-chip:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,95,184,.25);
}
.cb-chip:active { transform: translateY(0); }
/* 预设问题（快速填入输入框，不自动触发） */
/* 圆弧底色容器：胶囊形外框+渐变底 */
.cb-presets {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef4fb 100%);
  border-top: 1px dashed var(--border);
  position: relative;
}
.cb-presets::before {
  content: "试试问：";
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  margin-right: 4px;
}
.cb-preset {
  font-size: 12.5px; padding: 7px 16px;
  border-radius: 999px;   /* 圆弧形 */
  background: linear-gradient(135deg, rgba(26,95,184,.08), rgba(44,122,212,.12));
  border: 1px solid rgba(26,95,184,.3);
  color: var(--primary); font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all .2s var(--ease);
  box-shadow: 0 2px 6px rgba(26,95,184,.08);
}
.cb-preset:hover {
  background: linear-gradient(135deg, var(--primary), #2c7ad4);
  color: #fff; border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,95,184,.32);
}
.cb-preset:active { transform: translateY(0); }

.cb-input { display: flex; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--border); background: #fff; }
.cb-input input { flex: 1; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; color: var(--text); transition: all .2s; }
.cb-input input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 184, .12); }
.cb-input button { width: 36px; height: 36px; flex-shrink: 0; background: var(--primary); color: #fff; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.cb-input button:hover { background: var(--primary-dark); }

.chatbi-side { padding: 8px 0; }
.chatbi-side h3 { font-size: 22px; margin-bottom: 20px; }
.chatbi-features { display: flex; flex-direction: column; gap: 18px; }
.chatbi-features li { display: flex; gap: 14px; align-items: flex-start; }
.cf-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.chatbi-features strong { display: block; font-size: 15px; margin-bottom: 2px; }
.chatbi-features p { font-size: 13.5px; color: var(--text-muted); }

/* ChatBI 真实输出案例展示 */
.chatbi-cases {
  margin-top: 56px;
  max-width: 1040px;
  margin-left: auto; margin-right: auto;
}
.ccc-title { font-size: 22px; text-align: center; margin-bottom: 8px; }
.ccc-sub { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }
.ccc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ccc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  color: var(--text);
}
.ccc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); color: var(--text); }
.ccc-img {
  position: relative; aspect-ratio: 1452/1086;
  background: #f7f9fc;
  overflow: hidden; cursor: zoom-in;
}
.ccc-img img { width: 100%; height: 100%; object-fit: cover; }
.ccc-img .case-zoom {
  position: absolute; top: 12px; right: 12px;
  background: rgba(15, 23, 42, .78); color: #fff;
  padding: 5px 10px; border-radius: 14px;
  font-size: 12px; font-weight: 500;
  opacity: 0; transition: opacity .2s;
  transform: none;
}
.ccc-card:hover .case-zoom { opacity: 1; }
.ccc-meta {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(180deg, #fff, #fafbfd);
}
.ccc-meta .ccc-q {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
}
.ccc-meta strong {
  font-size: 14.5px; color: var(--text); font-weight: 600;
  line-height: 1.5;
}
.ccc-meta .ccc-hint {
  font-size: 13px; color: var(--accent-dark);
  background: rgba(31, 181, 133, .08);
  padding: 6px 10px; border-radius: 6px;
  margin-top: 4px;
}
@media (max-width: 880px) { .ccc-grid { grid-template-columns: 1fr; } }

/* === 横向 3 阶段交付流程 === */
.process-h {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px; align-items: stretch;
  max-width: 1140px; margin: 0 auto;
}
.ph-card {
  background: #fff; border: 1px solid var(--border);
  padding: 24px 22px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
.ph-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.ph-last { background: linear-gradient(180deg, #fff, #f0faf5); border-color: var(--accent); }
.ph-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ph-num {
  width: 34px; height: 34px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 17px; font-weight: 800;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-last .ph-num { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.ph-tag { font-size: 12px; font-weight: 600; color: var(--accent-dark); background: rgba(31,181,133,.12); padding: 3px 10px; border-radius: 12px; }
.ph-card h3 { font-size: 19px; margin-bottom: 6px; }
.ph-card > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.6; }
.ph-card ul { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ph-card li { font-size: 13px; color: var(--text); padding-left: 16px; position: relative; line-height: 1.55; }
.ph-card li::before { content: "\00b7"; position: absolute; left: 5px; color: var(--accent); font-weight: 700; }
.ph-deliver { color: var(--primary) !important; font-weight: 600; margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--border); }
.ph-deliver::before { content: "\2713 "; color: var(--accent-dark); }
.ph-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light); font-size: 28px; font-weight: 700;
  animation: arrowPulse 1.6s ease-in-out infinite;
}
@keyframes arrowPulse { 0%,100% { transform: translateX(0); opacity:.6; } 50% { transform: translateX(5px); opacity:1; } }
@media (max-width: 880px) {
  .process-h { grid-template-columns: 1fr; gap: 8px; }
  .ph-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* === Contact === */
.section-contact { background: linear-gradient(180deg, var(--bg-alt) 0%, #f0f5fc 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card, .contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3, .contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.cl-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(26, 95, 184, .1); color: var(--primary);
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-list strong { display: block; font-size: 15px; margin-bottom: 2px; color: var(--text); }
.contact-list span { display: block; font-size: 14px; color: var(--text-muted); }
.cl-link {
  display: inline-block; margin-top: 6px; font-size: 13px;
  color: var(--accent-dark); font-weight: 600;
  background: rgba(31, 181, 133, .1); padding: 4px 10px; border-radius: 6px;
  cursor: pointer; transition: all .2s; border: none;
}
.cl-link:hover { background: var(--accent); color: #fff; }

.price-box {
  background: linear-gradient(135deg, #f7f9fc, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.price-box h4 { font-size: 15px; margin-bottom: 14px; }
.price-box ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.price-box li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 8px 0; border-top: 1px dashed var(--border); }
.price-box li:first-child { border-top: none; padding-top: 0; }
.price-box li span { color: var(--text-muted); }
.price-box li strong { color: var(--primary); font-weight: 700; font-size: 15px; }
.price-box small { font-size: 12px; color: var(--text-light); }

.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.contact-form label > span em { color: var(--warn); font-style: normal; margin-left: 2px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px; font-size: 15px;
  font-family: inherit; resize: vertical;
  background: #fff; color: var(--text);
  transition: all .2s var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 95, 184, .12);
}
.contact-form select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { margin-bottom: 18px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form .btn-primary { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.form-tip { font-size: 12.5px; color: var(--text-light); margin-top: 12px; text-align: center; }
.form-ok { margin-top: 16px; padding: 12px 16px; background: rgba(45, 164, 78, .1); color: var(--success); border-radius: 8px; text-align: center; font-size: 14px; }

/* === Footer === */
.footer { padding: 36px 0 28px; background: #fff; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand strong { display: block; font-size: 14px; }
.footer-brand span { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-meta { display: flex; gap: 8px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
@media (max-width: 720px) { .footer-inner { flex-direction: column; align-items: flex-start; } }

/* === 滚动渐显（默认可见，reveal 仅作增强；首屏元素不依赖 JS） === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
/* 仅在 JS 加载后，才对 reveal-in 类生效隐藏动画 */
html.js-loaded .reveal:not(.in) {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .nav, .hero-bg, .section-contact .contact-form { display: none; }
  body { background: #fff; }
}

/* ==========================================================
   案例卡片 → 全屏详情（FLIP 线性放大，上图下文）
   ========================================================== */
.js-case { cursor: pointer; }
.case-cta {
  display: inline-block; margin-top: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  transition: transform .2s var(--ease);
}
.js-case:hover .case-cta { transform: translateX(4px); }

.case-detail {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, 0);
  visibility: hidden;
  transition: background .4s var(--ease), visibility 0s .4s;
  overflow-y: auto;
}
.case-detail.open {
  background: rgba(15, 23, 42, .6);
  visibility: visible;
  transition: background .4s var(--ease);
}
.cd-panel {
  position: relative;
  background: #fff;
  width: 92vw; max-width: 960px;
  margin: 5vh auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  transform-origin: center center;
  /* FLIP 起始态由 JS 内联设置 */
  opacity: 0;
}
.case-detail.open .cd-panel { opacity: 1; transition: transform .45s var(--ease), opacity .4s var(--ease); }

.cd-close {
  position: fixed; top: 24px; right: 32px;
  width: 46px; height: 46px;
  background: rgba(255,255,255,.9);
  color: var(--text); font-size: 28px; font-weight: 300;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 10001;
  transition: transform .25s var(--ease), background .2s;
  box-shadow: var(--shadow-md);
}
.cd-close:hover { transform: rotate(90deg); background: #fff; }

/* 上：案例动态显示（媒体区） */
.cd-media {
  width: 100%;
  min-height: 320px;
  max-height: 64vh;
  background: linear-gradient(135deg, #0f1c30, #1c3354);
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
}
.cd-media img {
  max-height: 60vh;
  max-width: 100%;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
  object-fit: contain;
}
/* 多张图（移动端 4 张）横向排列 —— 白底，与卡片区一致 */
.cd-media.cd-multi {
  gap: 16px; flex-wrap: nowrap; justify-content: center;
  background: #f4f7fb;
  min-height: 0;
  padding: 24px 20px;
}
.cd-media.cd-multi img {
  max-height: 52vh;
  max-width: 23%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  border: 1px solid var(--border);
}
/* 无图占位（损益/仪表板） */
.cd-media.cd-empty {
  background: linear-gradient(135deg, #f0f5fc, #e6f0fa);
  color: var(--text-light);
  flex-direction: column; gap: 10px;
  font-size: 15px;
}
.cd-media.cd-empty .cd-empty-icon { font-size: 52px; opacity: .4; }

/* 下：文字区 */
.cd-body { padding: 36px 40px 40px; }
.cd-meta { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.cd-meta .case-tag { font-size: 12.5px; }
.cd-title { font-size: 30px; margin-bottom: 12px; line-height: 1.25; }
.cd-lead { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.cd-metric {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 800; font-size: 18px;
  padding: 10px 22px; border-radius: 24px;
  margin-bottom: 24px;
}
.cd-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 0; }
.cd-points li {
  position: relative; padding-left: 30px;
  font-size: 15px; color: var(--text); line-height: 1.6;
}
.cd-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: rgba(31,181,133,.12); color: var(--accent-dark);
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

body.cd-open { overflow: hidden; }

@media (max-width: 720px) {
  .cd-panel { width: 96vw; margin: 3vh auto; }
  .cd-media.cd-multi { flex-wrap: wrap; }
  .cd-media.cd-multi img { max-width: 45%; max-height: 30vh; }
  .cd-body { padding: 24px 22px 28px; }
  .cd-title { font-size: 23px; }
}

/* mob-group-badge 保留（卡片缩略图上的提示） */
.mob-group-badge {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px; border-radius: 20px;
  background: rgba(15, 23, 42, .82); color: #fff;
  font-size: 12px; font-weight: 500;
  opacity: 0; transition: opacity .2s;
  z-index: 3; pointer-events: none; white-space: nowrap;
}
.case-img-mobile:hover .mb-tip { opacity: .85; }