.page-products {
  --pd-panel: #0B2740;
  --pd-panel-soft: rgba(11, 39, 64, .66);
  --pd-hair: rgba(234, 242, 247, .10);
  --pd-gutter: clamp(16px, 4vw, 40px);
  background: var(--deep);
  color: var(--mist);
  padding-bottom: clamp(40px, 7vw, 84px);
  overflow-x: clip;
}

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

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px) 0 clamp(30px, 5vw, 62px);
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -18%;
  width: min(720px, 92vw);
  height: 156%;
  background: linear-gradient(158deg, rgba(45, 125, 255, .24), rgba(24, 224, 208, .08) 54%, transparent 78%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(24, 224, 208, 0) 62%);
  opacity: .55;
}

.page-products .pd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.page-products .pd-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(27px, 5.2vw, 50px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.022em;
  max-width: 17em;
}

.page-products .pd-hero .lead {
  margin-top: 18px;
  max-width: 46em;
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: rgba(234, 242, 247, .84);
}

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

.page-products .pd-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}

.page-products .pd-stat {
  background: rgba(11, 39, 64, .82);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px solid transparent;
}

.page-products .pd-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--cyan);
  line-height: 1;
}

.page-products .pd-stat__label {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--graphite);
}

.page-products .pd-stat--gold {
  border-top-color: var(--gold);
}

.page-products .pd-stat--gold .pd-stat__num {
  color: var(--gold);
}

.page-products .pd-stat--violet {
  border-top-color: var(--violet);
}

.page-products .pd-stat--violet .pd-stat__num {
  color: var(--violet);
}

/* ---------- 功能带 ---------- */
.page-products .pd-band {
  padding: clamp(30px, 5vw, 56px) 0 clamp(18px, 3vw, 30px);
}

.page-products .pd-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 20px;
}

.page-products .pd-band h2 {
  margin: 6px 0 0;
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 800;
  letter-spacing: -.012em;
}

.page-products .pd-band__head .muted {
  max-width: 34em;
  font-size: 13.5px;
}

.page-products .pd-filterbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.page-products .pd-filterbar::-webkit-scrollbar {
  display: none;
}

.page-products .pd-filterbar .filter-btn {
  flex: 0 0 auto;
}

.page-products .pd-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(24, 224, 208, .45) transparent;
}

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

.page-products .pd-rail::-webkit-scrollbar-thumb {
  background: rgba(24, 224, 208, .4);
  border-radius: 3px;
}

.page-products .pd-fcard {
  scroll-snap-align: start;
  flex: 0 0 min(292px, 82vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(11, 39, 64, .96), rgba(6, 26, 43, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.page-products .pd-fcard:hover,
.page-products .pd-fcard:focus-within {
  border-color: rgba(24, 224, 208, .55);
  transform: translateY(-3px);
}

.page-products .pd-fcard__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-products .pd-fcard__shot {
  border-radius: 2px;
}

.page-products .pd-fcard__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-products .pd-fcard__text {
  margin: 0;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(234, 242, 247, .74);
}

.page-products .pd-fcard__link {
  align-self: flex-start;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 176, 32, .4);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-products .pd-fcard__link:hover {
  color: var(--mist);
  border-color: var(--mist);
}

.page-products [data-filter-item][hidden] {
  display: none;
}

/* ---------- 通用章节 ---------- */
.page-products .pd-sec {
  position: relative;
  padding: clamp(28px, 4.6vw, 54px) 0;
  border-top: 1px solid var(--pd-hair);
}

.page-products .pd-sec__head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 30px);
  max-width: 62em;
}

.page-products .pd-sec h2 {
  margin: 0;
  font-size: clamp(20px, 2.9vw, 29px);
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: 1.24;
}

.page-products .pd-sec .lead {
  margin: 0;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  color: rgba(234, 242, 247, .8);
  max-width: 52em;
}

.page-products .pd-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(24, 224, 208, .45);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--graphite);
  max-width: 62em;
}

.page-products .pd-split {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

/* ---------- 步骤 ---------- */
.page-products .pd-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-step {
  background: var(--pd-panel-soft);
  padding: 16px 15px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(234, 242, 247, .82);
}

.page-products .pd-step b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

/* ---------- 指标 ---------- */
.page-products .pd-metrics {
  display: grid;
  gap: 1px;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-metric {
  background: var(--pd-panel-soft);
  padding: 20px 18px;
  display: grid;
  gap: 8px;
}

.page-products .pd-metric__num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--mint);
  line-height: 1;
}

.page-products .pd-metric:nth-child(2) .pd-metric__num {
  color: var(--gold);
}

.page-products .pd-metric:nth-child(3) .pd-metric__num {
  color: var(--cyan);
}

.page-products .pd-metric__label {
  font-size: 13px;
  line-height: 1.65;
  color: var(--graphite);
}

/* ---------- 双栏面板 ---------- */
.page-products .pd-duo {
  display: grid;
  gap: 14px;
}

.page-products .pd-duo--tight {
  margin-top: clamp(16px, 3vw, 24px);
}

.page-products .pd-panel {
  padding: 20px 18px;
  background: var(--pd-panel-soft);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
}

.page-products .pd-panel--accent {
  border-left: 2px solid var(--gold);
}

.page-products .pd-panel__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.008em;
}

.page-products .pd-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(234, 242, 247, .78);
}

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

.page-products .pd-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(234, 242, 247, .78);
}

.page-products .pd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 转会动态流 ---------- */
.page-products .pd-flow-wrap {
  display: grid;
  gap: 10px;
}

.page-products .pd-flow {
  padding: 14px 16px;
  background: rgba(11, 39, 64, .72);
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background .22s var(--ease);
}

.page-products .pd-flow:hover {
  background: rgba(11, 39, 64, .96);
}

.page-products .pd-flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.page-products .pd-flow__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--graphite);
}

.page-products .pd-flow__text {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(234, 242, 247, .84);
}

.page-products .pd-flow__src {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--graphite);
}

.page-products .pd-flow-shot {
  border-radius: var(--radius);
}

/* ---------- 排名表 ---------- */
.page-products .pd-split--rev {
  align-items: stretch;
}

.page-products .pd-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  background: rgba(6, 26, 43, .72);
}

.page-products .pd-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .pd-table__cap {
  caption-side: top;
  text-align: left;
  padding: 14px 14px 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--graphite);
}

.page-products .pd-table th {
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--graphite);
  border-bottom: 1px solid var(--line);
}

.page-products .pd-table th[aria-sort] {
  color: var(--gold);
}

.page-products .pd-table__arrow {
  color: var(--gold);
  font-size: 11px;
}

.page-products .pd-table td {
  padding: 12px;
  white-space: nowrap;
  color: rgba(234, 242, 247, .88);
  border-bottom: 1px solid rgba(234, 242, 247, .06);
}

.page-products .pd-table tbody tr:nth-child(even) {
  background: rgba(24, 224, 208, .04);
}

.page-products .pd-table tbody tr:hover {
  background: rgba(24, 224, 208, .13);
}

.page-products .pd-table tbody tr:hover .pd-table__rank {
  color: var(--cyan);
  box-shadow: inset 2px 0 0 var(--cyan);
}

.page-products .pd-table__rank {
  width: 44px;
  color: var(--graphite);
  font-weight: 700;
}

.page-products .pd-rank-shot {
  border-radius: var(--radius);
}

/* ---------- 平板端 ---------- */
.page-products .pd-tablet {
  position: relative;
  margin-bottom: clamp(16px, 3vw, 24px);
}

.page-products .pd-tablet__shot {
  border-radius: 10px;
  overflow: hidden;
}

.page-products .pd-tablet__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- 适用人群 ---------- */
.page-products .pd-fits {
  display: grid;
  gap: 14px;
}

.page-products .pd-fit {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--pd-panel-soft);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}

.page-products .pd-fit:hover {
  border-color: rgba(24, 224, 208, .42);
  transform: translateY(-2px);
}

.page-products .pd-fit__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--deep);
  background: var(--cyan);
  border-radius: 2px;
}

.page-products .pd-fit:nth-child(2) .pd-fit__tag {
  background: var(--gold);
}

.page-products .pd-fit:nth-child(3) .pd-fit__tag {
  background: var(--violet);
  color: var(--mist);
}

.page-products .pd-fit h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 800;
}

.page-products .pd-fit p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(234, 242, 247, .76);
}

/* ---------- 服务计划 ---------- */
.page-products .pd-plans {
  overflow: hidden;
}

.page-products .pd-plans__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  pointer-events: none;
}

.page-products .pd-plans__inner {
  position: relative;
  z-index: 1;
}

.page-products .pd-plan-grid {
  display: grid;
  gap: 14px;
}

.page-products .pd-plan {
  padding: 20px 18px;
  background: rgba(6, 26, 43, .82);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pd-plan--feature {
  border-color: rgba(24, 224, 208, .42);
  background: linear-gradient(180deg, rgba(24, 224, 208, .10), rgba(6, 26, 43, .9) 46%);
}

.page-products .pd-plan__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-products .pd-plan__desc {
  margin: 0;
  font-size: 13px;
  color: var(--graphite);
}

.page-products .pd-plans__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(18px, 3vw, 28px);
  padding-top: 20px;
  border-top: 1px solid var(--pd-hair);
}

.page-products .pd-plans__foot p {
  margin: 0;
  max-width: 40em;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(234, 242, 247, .76);
}

.page-products .pd-plans__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 延伸入口 ---------- */
.page-products .pd-outro {
  padding: clamp(30px, 5vw, 56px) 0 0;
  border-top: 1px solid var(--pd-hair);
  margin-top: clamp(26px, 4vw, 46px);
}

.page-products .pd-outro h2 {
  margin: 0 0 18px;
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-products .pd-outro__links {
  display: grid;
  gap: 1px;
  background: var(--pd-hair);
  border: 1px solid var(--pd-hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pd-outro__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx name"
    "idx desc";
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
  padding: 15px 16px;
  background: var(--pd-panel-soft);
  color: var(--mist);
  text-decoration: none;
  transition: background .22s var(--ease);
}

.page-products .pd-outro__item:hover {
  background: rgba(24, 224, 208, .12);
}

.page-products .pd-outro__idx {
  grid-area: idx;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-products .pd-outro__item strong {
  grid-area: name;
  font-size: 15px;
  font-weight: 800;
}

.page-products .pd-outro__item span:last-child {
  grid-area: desc;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--graphite);
}

/* ---------- 平板断点 ---------- */
@media (min-width: 720px) {
  .page-products .pd-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

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

@media (min-width: 900px) {
  .page-products .pd-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(258px, .6fr);
    align-items: end;
  }

  .page-products .pd-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
  }

  .page-products .pd-split--rev {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  }

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

@media (max-width: 719px) {
  .page-products .pd-plans__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-products .pd-plans__links {
    width: 100%;
  }

  .page-products .pd-plans__links .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
