.page-products {
  --pf-rule: 1px solid var(--ba-line);
  --pf-panel: rgba(17, 26, 62, 0.72);
  background: var(--ba-night);
  color: var(--ba-paper);
  overflow-x: clip;
}

.page-products .ba-h1,
.page-products .ba-h2,
.page-products .ba-h3 {
  text-wrap: balance;
}

.page-products .ba-lede {
  color: var(--ba-steel);
  max-width: 60ch;
}

/* ---------- 首屏 ---------- */
.page-products .pf-hero {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(40px, 7vw, 92px);
}

.page-products .pf-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(720px, 84vw);
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(140deg, rgba(53, 211, 199, 0.16), rgba(230, 184, 74, 0.12) 54%, rgba(10, 15, 44, 0) 76%),
    repeating-linear-gradient(90deg, rgba(122, 139, 181, 0.09) 0 1px, transparent 1px 64px);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 72%);
  pointer-events: none;
  z-index: -1;
}

.page-products .pf-hero__inner {
  display: grid;
  gap: clamp(26px, 4vw, 40px);
}

.page-products .pf-hero__copy {
  max-width: 64ch;
}

.page-products .pf-hero__copy .ba-h1 {
  margin: 10px 0 0;
}

.page-products .pf-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-products .pf-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 18px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: var(--pf-rule);
  list-style: none;
}

.page-products .pf-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-products .pf-num {
  font-family: var(--ba-font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ba-gold);
}

.page-products .pf-hero__media {
  margin: 0;
}

.page-products .pf-hero__media img,
.page-products .pf-duration__media img,
.page-products .pf-tags__media img,
.page-products .pf-board__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 经济曲线 ---------- */
.page-products .pf-curve__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.page-products .pf-curve__intro > p {
  max-width: 52ch;
}

.page-products .pf-turnpoints {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-products .pf-turnpoints li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: var(--pf-rule);
}

.page-products .pf-turnpoints li:last-child {
  border-bottom: var(--pf-rule);
}

.page-products .pf-turnpoints b {
  font-family: var(--ba-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ba-cyan);
}

.page-products .pf-turnpoints span {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ba-steel);
}

.page-products .pf-curve__intro .ba-note {
  margin-top: 22px;
}

.page-products .pf-curve__panel {
  border: var(--pf-rule);
  background: linear-gradient(180deg, rgba(27, 42, 91, 0.65), rgba(10, 15, 44, 0.92));
  box-shadow: var(--ba-shadow);
  padding: clamp(14px, 2.4vw, 24px);
}

.page-products .pf-curve__svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pf-grid line {
  stroke: var(--ba-line);
  stroke-width: 1;
}

.page-products .pf-area {
  fill: url(#pfCurveFill);
}

.page-products .pf-line {
  fill: none;
  stroke: var(--ba-cyan);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.page-products .pf-dots circle {
  fill: var(--ba-gold);
  stroke: var(--ba-night);
  stroke-width: 2;
}

.page-products .pf-curve__axis {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: var(--pf-rule);
  font-family: var(--ba-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ba-steel);
}

.page-products .pf-curve__hint {
  margin: 10px 0 0;
}

/* ---------- 对局时长 ---------- */
.page-products .pf-duration__head {
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-products .pf-duration__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.page-products .pf-duration__table {
  border: var(--pf-rule);
  background: var(--pf-panel);
}

.page-products .pf-duration__media {
  margin: 0;
  align-self: center;
}

.page-products .pf-duration__foot {
  margin-top: 16px;
}

.page-products .ba-table .num {
  font-family: var(--ba-font-mono);
  text-align: right;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- 赛事阶段主题带 ---------- */
.page-products .pf-stages-band__head {
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pf-band {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: var(--pf-rule);
}

.page-products .pf-band li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 18px 0;
  border-bottom: var(--pf-rule);
}

.page-products .pf-band__num {
  font-family: var(--ba-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ba-gold);
  padding-top: 5px;
}

.page-products .pf-band .ba-h3 {
  margin: 0 0 6px;
}

.page-products .pf-band p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ba-steel);
}

/* ---------- 偏好标签 ---------- */
.page-products .pf-tags__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-products .pf-tags__media {
  margin: 0;
}

.page-products .pf-tags__copy > p {
  max-width: 54ch;
}

.page-products .pf-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-products .pf-tags__hint {
  margin-top: 18px;
  max-width: 52ch;
}

/* ---------- 数据看板与订阅 ---------- */
.page-products .pf-board__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-products .pf-board__copy > p {
  max-width: 54ch;
}

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

.page-products .pf-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ba-steel);
}

.page-products .pf-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: var(--ba-cyan);
}

.page-products .pf-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border: var(--pf-rule);
  border-left: 3px solid var(--ba-bounty);
  background: rgba(139, 30, 45, 0.09);
}

.page-products .pf-subscribe p {
  margin: 0;
  flex: 1 1 240px;
}

.page-products .pf-board__media {
  margin: 0;
}

/* ---------- 适用场景 ---------- */
.page-products .pf-scenes__head {
  max-width: 60ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pf-scenes__grid {
  display: grid;
  gap: 16px;
}

.page-products .pf-scene {
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  border: var(--pf-rule);
  background: linear-gradient(160deg, rgba(27, 42, 91, 0.58), rgba(10, 15, 44, 0.88));
  box-shadow: var(--ba-shadow);
  overflow: hidden;
}

.page-products .pf-scene::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(53, 211, 199, 0.16), transparent 68%);
  pointer-events: none;
}

.page-products .pf-scene__idx {
  display: block;
  margin-bottom: 12px;
  font-family: var(--ba-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ba-gold);
}

.page-products .pf-scene .ba-h3 {
  margin: 0 0 10px;
}

.page-products .pf-scene p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ba-steel);
}

/* ---------- 功能对比 ---------- */
.page-products .pf-compare__head {
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .pf-compare__table {
  border: var(--pf-rule);
  background: var(--pf-panel);
}

.page-products .pf-compare__table td,
.page-products .pf-compare__table th {
  vertical-align: top;
}

.page-products .pf-compare__foot {
  margin-top: 16px;
}

/* ---------- 行动区 ---------- */
.page-products .pf-cta__inner {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: var(--pf-rule);
  background: linear-gradient(120deg, rgba(230, 184, 74, 0.11), rgba(53, 211, 199, 0.08) 56%, rgba(10, 15, 44, 0));
}

.page-products .pf-cta__inner p {
  margin: 12px 0 0;
  max-width: 56ch;
  color: var(--ba-steel);
  line-height: 1.72;
}

.page-products .pf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-products .pf-band li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px 20px;
    padding: 22px 0;
  }

  .page-products .pf-scenes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-products .pf-hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(32px, 4.5vw, 68px);
  }

  .page-products .pf-hero__media {
    transform: translateY(16px);
  }

  .page-products .pf-curve__grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }

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

  .page-products .pf-tags__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .page-products .pf-tags__media {
    transform: rotate(-1.2deg);
  }

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

  .page-products .pf-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: none;
  }

  .page-products .pf-band li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 22px 20px 24px;
    border-bottom: none;
    border-top: 2px solid var(--ba-line);
    transition: border-color 0.3s var(--ba-ease), background-color 0.3s var(--ba-ease);
  }

  .page-products .pf-band li:first-child {
    padding-left: 0;
  }

  .page-products .pf-band li:last-child {
    padding-right: 0;
  }

  .page-products .pf-band li:hover {
    border-top-color: var(--ba-gold);
    background: rgba(27, 42, 91, 0.42);
  }

  .page-products .pf-band__num {
    padding-top: 0;
    margin-bottom: 10px;
  }

  .page-products .pf-scene:nth-child(2) {
    transform: translateY(24px);
  }

  .page-products .pf-cta__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pf-band li,
  .page-products .pf-scene {
    transition: none;
  }

  .page-products .pf-hero__media,
  .page-products .pf-tags__media,
  .page-products .pf-scene:nth-child(2) {
    transform: none;
  }
}
