.page-products {
  --pd-scan: repeating-linear-gradient(115deg, rgba(234, 240, 250, .045) 0 1px, transparent 1px 10px);
  --pd-inset: rgba(6, 11, 26, .58);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  padding-top: clamp(18px, 4vw, 40px);
}

.page-products .pd-hero__grid {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
}

.page-products .pd-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan-400);
}

.page-products .pd-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 7.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--paper-050);
}

.page-products .pd-hl {
  color: var(--cyan-400);
}

.page-products .pd-hero__lead {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--slate-300);
}

.page-products .pd-side {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--ink-800);
  border: var(--line);
  border-radius: var(--radius-lg);
}

.page-products .pd-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pd-scan);
  pointer-events: none;
}

.page-products .pd-side__title {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber-300);
  font-weight: 500;
}

.page-products .pd-side__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ink-700);
}

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

.page-products .pd-side__key {
  font-size: 13px;
  color: var(--slate-300);
}

.page-products .pd-side__val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--paper-050);
}

/* ---------- 数据条 ---------- */
.page-products .pd-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 26px);
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(16px, 2.6vw, 26px) 0;
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}

.page-products .pd-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1;
  color: var(--cyan-400);
}

.page-products .pd-stat:nth-child(2) .pd-stat__num { color: var(--amber-300); }
.page-products .pd-stat:nth-child(3) .pd-stat__num { color: var(--violet-500); }
.page-products .pd-stat:nth-child(4) .pd-stat__num { color: var(--orange-500); }

.page-products .pd-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-300);
}

/* ---------- 功能卡 ---------- */
.page-products .pd-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.2vw, 38px);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
}

.page-products .pd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pd-scan);
  pointer-events: none;
}

.page-products .pd-card--focus {
  background:
    linear-gradient(150deg, rgba(33, 230, 193, .14), rgba(12, 23, 48, .92) 44%),
    var(--ink-800);
  border-color: rgba(33, 230, 193, .34);
}

.page-products .pd-feature__grid {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-products .pd-feature__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--paper-050);
}

.page-products .pd-feature__lead {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate-300);
}

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

.page-products .pd-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate-300);
}

.page-products .pd-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-400);
}

.page-products .pd-key {
  color: var(--paper-050);
  font-weight: 600;
}

.page-products .ky-figure {
  margin: 0;
}

.page-products .pd-figure--gap {
  margin-top: clamp(20px, 3vw, 32px);
}

/* ---------- 联赛切换与示例比分行 ---------- */
.page-products .pd-demo {
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: clamp(16px, 2.4vw, 24px);
  border-top: 1px solid var(--ink-700);
}

.page-products .pd-rows {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.page-products .pd-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--pd-inset);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-sm);
}

.page-products .pd-row__team {
  font-size: 14px;
  color: var(--paper-050);
  overflow-wrap: anywhere;
}

.page-products .pd-row__team--away {
  text-align: right;
}

.page-products .pd-row__score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--paper-050);
  white-space: nowrap;
}

.page-products .pd-row__side {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .pd-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--slate-300);
}

.page-products .pd-dot--wait { background: var(--slate-300); }
.page-products .pd-dot--live { background: var(--orange-500); }

.page-products .pd-dot--on {
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(61, 240, 138, .55);
}

@keyframes pd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 240, 138, .5); opacity: 1; }
  50% { box-shadow: 0 0 0 7px rgba(33, 230, 193, 0); opacity: .72; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-products .pd-dot--on {
    animation: pd-pulse 3s ease-in-out infinite;
  }
}

/* ---------- 赛季区间滑块 ---------- */
.page-products .pd-slider {
  position: relative;
  height: 44px;
  margin: 26px 0 0;
}

.page-products .pd-slider__track,
.page-products .pd-slider__range {
  position: absolute;
  top: 20px;
  height: 6px;
  border-radius: var(--radius-pill);
}

.page-products .pd-slider__track {
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--ink-700), rgba(255, 209, 102, .4));
}

.page-products .pd-slider__range {
  left: 20%;
  right: 18%;
  background: linear-gradient(90deg, var(--cyan-400), var(--amber-300));
}

.page-products .pd-slider__handle {
  position: absolute;
  top: 12px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--paper-050);
  border: 4px solid var(--cyan-400);
}

.page-products .pd-slider__handle--start {
  left: 20%;
  margin-left: -11px;
}

.page-products .pd-slider__handle--end {
  right: 18%;
  margin-right: -11px;
}

.page-products .pd-slider__ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-300);
}

.page-products .pd-feature__grid--split {
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ---------- 对照工作台 ---------- */
.page-products .pd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-products .pd-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--slate-300);
  background: var(--pd-inset);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-pill);
}

.page-products .pd-legend__swatch {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 3px;
}

.page-products .pd-legend__swatch--cyan { background: var(--cyan-400); }
.page-products .pd-legend__swatch--orange { background: var(--orange-500); }
.page-products .pd-legend__swatch--violet { background: var(--violet-500); }
.page-products .pd-legend__swatch--green { background: var(--green-400); }

.page-products .pd-chart {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-top: 6px;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(6, 11, 26, .88), rgba(12, 23, 48, .55));
}

.page-products .pd-workbench {
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ---------- 导出与快照 ---------- */
.page-products .pd-split {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.page-products .pd-export {
  padding: 18px 20px;
  background: var(--pd-inset);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--cyan-400);
  border-radius: var(--radius-md);
}

.page-products .pd-export--alt {
  border-left-color: var(--amber-300);
}

.page-products .pd-export__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-900);
  background: var(--cyan-400);
  border-radius: var(--radius-pill);
}

.page-products .pd-export--alt .pd-export__tag {
  background: var(--amber-300);
}

.page-products .pd-export__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.35;
  color: var(--paper-050);
}

.page-products .pd-export__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--slate-300);
}

/* ---------- 终端 ---------- */
.page-products .pd-devices {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.page-products .pd-device__row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ink-700);
}

.page-products .pd-device__row:last-child {
  border-bottom: 0;
}

.page-products .pd-device__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--amber-300);
}

.page-products .pd-device__val {
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate-300);
}

.page-products .pd-tableWrap {
  margin-top: clamp(22px, 3vw, 30px);
  overflow-x: auto;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
}

.page-products .pd-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pd-table__caption {
  padding: 14px 16px 0;
  text-align: left;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate-300);
}

.page-products .pd-table th,
.page-products .pd-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ink-700);
}

.page-products .pd-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--cyan-400);
  background: rgba(33, 230, 193, .07);
}

.page-products .pd-table tbody th {
  font-weight: 500;
  color: var(--slate-300);
  white-space: nowrap;
}

.page-products .pd-table tbody td {
  color: var(--paper-050);
  line-height: 1.7;
}

.page-products .pd-table tbody tr:last-child th,
.page-products .pd-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 收束 ---------- */
.page-products .pd-rule {
  height: 2px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan-400), var(--orange-500) 26%, var(--ink-700) 72%);
}

.page-products .pd-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--paper-050);
}

.page-products .pd-cta__lead {
  margin: 14px 0 0;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate-300);
}

.page-products .pd-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

  .page-products .pd-row__side {
    grid-column: auto;
    justify-self: end;
  }
}

@media (min-width: 820px) {
  .page-products .pd-split {
    grid-template-columns: 7fr 5fr;
  }
}

@media (min-width: 900px) {
  .page-products .pd-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }

  .page-products .pd-feature__grid {
    grid-template-columns: 6fr 6fr;
    align-items: start;
  }

  .page-products .pd-feature--flip .pd-feature__body { order: 2; }
  .page-products .pd-feature--flip .pd-feature__media { order: 1; }

  .page-products .pd-feature__grid--split {
    grid-template-columns: 5fr 7fr;
  }
}

@media (min-width: 980px) {
  .page-products .pd-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
