.page-products {
  --pd-line-soft: rgba(43, 61, 70, 0.7);
  --pd-surface: rgba(13, 32, 25, 0.86);
  --pd-surface-cool: rgba(23, 36, 44, 0.78);
  color: var(--white);
}

/* ---------- 面包屑 ---------- */
.page-products .pd-crumb-wrap {
  padding-top: clamp(1.1rem, 4vw, 2rem);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3rem) 0 clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  background: radial-gradient(circle at 60% 40%, rgba(182, 255, 63, 0.14), transparent 62%);
  pointer-events: none;
}

.page-products .pd-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: center;
}

.page-products .pd-hero__copy h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.page-products .pd-hero__copy .lede {
  margin-top: 1.1rem;
  max-width: 46ch;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-products .pd-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.page-products .pd-hero__facts .num {
  color: var(--lime);
  font-weight: 700;
}

/* 首屏视觉：设备轮廓 + 脉冲线 */
.page-products .pd-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.page-products .pd-device {
  position: relative;
  z-index: 2;
  width: min(272px, 76vw);
  padding: 0.85rem;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(158deg, rgba(23, 36, 44, 0.94), rgba(6, 18, 14, 0.98));
  box-shadow: 0 42px 90px -34px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(182, 255, 63, 0.07);
}

.page-products .pd-device__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.3rem 0.7rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.page-products .pd-device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(182, 255, 63, 0.85);
}

.page-products .pd-device__code {
  color: var(--num);
  letter-spacing: 0.04em;
}

.page-products .pd-device__live {
  margin-left: auto;
  color: var(--orange-soft);
}

.page-products .pd-device__screen {
  border-radius: 16px;
  padding: 1.05rem 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(23, 36, 44, 0.9), rgba(6, 18, 14, 0.95));
  border: 1px solid var(--pd-line-soft);
}

.page-products .pd-score {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.page-products .pd-score__sep {
  color: var(--lime);
}

.page-products .pd-score__meta {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.page-products .pd-score__meta .num {
  color: var(--num);
  font-weight: 700;
}

.page-products .pd-bars {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.page-products .pd-bars .bar__fill {
  background: var(--lime);
}

.page-products .pd-device__rows {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.page-products .pd-device__rows span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(43, 61, 70, 0.9), rgba(43, 61, 70, 0.15));
}

.page-products .pd-device__rows span:nth-child(2) {
  width: 78%;
}

.page-products .pd-device__rows span:nth-child(3) {
  width: 55%;
}

.page-products .pd-pulse {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 4%;
  width: 108%;
  height: 88px;
  z-index: 1;
  opacity: 0.8;
}

.page-products .pd-pulse polyline {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(182, 255, 63, 0.5));
}

/* ---------- 面板通用 ---------- */
.page-products .pd-block {
  position: relative;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0;
}

.page-products .pd-block--slant::before,
.page-products .pd-block--slant-rev::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--lime) 50%, var(--line) 82%, transparent);
  opacity: 0.75;
}

.page-products .pd-block--slant-rev::before {
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--orange) 50%, var(--line) 82%, transparent);
}

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

.page-products .pd-block .section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.8rem, 5vw, 2.8rem);
}

.page-products .pd-text {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.page-products .pd-caption {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
}

/* ---------- 图片框 ---------- */
.page-products .pd-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cool);
}

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

.page-products .pd-frame--4x5 {
  aspect-ratio: 4 / 5;
}

.page-products .pd-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.page-products .pd-frame--1x1 {
  aspect-ratio: 1 / 1;
}

.page-products .pd-frame--2x1 {
  aspect-ratio: 16 / 9;
}

.page-products .pd-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.8rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--num);
  background: linear-gradient(180deg, transparent, rgba(6, 18, 14, 0.92));
}

/* ---------- 版本总览 ---------- */
.page-products .pd-version__grid {
  align-items: start;
  gap: clamp(1.8rem, 5vw, 3.2rem);
}

.page-products .pd-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.8rem 0 0;
}

.page-products .pd-spec {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--pd-surface-cool);
}

.page-products .pd-spec dt {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .pd-spec dd {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--num);
}

.page-products .pd-version__shot {
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

/* ---------- 安装流程 ---------- */
.page-products .pd-install__grid {
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: start;
}

.page-products .pd-steps {
  list-style: none;
  counter-reset: pdstep;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.page-products .pd-step {
  position: relative;
  padding: 1.05rem 1.15rem 1.05rem 3.5rem;
  border-radius: var(--radius-sm);
  background: var(--pd-surface);
  border: 1px solid var(--pd-line-soft);
}

.page-products .pd-step::before {
  counter-increment: pdstep;
  content: "0" counter(pdstep);
  position: absolute;
  left: 1.05rem;
  top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lime);
}

.page-products .pd-step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .pd-step p {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 赛事页性能 ---------- */
.page-products .pd-speed__grid {
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}

.page-products .pd-speed__metrics {
  display: grid;
  gap: 1.15rem;
}

.page-products .pd-metric {
  padding: 1.05rem 1.15rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--pd-surface-cool);
  border: 1px solid var(--pd-line-soft);
}

.page-products .pd-metric__label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.page-products .pd-metric__value {
  display: block;
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
}

.page-products .pd-metric__value em {
  font-style: normal;
  font-size: 0.9rem;
  margin-left: 0.3rem;
  color: var(--muted);
  font-weight: 500;
}

.page-products .pd-metric__value--orange {
  color: var(--orange);
}

.page-products .pd-metric__note {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.page-products .pd-metric .bar__fill {
  background: var(--lime);
}

.page-products .pd-fill--lime {
  background: var(--lime-dim) !important;
}

.page-products .pd-fill--orange {
  background: var(--orange) !important;
}

/* ---------- 球队资料 ---------- */
.page-products .pd-squads__grid {
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}

.page-products .pd-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.page-products .pd-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.75;
}

.page-products .pd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.page-products .pd-list__key {
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 800;
  color: var(--white);
}

/* ---------- 收藏赛事 ---------- */
.page-products .pd-favorites__grid {
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}

.page-products .pd-fav-notes {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.page-products .pd-fav-note {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
  background: rgba(13, 32, 25, 0.9);
}

.page-products .pd-fav-note__title {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange-soft);
}

.page-products .pd-fav-note p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 更新通道 ---------- */
.page-products .pd-channels__grid {
  gap: 1rem;
}

.page-products .pd-chan {
  padding: 1.2rem 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--pd-surface);
  border: 1px solid var(--pd-line-soft);
}

.page-products .pd-chan h3 {
  margin: 0.9rem 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .pd-chan p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 设备自查 ---------- */
.page-products .pd-check {
  margin-top: clamp(1.8rem, 5vw, 2.6rem);
  padding: clamp(1.3rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--glass-panel, rgba(23, 36, 44, 0.55));
  border: 1px solid var(--pd-line-soft);
}

.page-products .pd-check__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.page-products .pd-checklist {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-products .pd-checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.93rem;
  color: var(--num);
  line-height: 1.7;
}

.page-products .pd-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--lime);
  background: rgba(182, 255, 63, 0.12);
}

.page-products .pd-check__foot {
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.page-products .pd-check__foot a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 255, 63, 0.4);
}

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

/* ---------- 尾部引导 ---------- */
.page-products .pd-tail {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}

.page-products .pd-tail__inner {
  text-align: left;
}

.page-products .pd-tail__inner .pd-text a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 255, 63, 0.4);
}

.page-products .pd-tail__inner .pd-text a:hover,
.page-products .pd-tail__inner .pd-text a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.page-products .pd-tail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .pd-specs {
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .page-products .pd-hero__inner {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-products .pd-hero__visual {
    min-height: 420px;
  }

  .page-products .pd-frame--2x1 {
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 899px) {
  .page-products .pd-version__grid,
  .page-products .pd-install__grid,
  .page-products .pd-speed__grid,
  .page-products .pd-squads__grid,
  .page-products .pd-favorites__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .pd-favorites__shot {
    order: 2;
    max-width: 340px;
  }

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

@media (max-width: 520px) {
  .page-products .pd-hero__copy h1 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .page-products .pd-step {
    padding-left: 1.1rem;
    padding-top: 3rem;
  }

  .page-products .pd-step::before {
    top: 1.05rem;
  }

  .page-products .pd-pulse {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-pulse polyline {
    stroke-dasharray: none;
    filter: none;
  }
}

.page-products {
  --glass-panel: transparent;
}
