.page-products {
  --pd-gap: clamp(14px, 2vw, 22px);
  --pd-edge: rgba(127, 163, 255, .2);
  --pd-edge-strong: rgba(127, 163, 255, .4);
  --pd-panel: linear-gradient(158deg, var(--navy-2), var(--navy-3));
  --pd-accent: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(8px, 2vw, 20px) clamp(36px, 6vw, 68px);
}

.page-products .pd-hero__slice {
  position: absolute;
  inset: -14% -14% auto -14%;
  height: clamp(260px, 46vw, 500px);
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(127, 163, 255, .07) 0 1px, transparent 1px 78px),
    linear-gradient(118deg, rgba(31, 224, 208, .2) 0%, rgba(31, 224, 208, .04) 40%, transparent 68%),
    linear-gradient(118deg, transparent 52%, rgba(107, 77, 255, .18) 76%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

.page-products .pd-hero__copy {
  max-width: 46rem;
  padding-top: clamp(12px, 3vw, 28px);
}

.page-products .pd-hero h1 {
  margin: .3em 0 .5em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 5.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ice);
}

.page-products .pd-hero .lede {
  max-width: 40em;
  color: var(--slate);
}

.page-products .pd-hero__actions {
  margin-top: clamp(18px, 3vw, 28px);
}

/* ---------- 非对称视图卡阵 ---------- */
.page-products .pd-matrix4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pd-gap);
  margin-top: clamp(28px, 5vw, 52px);
}

.page-products .pd-view {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 176px;
  padding: 20px 20px 22px;
  overflow: hidden;
  color: var(--ice);
  background: var(--pd-panel);
  border: 1px solid var(--pd-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pd-view > *:not(.pd-view__media) {
  position: relative;
  z-index: 1;
}

.page-products .pd-view .tag {
  align-self: flex-start;
  margin: 0;
}

.page-products .pd-view .card__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.page-products .pd-view .card__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .pd-view__note {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--cyan-mist);
}

.page-products .pd-view:hover,
.page-products .pd-view:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard-hover);
  border-color: var(--pd-edge-strong);
}

.page-products .pd-view__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-products .pd-view__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(202deg, rgba(10, 18, 48, .28) 0%, rgba(6, 11, 30, .94) 74%);
}

.page-products .pd-view--wide::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  background: var(--pd-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: .9;
}

@media (min-width: 780px) {
  .page-products .pd-matrix4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(158px, auto);
  }

  .page-products .pd-view--wide {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    min-height: 0;
    padding: 26px 26px 28px;
  }

  .page-products .pd-view--b {
    grid-column: 3 / span 2;
    grid-row: 1;
  }

  .page-products .pd-view--c {
    grid-column: 3;
    grid-row: 2;
  }

  .page-products .pd-view--d {
    grid-column: 4;
    grid-row: 2;
  }
}

/* ---------- 通用小节头 ---------- */
.page-products .pd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 30px;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-head .h2 {
  margin: .25em 0 0;
}

.page-products .pd-head__aside {
  max-width: 34ch;
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 联赛条带 ---------- */
.page-products .pd-leagues {
  padding-block: clamp(34px, 5.5vw, 62px);
}

.page-products .pd-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.page-products .pd-rail:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

.page-products .pd-rail::-webkit-scrollbar-thumb {
  background: rgba(31, 224, 208, .5);
}

.page-products .pd-rail__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 186px;
  padding: 15px 16px 17px;
  background: var(--navy-2);
  border: 1px solid var(--pd-edge);
  border-left: 3px solid var(--pd-accent);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pd-rail__item:hover {
  transform: translateY(-3px) scale(1.015);
  border-left-color: var(--orange);
}

.page-products .pd-rail__name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ice);
}

.page-products .pd-rail__desc {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ---------- 三步路径 ---------- */
.page-products .pd-path {
  padding-block: clamp(34px, 5.5vw, 62px);
  background:
    repeating-linear-gradient(90deg, rgba(127, 163, 255, .05) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(19, 28, 70, .5), transparent 70%);
}

.page-products .pd-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-step {
  position: relative;
  padding: 22px 20px 24px;
  background: linear-gradient(180deg, rgba(19, 28, 70, .92), rgba(10, 18, 48, .68));
  border: 1px solid var(--pd-edge);
  border-top: 3px solid var(--pd-accent);
  border-radius: var(--radius);
}

.page-products .pd-step__num {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(31, 224, 208, .75);
}

.page-products .pd-step .h3 {
  margin: 0 0 8px;
}

.page-products .pd-step p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--slate);
}

.page-products .pd-path__foot {
  max-width: 58ch;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  font-size: .9rem;
  line-height: 1.8;
  color: var(--slate);
}

@media (min-width: 880px) {
  .page-products .pd-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .page-products .pd-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 44px;
    right: -30px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--pd-accent), rgba(31, 224, 208, 0));
  }
}

/* ---------- 分栏内容 ---------- */
.page-products .pd-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-products .pd-split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .page-products .pd-split--reverse {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

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

.page-products .pd-split__body .h2 {
  margin: .3em 0 .6em;
}

.page-products .pd-split__body .prose {
  max-width: 46em;
  color: var(--slate);
}

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

.page-products .figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 2026 中心字段 ---------- */
.page-products .pd-center {
  padding-block: clamp(34px, 5.5vw, 66px);
}

.page-products .pd-fields {
  margin: clamp(18px, 3vw, 26px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .pd-fields li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pd-fields__k {
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--cyan-mist);
}

.page-products .pd-fields__v {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ice);
}

@media (min-width: 560px) {
  .page-products .pd-fields li {
    grid-template-columns: 8.5em minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
  }
}

.page-products .pd-center__foot {
  margin: 20px 0 0;
  font-size: .9rem;
  color: var(--slate);
}

.page-products .pd-center__foot .link-more {
  color: var(--cyan);
}

/* ---------- 移动端 ---------- */
.page-products .pd-mobile {
  padding-block: clamp(34px, 5.5vw, 66px);
}

.page-products .pd-mobile__list {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 26px);
}

.page-products .pd-mobile__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  background: rgba(19, 28, 70, .62);
  border: 1px solid var(--pd-edge);
  border-radius: var(--radius);
}

.page-products .pd-mobile__idx {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: .82rem;
  color: var(--ink-dark);
  background: var(--cyan);
  border-radius: var(--radius);
}

.page-products .pd-mobile__row p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.72;
  color: var(--slate);
}

/* ---------- 刷新节奏 ---------- */
.page-products .pd-refresh {
  padding-block: clamp(34px, 5.5vw, 66px);
  background: linear-gradient(180deg, rgba(14, 23, 56, .9), rgba(10, 18, 48, .4));
}

.page-products .pd-ruler {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-bottom: clamp(20px, 3vw, 30px);
  overflow: hidden;
}

.page-products .pd-ruler span {
  flex: 1 1 auto;
  height: 16px;
  background: linear-gradient(180deg, rgba(31, 224, 208, .85), rgba(31, 224, 208, .05));
}

.page-products .pd-ruler span:nth-child(3n) {
  height: 30px;
}

.page-products .pd-ruler span:nth-child(4n) {
  height: 23px;
}

.page-products .pd-ruler span:nth-child(7n) {
  height: 46px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 43, .06));
}

.page-products .pd-fresh {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

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

.page-products .pd-fresh__cell {
  padding: 20px 18px 22px;
  background: var(--navy-2);
  border: 1px solid var(--pd-edge);
  border-bottom: 3px solid var(--pd-accent);
  border-radius: var(--radius);
}

.page-products .pd-fresh__cell:nth-child(2) {
  border-bottom-color: var(--orange);
}

.page-products .pd-fresh__cell:nth-child(3) {
  border-bottom-color: var(--violet);
}

.page-products .pd-fresh__cell:nth-child(4) {
  border-bottom-color: var(--lime);
}

.page-products .pd-fresh__value {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  line-height: 1;
  color: var(--ice);
}

.page-products .pd-fresh__unit {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--slate);
}

.page-products .pd-fresh__label {
  margin: 0;
  font-size: .84rem;
  line-height: 1.72;
  color: var(--slate);
}

/* ---------- 使用场景 ---------- */
.page-products .pd-scenes {
  padding-block: clamp(34px, 5.5vw, 66px);
}

.page-products .pd-scenes__grid {
  align-items: stretch;
}

.page-products .pd-scene {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .pd-scene .tag {
  align-self: flex-start;
  margin: 0;
}

.page-products .pd-scene .card__title {
  margin: 0;
  font-size: 1.05rem;
}

.page-products .pd-scene .card__text {
  margin: 0;
  flex: 1 1 auto;
}

.page-products .pd-scene .card__foot {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--cyan-mist);
}

/* ---------- 版本卷轴 ---------- */
.page-products .pd-versions {
  padding-block: clamp(34px, 5.5vw, 66px);
  background: linear-gradient(180deg, rgba(19, 28, 70, .55), transparent 80%);
}

.page-products .pd-reel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin: 0;
  padding: 22px 2px 18px;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;
}

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

.page-products .pd-reel::-webkit-scrollbar-thumb {
  background: rgba(107, 77, 255, .6);
}

.page-products .pd-reel__item {
  position: relative;
  flex: 0 0 auto;
  width: min(272px, 76vw);
  scroll-snap-align: start;
  padding: 18px 18px 20px;
  background: rgba(14, 23, 56, .88);
  border: 1px solid var(--pd-edge);
  border-radius: var(--radius);
}

.page-products .pd-reel__item::before {
  content: "";
  position: absolute;
  top: -23px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: var(--violet);
  transform: rotate(45deg);
}

.page-products .pd-reel__item--end::before {
  background: var(--orange);
}

.page-products .pd-reel__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--slate);
}

.page-products .pd-reel__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ice);
}

.page-products .pd-reel__text {
  margin: 0;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-products .pd-versions__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 30px);
  padding: 20px 22px;
  background: linear-gradient(100deg, rgba(107, 77, 255, .22), rgba(31, 224, 208, .1));
  border: 1px solid var(--pd-edge-strong);
  border-radius: var(--radius);
}

.page-products .pd-versions__cta p {
  margin: 0;
  max-width: 46ch;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--ice);
}

@media (max-width: 619px) {
  .page-products .pd-head__aside {
    max-width: none;
  }

  .page-products .pd-versions__cta .btn {
    width: 100%;
    text-align: center;
  }
}

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

  .page-products .pd-view:hover,
  .page-products .pd-rail__item:hover {
    transform: none;
  }
}
