.page-products {
  --p-surface: rgba(15, 42, 36, .72);
  --p-surface-2: rgba(23, 64, 58, .82);
  --p-edge: rgba(53, 230, 208, .3);
  --p-section-gap: clamp(56px, 8vw, 104px);
  color: var(--bh-muted);
  overflow-x: clip;
}

/* ---------- 面包屑 ---------- */
.page-products .p-crumb {
  padding-top: 108px;
  margin-bottom: 8px;
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  padding-bottom: var(--p-section-gap);
  isolation: isolate;
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(36, 51, 47, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 51, 47, .55) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 82%);
  pointer-events: none;
}

.page-products .p-hero__slice {
  position: absolute;
  left: -6%;
  bottom: -2px;
  width: 112%;
  height: 68px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(53, 230, 208, .14), rgba(255, 122, 47, .09) 58%, transparent);
  transform: skewY(-2.2deg);
  transform-origin: left bottom;
  pointer-events: none;
}

.page-products .p-hero__inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-products .p-hero__copy {
  max-width: 640px;
}

.page-products .p-hero__title {
  margin: 14px 0 0;
  color: var(--bh-paper);
  font-family: var(--bh-font-display);
  font-size: clamp(42px, 8.4vw, 84px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  font-style: italic;
}

.page-products .p-hero__lede {
  margin-top: 22px;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.8;
}

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

.page-products .p-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--bh-line);
}

.page-products .p-hero__stat dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--bh-muted);
  text-transform: uppercase;
}

.page-products .p-hero__stat dd {
  margin: 8px 0 0;
  font-family: var(--bh-font-mono);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 600;
  color: var(--bh-cyan);
  line-height: 1;
}

.page-products .p-hero__stat dd small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--bh-muted);
}

.page-products .p-hero__media {
  margin: 0;
  position: relative;
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  filter: saturate(.62) contrast(1.05);
  border: 1px solid var(--bh-line);
}

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

/* ---------- 区块标题 ---------- */
.page-products .p-section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-products .p-section-title {
  margin: 12px 0 0;
  color: var(--bh-paper);
  font-family: var(--bh-font-display);
  font-size: clamp(28px, 5.2vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
}

.page-products .p-section-lede {
  margin-top: 16px;
}

/* ---------- 标签页 ---------- */
.page-products .p-tabs {
  display: block;
}

.page-products .p-tabs__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--bh-line);
  -webkit-overflow-scrolling: touch;
}

.page-products .p-tab {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--bh-line);
  background: transparent;
  color: var(--bh-muted);
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s var(--bh-ease), border-color .25s var(--bh-ease), background-color .25s var(--bh-ease), box-shadow .25s var(--bh-ease);
}

.page-products .p-tab:hover {
  color: var(--bh-paper);
  border-color: var(--p-edge);
}

.page-products .p-tab[aria-selected="true"] {
  background: var(--bh-cyan);
  border-color: var(--bh-cyan);
  color: var(--bh-black);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(53, 230, 208, .35), 0 0 22px rgba(53, 230, 208, .28);
}

.page-products .p-tab:focus-visible {
  outline: 2px solid var(--bh-cyan);
  outline-offset: 2px;
}

/* ---------- 面板 ---------- */
.page-products .p-panel {
  padding-top: clamp(32px, 5vw, 52px);
  animation: p-fade .32s var(--bh-ease);
}

@keyframes p-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-products .p-panel__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .p-panel__copy {
  max-width: 56ch;
}

.page-products .p-panel__title {
  margin: 14px 0 20px;
  color: var(--bh-paper);
  font-family: var(--bh-font-display);
  font-size: clamp(24px, 4.4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.page-products .p-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .p-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.78;
}

.page-products .p-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background: var(--bh-cyan);
}

.page-products .p-bullets strong {
  display: block;
  color: var(--bh-paper);
  font-weight: 600;
}

.page-products .p-panel__link {
  display: inline-block;
  margin-top: 22px;
  color: var(--bh-cyan);
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 230, 208, .4);
  padding-bottom: 2px;
}

.page-products .p-panel__link:hover {
  border-bottom-color: var(--bh-cyan);
}

.page-products .p-panel__cta {
  margin-top: 22px;
}

.page-products .p-panel__foot {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--bh-line);
  font-size: 14px;
  color: var(--bh-muted);
}

.page-products .p-panel__foot a {
  color: var(--bh-cyan);
  text-decoration: none;
  margin-left: 6px;
  border-bottom: 1px solid rgba(53, 230, 208, .4);
}

/* ---------- 演示区通用 ---------- */
.page-products .p-panel__demo {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--bh-radius-lg);
  background: linear-gradient(160deg, var(--p-surface), rgba(10, 15, 14, .9));
  border: 1px solid var(--bh-line);
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.page-products .p-demo__label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bh-muted);
}

.page-products .p-demo__media {
  margin: 0;
}

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

.page-products .bh-media__caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--bh-muted);
  line-height: 1.6;
}

/* ---------- 热区图 ---------- */
.page-products .p-heat__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.page-products .p-heat__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 8px;
  font-family: var(--bh-font-mono);
  font-size: 12px;
  color: var(--bh-paper);
}

.page-products .p-heat__cell--a { background: var(--bh-ink); }
.page-products .p-heat__cell--b { background: var(--bh-ink-2); }
.page-products .p-heat__cell--c { background: linear-gradient(135deg, var(--bh-ink-2), rgba(255, 122, 47, .55)); }
.page-products .p-heat__cell--d { background: linear-gradient(135deg, rgba(255, 122, 47, .7), var(--bh-orange)); }

.page-products .p-heat__legend {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--bh-muted);
}

/* ---------- 筛选面板 ---------- */
.page-products .p-panel__demo--filter {
  isolation: isolate;
}

.page-products .p-panel__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
  opacity: .22;
}

.page-products .p-panel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.5);
}

.page-products .p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .p-chip {
  font-family: var(--bh-font-body);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: .06em;
}

.page-products .p-chip--on {
  background: rgba(53, 230, 208, .16);
  border-color: var(--bh-cyan);
  color: var(--bh-cyan);
}

.page-products .p-filter-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
}

.page-products .p-filter-result__num {
  font-family: var(--bh-font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--bh-cyan);
  line-height: 1;
}

.page-products .p-mini-rows {
  display: grid;
  gap: 8px;
}

.page-products .p-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(23, 64, 58, .55);
  font-size: 13px;
  color: var(--bh-paper);
}

.page-products .p-mini-row .bh-num {
  color: var(--bh-cyan);
}

/* ---------- 单场比分与条形 ---------- */
.page-products .p-score {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bh-line);
}

.page-products .p-score__num {
  font-family: var(--bh-font-mono);
  font-size: clamp(34px, 8vw, 46px);
  font-weight: 700;
  color: var(--bh-paper);
  line-height: 1;
}

.page-products .p-score__dash {
  font-family: var(--bh-font-mono);
  font-size: 26px;
  color: var(--bh-line);
}

.page-products .p-score__tag {
  margin-left: auto;
}

.page-products .p-bar {
  display: grid;
  gap: 10px;
}

.page-products .p-bar__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
}

.page-products .p-bar__team {
  font-size: 12px;
  color: var(--bh-muted);
}

.page-products .p-bar__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(36, 51, 47, .8);
  overflow: hidden;
}

.page-products .p-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(53, 230, 208, .25), var(--bh-cyan));
  transition: width .42s var(--bh-ease);
}

.page-products .p-bar__fill--orange {
  background: linear-gradient(90deg, rgba(255, 122, 47, .25), var(--bh-orange));
}

.page-products .p-bar__fill--p61 { width: 61%; }
.page-products .p-bar__fill--p39 { width: 39%; }
.page-products .p-bar__fill--p55 { width: 55%; }
.page-products .p-bar__fill--p45 { width: 45%; }

.page-products .p-bar__val {
  font-family: var(--bh-font-mono);
  font-size: 13px;
  color: var(--bh-paper);
  text-align: right;
}

/* ---------- 阵型点阵 ---------- */
.page-products .p-demo--pitch {
  align-content: start;
}

.page-products .p-pitch {
  display: grid;
  gap: 14px;
  padding: 20px 14px;
  border-radius: var(--bh-radius);
  border: 1px dashed var(--bh-line);
  background:
    linear-gradient(180deg, rgba(23, 64, 58, .5), rgba(10, 15, 14, .6));
}

.page-products .p-pitch__row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.page-products .p-pitch__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bh-cyan);
  box-shadow: 0 0 0 3px rgba(53, 230, 208, .14);
}

.page-products .p-pitch__dot--gk {
  background: var(--bh-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, .16);
}

.page-products .p-squad-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .p-panel__grid--squad .p-panel__side-media {
  margin: 0;
  border-radius: var(--bh-radius-lg);
  overflow: hidden;
  filter: saturate(.6);
  border: 1px solid var(--bh-line);
}

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

/* ---------- 移动端轮次 ---------- */
.page-products .p-round {
  display: grid;
  gap: 8px;
}

.page-products .p-round__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(23, 64, 58, .55);
}

.page-products .p-round__no {
  font-family: var(--bh-font-mono);
  font-size: 13px;
  color: var(--bh-cyan);
  white-space: nowrap;
}

.page-products .p-round__meta {
  font-size: 13px;
  color: var(--bh-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-products .p-round__tag {
  font-family: var(--bh-font-body);
  padding: 4px 9px;
  font-size: 11px;
}

/* ---------- 上手顺序 ---------- */
.page-products .p-timeline {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .p-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 22px 20px;
  border-radius: var(--bh-radius-lg);
  background: linear-gradient(150deg, rgba(15, 42, 36, .72), rgba(10, 15, 14, .55));
  border: 1px solid var(--bh-line);
  transition: border-color .28s var(--bh-ease), transform .28s var(--bh-ease);
}

.page-products .p-stage:hover {
  transform: translateY(-4px);
  border-color: var(--p-edge);
}

.page-products .p-stage__no {
  align-self: start;
}

.page-products .p-stage__title {
  margin: 0;
  color: var(--bh-paper);
  font-family: var(--bh-font-display);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

.page-products .p-stage__who {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--bh-cyan);
}

.page-products .p-stage__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.78;
}

.page-products .p-stage__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--bh-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 47, .45);
  padding-bottom: 2px;
}

.page-products .p-order__note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 22px 24px;
  border-left: 2px solid var(--bh-cyan);
  border-radius: 0 var(--bh-radius) var(--bh-radius) 0;
  background: rgba(15, 42, 36, .5);
}

.page-products .p-order__note p {
  margin: 0;
}

/* ---------- 收尾 ---------- */
.page-products .p-cta__inner {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--bh-radius-lg);
  border: 1px solid var(--bh-line);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(53, 230, 208, .12), transparent 60%),
    linear-gradient(160deg, var(--bh-ink), rgba(10, 15, 14, .92));
}

.page-products .p-cta__title {
  margin: 0;
  color: var(--bh-paper);
  font-family: var(--bh-font-display);
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}

.page-products .p-cta__text {
  margin: 12px 0 0;
}

.page-products .p-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .p-round__row {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }
}

@media (min-width: 960px) {
  .page-products .p-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .page-products .p-panel__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .page-products .p-panel__grid--squad {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-products .p-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-products .p-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 719px) {
  .page-products .p-hero__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-products .p-hero__stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid var(--bh-line);
    padding-bottom: 12px;
  }

  .page-products .p-hero__stat dd {
    margin: 0;
  }

  .page-products .p-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .page-products .p-panel__foot a {
    display: inline-block;
    margin-left: 0;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-panel,
  .page-products .p-stage,
  .page-products .p-bar__fill {
    animation: none !important;
    transition: none !important;
  }
}
