/* ===== 业务中心 · page-products 专属样式 ===== */
.page-products {
  --pd-radius: 14px;
  --pd-space: clamp(16px, 2.4vw, 26px);
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-sans);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-products h1 {
  margin: 10px 0 14px;
  font-size: clamp(1.75rem, 6.2vw, 3.1rem);
  line-height: 1.14;
  font-weight: 900;
}

.page-products h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4.4vw, 2.35rem);
  line-height: 1.22;
  font-weight: 800;
}

.page-products h3 {
  margin: 0;
  font-size: var(--fs-400);
  font-weight: 700;
}

.page-products .section {
  padding: clamp(40px, 6.5vw, 76px) 0;
}

.page-products .pd-crumbs {
  padding-top: clamp(14px, 3vw, 26px);
}

.page-products .pd-head {
  max-width: 74ch;
}

.page-products .pd-head-note,
.page-products .pd-filter-lead,
.page-products .pd-replay-lead,
.page-products .pd-sub-lead {
  color: var(--dim-strong);
  line-height: 1.75;
  font-size: var(--fs-300);
  margin: 0;
}

.page-products .pd-head-note {
  max-width: 66ch;
}

.page-products .pd-aside {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: var(--fs-200);
  color: var(--dim);
  line-height: 1.7;
}

.page-products .pd-aside a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

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

/* ---------- 首屏 ---------- */
.page-products .section.pd-hero {
  padding-top: clamp(6px, 1.5vw, 14px);
}

.page-products .pd-stage {
  position: relative;
  border-radius: var(--pd-radius);
  border: 1px solid var(--line);
  background: var(--night);
  overflow: hidden;
}

.page-products .pd-stage-media {
  position: relative;
  margin: 0;
  background: linear-gradient(140deg, var(--night), var(--nebula));
}

.page-products .pd-stage-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0), rgba(6, 13, 26, 0.94));
  pointer-events: none;
}

.page-products .pd-stage-img {
  display: block;
  width: 100%;
  height: clamp(190px, 36vw, 430px);
  object-fit: cover;
  opacity: 0.9;
  max-width: 100%;
}

.page-products .pd-stage-copy {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  padding: 0 18px 28px;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0), rgba(6, 13, 26, 0.96) 36%, var(--night));
}

.page-products .pd-lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-400);
  line-height: 1.75;
  color: var(--dim-strong);
}

.page-products .pd-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .pd-stage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-products .pd-stage-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pd-stage-stats dt {
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  color: var(--dim);
}

.page-products .pd-stage-stats dd {
  margin: 0;
  font-size: var(--fs-500);
  font-weight: 700;
  color: var(--white);
}

/* ---------- 面板 ---------- */
.page-products .pd-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pd-space);
  margin-top: 26px;
}

.page-products .pd-panel {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--pd-radius);
}

.page-products .pd-panel-text {
  margin: 14px 0 0;
  line-height: 1.75;
  color: var(--dim-strong);
  font-size: var(--fs-300);
}

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

.page-products .pd-panel-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pd-panel-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .pd-panel-list--tight li {
  display: block;
}

.page-products .pd-li-key {
  flex: 0 0 auto;
  min-width: 66px;
  font-size: var(--fs-300);
  font-weight: 700;
  color: var(--gold);
}

.page-products .pd-li-text {
  color: var(--silver);
  font-size: var(--fs-200);
  line-height: 1.7;
}

/* ---------- 订阅两步 ---------- */
.page-products .pd-sub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.page-products .pd-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .pd-step {
  position: relative;
  padding: 20px 18px 20px 58px;
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: linear-gradient(150deg, rgba(14, 27, 49, 0.92), rgba(58, 46, 92, 0.32));
}

.page-products .pd-step-num {
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: var(--fs-500);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-products .pd-step-title {
  font-size: var(--fs-400);
  margin: 0 0 8px;
}

.page-products .pd-step p {
  margin: 0;
  font-size: var(--fs-200);
  line-height: 1.75;
  color: var(--dim-strong);
}

.page-products .pd-note {
  margin: 18px 0 0;
  font-size: var(--fs-200);
  line-height: 1.7;
  color: var(--dim);
}

.page-products .pd-sub-media {
  margin: 0;
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night);
}

.page-products .pd-sub-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- 阵容时间轴 ---------- */
.page-products .pd-tl-media {
  margin: 24px 0 0;
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .pd-tl-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.page-products .pd-tl-track {
  margin-top: 26px;
  overflow-x: auto;
  padding: 26px 2px 10px;
}

.page-products .pd-tl-months {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 660px;
}

.page-products .pd-tl-month {
  flex: 1 0 100px;
  position: relative;
  padding: 18px 14px 16px;
  border-top: 2px solid var(--line);
  border-radius: 0 0 var(--pd-radius) var(--pd-radius);
  background: linear-gradient(180deg, rgba(14, 27, 49, 0.72), rgba(14, 27, 49, 0.2));
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 320ms ease, border-color 320ms ease;
}

.page-products .pd-tl-month::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.page-products .pd-tl-month--now {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 197, 66, 0.16), rgba(14, 27, 49, 0.3));
  transform: scale(1.04);
}

.page-products .pd-tl-month--now::before {
  box-shadow: 0 0 0 7px rgba(245, 197, 66, 0.2), 0 0 18px rgba(245, 197, 66, 0.55);
}

.page-products .pd-tl-name {
  font-size: var(--fs-400);
  font-weight: 700;
  color: var(--white);
}

.page-products .pd-tl-round {
  font-size: var(--fs-100);
  letter-spacing: 0.04em;
  color: var(--dim-strong);
  line-height: 1.6;
}

/* ---------- 区间条 ---------- */
.page-products .pd-zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  margin-top: 26px;
  align-items: start;
}

.page-products .pd-zone-media {
  margin: 0;
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .pd-zone-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-products .pd-zone-board {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--pd-radius);
  display: grid;
  gap: 20px;
}

.page-products .pd-zone-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.page-products .pd-zone-label {
  font-size: var(--fs-200);
  color: var(--white);
  font-weight: 600;
}

.page-products .pd-zone-range {
  font-size: var(--fs-100);
  color: var(--dim);
  letter-spacing: 0.04em;
}

.page-products .pd-bar {
  position: relative;
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 40, 58, 0.92);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
}

.page-products .pd-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from, 0%);
  width: var(--len, 50%);
  border-radius: 999px;
  transition: width 620ms ease, left 620ms ease;
}

.page-products .pd-bar-fill--gold {
  background: linear-gradient(90deg, rgba(53, 224, 214, 0.9), var(--gold));
}

.page-products .pd-bar-fill--ember {
  background: linear-gradient(90deg, rgba(155, 243, 236, 0.75), var(--ember));
}

.page-products .pd-zone-scale {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: var(--fs-100);
  color: var(--dim);
  letter-spacing: 0.06em;
}

/* ---------- 小屏筛选 ---------- */
.page-products .pd-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-products .pd-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.page-products .pd-cell {
  position: relative;
  display: block;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(14, 27, 49, 0.66);
  text-align: center;
  font-size: var(--fs-200);
  color: var(--dim-strong);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.page-products .pd-cell input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-products .pd-cell:hover {
  border-color: var(--glow);
  color: var(--white);
}

.page-products .pd-cell input:checked + span {
  color: var(--ink);
}

.page-products .pd-cell:has(input:checked) {
  border-color: var(--cyan);
  background: linear-gradient(150deg, var(--cyan), var(--glow));
  color: var(--ink);
  font-weight: 700;
}

.page-products .pd-cell input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.page-products .pd-filter-media {
  margin: 0;
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .pd-filter-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- 订阅方案 ---------- */
.page-products .pd-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.page-products .pd-plan {
  border: 1px solid var(--line);
  border-radius: var(--pd-radius);
  background: linear-gradient(160deg, rgba(14, 27, 49, 0.94), rgba(58, 46, 92, 0.28));
  overflow: hidden;
  transition: border-color 260ms ease, transform 260ms ease, background 260ms ease;
}

.page-products .pd-plan:hover {
  border-color: rgba(53, 224, 214, 0.45);
}

.page-products .pd-plan[open] {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(14, 27, 49, 1), rgba(58, 46, 92, 0.44));
}

.page-products .pd-plan--full {
  border-color: rgba(245, 197, 66, 0.42);
}

.page-products .pd-plan-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .pd-plan-head::-webkit-details-marker {
  display: none;
}

.page-products .pd-plan-name {
  font-family: var(--font-display);
  font-size: var(--fs-500);
  font-weight: 800;
  color: var(--white);
}

.page-products .pd-plan-bill {
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  color: var(--dim);
}

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

.page-products .pd-plan-list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-200);
  line-height: 1.7;
  color: var(--silver);
}

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

/* ---------- 会员中心回看 ---------- */
.page-products .pd-replay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-products .pd-replay-lead {
  margin-top: 4px;
  margin-bottom: 22px;
}

.page-products .pd-replay-board {
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--pd-radius);
  display: grid;
  gap: 18px;
}

.page-products .pd-cmp {
  display: grid;
  gap: 8px;
}

.page-products .pd-cmp-label {
  font-size: var(--fs-100);
  letter-spacing: 0.06em;
  color: var(--dim-strong);
}

.page-products .pd-cmp-bar {
  position: relative;
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(20, 40, 58, 0.92);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
}

.page-products .pd-cmp-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--len, 50%);
  border-radius: 999px;
  transition: width 680ms ease;
}

.page-products .pd-cmp-fill--cyan {
  background: linear-gradient(90deg, var(--cyan), var(--glow));
}

.page-products .pd-cmp-fill--ember {
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

.page-products .pd-replay-facts {
  list-style: none;
  margin: 4px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.page-products .pd-replay-facts li {
  font-size: var(--fs-200);
  line-height: 1.7;
  color: var(--silver);
}

.page-products .pd-replay-facts .mono {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 结尾 ---------- */
.page-products .pd-outro-card {
  position: relative;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--pd-radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(58, 46, 92, 0.5), rgba(14, 27, 49, 0.94) 55%, rgba(6, 13, 26, 1));
  overflow: hidden;
}

.page-products .pd-outro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold), transparent);
}

.page-products .pd-outro-card p {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-300);
  line-height: 1.78;
  color: var(--dim-strong);
}

.page-products .pd-outro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .pd-stage-copy {
    padding: 0 28px 34px;
    margin-top: -64px;
  }

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

  .page-products .pd-zone-row {
    grid-template-columns: 96px minmax(0, 1fr) 118px;
    align-items: center;
    gap: 14px;
  }
}

@media (min-width: 860px) {
  .page-products .pd-stage-copy {
    padding: 0 44px 44px;
    margin-top: -84px;
  }

  .page-products .pd-sub-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

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

  .page-products .pd-step + .pd-step::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 50%;
    width: 22px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--cyan), var(--ember));
  }

  .page-products .pd-zone-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .page-products .pd-filter-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: center;
  }

  .page-products .pd-replay-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .pd-panel-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pd-panel--narrow {
    margin-top: 38px;
  }
}

@media (min-width: 1040px) {
  .page-products .pd-plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pd-plan:nth-child(2) {
    transform: translateY(18px);
  }

  .page-products .pd-plan:nth-child(4) {
    transform: translateY(18px);
  }

  .page-products .pd-plan:hover,
  .page-products .pd-plan[open] {
    transform: translateY(-4px);
  }

  .page-products .pd-plan:nth-child(2):hover,
  .page-products .pd-plan:nth-child(2)[open] {
    transform: translateY(14px);
  }

  .page-products .pd-plan:nth-child(4):hover,
  .page-products .pd-plan:nth-child(4)[open] {
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-tl-month,
  .page-products .pd-cell,
  .page-products .pd-plan,
  .page-products .pd-bar-fill,
  .page-products .pd-cmp-fill {
    transition: none;
  }

  .page-products .pd-tl-month--now {
    transform: none;
  }

  .page-products .pd-plan:nth-child(2),
  .page-products .pd-plan:nth-child(4) {
    transform: none;
  }
}

.page-products {
  --from: inherit;
  --len: 1rem;
}
