.page-products {
  --pf-radius: 22px;
  --pf-gap: clamp(14px, 2vw, 22px);
}

.page-products [id] {
  scroll-margin-top: 96px;
}

/* ---------- 面包屑 ---------- */
.page-products .pf-crumb {
  padding-top: clamp(18px, 3vw, 32px);
  padding-bottom: 6px;
}

.page-products .pf-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist-200);
}

.page-products .pf-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink-700);
}

.page-products .pf-crumb a {
  color: var(--mist-200);
  text-decoration: none;
}

.page-products .pf-crumb a:hover,
.page-products .pf-crumb a:focus-visible {
  color: var(--lime-500);
}

/* ---------- 首屏 ---------- */
.page-products .pf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 84px);
}

.page-products .pf-hero__slab {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 58%;
  height: 140%;
  background: linear-gradient(152deg, rgba(217, 246, 63, 0.18), rgba(18, 96, 74, 0.42) 58%, rgba(6, 32, 25, 0) 88%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 76%);
  pointer-events: none;
}

.page-products .pf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
}

.page-products .pf-hero__copy h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-style: italic;
  font-weight: 900;
}

.page-products .pf-hero__lede {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: var(--mist-200);
}

.page-products .pf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .pf-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin: 0;
}

.page-products .pf-stat {
  border-left: 2px solid var(--ink-700);
  padding-left: 14px;
}

.page-products .pf-stat dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--mist-200);
  line-height: 1.5;
}

.page-products .pf-stat dd {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--lime-500);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.page-products .pf-stat dd span {
  margin-left: 5px;
  font-family: var(--font-body);
  font-size: 0.42em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mist-200);
}

/* ---------- 章节标题 ---------- */
.page-products .pf-section-head {
  max-width: 64ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-products .pf-section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-style: italic;
  font-weight: 900;
}

.page-products .pf-section-head p {
  margin: 0;
  color: var(--mist-200);
  line-height: 1.8;
}

/* ---------- 模块总览 ---------- */
.page-products .pf-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pf-gap);
}

.page-products .pf-mod {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--ink-700);
  border-radius: var(--pf-radius);
  background: linear-gradient(158deg, rgba(11, 51, 42, 0.95), rgba(6, 32, 25, 0.86));
}

.page-products .pf-mod::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -56px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 246, 63, 0.2), rgba(217, 246, 63, 0) 70%);
  pointer-events: none;
}

.page-products .pf-mod h3 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-products .pf-mod > p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mist-200);
}

.page-products .pf-mod__tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--amber-300);
}

.page-products .pf-mod__more {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-700);
}

.page-products .pf-mod__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--lime-500);
}

.page-products .pf-mod__more summary::-webkit-details-marker {
  display: none;
}

.page-products .pf-mod__more summary::before {
  content: "▸ ";
}

.page-products .pf-mod__more[open] summary::before {
  content: "▾ ";
}

.page-products .pf-mod__more summary:focus-visible {
  outline: 2px solid var(--lime-500);
  outline-offset: 3px;
}

.page-products .pf-mod__more ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mist-200);
}

.page-products .pf-mod__more li + li {
  margin-top: 6px;
}

/* ---------- 图文分栏 ---------- */
.page-products .pf-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4.5vw, 52px);
  align-items: center;
}

.page-products .pf-split__body h2 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-style: italic;
  font-weight: 900;
}

.page-products .pf-split__body > p {
  margin: clamp(14px, 2vw, 20px) 0 0;
  color: var(--mist-200);
  line-height: 1.8;
}

.page-products .pf-points {
  display: grid;
  gap: 10px;
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pf-points li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--mist-200);
}

.page-products .pf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 12px;
  height: 2px;
  background: var(--lime-500);
}

/* ---------- 图片 ---------- */
.page-products .pf-figure {
  margin: 0;
}

.page-products .pf-shot {
  overflow: hidden;
  border: 1px solid var(--ink-700);
  border-radius: var(--pf-radius);
  background: linear-gradient(150deg, var(--ink-900), var(--ink-950));
}

.page-products .pf-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pf-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: var(--mist-200);
}

.page-products .pf-band {
  padding: 0 0 clamp(40px, 6vw, 76px);
}

/* ---------- 对照分屏 ---------- */
.page-products .pf-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pf-gap);
  margin-bottom: clamp(22px, 3.5vw, 38px);
}

.page-products .pf-compare__col {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--ink-700);
  border-radius: var(--pf-radius);
}

.page-products .pf-compare__col--now {
  background: linear-gradient(156deg, rgba(217, 246, 63, 0.16), rgba(6, 32, 25, 0.65));
  border-color: rgba(217, 246, 63, 0.46);
}

.page-products .pf-compare__col--prev {
  background: rgba(11, 51, 42, 0.55);
  border-style: dashed;
}

.page-products .pf-compare__badge {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--lime-500);
}

.page-products .pf-compare__col--prev .pf-compare__badge {
  color: var(--amber-300);
}

.page-products .pf-compare__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pf-compare__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mist-200);
}

.page-products .pf-compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber-500);
}

.page-products .pf-compare__col--now .pf-compare__list li::before {
  background: var(--lime-500);
}

/* ---------- 球队档案 / 赛程日历 ---------- */
.page-products .pf-club-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pf-gap);
}

.page-products .pf-club-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--ink-700);
  border-radius: var(--pf-radius);
  background: linear-gradient(160deg, rgba(11, 51, 42, 0.82), rgba(6, 32, 25, 0.6));
}

.page-products .pf-club-card--alt {
  background: linear-gradient(160deg, rgba(217, 246, 63, 0.09), rgba(6, 32, 25, 0.72));
}

.page-products .pf-club-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.015em;
}

/* ---------- 端能力对照 ---------- */
.page-products .pf-end-grid {
  border-top: 1px solid var(--ink-700);
}

.page-products .pf-end-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: clamp(14px, 2vw, 18px) 0;
  border-bottom: 1px solid rgba(18, 96, 74, 0.6);
}

.page-products .pf-end-row--head {
  display: none;
}

.page-products .pf-end-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--lime-500);
}

.page-products .pf-end-cell {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mist-200);
}

.page-products .pf-end-cell b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--amber-300);
}

/* ---------- 版本演进 ---------- */
.page-products .pf-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 30px);
  margin: 0 0 clamp(26px, 4vw, 44px);
  padding: 0;
  list-style: none;
}

.page-products .pf-timeline__item {
  position: relative;
  padding-top: 28px;
}

.page-products .pf-timeline__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--lime-500);
}

.page-products .pf-timeline__item--current .pf-timeline__dot {
  top: -3px;
  width: 22px;
  height: 22px;
  background: var(--lime-500);
  box-shadow: 0 0 0 6px rgba(217, 246, 63, 0.16);
}

.page-products .pf-timeline__year {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--amber-300);
}

.page-products .pf-timeline__item--current .pf-timeline__year {
  color: var(--lime-500);
}

.page-products .pf-timeline__item h3 {
  margin: 0 0 8px;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
}

.page-products .pf-timeline__item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--mist-200);
}

/* ---------- 场景清单 ---------- */
.page-products .pf-scene-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.6vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pf-scene {
  padding: clamp(18px, 2.6vw, 26px);
  border-left: 3px solid var(--lime-500);
  border-radius: 0 var(--pf-radius) var(--pf-radius) 0;
  background: linear-gradient(120deg, rgba(217, 246, 63, 0.07), rgba(6, 32, 25, 0.4));
}

.page-products .pf-scene__no {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--amber-300);
}

.page-products .pf-scene h3 {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.page-products .pf-scene p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--mist-200);
}

.page-products .pf-scene__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--lime-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 246, 63, 0.45);
  padding-bottom: 2px;
}

.page-products .pf-scene__link:hover,
.page-products .pf-scene__link:focus-visible {
  color: var(--lime-300);
  border-bottom-color: var(--lime-300);
}

/* ---------- 收尾 ---------- */
.page-products .pf-next {
  padding: clamp(38px, 5.5vw, 72px) 0;
}

.page-products .pf-next__inner {
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
  padding: clamp(22px, 3.6vw, 40px);
  border: 1px solid var(--ink-700);
  border-radius: var(--pf-radius);
  background: linear-gradient(140deg, rgba(18, 96, 74, 0.32), rgba(6, 32, 25, 0.86));
}

.page-products .pf-next__lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.8;
  color: var(--mist-200);
}

.page-products .pf-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (min-width: 760px) {
  .page-products .pf-module-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-products .pf-mod:nth-child(1) { grid-column: span 5; }
  .page-products .pf-mod:nth-child(2) { grid-column: span 3; margin-top: 22px; }
  .page-products .pf-mod:nth-child(3) { grid-column: span 4; margin-top: 44px; }
  .page-products .pf-mod:nth-child(4) { grid-column: span 3; margin-top: 44px; }
  .page-products .pf-mod:nth-child(5) { grid-column: span 4; margin-top: 22px; }
  .page-products .pf-mod:nth-child(6) { grid-column: span 5; }

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

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

  .page-products .pf-end-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 1.6fr);
    gap: clamp(16px, 2.4vw, 28px);
    align-items: start;
  }

  .page-products .pf-end-row--head {
    display: grid;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-products .pf-end-row--head span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--mist-200);
  }

  .page-products .pf-end-cell b {
    display: none;
  }

  .page-products .pf-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
  }

  .page-products .pf-timeline::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 6px;
    right: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--ink-700), var(--lime-500));
  }

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

@media (min-width: 900px) {
  .page-products .pf-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: end;
  }

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

  .page-products .pf-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-products .pf-split--reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .page-products .pf-next__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, auto);
    align-items: center;
  }

  .page-products .pf-next__links {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
