.page-products {
  --pd-side: 232px;
  --pd-tone: rgba(10, 23, 48, .72);
}

.page-products .pd-empty {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--fs-6);
}

/* ===== 首屏 ===== */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-highland);
  opacity: .52;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
  pointer-events: none;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 109, 224, .34) 0%, rgba(10, 23, 48, 0) 68%);
  pointer-events: none;
}

.page-products .pd-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 48px;
}

.page-products .pd-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.page-products .pd-hero__ver {
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-products .pd-hero h1 {
  margin: 0;
  font-size: var(--fs-1);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--paper);
  max-width: 18em;
}

.page-products .pd-hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: var(--fs-5);
  line-height: 1.75;
  color: rgba(242, 246, 252, .82);
}

.page-products .pd-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-hero__facts > div {
  background: var(--pd-tone);
  padding: 12px 14px;
}

.page-products .pd-hero__facts dt {
  margin: 0;
  font-size: var(--fs-7);
  letter-spacing: .08em;
  color: var(--muted);
}

.page-products .pd-hero__facts dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-3);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-products .pd-hero__media {
  margin: 0;
  position: relative;
}

.page-products .pd-hero__media .media-frame {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.page-products .pd-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== 主体两栏 ===== */
.page-products .pd-body {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 24px;
}

.page-products .pd-main {
  min-width: 0;
}

/* ===== 侧栏目录 ===== */
.page-products .pd-side__inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 39, 74, .82) 0%, rgba(10, 23, 48, .9) 100%);
  padding: 18px 16px;
}

.page-products .pd-side__label {
  margin: 0 0 14px;
  font-size: var(--fs-7);
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .pd-toc {
  display: grid;
  gap: 2px;
}

.page-products .pd-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  color: var(--paper);
  font-size: var(--fs-6);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.page-products .pd-toc a .num {
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  color: var(--muted);
}

.page-products .pd-toc a:hover,
.page-products .pd-toc a:focus-visible {
  background: rgba(47, 109, 224, .16);
  border-left-color: var(--blue);
}

.page-products .pd-toc a:hover .num,
.page-products .pd-toc a:focus-visible .num {
  color: var(--gold);
}

.page-products .pd-side__note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-products .pd-side__note-title {
  margin: 0 0 6px;
  font-size: var(--fs-7);
  letter-spacing: .1em;
  color: var(--yellow);
}

.page-products .pd-side__note p:last-child {
  margin: 0;
  font-size: var(--fs-7);
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 区块通用 ===== */
.page-products .pd-block + .pd-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 40px;
}

.page-products .pd-block__head {
  position: relative;
}

.page-products .pd-block__no {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  letter-spacing: .18em;
  color: var(--blue);
}

.page-products .pd-block__head h2 {
  margin: 0;
  font-size: var(--fs-3);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-products .pd-block__lead {
  margin: 14px 0 0;
  max-width: 42em;
  font-size: var(--fs-5);
  line-height: 1.75;
  color: rgba(242, 246, 252, .78);
}

.page-products .pd-scope {
  margin-top: 24px;
}

/* ===== 能力档案卡 ===== */
.page-products .pd-files {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.page-products .pd-file .card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-products .pd-file .card__title {
  margin: 0;
  font-size: var(--fs-4);
}

.page-products .pd-file .card__body {
  margin: 10px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .74);
}

.page-products .pd-file {
  border-left: 2px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-products .pd-file:hover {
  transform: translateY(-2px);
  border-left-color: var(--blue);
  box-shadow: var(--shadow-2);
}

/* ===== 轮次刻度 ===== */
.page-products .pd-timeline {
  list-style: none;
  margin: 28px 0 0;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
}

.page-products .pd-timeline__item {
  position: relative;
  padding-bottom: 22px;
}

.page-products .pd-timeline__item:last-child {
  padding-bottom: 0;
}

.page-products .pd-timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line);
}

.page-products .pd-timeline__item--now::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(245, 194, 74, .14);
}

.page-products .pd-timeline__label {
  margin: 0;
  font-size: var(--fs-4);
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-timeline__item--now .pd-timeline__label {
  color: var(--gold);
}

.page-products .pd-timeline__meta {
  margin: 6px 0 0;
  font-size: var(--fs-7);
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 能力说明组 ===== */
.page-products .pd-features {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-products .pd-feature {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pd-tone);
}

.page-products .pd-feature h3 {
  margin: 0;
  font-size: var(--fs-5);
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-feature p {
  margin: 10px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .72);
}

/* ===== 折线图 ===== */
.page-products .pd-chart {
  margin: 26px 0 0;
  padding: 16px 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 39, 74, .7) 0%, rgba(10, 23, 48, .92) 100%);
}

.page-products .pd-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pd-chart figcaption {
  margin: 10px 4px 0;
  font-size: var(--fs-7);
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 横图 ===== */
.page-products .pd-wide-media {
  margin: 26px 0 0;
}

.page-products .pd-wide-media .media-frame {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

/* ===== 指标 ===== */
.page-products .pd-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-metric {
  background: var(--panel-hi);
  padding: 16px 14px;
}

.page-products .pd-metric__name {
  margin: 0;
  font-size: var(--fs-4);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.page-products .pd-metric__desc {
  margin: 8px 0 0;
  font-size: var(--fs-7);
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 步骤 ===== */
.page-products .pd-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pd-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pd-tone);
}

.page-products .pd-step__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(47, 109, 224, .18);
  border: 1px solid var(--blue);
  color: var(--paper);
  font-size: var(--fs-5);
  font-weight: 700;
}

.page-products .pd-step h3 {
  margin: 2px 0 0;
  font-size: var(--fs-5);
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-step p {
  margin: 8px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .74);
}

.page-products .pd-tip {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(229, 179, 43, .1);
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .86);
}

/* ===== 图文分栏 ===== */
.page-products .pd-split {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.page-products .pd-split__media {
  margin: 0;
}

.page-products .pd-split__media .media-frame {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-products .pd-split__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-products .pd-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pd-tone);
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .76);
}

.page-products .pd-list strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  font-weight: 800;
}

/* ===== 连看顺序 ===== */
.page-products .pd-order {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.page-products .pd-order li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-products .pd-order__no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(47, 109, 224, .14);
  color: var(--paper);
  font-size: var(--fs-6);
  font-weight: 700;
}

.page-products .pd-order p {
  margin: 3px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .76);
}

.page-products .pd-inline-link {
  margin: 20px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: var(--muted);
}

.page-products .pd-inline-link a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 109, 224, .5);
}

.page-products .pd-inline-link a:hover,
.page-products .pd-inline-link a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ===== 版本区块 ===== */
.page-products .pd-version {
  position: relative;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-deep);
}

.page-products .pd-version__bg {
  position: absolute;
  inset: 0;
}

.page-products .pd-version__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.7) contrast(1.06);
}

.page-products .pd-version__inner {
  position: relative;
  z-index: 1;
  padding: 24px 18px 28px;
  background: linear-gradient(180deg, rgba(10, 23, 48, .74) 0%, rgba(10, 23, 48, .94) 100%);
}

.page-products .pd-log {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-log__item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 23, 48, .7);
  transition: transform .2s ease, border-color .2s ease;
}

.page-products .pd-log__item:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.page-products .pd-log__text {
  margin: 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .78);
}

/* ===== 设备门槛 ===== */
.page-products .pd-gate {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-gate__item {
  background: var(--panel-hi);
  padding: 16px;
}

.page-products .pd-gate__k {
  margin: 0;
  font-size: var(--fs-7);
  letter-spacing: .12em;
  color: var(--blue);
}

.page-products .pd-gate__v {
  margin: 8px 0 0;
  font-size: var(--fs-6);
  line-height: 1.7;
  color: var(--paper);
}

/* ===== 底部能力对照带 ===== */
.page-products .pd-band {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 39, 74, .5) 0%, rgba(10, 23, 48, 0) 100%);
}

.page-products .pd-band__head h2 {
  margin: 0;
  font-size: var(--fs-3);
  font-weight: 900;
  color: var(--paper);
}

.page-products .pd-band__head p {
  margin: 12px 0 0;
  max-width: 42em;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: var(--muted);
}

.page-products .pd-band__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 1fr);
  gap: 12px;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-band__cell {
  scroll-snap-align: start;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pd-tone);
}

.page-products .pd-band__swatch {
  display: block;
  width: 26px;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.page-products .pd-band__swatch--blue { background: var(--blue); }
.page-products .pd-band__swatch--green { background: var(--green); }
.page-products .pd-band__swatch--gold { background: var(--gold); }
.page-products .pd-band__swatch--yellow { background: var(--yellow); }
.page-products .pd-band__swatch--paper { background: var(--paper); }

.page-products .pd-band__cell h3 {
  margin: 0;
  font-size: var(--fs-5);
  font-weight: 800;
  color: var(--paper);
}

.page-products .pd-band__cell p {
  margin: 8px 0 0;
  font-size: var(--fs-7);
  line-height: 1.7;
  color: var(--muted);
}

/* ===== 下一页入口 ===== */
.page-products .pd-next__grid {
  display: grid;
  gap: 14px;
}

.page-products .pd-next__card {
  display: block;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-products .pd-next__card:hover,
.page-products .pd-next__card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-2);
}

.page-products .pd-next__card .card__title {
  margin: 0;
  font-size: var(--fs-4);
  color: var(--paper);
}

.page-products .pd-next__card .card__body {
  margin: 10px 0 0;
  font-size: var(--fs-6);
  line-height: 1.75;
  color: rgba(242, 246, 252, .72);
}

.page-products .pd-next__go {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-7);
  letter-spacing: .06em;
  color: var(--gold);
}

/* ===== 中等屏幕 ===== */
@media (min-width: 640px) {
  .page-products .pd-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-products .pd-gate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-products .pd-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .page-products .pd-split--reverse .pd-split__media {
    order: -1;
  }

  .page-products .pd-hero__grid {
    gap: 36px;
  }
}

/* ===== 桌面 ===== */
@media (min-width: 880px) {
  .page-products .pd-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    align-items: end;
    gap: 52px;
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .page-products .pd-hero__media {
    justify-self: end;
    width: 100%;
  }

  .page-products .pd-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .pd-files {
    gap: 18px;
  }

  .page-products .pd-file:nth-child(odd) {
    margin-right: 44px;
  }

  .page-products .pd-file:nth-child(even) {
    margin-left: 44px;
  }

  .page-products .pd-log {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .page-products .pd-body {
    grid-template-columns: var(--pd-side) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
    padding-top: 24px;
  }

  .page-products .pd-side__inner {
    position: sticky;
    top: 124px;
  }

  .page-products .pd-version__inner {
    padding: 32px 28px 34px;
  }

  .page-products .pd-band__rail {
    grid-auto-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1180px) {
  .page-products .pd-chart {
    padding: 20px 20px 12px;
  }

  .page-products .pd-metrics {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-file,
  .page-products .pd-log__item,
  .page-products .pd-next__card {
    transition: none;
  }

  .page-products .pd-file:hover,
  .page-products .pd-log__item:hover,
  .page-products .pd-next__card:hover {
    transform: none;
  }
}
