/* ============================================
   AIC 行业应用 + 案例样式
   scenarios.html + case-zpmc.html 共用
   ============================================ */

/* ---------- 列表 Hero (scenarios.html) ---------- */
.sc-hero {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 82, 217, 0.32), transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(255, 184, 74, 0.12), transparent 50%),
    linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
}

.sc-hero::after {
  content: "";
  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;
}

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

.sc-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent-bright);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.sc-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;
  margin-bottom: 22px;
}

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

.sc-hero .lead {
  font-size: 16.5px;
  color: #B8C5DD;
  max-width: 720px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.sc-stats {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 64px;
}

.sc-stat .v {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.sc-stat .l {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #7A8AA8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- 6 大场景卡 ---------- */
.sc-grid-section {
  padding: 90px 0 110px;
  background: var(--bg);
}

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

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

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

.sc-card-cover {
  position: relative;
  background: linear-gradient(135deg, #0A1628 0%, #1B2A41 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.sc-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.sc-card-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sc-card-models {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #fff;
  background: rgba(255,184,74,.85);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.sc-card-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sc-card-body h3 {
  font-family: "Barlow Condensed", "Noto Sans SC", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.sc-card-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: -4px;
}

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

.sc-card-cases {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sc-card-cases span {
  font-size: 11.5px;
  color: var(--steel);
  background: var(--bg);
  padding: 3px 9px;
  border-radius: 4px;
}

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

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

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

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

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

/* ============================================
   案例详情页 (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) {
  .sc-hero h1, .case-hero h1 { font-size: 44px; }
  .sc-stats { gap: 32px; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .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) {
  .sc-hero, .case-hero { padding: 56px 0 80px; }
  .sc-hero h1, .case-hero h1 { font-size: 32px; }
  .sc-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sc-grid { grid-template-columns: 1fr; }
  .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; }
}
