/* =========================================================
   自助打印系统 · 产品详情页
   浅色极光 + 白玻璃 + 自助终端
   ========================================================= */

.bp-print {
  --pr-ink: #061426;
  --pr-blue: #1366ec;
  --pr-cyan: #5c99ff;
  --pr-violet: #8b5cf6;
  --pr-green: #0f9f8a;
  --pr-amber: #f59e0b;
  --pr-paper: #f4f7fb;
  --pr-cream: #eaf1f8;
  --pr-line: rgba(13, 41, 70, 0.1);
  --pr-line-strong: rgba(13, 41, 70, 0.17);
  --pr-muted: #5c7088;
  --pr-muted-2: #8798ab;
  background: var(--pr-paper);
}

.bp-print .container {
  width: min(calc(100% - 48px), 1200px);
}

/* ---------- Hero ---------- */

.bp-print .pr-hero {
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 66px;
}

.pr-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 56px;
  align-items: center;
}

.bp-print .pr-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.2vw, 66px);
}

.bp-print .page-hero__sub {
  max-width: 620px;
}

.pr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.pr-hero .page-hero__meta {
  margin-top: 30px;
}

/* 终端 */

.pr-kiosk-wrap {
  position: relative;
  width: min(100%, 400px);
  margin-left: auto;
}

.pr-kiosk {
  position: relative;
  padding: 14px;
  background: #0c2748;
  border-radius: 26px;
  box-shadow:
    0 34px 70px -26px rgba(6, 24, 60, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(-0.8deg);
}

.pr-kiosk__screen {
  overflow: hidden;
  background: #f5f9ff;
  border-radius: 18px;
}

.pr-kiosk__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #fff;
  background: var(--grad-brand);
}

.pr-kiosk__top strong {
  font-size: 11px;
  font-weight: 700;
}

.pr-kiosk__top span {
  padding: 2px 7px;
  color: var(--pr-blue);
  background: #fff;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 650;
}

.pr-kiosk__body {
  padding: 13px;
}

.pr-kiosk__hello {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--pr-muted);
  font-size: 9px;
}

.pr-kiosk__hello b {
  color: var(--pr-green);
  font-size: 9px;
}

.pr-files {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pr-file {
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(19, 102, 236, 0.08);
  border-radius: 8px;
}

.pr-file i {
  display: block;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #1366ec, #5c99ff);
  border-radius: 5px;
  opacity: 0.8;
}

.pr-file strong {
  display: block;
  margin-top: 7px;
  color: var(--pr-ink);
  font-size: 9.5px;
  font-weight: 600;
}

.pr-file span {
  display: block;
  margin-top: 2px;
  color: var(--pr-muted-2);
  font-size: 8px;
}

.pr-print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
  padding: 10px;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 650;
}

.pr-kiosk__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  color: var(--pr-muted-2);
  border-top: 1px dashed var(--pr-line);
  font-size: 8px;
}

.pr-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--pr-ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 14px 30px -16px rgba(6, 24, 60, 0.34);
  font-size: 10px;
  font-weight: 600;
}

.pr-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--pr-green);
  border-radius: 50%;
}

.pr-chip--a { top: -36px; right: -14px; }
.pr-chip--b { bottom: -18px; left: -18px; }

/* ---------- 通用 ---------- */

.pr-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.pr-head h2 {
  margin: 0;
  color: var(--pr-ink);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.pr-head > p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--pr-muted);
  font-size: var(--fs-md);
  line-height: 1.9;
}

/* ---------- 痛点 ---------- */

.pr-pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pr-pain {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pr-pain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pr-pain__num {
  color: rgba(19, 102, 236, 0.3);
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.pr-pain h3 {
  margin: 16px 0 5px;
  color: var(--pr-ink);
  font-size: var(--fs-md);
  font-weight: 700;
}

.pr-pain p {
  margin: 0;
  color: var(--pr-muted);
  font-size: var(--fs-2xs);
  line-height: 1.75;
}

/* ---------- 流程 ---------- */

.pr-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pr-step {
  position: relative;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.pr-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 2;
  color: rgba(19, 102, 236, 0.34);
  font-size: 15px;
  transform: translateY(-50%);
}

.pr-step:last-child::after { display: none; }

.pr-step span {
  color: var(--pr-blue);
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
}

.pr-step h3 {
  margin: 9px 0 5px;
  color: var(--pr-ink);
  font-size: var(--fs-md);
  font-weight: 700;
}

.pr-step p {
  margin: 0;
  color: var(--pr-muted);
  font-size: var(--fs-2xs);
  line-height: 1.7;
}

/* ---------- 文件类型 ---------- */

.pr-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pr-type {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.pr-type i {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1366ec, #5c99ff);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
}

.pr-type h3 {
  margin: 12px 0 4px;
  color: var(--pr-ink);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.pr-type p {
  margin: 0;
  color: var(--pr-muted);
  font-size: 11px;
  line-height: 1.65;
}

/* ---------- 核心功能 ---------- */

.pr-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pr-cap {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.pr-cap span {
  color: var(--pr-blue);
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 700;
}

.pr-cap h3 {
  margin: 9px 0 4px;
  color: var(--pr-ink);
  font-size: var(--fs-2xs);
  font-weight: 700;
}

.pr-cap p {
  margin: 0;
  color: var(--pr-muted);
  font-size: 11px;
  line-height: 1.7;
}

/* ---------- 硬件 ---------- */

.pr-hw {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.pr-hw__visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #eef4ff, #f9fcff);
  border: 1px solid rgba(19, 102, 236, 0.12);
  border-radius: 24px;
}

.pr-machine {
  position: relative;
  width: 150px;
  height: 220px;
  background: #0c2748;
  border-radius: 16px;
  box-shadow: 0 26px 50px -24px rgba(6, 24, 60, 0.4);
}

.pr-machine::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  height: 88px;
  background: linear-gradient(135deg, #2b5ce0, #5c99ff);
  border-radius: 7px;
}

.pr-machine::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 34px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.pr-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.pr-specs span {
  padding: 5px 9px;
  color: var(--pr-blue);
  background: rgba(19, 102, 236, 0.06);
  border: 1px solid rgba(19, 102, 236, 0.12);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}

/* ---------- 数据带 ---------- */

.pr-data-band {
  position: relative;
  padding: 44px;
  overflow: hidden;
  color: #fff;
  background: var(--v2-brand-band, linear-gradient(125deg, #094ebd, #1366ec 42%, #6366f1 74%, #8b5cf6));
  border-radius: 30px;
}

.pr-data-band::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.pr-data-band__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 24px;
}

.pr-data-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.pr-data-band__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  line-height: 1.9;
}

.pr-data-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pr-data-stat {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
}

.pr-data-stat strong {
  display: block;
  color: #fff;
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.pr-data-stat span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .pr-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pr-kiosk-wrap { margin: 0 auto; }

  .pr-pains,
  .pr-types {
    grid-template-columns: 1fr 1fr;
  }

  .pr-caps {
    grid-template-columns: 1fr 1fr;
  }

  .pr-hw {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pr-data-band__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .pr-flow {
    grid-template-columns: 1fr 1fr;
  }

  .pr-step:nth-child(2n)::after { display: none; }

  .pr-data-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .bp-print .container {
    width: min(calc(100% - 36px), 1200px);
  }

  .bp-print .pr-hero {
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: 54px;
  }

  .bp-print .pr-hero h1 {
    font-size: clamp(36px, 10.4vw, 50px);
  }

  .pr-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pr-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .pr-kiosk {
    transform: none;
  }

  .pr-chip--a { display: none; }
  .pr-chip--b { left: 0; }

  .pr-head h2 { font-size: 30px; }

  .pr-pains,
  .pr-types,
  .pr-caps,
  .pr-flow,
  .pr-data-stats {
    grid-template-columns: 1fr;
  }

  .pr-step::after { display: none; }

  .pr-data-band {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .pr-hero .page-hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}