/* ============================================
   AIC 应用案例 + 案例详情样式
   scenarios.html（列表 / 筛选）+ case-zpmc.html（详情）共用
   列表页图位：.ap-hero-photo 背景图 + .ap-cat-cover / .ap-case-cover 内 <img>
   ============================================ */

/* ===================================================
   列表页 · 应用案例 (scenarios.html)
   =================================================== */

/* ---------- Hero（深色照片背景 + 左浓右淡遮罩）---------- */
.ap-hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.ap-hero-photo {
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  background-image: url(/images/ap-hero.webp);
  background-size: cover;
  background-position: center;
}

.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.85) 38%,
    rgba(10, 22, 40, 0.55) 70%,
    rgba(10, 22, 40, 0.30) 100%
  );
}

.ap-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 32px 132px;
}

.ap-hero .eyebrow { color: var(--accent-bright); }

.ap-hero h1 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 8px 0 18px;
}

.ap-hero h1 .blue { color: var(--accent-bright); }

.ap-hero-desc {
  font-size: 16.5px;
  color: #B8C5DD;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.ap-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 深色 Hero 上的 ghost 按钮：白字 + 半透明描边（悬停前即可见）*/
.ap-hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.ap-hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

/* ---------- Hero 悬浮统计条 ---------- */
.ap-stats {
  position: relative;
  z-index: 5;
  margin-top: -84px;
  padding: 0 32px;
}

.ap-stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(11, 21, 38, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ap-stat {
  padding: 30px 24px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.ap-stat:first-child { border-left: none; }

.ap-stat .v {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.ap-stat .v small {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-bright);
  margin-left: 3px;
}

.ap-stat .l {
  font-size: 13px;
  color: #8595B0;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ---------- 4 个方向分类卡 ---------- */
.ap-cats {
  padding: 88px 0 32px;
  background: var(--bg);
}

.ap-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ap-cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ap-cat:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.ap-cat-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
}

.ap-cat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.ap-cat:hover .ap-cat-cover img { transform: scale(1.05); }

.ap-cat-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ap-cat-body h3 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.ap-cat-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: -2px;
}

.ap-cat-body p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.65;
}

.ap-cat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.ap-cat-foot .more { font-size: 13px; color: var(--accent); font-weight: 600; }

.ap-cat-foot .more::after {
  content: " →";
  display: inline-block;
  transition: transform var(--t-base);
}

.ap-cat:hover .ap-cat-foot .more::after { transform: translateX(4px); }

.ap-cat-foot .count {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
}

/* ---------- 信任条 ---------- */
.ap-trust {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
}

.ap-trust-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ap-trust-item { display: flex; align-items: center; gap: 16px; }

.ap-trust-ico {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(74, 144, 255, 0.12);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-trust-item h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }

.ap-trust-item p { font-size: 12.5px; color: #8595B0; line-height: 1.5; }

/* ---------- 全部案例（筛选 + 网格）---------- */
.ap-cases {
  padding: 80px 0 100px;
  background: var(--bg);
}

.ap-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 36px;
}

.ap-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all var(--t-base);
}

.ap-tab:hover { border-color: var(--accent); color: var(--accent); }

.ap-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ap-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ap-case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ap-case.is-hidden { display: none; }

.ap-case:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.ap-case-cover {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
}

.ap-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.ap-case:hover .ap-case-cover img { transform: scale(1.05); }

.ap-case-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 82, 217, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.ap-case-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ap-case-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.ap-case-body p {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.7;
}

.ap-case-metrics {
  display: flex;
  gap: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ap-case-metrics .m { display: flex; flex-direction: column; gap: 3px; }

.mv {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mv small { font-size: 13px; font-weight: 600; }

.ml {
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.ap-case-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.ap-case-client {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.ap-case-foot .more { font-size: 13px; color: var(--accent); font-weight: 600; }

.ap-case-foot .more::after {
  content: " →";
  display: inline-block;
  transition: transform var(--t-base);
}

.ap-case:hover .ap-case-foot .more::after { transform: translateX(4px); }

/* ---------- 兜底 CTA ---------- */
.ap-cta {
  padding: 0 0 100px;
  background: var(--bg);
}

.ap-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--r-xl);
  padding: 36px 44px;
  box-shadow: var(--shadow-accent);
}

.ap-cta-text h3 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ap-cta-text p { font-size: 14px; color: rgba(255, 255, 255, 0.85); }

.ap-cta .btn {
  white-space: nowrap;
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.ap-cta .btn:hover { background: rgba(255, 255, 255, 0.9); }

/* ============================================
   案例详情页 (case-zpmc.html)
   ============================================ */

/* ---------- Case Hero ---------- */
.case-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 90px 0 110px;
  overflow: hidden;
  min-height: 540px;
}

.case-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(0, 82, 217, 0.35), transparent 60%),
    radial-gradient(ellipse at 20% 90%, rgba(255, 184, 74, 0.1), transparent 50%),
    linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
}

.case-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 80px 80px;
}

.case-hero-illustration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 56%;
  max-width: 700px;
  opacity: 0.55;
  pointer-events: none;
}

.case-hero-illustration svg {
  width: 100%;
  height: auto;
}

.case-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  max-width: 1100px;
}

.case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-no {
  color: var(--accent-bright);
  font-weight: 700;
}

.case-sep {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,.25);
}

.case-industry {
  color: rgba(255,255,255,.7);
}

.case-hero h1 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  max-width: 720px;
}

.case-hero h1 .accent { color: #FFB84A; }

.case-lead {
  font-size: 17px;
  color: #B8C5DD;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 44px;
}

.case-client {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px 16px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  backdrop-filter: blur(8px);
}

.case-client-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.case-client-text .name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.case-client-text .industry {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--accent-bright);
  letter-spacing: 0.12em;
}

/* ---------- Case Key Stats (悬浮于 Hero 下方) ---------- */
.case-keystats {
  position: relative;
  margin-top: -50px;
  z-index: 5;
  padding: 0 32px;
}

.case-keystats-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.case-keystats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-keystat {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-keystat.highlight {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
}

.ks-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.case-keystat.highlight .ks-label {
  color: var(--accent-bright);
}

.ks-val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.case-keystat.highlight .ks-val {
  color: #FFB84A;
}

.ks-val small {
  font-size: 18px;
  font-weight: 600;
  margin-left: 2px;
}

.ks-desc {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.6;
}

.case-keystat.highlight .ks-desc {
  color: #B8C5DD;
}

/* ---------- Case Story 叙事块 ---------- */
.case-story {
  padding: 100px 0;
  background: #fff;
}

.case-story-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

.story-block {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.story-block:last-child { border-bottom: none; }

.story-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  letter-spacing: -0.04em;
}

.story-content { padding-top: 6px; }

.story-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.story-content h3 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--ink);
}

.story-content p {
  font-size: 15.5px;
  color: var(--steel);
  line-height: 1.85;
  margin-bottom: 16px;
}

.story-content p strong {
  color: var(--ink);
  font-weight: 600;
}

.story-content blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.story-content blockquote p {
  font-size: 16px;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.75;
}

.story-content blockquote cite {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  font-style: normal;
  color: var(--mute);
  letter-spacing: 0.04em;
}

/* ---------- Before / After ---------- */
.before-after {
  padding: 100px 0;
  background: var(--bg);
}

.ba-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.ba-head {
  text-align: center;
  margin-bottom: 56px;
}

.ba-head .eyebrow {
  display: inline-block;
}

.ba-head h2 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 6px 0 14px;
  color: var(--ink);
}

.ba-head p {
  font-size: 15px;
  color: var(--mute);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ba-side {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.ba-side.after {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.ba-side-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ba-side.before .ba-side-cover { background: #2A1A0A; }
.ba-side.after .ba-side-cover { background: var(--ink); }

.ba-side-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ba-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.ba-side.before .ba-tag { background: var(--warn); color: #fff; }
.ba-side.after .ba-tag { background: var(--ok); color: #fff; }

.ba-side-body { padding: 28px 30px 30px; }

.ba-side-body h4 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink);
}

.ba-side-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ba-side-body li {
  font-size: 14px;
  color: var(--steel);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.ba-side.before li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--warn);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}

.ba-side.after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Equipment 使用设备 ---------- */
.case-equipment {
  padding: 100px 0;
  background: #fff;
}

.equipment-head {
  text-align: center;
  margin-bottom: 56px;
}

.equipment-head .eyebrow {
  display: inline-block;
}

.equipment-head h2 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin: 6px 0 14px;
  color: var(--ink);
}

.equipment-head p {
  font-size: 15px;
  color: var(--mute);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.equipment-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 56px 56px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.eq-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eq-info h3 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eq-info p {
  font-size: 14.5px;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 28px;
}

.eq-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.eq-spec .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eq-spec .val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eq-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eq-visual {
  background: linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.eq-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,82,217,.3), transparent 50%);
}

.eq-visual svg {
  position: relative;
  height: 280px;
  width: auto;
}

/* ---------- Related Cases ---------- */
.related-cases {
  padding: 90px 0 110px;
  background: var(--bg);
}

.related-cases-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.related-cases-head h2 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.rc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  color: inherit;
  display: flex;
  flex-direction: column;
}

.rc-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.rc-cover {
  background: linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
  aspect-ratio: 5/2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rc-body { padding: 22px 24px 24px; }

.rc-no {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rc-body h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}

.rc-client {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.08em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* 列表页 */
  .ap-hero h1 { font-size: 44px; }
  .ap-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ap-stat:nth-child(3) { border-left: none; }
  .ap-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .ap-case-grid { grid-template-columns: repeat(2, 1fr); }

  /* 详情页 */
  .case-hero h1 { font-size: 44px; }
  .case-hero-illustration { display: none; }
  .case-keystats-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .equipment-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .rc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* 列表页 */
  .ap-hero { min-height: 440px; }
  .ap-hero-inner { padding: 56px 20px 120px; }
  .ap-hero h1 { font-size: 32px; }
  .ap-stats { margin-top: -56px; }
  .ap-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ap-stat { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .ap-stat:nth-child(1), .ap-stat:nth-child(2) { border-top: none; }
  .ap-cats { padding: 56px 0 24px; }
  .ap-cat-grid { grid-template-columns: 1fr; }
  .ap-trust-inner { grid-template-columns: 1fr; gap: 20px; }
  .ap-cases { padding: 56px 0 72px; }
  .ap-case-grid { grid-template-columns: 1fr; }
  .ap-cta-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }

  /* 详情页 */
  .case-hero { padding: 56px 0 80px; }
  .case-hero h1 { font-size: 32px; }
  .story-block { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .story-num { font-size: 36px; }
  .story-content h3 { font-size: 24px; }
  .ba-head h2, .equipment-head h2 { font-size: 30px; }
  .rc-grid { grid-template-columns: 1fr; }
  .related-cases-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
