.page-products {
  --pr-line: rgba(185, 178, 199, 0.18);
  --pr-glass: linear-gradient(158deg, rgba(244, 239, 231, 0.1), rgba(244, 239, 231, 0.028));
  --pr-glow-cyan: 0 0 0 1px rgba(34, 224, 214, 0.42), 0 20px 46px -30px rgba(34, 224, 214, 0.55);
  --pr-glow-magenta: 0 18px 40px -26px rgba(255, 46, 136, 0.65);
  --pr-ink-line: rgba(42, 36, 52, 0.14);
  display: block;
}

.page-products [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products a:focus-visible,
.page-products summary:focus-visible,
.page-products [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 通用章节骨架 ---------- */
.page-products .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 6px 0 14px;
  max-width: 22ch;
}

.page-products .section-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0.28em;
  color: var(--magenta);
  margin: 0 0 6px;
}

.page-products .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 6px;
}

.page-products .section-note {
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ash);
  margin: 0;
}

.page-products .pr-hero .breadcrumb,
.page-products .pr-hero .breadcrumb a {
  color: var(--ash);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.page-products .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: clamp(16px, 3vw, 28px);
}

.page-products .breadcrumb a:hover {
  color: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-products .pr-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(46px, 9vw, 118px));
  padding-bottom: clamp(38px, 6vw, 76px);
  background:
    radial-gradient(120% 92% at 10% -14%, rgba(255, 46, 136, 0.24), transparent 62%),
    radial-gradient(88% 74% at 102% 4%, rgba(34, 224, 214, 0.15), transparent 58%),
    var(--night);
  color: var(--paper);
}

.page-products .pr-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 136, 0.55), rgba(34, 224, 214, 0.4), transparent);
}

.page-products .pr-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
  color: var(--paper);
  text-shadow: 0 0 42px rgba(255, 46, 136, 0.28), 0 0 90px rgba(34, 224, 214, 0.12);
}

.page-products .pr-hero__lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.82;
  color: var(--ash);
  margin: 20px 0 0;
}

.page-products .pr-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: clamp(28px, 5vw, 54px);
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}

.page-products .pr-anchors a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 2px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 170ms var(--ease), border-color 170ms var(--ease);
}

.page-products .pr-anchors a:hover {
  color: var(--paper);
  border-bottom-color: var(--magenta);
}

.page-products .pr-anchors__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.22em;
  color: var(--gold);
}

/* ---------- 图片容器 ---------- */
.page-products .pr-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--pr-line);
  background: linear-gradient(142deg, rgba(255, 46, 136, 0.16), rgba(34, 224, 214, 0.1) 60%, rgba(244, 239, 231, 0.05));
}

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

.page-products .pr-media--wide {
  border-radius: var(--radius-s);
}

.page-products .pr-media--portrait {
  max-width: 420px;
  margin-inline: auto;
}

/* ---------- 01 栏目轨道 ---------- */
.page-products .pr-columns__head {
  margin-bottom: clamp(22px, 4vw, 38px);
}

.page-products .pr-columns__media {
  margin-bottom: 26px;
}

.page-products .pr-rail-block {
  margin: 0;
}

.page-products .pr-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(228px, 74vw, 266px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 6px 2px 20px;
  margin: 0;
  scrollbar-color: var(--magenta) rgba(244, 239, 231, 0.06);
  scrollbar-width: thin;
}

.page-products .pr-rail > * {
  scroll-snap-align: start;
}

.page-products .pr-rail::-webkit-scrollbar {
  height: 6px;
}

.page-products .pr-rail::-webkit-scrollbar-track {
  background: rgba(244, 239, 231, 0.06);
  border-radius: 3px;
}

.page-products .pr-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  border-radius: 3px;
}

.page-products .pr-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 232px;
  padding: 22px 20px 24px;
  border-radius: var(--radius-l);
  border: 1px solid var(--pr-line);
  background: var(--pr-glass);
  backdrop-filter: blur(7px);
  transition: transform 190ms var(--ease), border-color 190ms var(--ease), box-shadow 190ms var(--ease);
}

.page-products .pr-col:hover,
.page-products .pr-col:focus-within {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--pr-glow-cyan);
}

.page-products .pr-col__num {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 200;
  letter-spacing: 0.28em;
  color: var(--magenta);
  margin: 0;
}

.page-products .pr-col__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
}

.page-products .pr-col__who {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ash);
  margin: 0;
  flex: 1 1 auto;
}

.page-products .pr-col__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

.page-products .pr-col__tags .chip {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-products .pr-next {
  margin-top: clamp(18px, 3vw, 30px);
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}

.page-products .pr-next__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 14px;
}

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

/* ---------- 02 厂商专区 ---------- */
.page-products .pr-vendors__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-products .pr-vendors__copy p {
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ash);
  margin: 0 0 18px;
}

.page-products .pr-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pr-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ash);
}

.page-products .pr-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
}

.page-products .pr-points strong {
  color: var(--paper);
  font-weight: 700;
}

.page-products .pr-flow {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-top: 8px;
}

.page-products .pr-flow__link {
  stroke: rgba(34, 224, 214, 0.55);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 5;
}

.page-products .pr-flow__arrow {
  fill: var(--cyan);
  opacity: 0.85;
}

.page-products .pr-flow__node {
  fill: rgba(244, 239, 231, 0.05);
  stroke: rgba(185, 178, 199, 0.32);
  stroke-width: 1.5;
}

.page-products .pr-flow__node--end {
  stroke: var(--magenta);
  stroke-width: 1.8;
  fill: rgba(255, 46, 136, 0.1);
}

.page-products .pr-flow__text {
  fill: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.page-products .pr-vendors__media {
  border-color: rgba(255, 46, 136, 0.28);
}

/* ---------- 03 / 04 分栏 ---------- */
.page-products .pr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-products .pr-split__body p {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ash);
  margin: 0 0 16px;
}

.page-products .pr-split__body p:last-of-type {
  margin-bottom: 0;
}

.page-products .pr-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.page-products .pr-stat {
  padding: 18px 16px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--pr-line);
  background: var(--pr-glass);
  backdrop-filter: blur(6px);
  transition: transform 190ms var(--ease), border-color 190ms var(--ease);
}

.page-products .pr-stat:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.page-products .pr-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}

.page-products .pr-stat__unit {
  font-size: 0.44em;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-left: 4px;
  color: var(--ash);
}

.page-products .pr-stat__label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash);
  margin: 0;
}

.page-products .pr-account .pr-split__body p {
  color: var(--ash);
}

/* ---------- 05 帮助指南（浅色阅读区） ---------- */
.page-products .pr-guides {
  background: var(--paper);
  color: var(--ink);
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 92px);
}

.page-products .pr-guides .section-num {
  color: #B03070;
}

.page-products .pr-guides .eyebrow {
  color: #11756F;
}

.page-products .pr-guides .section-title {
  color: var(--ink);
  max-width: 26ch;
}

.page-products .pr-guides__head {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-products .pr-guides__head p {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

.page-products .pr-guides__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-products .pr-guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-products .pr-guide-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--pr-ink-line);
  transition: background-color 180ms var(--ease), padding-left 180ms var(--ease);
}

.page-products .pr-guide-item:first-child {
  border-top: 1px solid var(--pr-ink-line);
}

.page-products .pr-guide-item:hover {
  background: rgba(42, 36, 52, 0.035);
  padding-left: 10px;
}

.page-products .pr-guide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
}

.page-products .pr-guide-dot--moss {
  background: var(--moss);
}

.page-products .pr-guide-dot--cyan {
  background: #1E9E96;
}

.page-products .pr-guide-dot--gold {
  background: #C79433;
}

.page-products .pr-guide-dot--clay {
  background: var(--clay);
}

.page-products .pr-guide-item__text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}

.page-products .pr-guide-item__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

.page-products .pr-guides__media {
  border-color: rgba(42, 36, 52, 0.14);
  background: linear-gradient(142deg, rgba(180, 89, 60, 0.12), rgba(245, 195, 107, 0.12));
}

.page-products .pr-guides__foot {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 8px;
}

.page-products .pr-guides__foot a {
  color: #9E1C5C;
  text-decoration: none;
  border-bottom: 1px solid rgba(158, 28, 92, 0.4);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

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

/* ---------- 06 版本节奏 ---------- */
.page-products .pr-versions__head {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.page-products .pr-timeline {
  list-style: none;
  margin: 0 0 clamp(30px, 5vw, 52px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  position: relative;
}

.page-products .pr-timeline__item {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: var(--radius-s);
  border: 1px solid var(--pr-line);
  background: var(--pr-glass);
  backdrop-filter: blur(6px);
  transition: transform 190ms var(--ease), border-color 190ms var(--ease), box-shadow 190ms var(--ease);
}

.page-products .pr-timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  opacity: 0.75;
}

.page-products .pr-timeline__item:nth-child(2)::before {
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.page-products .pr-timeline__item:nth-child(3)::before {
  background: linear-gradient(90deg, var(--gold), var(--clay));
}

.page-products .pr-timeline__item:nth-child(4)::before {
  background: linear-gradient(90deg, var(--moss), var(--cyan));
}

.page-products .pr-timeline__item:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--pr-glow-cyan);
}

.page-products .pr-timeline__stage {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.page-products .pr-timeline__item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  color: var(--paper);
  margin: 0 0 8px;
}

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

.page-products .pr-cta {
  padding-top: 26px;
  border-top: 1px solid var(--hair);
}

.page-products .pr-cta__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ash);
  margin: 0 0 16px;
}

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

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-products .pr-guides__body {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-products .pr-vendors__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pr-split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-products .pr-split--flip {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .page-products .pr-split--flip .pr-split__media {
    order: -1;
  }

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

  .page-products .pr-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 46, 136, 0.5), rgba(34, 224, 214, 0.45), transparent);
  }
}

/* ---------- 窄屏收敛 ---------- */
@media (min-width: 960px) {
  .page-products .pr-hero__title {
    max-width: 15ch;
  }
}

@media (max-width: 520px) {
  .page-products .pr-anchors {
    gap: 6px 14px;
  }

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

  .page-products .pr-next__links .btn,
  .page-products .pr-cta__links .btn {
    width: 100%;
    text-align: center;
  }

  .page-products .pr-flow {
    max-width: 100%;
  }

  .page-products .pr-flow__text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-col,
  .page-products .pr-stat,
  .page-products .pr-timeline__item,
  .page-products .pr-guide-item {
    transition: none;
  }
}
