/* ============================================================
   SOP 视觉防差错检测 — Detail Page
   Reuses styles.css tokens. Self-contained banner (mirrors
   board-inspection .bp-banner so heights match exactly).
   ============================================================ */

/* ---------- BANNER — light blueprint (与首页深色 Hero 区分) ---------- */
.bp-banner {
  position: relative;
  background: #FBFBFA;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  min-height: clamp(480px, 60vh, 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bp-banner-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 1;
}
.bp-banner-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 60% 40%;
  filter: saturate(.96) contrast(1.03);
}
.bp-banner-bg::after, .bp-banner-veil {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251, 251, 250, 0.99) 0%,
    rgba(251, 251, 250, 0.975) 50%,
    rgba(251, 251, 250, 0.80) 70%,
    rgba(251, 251, 250, 0.32) 88%,
    rgba(251, 251, 250, 0.06) 100%
  );
}
.bp-banner-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(22,80,168,.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.085) 1px, transparent 1px),
    linear-gradient(rgba(22,80,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 30%, transparent 100%);
}
.bp-banner::before, .bp-banner::after {
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(30,160,151,.55);
  z-index: 2;
  pointer-events: none;
}
.bp-banner::before {
  top: 96px; left: 36px;
  border-right: none; border-bottom: none;
}
.bp-banner::after {
  bottom: 36px; right: 36px;
  border-left: none; border-top: none;
  border-color: rgba(22,80,168,.45);
}
.bp-banner-glow {
  position: absolute; z-index: 1;
  left: 18%; top: 45%;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.bp-banner-glow.b {
  right: 0; bottom: 0; left: auto; top: auto;
  width: 40%; height: 60%;
  background: linear-gradient(135deg, transparent 0%, rgba(31,188,156,0.08) 100%);
}
.bp-banner-inner {
  position: relative; z-index: 5;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  align-self: center;
  padding: clamp(48px, 6vw, 72px) clamp(36px, 4vw, 72px) clamp(40px, 5vw, 60px);
}
.bp-banner-col {
  max-width: 760px;
}
.bp-eyebrow {
  display: inline-flex;
  font-family: var(--font-en);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 34px;
}
.bp-title {
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  max-width: 100%;
}
.bp-title .accent { color: var(--green-600); }
.bp-sub {
  font-size: 17px;
  color: #2A3A40;
  margin: 22px 0 0;
  max-width: 600px;
  line-height: 1.65;
}
.bp-banner-actions {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.bp-banner-actions .btn { padding: 13px 26px; font-size: 15px; }
.bp-keywords {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 30px;
}
.bp-kw {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bp-kw::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}

@media (max-width: 720px) {
  .bp-title { font-size: clamp(30px, 8vw, 44px); }
}

/* ---------- SPLIT BANNER (text left · detection screen right) ---------- */
.bp-banner--split {
  background:
    radial-gradient(120% 90% at 78% 28%, #EEF3FA 0%, #E9F0F8 38%, #FBFBFA 78%);
  min-height: clamp(560px, 70vh, 700px);
}
.bp-banner--split .bp-banner-glow {
  left: 8%; top: 40%;
  width: 520px; height: 420px;
}
.bp-banner--split .bp-banner-glow.b {
  right: -4%; top: 8%; bottom: auto; left: auto;
  width: 46%; height: 78%;
  background: radial-gradient(closest-side, rgba(30,160,151,.10), transparent 72%);
}
.bp-banner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.bp-banner--split .bp-banner-col { max-width: 600px; }

@media (max-width: 1040px) {
  .bp-banner-layout { grid-template-columns: 1fr; gap: 40px; }
  .bp-banner--split .bp-banner-col { max-width: 640px; }
  .bp-screen-wrap { max-width: 600px; }
}

/* ---------- Detection screen widget ---------- */
.bp-screen-wrap { width: 100%; justify-self: end; }
.bps-screen {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #11254a, #0d1b33);
  border: 1px solid rgba(120,155,210,0.22);
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(20,45,90,0.26), 0 0 0 1px rgba(255,255,255,0.5);
}
.bps-screen::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,180,255,0.5), transparent);
}
.bps-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(90,130,190,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,130,190,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bps-top {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 16px; position: relative; z-index: 2;
}
.bps-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ce592; box-shadow: 0 0 10px #2ce592;
  animation: bpsBlink 1.6s ease-in-out infinite;
}
@keyframes bpsBlink { 0%,100%{opacity:1} 50%{opacity:.35} }
.bps-live { font-size: 12px; color: #6f88af; letter-spacing: 1px; font-weight: 600; }
.bps-station { margin-left: auto; font-size: 11.5px; color: #6f88af; white-space: nowrap; }

.bps-main {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 13px;
  position: relative; z-index: 2;
}
.bps-feed {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2c3645, #232c3a);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(120,155,210,0.18);
}
.bps-feed-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.bps-part-a {
  position: absolute; left: 20%; top: 42%;
  width: 32%; height: 32%;
  background: rgba(150,162,180,0.5); border-radius: 3px;
}
.bps-part-b {
  position: absolute; left: 42%; top: 52%;
  width: 28%; height: 26%;
  background: rgba(108,120,140,0.5); border-radius: 3px;
}
.bps-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 64px;
  background: linear-gradient(to bottom, transparent, rgba(44,229,146,0.14), transparent);
  animation: bpsScan 3.4s linear infinite; z-index: 2;
}
@keyframes bpsScan { 0%{transform:translateY(-80px)} 100%{transform:translateY(360px)} }
.bps-detect-box {
  position: absolute; left: 18%; top: 32%;
  width: 36%; height: 46%;
  border: 2.5px solid #2ce592; border-radius: 4px; z-index: 3;
  box-shadow: 0 0 18px rgba(44,229,146,0.4), inset 0 0 12px rgba(44,229,146,0.1);
  animation: bpsPulse 2.2s ease-in-out infinite;
}
@keyframes bpsPulse {
  0%,100% { box-shadow: 0 0 16px rgba(44,229,146,0.3), inset 0 0 10px rgba(44,229,146,0.08); }
  50% { box-shadow: 0 0 30px rgba(44,229,146,0.6), inset 0 0 16px rgba(44,229,146,0.18); }
}
.bps-corner { position: absolute; width: 11px; height: 11px; border: 2.5px solid #2ce592; }
.bps-corner.tl { top:-2px; left:-2px; border-right:none; border-bottom:none; }
.bps-corner.tr { top:-2px; right:-2px; border-left:none; border-bottom:none; }
.bps-corner.bl { bottom:-2px; left:-2px; border-right:none; border-top:none; }
.bps-corner.br { bottom:-2px; right:-2px; border-left:none; border-top:none; }
.bps-tag {
  position: absolute; top:-23px; left:-2.5px;
  background: #2ce592; color: #053620;
  font-family: var(--font-en), "SF Mono", Consolas, monospace;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 3px; white-space: nowrap;
}
.bps-feed-time {
  position: absolute; top: 9px; left: 11px; z-index: 4;
  color: #ff6b6b;
  font-family: var(--font-en), "SF Mono", Consolas, monospace;
  font-size: 11px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.bps-ok {
  position: absolute; right: 14px; bottom: 10px; z-index: 4;
  font-family: var(--font-en);
  font-size: 36px; font-weight: 800;
  color: #2ce592; letter-spacing: 2px; line-height: 1;
  text-shadow: 0 0 22px rgba(44,229,146,0.5);
}

.bps-steps { display: flex; flex-direction: column; }
.bps-steps-title {
  font-size: 13px; font-weight: 700; color: #d6e3f7;
  margin-bottom: 11px; text-align: center;
}
.bps-step {
  background: #16284a;
  border: 1px solid rgba(120,155,210,0.22);
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 12px; color: #b4c5de;
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.bps-num {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(44,229,146,0.15); color: #2ce592;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-en);
  display: grid; place-items: center; flex-shrink: 0;
}
.bps-step .bps-chk { margin-left: auto; color: #2ce592; font-weight: 700; font-size: 13px; }
.bps-step.cur {
  border-color: rgba(44,229,146,0.5);
  box-shadow: 0 0 12px rgba(44,229,146,0.12);
}
.bps-time {
  margin-left: auto;
  font-family: var(--font-en), "SF Mono", Consolas, monospace;
  font-size: 10.5px; color: #6f88af;
}

.bps-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 13px;
  position: relative; z-index: 2;
}
.bps-metric {
  background: #16284a;
  border: 1px solid rgba(120,155,210,0.22);
  border-radius: 10px;
  padding: 13px 10px; text-align: center;
}
.bps-m-label { font-size: 11px; color: #6f88af; margin-bottom: 6px; }
.bps-m-value { font-family: var(--font-en); font-size: 22px; font-weight: 800; line-height: 1; }
.bps-m-value.green { color: #2ce592; }
.bps-m-value.white { color: #d6e3f7; }
.bps-m-value.red { color: #ff6b6b; }

@media (prefers-reduced-motion: reduce) {
  .bps-dot, .bps-scanline, .bps-detect-box { animation: none; }
}
@media (max-width: 460px) {
  .bps-main { grid-template-columns: 1fr; }
  .bps-feed { aspect-ratio: 16 / 10; }
}

/* ============================================================
   1. CORE CAPABILITIES · 两大核心能力
   ============================================================ */
.cc-section { background: var(--bg); }

.cc-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: stretch;
}

/* ---- Left: dark detection monitor ---- */
.cc-monitor {
  background: #0F1D38;
  border: 1px solid rgba(120,150,200,0.22);
  border-radius: 18px;
  padding: 22px 22px 20px;
  position: relative;
  box-shadow: 0 24px 60px rgba(15,30,60,.22);
  display: flex; flex-direction: column;
}
.cc-monitor::before {
  content: "";
  position: absolute;
  top: 20px; left: 22px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: ccpulse 2.2s ease-in-out infinite;
}
@keyframes ccpulse {
  0%,100% { opacity: 1; }
  50% { opacity: .45; }
}
.cc-monitor-label {
  position: absolute;
  top: 16px; left: 40px;
  font-size: 12px;
  color: #7C93B6;
  letter-spacing: .04em;
  font-weight: 500;
}
.cc-monitor-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.cc-feed {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  overflow: hidden;
  background: #2B3340;
  font-family: var(--font-en);
}
.cc-feed img {
  width: 100%; height: 100%; object-fit: cover;
}
.cc-feed-time {
  position: absolute;
  top: 9px; left: 11px;
  color: #FF8A8A;
  font-size: 11.5px;
  letter-spacing: .03em;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  z-index: 3;
}
.cc-feed-conf {
  position: absolute;
  bottom: 10px; left: 11px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(52,211,153,.92);
  color: #04321F;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  z-index: 3;
}
.cc-feed-conf::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #04321F;
}

.cc-feed-side { display: flex; flex-direction: column; }
.cc-steps-title {
  font-size: 13px;
  font-weight: 700;
  color: #EAF1FB;
  text-align: center;
  margin-bottom: 11px;
  letter-spacing: .02em;
}
.cc-step {
  background: #1C2C45;
  border: 1px solid rgba(120,150,200,0.22);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: #AEBFD8;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 9px;
}
.cc-step .n {
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(120,150,200,.18);
  color: #8FA6C8;
  font-size: 10px; font-weight: 700;
  font-family: var(--font-en);
  flex-shrink: 0;
}
.cc-step .chk { margin-left: auto; color: #34D399; font-weight: 700; }
.cc-ok {
  margin-top: auto;
  text-align: center;
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 800;
  color: #34D399;
  letter-spacing: 2px;
  text-shadow: 0 0 24px rgba(52,211,153,.4);
  line-height: 1;
  padding-top: 12px;
}

.cc-stats {
  margin-top: 16px;
  background: #13233F;
  border: 1px solid rgba(120,150,200,0.28);
  border-radius: 12px;
  padding: 18px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cc-stat { text-align: center; border-right: 1px solid rgba(120,150,200,0.18); }
.cc-stat:last-child { border-right: none; }
.cc-stat-k { font-size: 11.5px; color: #7C93B6; margin-bottom: 8px; }
.cc-stat-v { font-family: var(--font-en); font-size: 25px; font-weight: 800; letter-spacing: -.01em; }
.cc-stat-v.green { color: #34D399; }
.cc-stat-v.white { color: #EAF1FB; }
.cc-stat-v.amber { color: #F5B13D; }
.cc-stat-v.red { color: #FF6B6B; }

/* ---- Right: capability cards ---- */
.cc-cards { display: flex; flex-direction: column; gap: 16px; }
.cc-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cc-accent);
  border-radius: 14px;
  padding: 24px 26px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 4px 16px rgba(15,30,60,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cc-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 34px rgba(15,30,60,.10);
}
.cc-card.green  { --cc-accent: var(--green); }
.cc-card.blue   { --cc-accent: var(--blue); }
.cc-card.amber  { --cc-accent: #D9822B; }

.cc-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.cc-card-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cc-accent); flex-shrink: 0;
}
.cc-card-title { font-size: 21px; font-weight: 700; color: var(--cc-accent); }
.cc-card-desc { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; }
.cc-card-tags {
  margin-top: 13px;
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: .02em;
  font-weight: 500;
}

@media (max-width: 980px) {
  .cc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cc-monitor-grid { grid-template-columns: 1fr; }
  .cc-ok { padding-top: 4px; }
}

/* ============================================================
   2. PLATFORM · SOP 防差错检测平台底座
   ============================================================ */
.pf-section {
  position: relative;
  background: #F4F7FC;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.pf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pf-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22,80,168,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,80,168,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, black 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, black 30%, transparent 95%);
}
.pf-glow {
  position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,160,151,.16), transparent 70%);
  left: -260px; top: -200px;
  filter: blur(40px);
}
.pf-glow.b {
  right: -300px; bottom: -280px; left: auto; top: auto;
  background: radial-gradient(closest-side, rgba(22,80,168,.18), transparent 70%);
}
.pf-section .container { position: relative; z-index: 1; }
.pf-section .section-head.light .section-sub { color: var(--muted); }
.pf-section .section-head.light .section-title { color: var(--ink); }
.pf-section .section-head.light .eyebrow { color: var(--green-600); }
.pf-section .section-head.light .eyebrow::before { background: var(--green-600); }
.pf-section .pf-title {
  white-space: normal;
  text-wrap: balance;
  max-width: 1040px;
}

/* ============================================================
   PLATFORM MODULE (uploaded) · ps-
   ============================================================ */
.pf-section {
  --ps-green: #1EA097;
  --ps-teal: #15A294;
  --ps-blue: #1650A8;
  --ps-blue-deep: #123F86;
  --ps-orange: #C8791F;
  --ps-purple: #5654B8;
}
.ps-head { margin-bottom: 14px; }
.ps-section-title {
  white-space: nowrap;
  font-size: clamp(22px, 2.7vw, 38px);
}
@media (max-width: 720px) {
  .ps-section-title { white-space: normal; font-size: 24px; }
}
.ps-title {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 14px;
}
.ps-title .light { color: var(--ps-blue); }
.ps-subtitle {
  font-size: 19px; font-weight: 600;
  color: var(--green-600); margin-bottom: 18px;
}
.ps-lead {
  font-size: 16px; line-height: 1.85;
  color: var(--muted); max-width: 820px; margin-bottom: 46px;
}

.ps-block-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 22px;
}
.ps-block-label::before {
  content: ""; width: 4px; height: 16px;
  background: var(--ps-blue); border-radius: 2px;
}
.ps-block-label.mt { margin-top: 34px; }

/* Flow A */
.ps-flow-a {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 34px 38px;
  box-shadow: 0 6px 20px rgba(20,45,90,0.05); margin-bottom: 18px;
}
.ps-flow-top {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 26px; flex-wrap: wrap;
}
.ps-pill {
  background: linear-gradient(135deg, var(--ps-teal), var(--ps-green));
  color: #fff; font-size: 17px; font-weight: 700;
  padding: 14px 32px; border-radius: 10px;
  box-shadow: 0 8px 20px rgba(21,162,148,0.25);
}
.ps-arrow { font-size: 22px; color: var(--ps-teal); font-weight: 800; }
.ps-dims {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 26px;
}
.ps-dim {
  background: linear-gradient(135deg, rgba(22,80,168,0.07), rgba(30,160,151,0.08));
  border: 1px solid rgba(22,80,168,0.18);
  border-radius: 10px; padding: 18px 14px;
  text-align: center; font-size: 15px; font-weight: 600;
  color: var(--ps-blue-deep); position: relative;
}
.ps-dim:not(:last-child)::after {
  content: "+"; position: absolute; right: -11px; top: 50%;
  transform: translateY(-50%);
  color: var(--ps-teal); font-weight: 800; font-size: 18px; z-index: 2;
}
.ps-flow-result {
  background: linear-gradient(135deg, var(--ps-teal), var(--ps-blue));
  color: #fff; text-align: center;
  font-size: 16px; font-weight: 600;
  padding: 16px; border-radius: 10px; letter-spacing: .02em;
}

/* Five capabilities */
.ps-caps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin: 30px 0 18px;
}
.ps-cap {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px; padding: 22px 18px;
  box-shadow: 0 4px 14px rgba(20,45,90,0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ps-cap:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,45,90,0.1); }
.ps-cap.c1 { --accent: var(--ps-green); }
.ps-cap.c2 { --accent: var(--ps-teal); }
.ps-cap.c3 { --accent: var(--ps-blue); }
.ps-cap.c4 { --accent: var(--ps-orange); }
.ps-cap.c5 { --accent: var(--ps-purple); }
.ps-cap-name { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.ps-cap-text { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* Flow B · training loop */
.ps-flow-b {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 34px 38px;
  box-shadow: 0 6px 20px rgba(20,45,90,0.05);
}
.ps-loop {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.ps-loop-node {
  display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1;
}
.ps-loop-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(22,80,168,0.1), rgba(30,160,151,0.1));
  border: 1px solid rgba(22,80,168,0.2);
  display: grid; place-items: center; color: var(--ps-blue);
}
.ps-loop-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.ps-loop-arrow {
  color: var(--ps-blue); font-size: 20px; font-weight: 800;
  padding: 0 6px; margin-bottom: 24px;
}
.ps-loop-result {
  background: linear-gradient(135deg, rgba(22,80,168,0.06), rgba(30,160,151,0.06));
  border: 1px dashed rgba(22,80,168,0.3);
  border-radius: 10px; padding: 14px; text-align: center;
  font-size: 14px; color: var(--muted);
}
.ps-loop-result b { color: var(--ps-blue-deep); font-weight: 700; }

.ps-cta-bar {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(30,160,151,0.12), rgba(30,160,151,0.05));
  border: 1px solid rgba(30,160,151,0.24);
  border-radius: 16px;
  padding: 18px 28px;
}
.ps-new-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #E8993D, #D9822B);
  color: #fff; font-weight: 800; font-size: 13px;
  letter-spacing: .1em; font-family: var(--font-en);
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(217,130,43,.32);
}
.ps-new-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.85);
  animation: bpsBlink 1.6s ease-in-out infinite;
}
.ps-cta-text {
  font-size: 18px; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
}

@media (max-width: 1000px) {
  .ps-dims { grid-template-columns: repeat(2, 1fr); }
  .ps-dim:nth-child(2)::after { display: none; }
  .ps-caps { grid-template-columns: repeat(2, 1fr); }
  .ps-loop { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .ps-loop-arrow { display: none; }
  .ps-title { font-size: 30px; }
  .ps-flow-a, .ps-flow-b { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .ps-caps { grid-template-columns: 1fr; }
  .ps-dims { grid-template-columns: 1fr; }
  .ps-dim::after { display: none !important; }
}

/* ============================================================
   3. SCENARIOS · 应用场景
   ============================================================ */
.sc-section { background: var(--bg); }
.sc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sc-card {
  position: relative;
  background: #FBFBF8;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15,30,60,.10);
  border-color: rgba(22,80,168,.18);
}
.sc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0F1D38;
}
.sc-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.sc-card:hover .sc-media img { transform: scale(1.05); }
.sc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,29,56,.30) 100%);
  pointer-events: none;
}
.sc-content {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column;
}
.sc-no {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 18px;
}
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.sc-en {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sc-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: auto 0 0;
}

@media (max-width: 980px) {
  .sc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   4. CUSTOMER CASES · 单卡片（参考智能贴敷样式）
   ============================================================ */
.bcase-section { background: linear-gradient(180deg, #FBFBF8 0%, white 100%); }

.sa-case-wrap { max-width: 1000px; margin: 0 auto; }
.sa-case-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(15,30,60,.05);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: row; align-items: stretch;
  gap: 36px;
  min-height: 360px;
}
.sa-case-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 6px 0 6px 6px; }
.sa-case-media { flex: 0 0 40%; max-width: 400px; border-radius: 14px; overflow: hidden; background: var(--bg-tint, #F4F7FC); }
.sa-case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sa-case-card:hover { transform: translateY(-4px); border-color: rgba(30,160,151,.4); box-shadow: 0 18px 40px rgba(15,30,60,.10); }
.sa-case-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); margin-bottom: 20px; }
.sa-case-meta .num { color: var(--green); font-weight: 600; }
.sa-case-meta .sep { color: rgba(15,30,60,.25); }
.sa-case-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); margin: 0 0 12px; }
.sa-case-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 0 0 28px; flex: 1; }
.sa-case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sa-case-tag { display: inline-flex; align-items: center; padding: 5px 10px; font-size: 12px; color: var(--ink-2); background: #F4F7FC; border: 1px solid var(--line); border-radius: 6px; letter-spacing: .02em; }
.sa-case-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--green-600, #117A72); letter-spacing: .02em; }
.sa-case-cta svg { transition: transform .2s; }
.sa-case-card:hover .sa-case-cta svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .sa-case-card { flex-direction: column; gap: 24px; }
  .sa-case-media { flex: none; max-width: none; height: 200px; order: -1; }
  .sa-case-body { padding: 0; }
}

/* ============================================================
   PLAN COMPARE · 方案选择对比 (uploaded)
   ============================================================ */
.pc-section { background: #F4F7FB; }
.pc-compare {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(20,45,90,0.07);
}
.pc-row {
  display: grid; grid-template-columns: 0.85fr 1.1fr 1.1fr;
  border-bottom: 1px solid var(--line);
}
.pc-row:last-child { border-bottom: none; }
.pc-row-header { border-bottom: 2px solid #cdd9ea; }
.pc-cell {
  padding: 22px 26px; display: flex; align-items: center;
  font-size: 14.5px; line-height: 1.6;
}
.pc-dim { color: var(--ink-2); font-weight: 600; background: #fafcff; font-size: 14px; }
.pc-single { color: var(--muted); }
.pc-platform {
  color: var(--ink); font-weight: 600;
  background: linear-gradient(180deg, rgba(30,160,151,0.05), rgba(22,80,168,0.03));
}
.pc-headcell { flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; }
.pc-phead {
  background: linear-gradient(135deg, rgba(30,160,151,0.1), rgba(22,80,168,0.08));
  position: relative;
}
.pc-empty { background: #fafcff; }
.pc-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 20px;
}
.pc-tag-s { background: #eef2f8; color: var(--ink-2); }
.pc-tag-p { background: var(--green); color: #fff; }
.pc-name { font-size: 19px; font-weight: 800; }
.pc-name-s { color: var(--ink); }
.pc-name-p { color: #123F86; }

.pc-summary {
  margin-top: 28px;
  background: linear-gradient(135deg, #11254a, #0d1b33);
  border-radius: 16px; padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-around;
  gap: 20px; box-shadow: 0 16px 40px rgba(20,45,90,0.2);
}
.pc-sum-intro { color: #8ba3c7; font-size: 14px; line-height: 1.7; max-width: 180px; }
.pc-sum-intro b { color: #fff; font-weight: 700; }
.pc-sum-items { display: flex; gap: 40px; }
.pc-sum-item { text-align: center; }
.pc-sum-word { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.pc-w1 .pc-sum-word { color: #2ce592; }
.pc-w2 .pc-sum-word { color: #4ec8c0; }
.pc-w3 .pc-sum-word { color: #5fa8ff; }
.pc-sum-desc { font-size: 12.5px; color: #8ba3c7; line-height: 1.5; }

@media (max-width: 900px) {
  .pc-row { grid-template-columns: 1fr; }
  .pc-dim { border-bottom: 1px solid var(--line); }
  .pc-empty { display: none; }
  .pc-summary { flex-direction: column; }
  .pc-sum-items { flex-direction: column; gap: 24px; }
}
