.page-products {
  --prod-section-pad: 72px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.page-products .prod-shell {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

.page-products .prod-section {
  padding: var(--prod-section-pad) 0;
}

.page-products .prod-section h2,
.page-products .prod-next h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 12px 0 18px;
}

/* ===== Hero ===== */
.page-products .prod-hero {
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  padding: calc(var(--header-h) + 36px) var(--gutter) 72px;
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(201, 162, 39, 0.08) 42% 43%, transparent 43% 100%),
    radial-gradient(circle at 82% 18%, rgba(184, 92, 56, 0.5), transparent 34%);
  z-index: 0;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  top: -16%;
  right: -26%;
  width: 64%;
  height: 130%;
  background: var(--terra);
  clip-path: polygon(42% 0, 68% 0, 12% 100%, 0 100%);
  opacity: 0.15;
  z-index: 1;
  transform: rotate(-8deg);
  transform-origin: top right;
}

.page-products .prod-hero-shell {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-products .prod-hero .crumbs {
  color: rgba(245, 240, 230, 0.64);
  margin-bottom: 28px;
}

.page-products .prod-hero .crumb-link {
  color: var(--gold);
  text-decoration: none;
}

.page-products .prod-hero .crumb-sep {
  color: rgba(245, 240, 230, 0.4);
  margin-inline: 6px;
}

.page-products .prod-hero .crumb-current {
  color: var(--paper);
}

.page-products .prod-kicker {
  margin-bottom: 14px;
}

.page-products #prod-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 14em;
  color: var(--paper);
}

.page-products .prod-hero-intro {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.82);
  margin: 0;
}

.page-products .prod-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 34px 0 28px;
}

.page-products .prod-hm-item {
  border: 1px solid rgba(201, 162, 39, 0.26);
  background: rgba(15, 42, 42, 0.46);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .prod-hm-num {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.page-products .prod-hm-cap {
  font-size: 0.82rem;
  color: rgba(245, 240, 230, 0.78);
}

.page-products .prod-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== TVS Panel ===== */
.page-products .prod-panel {
  position: relative;
  background: var(--glass-deep);
  color: var(--paper);
  padding-bottom: 0;
}

.page-products .prod-panel::after {
  content: "";
  display: block;
  height: 56px;
  background: var(--terra);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
  margin-top: 64px;
}

.page-products .prod-label-dark,
.page-products .prod-panel .section-label,
.page-products .prod-h2h .section-label,
.page-products .prod-coverage .section-label {
  color: var(--gold);
}

.page-products .panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-products .panel-copy h2,
.page-products .prod-h2h h2,
.page-products .prod-coverage h2 {
  color: var(--paper);
}

.page-products .panel-lead {
  color: rgba(245, 240, 230, 0.82);
  max-width: 58ch;
  line-height: 1.7;
}

.page-products .panel-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.page-products .panel-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: rgba(245, 240, 230, 0.88);
  line-height: 1.6;
}

.page-products .pf-dot {
  flex: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 2px;
  transform: skewX(-14deg);
}

.page-products .panel-visual {
  position: relative;
}

.page-products .panel-main-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-float);
}

.page-products .panel-float-chip {
  position: absolute;
  left: -10px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 42, 42, 0.86);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--paper);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}

.page-products .chip-metric {
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.page-products .chip-text strong {
  display: block;
  font-size: 0.92rem;
}

.page-products .chip-text span {
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.72);
}

/* ===== Panel Demo ===== */
.page-products .panel-demo {
  margin-top: 72px;
  background: rgba(15, 42, 42, 0.65);
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.page-products .panel-demo-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.page-products .panel-demo-tip p {
  max-width: 480px;
  color: rgba(245, 240, 230, 0.76);
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-products .league-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .league-btn {
  border: 1px solid rgba(245, 240, 230, 0.36);
  background: rgba(245, 240, 230, 0.07);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 999px;
  font: 500 0.88rem/1 var(--sans);
  cursor: pointer;
  transition:
    background var(--speed-fast) var(--ease),
    color var(--speed-fast) var(--ease),
    border-color var(--speed-fast) var(--ease);
}

.page-products .league-btn[data-active],
.page-products .league-btn.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-deep);
}

.page-products .panel-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .panel-sample-card {
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.page-products .panel-sample-card h3 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.page-products .sample-note {
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.6);
  margin: 0 0 14px;
}

.page-products .demo-bars {
  display: grid;
  gap: 8px;
}

.page-products .demo-bar {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.1);
  overflow: hidden;
}

.page-products .demo-bar::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.55));
}

.page-products .panel-sample-card[data-filter-target="epl"] .demo-bar:nth-child(1)::after {
  width: 72%;
}

.page-products .panel-sample-card[data-filter-target="epl"] .demo-bar:nth-child(2)::after {
  width: 48%;
}

.page-products .panel-sample-card[data-filter-target="epl"] .demo-bar:nth-child(3)::after {
  width: 61%;
}

.page-products .panel-sample-card[data-filter-target="laliga"] .demo-bar:nth-child(1)::after {
  width: 64%;
}

.page-products .panel-sample-card[data-filter-target="laliga"] .demo-bar:nth-child(2)::after {
  width: 52%;
}

.page-products .panel-sample-card[data-filter-target="laliga"] .demo-bar:nth-child(3)::after {
  width: 44%;
}

.page-products .panel-sample-card[data-filter-target="bundesliga"] .demo-bar:nth-child(1)::after {
  width: 56%;
}

.page-products .panel-sample-card[data-filter-target="bundesliga"] .demo-bar:nth-child(2)::after {
  width: 66%;
}

.page-products .panel-sample-card[data-filter-target="bundesliga"] .demo-bar:nth-child(3)::after {
  width: 38%;
}

.page-products .panel-sample-card[data-filter-target="seriea"] .demo-bar:nth-child(1)::after {
  width: 45%;
}

.page-products .panel-sample-card[data-filter-target="seriea"] .demo-bar:nth-child(2)::after {
  width: 59%;
}

.page-products .panel-sample-card[data-filter-target="seriea"] .demo-bar:nth-child(3)::after {
  width: 70%;
}

/* ===== Home / Away Section ===== */
.page-products .prod-home-away {
  background: var(--paper);
  color: var(--ink);
}

.page-products .home-away-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-products .ha-visual {
  position: relative;
}

.page-products .ha-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.page-products .ha-scorecard {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 42, 42, 0.42);
  border: 1px solid rgba(245, 240, 230, 0.18);
  pointer-events: none;
}

.page-products .ha-axis {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 42, 42, 0.82);
  padding: 4px 8px;
  border-radius: 4px;
}

.page-products .ha-axis-home {
  color: var(--gold);
}

.page-products .ha-axis-away {
  align-self: flex-end;
  color: var(--terra);
}

.page-products .ha-line {
  position: absolute;
  top: 54%;
  left: 12%;
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--terra));
  filter: drop-shadow(0 0 6px rgba(201, 162, 39, 0.5));
}

.page-products .ha-copy h2 {
  color: var(--ink);
}

.page-products .ha-copy p {
  max-width: 56ch;
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.82);
}

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

.page-products .ha-dim-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
}

.page-products .ha-dim-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--terra);
  transform: skewX(-12deg);
}

.page-products .ha-note {
  font-size: 0.84rem;
  color: rgba(46, 46, 46, 0.68);
}

/* ===== H2H Section ===== */
.page-products .prod-h2h {
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
}

.page-products .h2h-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.7);
}

.page-products .h2h-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.page-products .prod-h2h p {
  max-width: 62ch;
  color: rgba(245, 240, 230, 0.82);
  line-height: 1.7;
}

.page-products .h2h-inner h2 {
  max-width: 18em;
}

.page-products .h2h-cells {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.page-products .h2h-cell {
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: rgba(15, 42, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}

.page-products .h2h-cell summary {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  cursor: pointer;
}

.page-products .h2h-cell p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: rgba(245, 240, 230, 0.78);
}

/* ===== Mobile Expert ===== */
.page-products .prod-expert {
  background: var(--fog);
  color: var(--ink);
}

.page-products .prod-expert h2 {
  color: var(--ink);
}

.page-products .expert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-products .expert-copy p {
  max-width: 58ch;
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.82);
}

.page-products .expert-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 18px;
}

.page-products .ex-stat {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.page-products .ex-num {
  display: block;
  font-family: var(--mono);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--green-deep);
}

.page-products .ex-stat span {
  font-size: 0.74rem;
  color: var(--ink);
}

.page-products .expert-note {
  font-size: 0.84rem;
  color: rgba(46, 46, 46, 0.68);
}

.page-products .expert-visual {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
}

.page-products .expert-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow-float);
}

.page-products .phone-badge {
  position: absolute;
  bottom: -10px;
  right: 8px;
  background: var(--terra);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  box-shadow: var(--shadow-soft);
  transform: rotate(4deg);
}

/* ===== Watchlist & Version ===== */
.page-products .prod-watch {
  background: var(--paper);
}

.page-products .prod-watch h2 {
  color: var(--ink);
}

.page-products .watch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-products .watch-copy p {
  line-height: 1.7;
  color: rgba(46, 46, 46, 0.82);
  max-width: 56ch;
}

.page-products .nav-preview {
  border: 1px solid rgba(46, 46, 46, 0.18);
  background: var(--fog);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 24px;
}

.page-products .nav-preview summary {
  font-weight: 700;
  cursor: pointer;
}

.page-products .nav-preview-content p {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--ink);
}

.page-products .version-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--paper);
}

.page-products .version-card .section-label {
  color: var(--gold);
}

.page-products .timeline {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-products .timeline li {
  position: relative;
  padding: 0 0 24px 30px;
  border-left: 2px solid rgba(201, 162, 39, 0.38);
}

.page-products .timeline li:last-child {
  padding-bottom: 2px;
  border-left-color: transparent;
}

.page-products .timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.page-products .timeline time {
  font-family: var(--mono);
  color: var(--gold);
  display: block;
  font-size: 0.86rem;
}

.page-products .timeline span {
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.84);
}

/* ===== Coverage ===== */
.page-products .prod-coverage {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--paper);
}

.page-products .coverage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-products .coverage-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
}

.page-products .coverage-copy p {
  max-width: 70ch;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.84);
}

.page-products .coverage-copy h2 {
  max-width: 20em;
}

.page-products .league-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .league-list li {
  border: 1px solid rgba(245, 240, 230, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.9);
  background: rgba(15, 42, 42, 0.5);
}

.page-products .coverage-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-products .cov-metric {
  background: rgba(245, 240, 230, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-md);
  padding: 18px;
}

.page-products .cov-metric strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--gold);
}

.page-products .cov-metric span {
  font-size: 0.8rem;
  color: rgba(245, 240, 230, 0.78);
}

.page-products .cov-metric.is-wide {
  grid-column: 1 / -1;
}

/* ===== Next Steps ===== */
.page-products .prod-next {
  background: var(--paper);
  color: var(--ink);
  padding: 90px 0;
}

.page-products .prod-next h2 {
  color: var(--ink);
  margin: 10px 0 26px;
}

.page-products .next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .next-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(46, 46, 46, 0.12);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--speed-base) var(--ease),
    box-shadow var(--speed-base) var(--ease);
}

.page-products .next-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.page-products .next-card .section-index {
  font-family: var(--mono);
  color: var(--terra);
  font-size: 2rem;
  line-height: 1;
}

.page-products .next-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.page-products .next-card p {
  font-size: 0.88rem;
  color: rgba(46, 46, 46, 0.78);
  margin: 0;
  line-height: 1.6;
}

.page-products .prod-next-foot {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.84rem;
}

.page-products .prod-next-foot a {
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 61, 43, 0.3);
}

/* ===== 响应式 ===== */
@media (min-width: 760px) {
  .page-products .prod-hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .panel-demo-head {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .page-products .panel-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .h2h-cells {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .coverage-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .next-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .page-products .panel-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .page-products .panel-float-chip {
    left: -24px;
    bottom: 30px;
  }

  .page-products .home-away-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .page-products .expert-grid {
    grid-template-columns: 1.1fr 0.8fr;
    gap: 56px;
  }

  .page-products .watch-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }

  .page-products .coverage-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }

  .page-products .prod-section,
  .page-products .prod-hero {
    --prod-section-pad: 96px;
  }
}

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