/* ============================================================
   home.css —— 首页专属：Hero / 信任条 / 数据闭环 / 算法矩阵 /
   智能体 / 行业方案 / 案例 / 优势 / CTA
   ============================================================ */

/* ---------------- 1. Hero ---------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #eaf1fc;
  /* 不裁剪：浮层卡片需要浮到主视觉边框之外（left:-9% / right:-7%），
     若用 overflow:hidden 会把它们裁回框内，压在视频画面上。 */
  overflow: visible;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 380px at 78% 6%, rgba(18, 224, 164, 0.18), transparent 62%),
    radial-gradient(520px 300px at 8% 92%, rgba(18, 224, 164, 0.08), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 110px;
}

/* 首屏入场：纯 CSS 动画（无需等待 JS），依次浮现；
   用独立 translate 属性避免影响元素自身的 transform（浮动卡片等） */
@keyframes hero-in {
  from { opacity: 0; translate: 0 22px; }
}
.hero-copy > * {
  animation: hero-in 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.19s; }
.hero-copy > :nth-child(4) { animation-delay: 0.26s; }
.hero-copy > :nth-child(5) { animation-delay: 0.33s; }
.hero-visual { animation: hero-in 0.75s 0.22s cubic-bezier(0.22, 0.61, 0.36, 1) backwards; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-text-2);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(18, 224, 164, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(18, 224, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 224, 164, 0); }
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero h1 .hl { color: var(--brand); }

.hero-lead {
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-text-2);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--ink-line);
  flex-wrap: wrap;
}
.hero-meta .m-num {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-meta .m-num .unit { font-size: 0.62em; color: var(--brand); margin-left: 2px; }
.hero-meta .m-label { font-size: 13px; color: var(--ink-text-3); margin-top: 2px; }

/* Hero 右侧主视觉 */
.hero-visual { position: relative; }
.hero-visual .visual-frame {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  box-shadow: 0 46px 90px rgba(2, 8, 20, 0.55);
  /* 16:9 —— 与主视觉素材（指挥中心 / 巡检场景）原生比例一致，避免裁切掉画面主体 */
  aspect-ratio: 16 / 9;
  background: var(--ink-2); /* 视频加载前的底色，避免闪白 */
}
.hero-visual .visual-frame img,
.hero-visual .visual-frame video { width: 100%; }
/* 主视觉视频：16:9 素材居中裁切，主体（指挥中心）始终处于视觉中心 */
.hero-visual .visual-frame .hero-video {
  height: 100%;
  object-fit: cover;
  display: block;
  /* 提升为独立合成层，避免与背景视频争抢主线程 */
  transform: translateZ(0);
}
/* Hero 画框浮出时的柔和投影（纯 transform，不触发重绘） */
.hero-visual .visual-frame {
  will-change: transform;
}
.hero-visual .visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 32, 0.55));
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(14, 26, 46, 0.78);
  border: 1px solid var(--ink-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.5);
  font-size: 13px;
  color: #dce7f7;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-title { font-weight: 600; color: #fff; display: block; }
.float-card .fc-sub { color: var(--ink-text-3); font-size: 12px; }
.float-card .fc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  box-shadow: 0 0 10px rgba(18, 224, 164, 0.8);
}
/* 浮层卡片：浮在主视觉边框**之外**（左上和右下），尽量不遮挡视频画面。
   用**固定像素**偏移（百分比会随框宽变化，且移到 -34% 时会超出 1200px 容器）。
   实测：容器 111~1311，视频框 769~1286，卡片宽 182/209px。
   故左卡左移 130px（→ x≈639，卡片左半在框外）；
   右卡受容器右边界限制，改用「下移 + 右移」组合（右移 84px + 下移 46px），
   既退到框右下外侧，又不溢出容器。 */
.float-card--a { top: 10px; left: -130px; }
.float-card--b { bottom: -52px; right: -24px; animation-delay: 1.6s; }
.float-card .fc-badge {
  font-size: 11px;
  font-weight: 700;
  color: #052b20;
  background: var(--brand);
  border-radius: 6px;
  padding: 3px 7px;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 32, 0));
  pointer-events: none;
}

@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero-visual { max-width: 640px; }
  .float-card--a { left: 2%; }
  .float-card--b { right: 2%; }
}
@media (max-width: 640px) {
  .hero .container { padding-top: calc(var(--header-h) + 48px); }
  .hero-meta { gap: 22px; }
  .float-card { display: none; }
}

/* 减少动态效果：停用首屏入场与循环漂浮动画 */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-visual { animation: none; }
  .hero-eyebrow .pulse, .float-card { animation: none; }
}
/* 截图模式（?snap=1）：直接定格终态，保证无头浏览器截图稳定 */
html.snap .hero-copy > *, html.snap .hero-visual { animation: none; }

/* ---------------- 2. 信任条 ---------------- */
.trust-band { padding: 64px 0 72px; background: var(--white); }
.trust-band .trust-line {
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 34px;
}
.trust-band .trust-line strong {
  color: var(--text-1);
  font-size: 19px;
  font-weight: 700;
}

/* ---------------- 3. 数据闭环（平台能力） ---------------- */
.pipeline { background: var(--ink-2); }
.pipeline .sec-title { color: #eaf1fc; }

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step-card {
  position: relative;
  background: var(--ink-3);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-m);
  padding: 26px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 224, 164, 0.45);
  box-shadow: 0 20px 44px rgba(2, 8, 20, 0.5);
}
.step-card .step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}
.step-card .step-icon {
  margin: 18px 0 14px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(18, 224, 164, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.step-card .step-icon svg { width: 21px; height: 21px; }
.step-card h3 { font-size: 16.5px; color: #eaf1fc; margin-bottom: 9px; }
.step-card p { font-size: 13px; line-height: 1.72; color: var(--ink-text-2); }
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 10px; height: 10px;
  border-top: 2px solid rgba(18, 224, 164, 0.65);
  border-right: 2px solid rgba(18, 224, 164, 0.65);
  transform: translateY(-50%) rotate(45deg);
}

.pipeline-foot {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pipeline-foot .hint {
  font-size: 14px;
  color: var(--ink-text-2);
}
.pipeline-foot .hint b { color: var(--brand); font-weight: 600; }

@media (max-width: 1080px) {
  .pipeline-steps { grid-template-columns: repeat(2, 1fr); }
  .step-card:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .pipeline-steps { grid-template-columns: 1fr; }
}

/* ---------------- 4. 算法能力矩阵 ---------------- */
.algo-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.tab-btn,
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tab-btn:hover,
.filter-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.tab-btn.active,
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
/* 图片版能力卡：缩略图 + 名称，整卡可点击，联动至在线实测 / 行业方案案例 */
.algo-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-1);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.algo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 224, 164, 0.55);
  box-shadow: var(--shadow-s);
}
.algo-item:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}
.algo-thumb {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--brand-soft);
  transition: transform 0.3s ease;
}
.algo-item:hover .algo-thumb { transform: scale(1.07); }
.algo-name { line-height: 1.35; }

/* 联动跳转徽标：hover 时右上角浮现（去实测 / 看案例） */
.algo-go {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid rgba(18, 185, 129, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.algo-item:hover .algo-go { opacity: 1; transform: translateY(0); }

/* 开放能力在线体验入口（如安全帽佩戴检测 HOT） */
.algo-item .algo-try {
  margin-left: auto;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid rgba(18, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.algo-item--online:hover .algo-try { background: var(--brand); border-color: var(--brand); color: #063a2c; }
/* HOT 卡常驻徽标，不再显示浮动联动徽标，避免重叠 */
.algo-item--online .algo-go { display: none; }
.algo-foot {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-2);
}
.algo-foot a { color: var(--brand-deep); font-weight: 600; }
.algo-foot a:hover { text-decoration: underline; }

@media (max-width: 1080px) { .tab-panel.active { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 840px) { .tab-panel.active { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tab-panel.active { grid-template-columns: 1fr; } }

/* ---------------- 5. 智能体 ---------------- */
.agent-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 0 0 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.agent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(18, 224, 164, 0.5);
}
.agent-card:hover::before { opacity: 1; }
.agent-card .card-thumb {
  display: block;
  height: 128px;
  overflow: hidden;
}
.agent-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.agent-card:hover .card-thumb img { transform: scale(1.07); }
.agent-card .icon-badge { margin: 18px 24px 0; }
.agent-card h3 { font-size: 17.5px; margin: 12px 24px 0; }
.agent-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; margin: 8px 24px 0; }
.agent-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 24px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-deep);
  transition: gap 0.2s ease;
}
.agent-card .card-link:hover { gap: 10px; }

/* ---------------- 6. 行业方案 ---------------- */
.solution-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 0 0 26px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(18, 224, 164, 0.5);
}
/* 卡片顶部配图横幅 */
.solution-card .sol-thumb {
  display: block;
  height: 152px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.solution-card .sol-thumb img,
.solution-card .sol-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.solution-card:hover .sol-thumb img,
.solution-card:hover .sol-thumb video { transform: scale(1.06); }
.solution-card h3 { font-size: 18px; margin: 0 26px 10px; }
.solution-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; min-height: 49px; margin: 0 26px; }
.solution-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 26px 0; }
.solution-card .icon-badge { margin: 22px 26px 0; }

/* ---------------- 7. 案例精选 ---------------- */
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(18, 224, 164, 0.5);
}
.case-thumb {
  position: relative;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--ink-2), #14304a);
  background-size: 36px 36px, 36px 36px, auto;
  overflow: hidden;
}
.case-thumb.v2 { background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #0d2b26, #11534a); }
.case-thumb.v3 { background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #1a2340, #2b3a63); }
.case-thumb svg { width: 64px; height: 64px; opacity: 0.85; }

/* ---------- 案例缩略图：视频版（机械臂视觉检测实拍） ---------- */
.case-thumb--video {
  background: #0d1a2b;          /* 视频加载前的深色底，避免闪白 */
  padding: 0;
}
.ct-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 缩略图区约 1.6:1，素材为 16:9 / 20:9 超宽屏，
     默认居中裁切会让主体偏到右侧，这里向左偏移让主体更居中 */
  object-position: 62% center;
  display: block;
  /* 提升为独立合成层，降低滚动开销 */
  transform: translateZ(0);
}
/* 超宽屏素材（SOP 行为分析界面）需要更靠左，界面核心的手部画面与数据表
   分布在中左区域；object-fit: cover 裁切时保持左侧对齐 */
.case-thumb--video .ct-video--wide {
  object-position: 22% center;
}
/* 光伏电站素材（960x400，2.4:1 超宽）：风机与光伏板阵列分布在中左，
   居中裁切会切掉主要风机，改为居中偏左 */
.case-thumb--video .ct-video--energy {
  object-position: 42% center;
}
/* 厂区监测素材（960x640，3:2）：裁到缩略图 1.6:1 时上下各裁掉约 12%，
   核心的监测大屏在中上部。实测28% 会切到片头字幕帧，
   故回到居中略偏上（40%），兼顾开场厂区画面与监测大屏。 */
.case-thumb--video .ct-video--plant {
  object-position: center 40%;
}
/* 地铁站台素材（960x640，3:2）：主体是站台横向大场面，
   客流热力图与告警框在中上部，略偏上取景 */
.case-thumb--video .ct-video--metro {
  object-position: center 38%;
}
/* 城市治理素材（960x640，3:2）：识别框与标签集中在画面中部，
   略偏上取景可同时保留街景与识别框 */
.case-thumb--video .ct-video--city {
  object-position: center 36%;
}
/* 食品质检素材（960x540，16:9）：裁到缩略图 1.6:1 会切掉上下，
   而中部字幕「包装缺陷·标签错印·瓶盖密封 全维度识别」在约 42% 高度处，
   故取 42% 保住字幕与生产线主体 */
.case-thumb--video .ct-video--food {
  object-position: center 42%;
}
/* 底部渐变遮罩，保证下方角标在亮画面上可读 */
.case-thumb--video::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(transparent, rgba(6, 14, 26, 0.85));
  pointer-events: none;
}
/* 右下角状态角标 */
.ct-badge {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #eaf1fc;
  background: rgba(10, 20, 34, 0.6);
  border: 1px solid rgba(87, 194, 242, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ct-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 0 rgba(87, 194, 242, 0.7);
  animation: ct-pulse 1.9s ease-out infinite;
}
@keyframes ct-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(87, 194, 242, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(87, 194, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 194, 242, 0); }
}
/* 悬停卡片时视频轻微放大提亮 */
.case-card:hover .ct-video {
  transform: translateZ(0) scale(1.06);
  filter: brightness(1.08) saturate(1.05);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              filter 0.4s ease;
}
/* 减少动态效果时静止，回退到网格渐变背景 */
@media (prefers-reduced-motion: reduce) {
  .ct-video { display: none; }
  .case-thumb--video {
    background-image:
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(135deg, var(--ink-2), #14304a);
    background-size: 36px 36px, 36px 36px, auto;
  }
  .ct-dot { animation: none; }
}
.case-thumb .badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.case-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.case-body p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  transition: gap 0.2s ease;
}
.case-link:hover { gap: 10px; }

/* ---------------- 8. 核心优势 ---------------- */
.adv-item {
  position: relative;
  padding: 34px 8px 0;
  border-top: 2px solid var(--line);
  transition: border-color 0.25s ease;
}
.adv-item:hover { border-top-color: var(--brand); }
.adv-item .adv-num {
  position: absolute;
  top: 20px; right: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 28, 46, 0.14);
  letter-spacing: -0.02em;
}
.adv-item h3 { font-size: 18px; margin-bottom: 12px; }
.adv-item p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ---------------- 9. 底部 CTA ---------------- */
/* 注：.home-cta 包裹容器与 .cta-band 样式已移至 layout.css（全站共用） */

/* ---------- 9.1 CTA 配图背景层 ----------
   结构：.cta-band > .cta-bg(绝对定位图片层 + ::after 文字可读性遮罩) + .inner(文字)
   paint 顺序：band 深色底 → ::before 品牌光晕 → .cta-bg 图片 → 遮罩 → 文字 */
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-band .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 极缓慢的 Ken Burns 漂移，让静态配图也有呼吸感（GPU 合成，不触发重排） */
  animation: ctaDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ctaDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.4%, -1.2%, 0); }
}
/* 文字可读性遮罩：左深右浅（桌面文字在左） */
.cta-band .cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(7, 13, 25, 0.95) 0%,
    rgba(7, 13, 25, 0.8) 42%,
    rgba(7, 13, 25, 0.46) 78%,
    rgba(7, 13, 25, 0.34) 100%);
}
.cta-band .inner { z-index: 1; }
/* 首页 CTA：右缘压暗，消除背景图中卡片边框白竖条与数据贴边感 */
.cta-band--index .cta-bg::after {
  background: linear-gradient(100deg,
    rgba(7, 13, 25, 0.95) 0%,
    rgba(7, 13, 25, 0.84) 44%,
    rgba(7, 13, 25, 0.62) 78%,
    rgba(7, 13, 25, 0.56) 100%);
}
@media (max-width: 720px) {
  /* 移动端文字占满宽度，遮罩改为上深下浅 */
  .cta-band .cta-bg::after {
    background: linear-gradient(180deg,
      rgba(7, 13, 25, 0.9) 0%,
      rgba(7, 13, 25, 0.84) 55%,
      rgba(7, 13, 25, 0.7) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band .cta-bg img { animation: none; }
}
