.page-products {
  --pr-panel: #0E2A22;
  --pr-edge: rgba(36, 71, 60, 0.95);
  --pr-soft: rgba(56, 242, 207, 0.3);
  overflow-x: clip;
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-products .breadcrumbs {
  margin-top: clamp(18px, 3vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  display: grid;
  gap: clamp(22px, 5vw, 44px);
  margin: clamp(16px, 3vw, 26px) 0 clamp(34px, 6vw, 68px);
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 95% at 88% 0%, rgba(56, 242, 207, 0.12), transparent 62%),
    linear-gradient(158deg, #0B231C 0%, #071C17 72%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.page-products .pr-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 3px;
  height: 64px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  border-radius: 0 3px 3px 0;
}

.page-products .pr-hero__copy h1 {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--cream);
  max-width: 18em;
}

.page-products .lede {
  margin: 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--fog);
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-products .pr-hero__actions--inline {
  margin-top: 18px;
}

.page-products .pr-hero__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.page-products .pr-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 9px;
  border-top: 2px solid rgba(56, 242, 207, 0.42);
}

.page-products .pr-fact__num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
}

.page-products .pr-fact__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-products .pr-hero__device {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(56, 242, 207, 0.32);
  border-radius: 26px;
  background: rgba(7, 28, 23, 0.78);
  box-shadow: inset 0 0 0 1px rgba(216, 231, 226, 0.04);
}

.page-products .pr-hero__device img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.page-products .pr-hero__device figcaption {
  margin-top: 10px;
  padding-left: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* ---------- 章节 ---------- */
.page-products .section {
  padding-block: clamp(30px, 5.5vw, 60px);
  border-top: 1px solid rgba(36, 71, 60, 0.62);
}

.page-products .chapter {
  display: grid;
  gap: 12px;
}

.page-products .chapter__no {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
  color: var(--cyan);
  opacity: 0.55;
}

.page-products .chapter__body h2 {
  margin: 6px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 36px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.page-products .chapter__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.page-products .chapter__body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--fog);
}

/* ---------- 设备卡 ---------- */
.page-products .pr-devices {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .pr-device {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: linear-gradient(168deg, rgba(14, 42, 34, 0.92), rgba(7, 28, 23, 0.92));
}

.page-products .pr-device__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid rgba(243, 182, 75, 0.45);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-products .pr-device p {
  margin: 0 0 auto;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pr-device .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- 图片 ---------- */
.page-products .pr-figure {
  margin: 24px 0 0;
  padding: 10px;
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 23, 0.72);
}

.page-products .pr-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-products .pr-figure figcaption {
  margin-top: 9px;
  padding-left: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 版本路径 ---------- */
.page-products .pr-step {
  margin-top: 20px;
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: rgba(14, 42, 34, 0.72);
}

.page-products .pr-step summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.page-products .pr-step summary::-webkit-details-marker {
  display: none;
}

.page-products .pr-step summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .pr-step[open] summary::after {
  content: "–";
}

.page-products .pr-step summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .pr-step__body {
  padding: 4px 16px 20px;
  border-top: 1px solid rgba(36, 71, 60, 0.72);
}

.page-products .pr-path {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: prpath;
}

.page-products .pr-path li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--fog);
  border-left: 2px solid rgba(56, 242, 207, 0.4);
}

.page-products .pr-path__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 2px;
}

.page-products .pr-version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(56, 242, 207, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 23, 0.85);
  box-shadow: 0 0 0 3px rgba(56, 242, 207, 0.06);
}

.page-products .pr-version__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-products .pr-version__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.page-products .pr-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-left: 2px solid rgba(243, 182, 75, 0.6);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
  background: rgba(7, 28, 23, 0.6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- 控球率条 ---------- */
.page-products .pr-poss {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 23, 0.72);
}

.page-products .pr-poss__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-products .pr-poss__row--num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-top: 8px;
}

.page-products .pr-poss__track {
  display: flex;
  height: 16px;
  margin-top: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(36, 71, 60, 0.55);
}

.page-products .pr-poss__home {
  background: linear-gradient(90deg, #38F2CF, #2BC5AB);
}

.page-products .pr-poss__away {
  background: linear-gradient(90deg, #F3B64B, #C8912E);
}

/* ---------- 指标网格 ---------- */
.page-products .pr-metrics {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.page-products .pr-metrics li {
  padding: 9px 12px;
  border-left: 2px solid rgba(56, 242, 207, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(14, 42, 34, 0.7);
  font-size: 14px;
  color: var(--fog);
}

/* ---------- 勾选清单 ---------- */
.page-products .pr-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pr-checklist li {
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: rgba(14, 42, 34, 0.72);
}

.page-products .pr-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  cursor: pointer;
}

.page-products .pr-checklist input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid rgba(56, 242, 207, 0.55);
  border-radius: 5px;
  background: rgba(7, 28, 23, 0.9);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-products .pr-checklist input[type="checkbox"]:checked {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 242, 207, 0.16);
}

.page-products .pr-checklist input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .pr-check__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .pr-check__text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.page-products .pr-check__text span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 场景 ---------- */
.page-products .pr-scenes {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.page-products .pr-scene {
  padding: 18px;
  border: 1px solid var(--pr-edge);
  border-radius: var(--radius-sm);
  background: linear-gradient(172deg, rgba(14, 42, 34, 0.92), rgba(7, 28, 23, 0.92));
}

.page-products .pr-scene p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .pr-support {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(243, 182, 75, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(7, 28, 23, 0.7);
}

.page-products .pr-support p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog);
}

/* ---------- 尾行动区 ---------- */
.page-products .pr-cta {
  position: relative;
  isolation: isolate;
  margin-top: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(56, 242, 207, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pr-cta img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-products .pr-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(118deg, rgba(7, 28, 23, 0.96) 12%, rgba(7, 28, 23, 0.55) 78%);
}

.page-products .pr-cta__inner {
  padding: clamp(24px, 5vw, 52px);
  display: grid;
  gap: 12px;
}

.page-products .pr-cta__inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
}

.page-products .pr-cta__inner p {
  margin: 0;
  max-width: 42em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--fog);
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-products .pr-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pr-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-products .pr-devices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pr-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .pr-hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
    align-items: center;
  }

  .page-products .pr-hero__device {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 980px) {
  .page-products .chapter {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 42px);
    align-items: start;
  }

  .page-products .chapter__no {
    position: sticky;
    top: 96px;
  }

  .page-products .pr-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 32px;
  }

  .page-products .pr-cta__inner h2,
  .page-products .pr-cta__inner p {
    grid-column: 1;
  }

  .page-products .pr-cta__inner .pr-hero__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-checklist input[type="checkbox"] {
    transition: none;
  }
}
