.page-products {
  --prod-teal: var(--deep-teal);
  --prod-rail-w: clamp(46px, 8vw, 72px);
  --prod-rail-x: clamp(14px, 2.4vw, 23px);
}

/* ============ 首屏 ============ */
.page-products .prod-hero {
  position: relative;
  padding: clamp(28px, 5vw, 52px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -26%;
  right: -14%;
  width: min(620px, 78vw);
  height: min(620px, 78vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 75, 244, 0.30) 0%, rgba(108, 75, 244, 0) 68%);
  pointer-events: none;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: -18%;
  bottom: -22%;
  width: min(460px, 62vw);
  height: min(460px, 62vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 225, 224, 0.16) 0%, rgba(51, 225, 224, 0) 70%);
  pointer-events: none;
}

.page-products .prod-hero .breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(26px, 5vw, 52px);
}

.page-products .prod-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.page-products .prod-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.22em;
  color: var(--electric-cyan);
}

.page-products .prod-hero__title {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 6.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--star-white);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .page-products .prod-hero__title {
    background: linear-gradient(118deg, #F5F7FF 0%, #F5F7FF 52%, #7FC4EA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.page-products .prod-hero__intro {
  margin: 0 0 clamp(24px, 3.4vw, 34px);
  max-width: 40em;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--star-grey);
}

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

.page-products .prod-hero__rail {
  min-width: 0;
}

.page-products .prod-hero__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--orbit-blue);
  display: grid;
}

.page-products .prod-hero__item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "num label"
    "num hint";
  gap: 2px 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(27, 42, 85, 0.65);
}

.page-products .prod-hero__item:last-child {
  border-bottom: 0;
}

.page-products .prod-hero__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 0 4px rgba(51, 225, 224, 0.12);
}

.page-products .prod-hero__item:nth-child(2)::before {
  background: var(--city-sky);
  box-shadow: 0 0 0 4px rgba(127, 196, 234, 0.14);
}

.page-products .prod-hero__item:nth-child(3)::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 176, 58, 0.14);
}

.page-products .prod-hero__item:nth-child(4)::before {
  background: var(--nebula-purple);
  box-shadow: 0 0 0 4px rgba(108, 75, 244, 0.16);
}

.page-products .prod-hero__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--electric-cyan);
  letter-spacing: 0.06em;
}

.page-products .prod-hero__item:nth-child(2) .prod-hero__num { color: var(--city-sky); }
.page-products .prod-hero__item:nth-child(3) .prod-hero__num { color: var(--amber); }
.page-products .prod-hero__item:nth-child(4) .prod-hero__num { color: var(--nebula-purple); }

.page-products .prod-hero__label {
  grid-area: label;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--star-white);
}

.page-products .prod-hero__hint {
  grid-area: hint;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  color: var(--star-grey);
}

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

/* ============ 通用标题组 ============ */
.page-products .prod-head {
  max-width: 46em;
  margin: 0 0 clamp(30px, 5vw, 52px);
}

.page-products .prod-head__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.page-products .prod-head__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, var(--fs-h2));
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--star-white);
}

.page-products .prod-head__note {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--star-grey);
}

.page-products .prod-body {
  margin: 0 0 18px;
  max-width: 36em;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--star-grey);
}

.page-products .prod-body:last-child {
  margin-bottom: 0;
}

/* ============ 技能树 ============ */
.page-products .prod-overview {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
  background: var(--space-blue);
}

.page-products .prod-overview::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 60px;
  background: var(--space-ink);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  pointer-events: none;
}

.page-products .skill-tree {
  position: relative;
  padding-left: var(--prod-rail-w);
}

.page-products .skill-tree::before {
  content: "";
  position: absolute;
  left: var(--prod-rail-x);
  top: 30px;
  bottom: 30px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--nebula-purple) 0%, var(--electric-cyan) 52%, var(--amber) 100%);
  opacity: 0.42;
}

.page-products .skill-tree__branch {
  position: relative;
  border-bottom: 1px solid rgba(27, 42, 85, 0.7);
}

.page-products .skill-tree__branch:first-child {
  border-top: 1px solid rgba(27, 42, 85, 0.7);
}

.page-products .skill-tree__branch::before {
  content: "";
  position: absolute;
  left: calc(var(--prod-rail-x) + 1px - var(--prod-rail-w) - 8px);
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--electric-cyan);
  background: var(--space-blue);
  box-shadow: 0 0 0 5px rgba(51, 225, 224, 0.1);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .skill-tree__branch:nth-child(2)::before {
  border-color: var(--city-sky);
  box-shadow: 0 0 0 5px rgba(127, 196, 234, 0.12);
}

.page-products .skill-tree__branch:nth-child(3)::before {
  border-color: var(--amber);
  box-shadow: 0 0 0 5px rgba(255, 176, 58, 0.12);
}

.page-products .skill-tree__branch:nth-child(4)::before {
  border-color: var(--nebula-purple);
  box-shadow: 0 0 0 5px rgba(108, 75, 244, 0.14);
}

.page-products .skill-tree__branch[open]::before {
  background: var(--electric-cyan);
}

.page-products .skill-tree__node {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num tag";
  gap: 6px 14px;
  align-items: start;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.page-products .skill-tree__node::-webkit-details-marker {
  display: none;
}

.page-products .skill-tree__node::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--star-grey);
  border-bottom: 2px solid var(--star-grey);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .skill-tree__branch[open] .skill-tree__node::after {
  transform: rotate(-135deg);
  border-color: var(--electric-cyan);
}

.page-products .skill-tree__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--orbit-blue);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.page-products .skill-tree__branch[open] .skill-tree__num {
  color: var(--electric-cyan);
}

.page-products .skill-tree__name {
  grid-area: name;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--star-white);
}

.page-products .skill-tree__tag {
  grid-area: tag;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.08em;
  color: var(--star-grey);
}

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

.page-products .skill-tree__child {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--star-grey);
}

.page-products .skill-tree__child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--electric-cyan);
  opacity: 0.8;
}

/* ============ 通用分栏 ============ */
.page-products .prod-block {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
}

.page-products .prod-split {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-products .prod-split__main {
  min-width: 0;
}

.page-products .prod-split__aside {
  min-width: 0;
}

@media (min-width: 900px) {
  .page-products .prod-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

/* ============ 战报与比分 ============ */
.page-products .prod-report {
  background: var(--space-ink);
}

.page-products .scoreboard {
  margin-top: clamp(26px, 4vw, 38px);
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-md);
  background: var(--nebula-indigo);
  border-left: 2px solid var(--amber);
}

.page-products .scoreboard__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-products .scoreboard__list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.page-products .scoreboard__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(27, 42, 85, 0.85);
}

.page-products .scoreboard__row:last-child {
  border-bottom: 0;
}

.page-products .scoreboard__row dt {
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--star-grey);
}

.page-products .scoreboard__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  line-height: var(--lh-note);
  color: var(--star-white);
  letter-spacing: 0.02em;
}

.page-products .scoreboard__row--key dd {
  color: var(--amber);
  text-shadow: 0 0 18px rgba(255, 176, 58, 0.28);
}

.page-products .prod-report .media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--nebula-indigo);
}

/* ============ 曼城复盘 ============ */
.page-products .prod-review {
  background: var(--nebula-indigo);
}

.page-products .prod-review::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 72px;
  background: var(--space-ink);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 46%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 46%, 0 100%);
  pointer-events: none;
}

.page-products .prod-review__figure {
  position: relative;
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-products .prod-review__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 2px solid rgba(127, 196, 234, 0.5);
}

.page-products .prod-review__body {
  max-width: 52em;
}

.page-products .round-track {
  list-style: none;
  margin: 26px 0;
  padding: 18px 0 20px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-top: 1px solid rgba(127, 196, 234, 0.28);
  border-bottom: 1px solid rgba(127, 196, 234, 0.28);
  -webkit-overflow-scrolling: touch;
}

.page-products .round-track__item {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  gap: 6px;
  padding-top: 14px;
  min-width: 84px;
}

.page-products .round-track__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--city-sky);
  box-shadow: 0 0 0 4px rgba(127, 196, 234, 0.16);
}

.page-products .round-track__no {
  font-family: var(--font-mono);
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--city-sky);
  letter-spacing: 0.06em;
}

.page-products .round-track__cap {
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  color: var(--star-grey);
  white-space: nowrap;
}

/* ============ 集锦 ============ */
.page-products .prod-clip {
  background: var(--space-ink);
}

.page-products .prod-split--clip .prod-split__aside .media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--nebula-indigo);
}

.page-products .clip-rail {
  margin-top: clamp(30px, 5vw, 48px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  border-top: 1px solid rgba(27, 42, 85, 0.85);
  -webkit-overflow-scrolling: touch;
}

.page-products .clip-item {
  flex: 0 0 min(262px, 78vw);
  display: grid;
  gap: 6px;
  padding: 20px 22px 22px 0;
  border-right: 1px solid rgba(27, 42, 85, 0.7);
  scroll-snap-align: start;
}

.page-products .clip-item:last-child {
  border-right: 0;
}

.page-products .clip-item__no {
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  line-height: var(--lh-note);
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-products .clip-item__day {
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.1em;
  color: var(--star-grey);
}

.page-products .clip-item__desc {
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--star-white);
}

/* ============ 转会窗口 ============ */
.page-products .prod-window {
  background: var(--prod-teal);
}

.page-products .prod-window::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 64px;
  background: var(--space-ink);
  -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.page-products .prod-window .prod-head__eyebrow {
  color: var(--electric-cyan);
}

.page-products .prod-split--window .prod-split__aside .media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(5, 7, 15, 0.45);
}

.page-products .window-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(51, 225, 224, 0.26);
}

.page-products .window-list__item {
  display: grid;
  gap: 6px;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid rgba(51, 225, 224, 0.18);
  position: relative;
}

.page-products .window-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-cyan);
}

.page-products .window-list__label {
  font-family: var(--font-mono);
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  letter-spacing: 0.08em;
  color: var(--electric-cyan);
}

.page-products .window-list__text {
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  color: var(--star-grey);
}

/* ============ 接入方式 ============ */
.page-products .prod-access {
  background: var(--space-blue);
}

.page-products .access-tabs {
  position: relative;
}

.page-products .access-tabs__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-products .access-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(22px, 3.4vw, 32px);
}

.page-products .access-tabs__tab {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--orbit-blue);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-note);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--star-grey);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-products .access-tabs__tab:hover {
  color: var(--star-white);
  border-color: var(--electric-cyan);
}

.page-products #access-sub:checked ~ .access-tabs__bar [for="access-sub"],
.page-products #access-quote:checked ~ .access-tabs__bar [for="access-quote"],
.page-products #access-api:checked ~ .access-tabs__bar [for="access-api"] {
  color: var(--space-ink);
  background: var(--electric-cyan);
  border-color: var(--electric-cyan);
}

.page-products #access-quote:checked ~ .access-tabs__bar [for="access-quote"] {
  background: var(--city-sky);
  border-color: var(--city-sky);
}

.page-products #access-api:checked ~ .access-tabs__bar [for="access-api"] {
  background: var(--amber);
  border-color: var(--amber);
}

.page-products .access-tabs__panel {
  display: none;
  padding: clamp(22px, 3.4vw, 32px) clamp(20px, 3.2vw, 34px);
  border-radius: var(--radius-md);
  background: var(--nebula-indigo);
  border-left: 2px solid var(--electric-cyan);
}

.page-products #access-sub:checked ~ .access-tabs__panels > [data-panel="sub"],
.page-products #access-quote:checked ~ .access-tabs__panels > [data-panel="quote"],
.page-products #access-api:checked ~ .access-tabs__panels > [data-panel="api"] {
  display: block;
}

.page-products .access-tabs__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--star-white);
}

.page-products .prod-access__figure {
  margin: clamp(30px, 5vw, 48px) 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .prod-access__figure .media-frame__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .prod-access__cta {
  margin-top: clamp(28px, 4vw, 42px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(22px, 3.4vw, 32px);
  border-top: 1px solid var(--orbit-blue);
}

.page-products .prod-access__ctatext {
  margin: 0;
  max-width: 34em;
}

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

/* ============ 图片基础 ============ */
.page-products .media-frame__img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-frame__cap {
  margin: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: 0.08em;
  color: var(--star-grey);
  background: rgba(5, 7, 15, 0.6);
}

@media (max-width: 600px) {
  .page-products .skill-tree__children {
    padding-left: 52px;
  }

  .page-products .skill-tree__num {
    font-size: var(--fs-h3);
  }

  .page-products .clip-item {
    flex-basis: min(240px, 82vw);
  }

  .page-products .prod-access__cta {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .skill-tree__node::after,
  .page-products .skill-tree__branch::before,
  .page-products .access-tabs__tab {
    transition: none;
  }
}
