/* ===== 数据与入口页 · page-products ===== */

.page-products {
  --pp-panel: var(--ink-2);
  --pp-line: var(--steel);
  --pp-radius: var(--radius-md);
  display: block;
}

/* ---------- 首屏 ---------- */

.page-products .prod-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 48px;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(61, 139, 255, 0.32), transparent 62%),
    radial-gradient(circle at 68% 70%, rgba(77, 240, 138, 0.2), transparent 60%);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8%;
  right: -8%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent);
  opacity: 0.55;
  transform: rotate(-1.6deg);
  pointer-events: none;
}

.page-products .prod-hero__inner {
  display: grid;
  gap: 30px;
}

.page-products .prod-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 7.2vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-products .prod-hero__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-products .prod-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--pp-line);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

.page-products .prod-metric {
  background: var(--pp-panel);
  padding: 16px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .prod-metric__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 8vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green);
}

.page-products .prod-metric:last-child .prod-metric__num {
  color: var(--amber);
}

.page-products .prod-metric__label {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-mute);
}

/* ---------- 通用分带 ---------- */

.page-products .prod-band {
  position: relative;
  padding: 52px 0 8px;
}

.page-products .prod-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 40px);
  max-width: var(--shell);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pp-line) 18%, var(--pp-line) 82%, transparent);
  transform: translateX(-50%) rotate(-1.2deg);
}

.page-products .prod-band__head {
  margin-bottom: 26px;
}

.page-products .prod-band .section-title {
  margin: 10px 0 0;
  font-size: clamp(22px, 4.6vw, 34px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-products .prod-subtitle {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.page-products .prod-text {
  margin: 14px 0 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-products .prod-inline-links {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-mute);
}

.page-products .prod-inline-links a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 139, 255, 0.45);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.page-products .prod-inline-links a:hover,
.page-products .prod-inline-links a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- 图文分栏 ---------- */

.page-products .prod-split {
  display: grid;
  gap: 28px;
  align-items: center;
}

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

.page-products .prod-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--board);
}

.page-products .prod-figure--tall img {
  max-height: 540px;
}

.page-products .prod-figure--wide {
  margin: 0 0 26px;
}

.page-products .prod-figure--strip {
  margin: 24px 0 0;
}

.page-products .prod-figure--strip img {
  border-radius: var(--pp-radius);
}

.page-products .prod-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ---------- 列表 ---------- */

.page-products .prod-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .prod-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-products .prod-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--green);
}

.page-products .prod-list strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.page-products .prod-list--tight li {
  font-size: 14px;
}

/* ---------- 球队库筛选说明 ---------- */

.page-products .filter-notes {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .filter-notes li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 2px solid var(--pp-line);
  background: linear-gradient(90deg, rgba(27, 36, 56, 0.7), rgba(14, 21, 38, 0));
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-products .filter-notes__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green);
}

.page-products .filter-notes li:nth-child(2) .filter-notes__key {
  color: var(--blue);
}

.page-products .filter-notes li:nth-child(3) .filter-notes__key {
  color: var(--amber);
}

/* ---------- 球队卡片矩阵 ---------- */

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

.page-products .team-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 22px;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: linear-gradient(158deg, rgba(27, 36, 56, 0.86), rgba(14, 21, 38, 0.72));
  transition: border-color var(--t-fast) ease, transform var(--t-fast) ease;
}

.page-products .team-card:hover {
  border-color: rgba(77, 240, 138, 0.5);
  transform: translateY(-2px);
}

.page-products .team-card__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}

.page-products .team-card:nth-child(4n + 1) .team-card__tag {
  color: var(--green);
  border-color: rgba(77, 240, 138, 0.4);
}

.page-products .team-card:nth-child(4n + 2) .team-card__tag {
  color: var(--blue);
  border-color: rgba(61, 139, 255, 0.4);
}

.page-products .team-card:nth-child(4n + 3) .team-card__tag {
  color: var(--amber);
  border-color: rgba(255, 194, 77, 0.4);
}

.page-products .team-card:nth-child(4n) .team-card__tag {
  color: var(--orange);
  border-color: rgba(255, 122, 47, 0.4);
}

.page-products .team-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.page-products .team-card__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

/* ---------- 统计字段网格 ---------- */

.page-products .prod-split--data {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 30px;
}

.page-products .stat-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--pp-line);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

.page-products .stat-cell {
  background: var(--pp-panel);
  padding: 14px 14px 16px;
  transition: background var(--t-fast) ease;
}

.page-products .stat-cell:hover {
  background: var(--board);
}

.page-products .stat-cell__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}

.page-products .stat-cell__name {
  margin: 6px 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.page-products .stat-cell__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--text-mute);
}

/* ---------- 时间戳列表 ---------- */

.page-products .prod-stamps {
  margin-top: 44px;
}

.page-products .stamp-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--pp-line);
}

.page-products .stamp {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--pp-line);
}

.page-products .stamp__code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-faint);
  transform: skewX(-2deg);
}

.page-products .stamp:nth-child(odd) .stamp__code {
  color: var(--green);
}

.page-products .stamp:nth-child(even) .stamp__code {
  color: var(--amber);
}

.page-products .stamp__body {
  min-width: 0;
}

.page-products .stamp__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.page-products .stamp__note {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-mute);
}

/* ---------- 路径对比表 ---------- */

.page-products .path-scroll {
  margin-top: 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  background: var(--pp-panel);
}

.page-products .path-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-products .path-table th,
.page-products .path-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.72;
  border-bottom: 1px solid var(--pp-line);
}

.page-products .path-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--green);
  background: rgba(27, 36, 56, 0.72);
  border-bottom: 1px solid var(--green);
}

.page-products .path-table tbody th {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.page-products .path-table tbody td {
  color: var(--text-soft);
}

.page-products .path-table tbody tr:last-child th,
.page-products .path-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .path-table tbody tr:hover th,
.page-products .path-table tbody tr:hover td {
  background: rgba(61, 139, 255, 0.06);
}

/* ---------- 更新节奏 ---------- */

.page-products .cycle__track {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-products .cycle__step {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid var(--pp-line);
}

.page-products .cycle__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.page-products .cycle__step--blue::before {
  background: var(--blue);
}

.page-products .cycle__step--amber::before {
  background: var(--amber);
}

.page-products .cycle__time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}

.page-products .cycle__name {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.page-products .cycle__note {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

.page-products .prod-note-card {
  margin: 34px 0 60px;
  padding: 22px 20px 24px;
  border: 1px solid var(--pp-line);
  border-left: 2px solid var(--green);
  border-radius: var(--pp-radius);
  background: linear-gradient(140deg, rgba(14, 21, 38, 0.94), rgba(27, 36, 56, 0.6));
}

.page-products .prod-note-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--text-soft);
}

.page-products .prod-note-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-products .prod-hero {
    padding: 44px 0 60px;
  }

  .page-products .prod-metric {
    padding: 20px 18px 22px;
  }

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

  .page-products .stamp {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 22px;
    padding: 18px 0;
  }
}

@media (min-width: 860px) {
  .page-products .prod-band {
    padding: 66px 0 12px;
  }

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

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

  .page-products .filter-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 980px) {
  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
  }

  .page-products .prod-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.76fr);
    gap: 52px;
  }

  .page-products .prod-split--reverse {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  }

  .page-products .prod-split--reverse > :first-child {
    order: 2;
  }

  .page-products .prod-split--data {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 46px;
  }

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

  .page-products .team-card:nth-child(even) {
    margin-top: 26px;
  }

  .page-products .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .prod-note-card {
    padding: 28px 32px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .team-card,
  .page-products .stat-cell,
  .page-products .prod-inline-links a {
    transition: none;
  }

  .page-products .team-card:hover {
    transform: none;
  }
}
