.page-products {
  --p-gap: clamp(20px, 3vw, 32px);
  --p-sec: clamp(40px, 6vw, 76px);
  background: var(--night);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products * {
  box-sizing: border-box;
}

.page-products p {
  margin: 0 0 14px;
  max-width: 68ch;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  margin: 0;
  letter-spacing: -0.01em;
}

.page-products a {
  color: inherit;
}

.page-products .pr-wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* ---------- 面包屑 ---------- */
.page-products .pr-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: clamp(14px, 3vw, 26px);
  font-size: 13px;
  color: var(--mist);
}

.page-products .pr-crumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--t-fast);
}

.page-products .pr-crumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-products .pr-crumbs span[aria-hidden] {
  color: var(--line);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 5vw, 56px) clamp(34px, 6vw, 72px);
  background:
    radial-gradient(120% 90% at 6% 0%, rgba(95, 233, 255, 0.14), transparent 62%),
    linear-gradient(180deg, var(--teal) 0%, var(--night) 88%);
  border-bottom: 1px solid var(--line);
}

.page-products .pr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(118deg, rgba(95, 233, 255, 0.06) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.page-products .pr-hero__inner {
  position: relative;
  z-index: 1;
}

.page-products .pr-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0 0 14px;
}

.page-products h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 8vw, 82px);
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 18px;
}

.page-products .pr-lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ice);
  max-width: 60ch;
  margin: 0 0 24px;
}

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

.page-products .pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--ice);
  font-size: 14px;
  text-decoration: none;
  transition: var(--t-fast);
}

.page-products .pr-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--glass-soft);
}

.page-products .pr-btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-on-orange);
  font-weight: 600;
}

.page-products .pr-btn--primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-on-orange);
  filter: brightness(1.08);
}

.page-products .pr-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(26px, 5vw, 44px);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pr-hero__stat {
  padding: 16px 14px;
  background: rgba(6, 10, 20, 0.62);
}

.page-products .pr-hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 8px;
}

.page-products .pr-hero__stat .pr-unit {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
  margin-left: 6px;
}

.page-products .pr-hero__stat span {
  font-size: 12px;
  color: var(--mist);
}

/* ---------- 两栏骨架 ---------- */
.page-products .pr-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--p-sec);
  padding-block: clamp(30px, 5vw, 56px);
}

/* ---------- 左侧锚点 ---------- */
.page-products .pr-anchor__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
  margin: 0 0 10px;
}

.page-products .pr-anchor__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-products .pr-anchor__list::-webkit-scrollbar {
  display: none;
}

.page-products .pr-anchor__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ice);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--glass-soft);
  transition: var(--t-fast);
}

.page-products .pr-anchor__link:hover,
.page-products .pr-anchor__link:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-products .pr-anchor__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
}

/* ---------- 章节 ---------- */
.page-products .pr-sec {
  scroll-margin-top: calc(var(--bar-h) + 28px);
}

.page-products .pr-sec__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.page-products .pr-sec__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--orange);
  padding-top: 0.7em;
}

.page-products .pr-sec__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.16;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
}

.page-products .pr-note {
  font-size: 14px;
  color: var(--mist);
  border-left: 2px solid var(--line);
  padding-left: 12px;
  margin-top: 16px;
}

.page-products .pr-inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-products .pr-inline-link:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 图片位 ---------- */
.page-products .pr-media {
  position: relative;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--indigo);
}

.page-products .pr-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pr-media--square {
  max-width: 460px;
}

.page-products .pr-media__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border-radius: var(--r);
  background: rgba(6, 10, 20, 0.74);
  color: var(--cyan);
  border: 1px solid var(--line);
}

/* ---------- 名单三列 ---------- */
.page-products .pr-lineup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.page-products .pr-lineup__col {
  padding: 18px 16px;
  background: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.page-products .pr-lineup__col h3 {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.page-products .pr-lineup__col p {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

.page-products .pr-lineup__col--alert {
  border-color: rgba(255, 154, 74, 0.5);
  background: linear-gradient(180deg, rgba(255, 154, 74, 0.08), var(--teal));
}

.page-products .pr-lineup__col--alert h3 {
  color: var(--orange);
}

/* ---------- 统计对比长卡 ---------- */
.page-products .pr-compare {
  margin-top: 22px;
  padding: 14px clamp(12px, 2.5vw, 22px) 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--teal) 0%, #071822 100%);
}

.page-products .pr-compare__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .pr-compare__head span:first-child {
  color: var(--cyan);
}

.page-products .pr-compare__head span:last-child {
  color: var(--orange);
}

.page-products .pr-row {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) 3.6rem;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(154, 175, 194, 0.13);
}

.page-products .pr-row:last-child {
  border-bottom: 0;
}

.page-products .pr-row__val {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.2;
}

.page-products .pr-row__val--h {
  text-align: right;
  color: var(--cyan);
}

.page-products .pr-row__val--a {
  text-align: left;
  color: var(--orange);
}

.page-products .pr-row__mid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.page-products .pr-row__label {
  font-size: 12px;
  color: var(--mist);
  text-align: center;
}

.page-products .pr-bars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3px 8px;
}

.page-products .pr-track {
  display: flex;
  height: 6px;
  border-radius: 2px;
  background: rgba(154, 175, 194, 0.14);
  overflow: hidden;
}

.page-products .pr-track--h {
  justify-content: flex-end;
}

.page-products .pr-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.page-products .pr-track--h i {
  background: var(--cyan);
}

.page-products .pr-track--a i {
  background: var(--orange);
}

/* ---------- 战绩卡 ---------- */
.page-products .pr-formcard {
  margin-top: 20px;
  padding: 18px clamp(13px, 2.5vw, 22px);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(8px);
}

.page-products .pr-formcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.page-products .pr-formcard__head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ice);
}

.page-products .pr-formcard__sum {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.page-products .pr-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .pr-form span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 2px;
  border: 1px solid;
}

.page-products .pr-form__w {
  color: var(--cyan);
  border-color: rgba(95, 233, 255, 0.45);
  background: rgba(95, 233, 255, 0.1);
}

.page-products .pr-form__d {
  color: var(--mist);
  border-color: var(--line-soft);
  background: rgba(154, 175, 194, 0.08);
}

.page-products .pr-form__l {
  color: var(--red);
  border-color: rgba(255, 79, 99, 0.45);
  background: rgba(255, 79, 99, 0.1);
}

.page-products .pr-formcard .pr-note {
  margin-bottom: 0;
}

/* ---------- 步骤条 ---------- */
.page-products .pr-steps {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.page-products .pr-step {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.page-products .pr-step__dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-on-orange);
  background: var(--orange);
  border-radius: 50%;
}

.page-products .pr-step--end {
  border-color: rgba(255, 79, 99, 0.5);
  background: linear-gradient(180deg, rgba(255, 79, 99, 0.1), var(--teal));
}

.page-products .pr-step--end .pr-step__dot {
  background: var(--red);
  color: var(--ice);
}

.page-products .pr-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--ice);
}

.page-products .pr-step p {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 时间线 ---------- */
.page-products .pr-time {
  list-style: none;
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--line);
}

.page-products .pr-time li {
  position: relative;
  padding: 0 0 22px 4px;
  font-size: 14px;
  color: var(--mist);
  max-width: 62ch;
}

.page-products .pr-time li:last-child {
  padding-bottom: 0;
}

.page-products .pr-time li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(95, 233, 255, 0.14);
}

.page-products .pr-time b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 4px;
}

/* ---------- 展开组 ---------- */
.page-products .pr-details {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass-soft);
}

.page-products .pr-details summary {
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ice);
}

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

.page-products .pr-details summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--cyan);
  margin-right: 10px;
}

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

.page-products .pr-details__body {
  padding: 0 16px 16px;
  font-size: 14px;
  color: var(--mist);
}

.page-products .pr-details__body p {
  margin: 0 0 10px;
}

.page-products .pr-details__body strong {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.page-products .pr-details__body p:last-child {
  margin-bottom: 0;
}

/* ---------- 收尾带 ---------- */
.page-products .pr-next {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(118deg, var(--indigo) 0%, var(--wine) 100%);
}

.page-products .pr-next h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}

.page-products .pr-next p {
  font-size: 14px;
  color: var(--mist);
  margin-bottom: 20px;
}

.page-products .pr-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (min-width: 960px) {
  .page-products .pr-body {
    grid-template-columns: 208px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }

  .page-products .pr-anchor__inner {
    position: sticky;
    top: calc(var(--bar-h) + 28px);
  }

  .page-products .pr-anchor__list {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-products .pr-anchor__link {
    width: 100%;
    white-space: normal;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(154, 175, 194, 0.14);
    border-radius: 0;
    background: transparent;
  }

  .page-products .pr-anchor__link:hover {
    border-bottom-color: var(--cyan);
    transform: translateX(3px);
  }

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

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

  .page-products .pr-steps::before {
    content: "";
    position: absolute;
    top: 37px;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, var(--orange), var(--red));
    opacity: 0.55;
  }

  .page-products .pr-step__dot {
    position: relative;
    z-index: 1;
  }

  .page-products .pr-row {
    grid-template-columns: 4.6rem minmax(0, 1fr) 4.6rem;
    gap: 14px;
  }

  .page-products .pr-row__val {
    font-size: 15px;
  }

  .page-products .pr-row__label {
    font-size: 13px;
  }
}

@media (min-width: 1120px) {
  .page-products .pr-sec p {
    max-width: 66ch;
  }

  .page-products .pr-media--square {
    max-width: 520px;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-anchor__link,
  .page-products .pr-btn,
  .page-products .pr-crumbs a {
    transition: none;
  }

  .page-products .pr-anchor__link:hover {
    transform: none;
  }
}
