.page-products {
  --fx-rail: 250px;
  --fx-border: rgba(123, 77, 255, .3);
  --fx-border-soft: rgba(123, 77, 255, .16);
  --fx-gap: clamp(24px, 3vw, 44px);
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-products .fx-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(34px, 5vw, 68px);
  isolation: isolate;
}

.page-products .fx-hero__shape {
  position: absolute;
  top: -16%;
  right: -12%;
  width: 78%;
  height: 132%;
  background: linear-gradient(205deg, var(--violet-deep) 0%, var(--deep) 58%, rgba(10, 13, 27, 0) 100%);
  clip-path: polygon(34% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: .9;
  z-index: -1;
  pointer-events: none;
}

.page-products .fx-hero__scan {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(155, 168, 198, .07) 0 1px, rgba(0, 0, 0, 0) 1px 5px);
  z-index: -1;
  pointer-events: none;
}

.page-products .fx-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mist);
  font-family: var(--font-mono);
}

.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
}

.page-products .breadcrumbs a:hover,
.page-products .breadcrumbs a:focus-visible {
  color: var(--lime);
}

.page-products .eyebrow {
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
}

.page-products .fx-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5.4vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
  max-width: 20ch;
}

.page-products .fx-hero .lead {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--mist);
}

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

/* ---------- 主体分栏 ---------- */
.page-products .fx-body {
  padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 96px);
}

.page-products .fx-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- 左栏模块索引 ---------- */
.page-products .fx-modnav__glass {
  border: 1px solid var(--fx-border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(16, 42, 92, .55), rgba(10, 13, 27, .74));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-products .fx-modnav__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-products .fx-modnav__title--sub {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--fx-border-soft);
}

.page-products .fx-modnav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .fx-modnav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.page-products .fx-modnav__link:hover,
.page-products .fx-modnav__link:focus-visible {
  color: var(--paper);
  background: rgba(123, 77, 255, .18);
  border-left-color: var(--violet);
}

.page-products .fx-modnav__no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: .06em;
}

/* ---------- 模块 ---------- */
.page-products .fx-modules {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-products .fx-module {
  padding: clamp(28px, 3.4vw, 50px) 0;
  border-top: 1px solid var(--fx-border);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products .fx-module:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .fx-module__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-products .fx-module__no {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  border: 1px solid rgba(200, 255, 61, .38);
  border-radius: 999px;
  padding: 2px 10px;
  margin-top: 6px;
}

.page-products .fx-module h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-products .fx-module__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 36px);
  margin-top: 20px;
  min-width: 0;
}

.page-products .fx-module__text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 要点列表 ---------- */
.page-products .fx-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .fx-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .fx-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--lime);
}

.page-products .fx-points strong {
  color: var(--paper);
  font-weight: 700;
}

/* ---------- 数字卡 ---------- */
.page-products .fx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.page-products .fx-stat {
  border: 1px solid var(--fx-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(16, 42, 92, .5), rgba(10, 13, 27, .6));
}

.page-products .fx-stat .data-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.page-products .fx-stat span:last-child {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 图片容器 ---------- */
.page-products .fx-shot {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--fx-border);
  background: linear-gradient(160deg, rgba(16, 42, 92, .68), rgba(10, 13, 27, .9));
}

.page-products .fx-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .fx-shot__cap {
  display: block;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--fx-border-soft);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .fx-shot--phone {
  max-width: 320px;
  margin-inline: auto;
}

/* ---------- 进失球分布 ---------- */
.page-products .fx-dist {
  border: 1px solid var(--fx-border);
  border-radius: var(--r-lg);
  padding: 18px 16px 12px;
  background: linear-gradient(180deg, rgba(16, 42, 92, .5), rgba(10, 13, 27, .86));
}

.page-products .fx-dist__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--mist);
}

.page-products .fx-dist__legend span {
  display: inline-flex;
  align-items: center;
}

.page-products .fx-dist__legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 7px;
}

.page-products .fx-dist__legend .is-goal i {
  background: var(--goal);
}

.page-products .fx-dist__legend .is-miss i {
  background: var(--miss);
}

.page-products .fx-dist__legend .is-line i {
  width: 14px;
  height: 2px;
  border-radius: 0;
  background: var(--lime);
}

.page-products .fx-dist svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .fx-axis {
  stroke: rgba(155, 168, 198, .34);
  stroke-width: 1;
}

.page-products .fx-bar--goal {
  fill: var(--goal);
  opacity: .92;
}

.page-products .fx-bar--miss {
  fill: var(--miss);
  opacity: .88;
}

.page-products .fx-trend {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
}

.page-products .fx-trend-dots circle {
  fill: var(--ink);
  stroke: var(--lime);
  stroke-width: 2;
}

.page-products .fx-axis-label {
  fill: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
}

.page-products .fx-dist__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 技能树路径 ---------- */
.page-products .fx-skill {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.page-products .fx-skill__node {
  position: relative;
  padding: 0 0 6px 46px;
}

.page-products .fx-skill__node::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), rgba(123, 77, 255, .12));
}

.page-products .fx-skill__node:first-child::before {
  top: 26px;
}

.page-products .fx-skill__node:last-child::before {
  bottom: calc(100% - 26px);
}

.page-products .fx-skill__node::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  background: var(--ink);
}

.page-products .fx-skill__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--fx-border-soft);
  border-radius: var(--r-md);
  background: rgba(16, 42, 92, .32);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.page-products .fx-skill__btn:hover,
.page-products .fx-skill__btn:focus-visible {
  border-color: var(--violet);
  background: rgba(123, 77, 255, .2);
}

.page-products .fx-skill__no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
}

.page-products .fx-skill__panel {
  padding: 10px 4px 6px;
}

.page-products .fx-skill__panel p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .fx-routes {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--fx-border-soft);
}

.page-products .fx-routes__title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

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

.page-products .fx-route {
  border: 1px solid var(--fx-border);
  border-left: 3px solid var(--violet);
  border-radius: var(--r-md);
  padding: 16px 16px 14px;
  background: rgba(16, 42, 92, .3);
}

.page-products .fx-route__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
}

.page-products .fx-route__steps {
  margin: 8px 0 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--paper);
  word-break: break-word;
}

.page-products .fx-route__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 版本对比（暖纸白阅读带） ---------- */
.page-products .fx-vband {
  padding: clamp(40px, 6vw, 84px) 0 clamp(46px, 6vw, 88px);
  color: var(--print);
}

.page-products .fx-vband__eyebrow {
  color: var(--violet-deep);
}

.page-products .fx-vband__title {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--print);
}

.page-products .fx-vband__lead {
  margin: 14px 0 28px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: #4B443F;
}

.page-products .fx-versions__scroll {
  overflow-x: auto;
  border: 1px solid rgba(20, 16, 12, .16);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .32);
  -webkit-overflow-scrolling: touch;
}

.page-products .fx-versions {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .fx-versions__caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: #6B625C;
}

.page-products .fx-versions th,
.page-products .fx-versions td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 16, 12, .12);
  line-height: 1.7;
}

.page-products .fx-versions thead th {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--print);
  background: rgba(20, 16, 12, .06);
  border-bottom: 1px solid rgba(20, 16, 12, .22);
}

.page-products .fx-versions tbody th {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--print);
  white-space: nowrap;
}

.page-products .fx-versions td {
  color: #4B443F;
}

.page-products .fx-versions .is-key {
  background: rgba(123, 77, 255, .13);
  box-shadow: inset 0 0 0 1px rgba(123, 77, 255, .32);
  color: var(--print);
  font-weight: 600;
}

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

/* ---------- 场景搭配 ---------- */
.page-products .fx-scenes-band {
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px);
}

.page-products .fx-scenes__title {
  margin: 10px 0 22px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-products .fx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-products .fx-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .fx-scene {
  position: relative;
  border: 1px solid var(--fx-border);
  border-radius: var(--r-lg);
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, rgba(16, 42, 92, .48), rgba(10, 13, 27, .78));
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.page-products .fx-scene:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}

.page-products .fx-scene__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-products .fx-scene__name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--paper);
}

.page-products .fx-scene__desc {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .fx-scene__meta {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--fx-border-soft);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 尾部指引 ---------- */
.page-products .fx-tail {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--fx-border);
  display: grid;
  gap: 20px;
}

.page-products .fx-tail__text {
  margin: 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .fx-tail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-products .fx-module__body--split,
  .page-products .fx-module__body--split-rev {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

  .page-products .fx-module__body--split-rev .fx-module__text {
    order: 2;
  }

  .page-products .fx-module__body--split-rev .fx-shot {
    order: 1;
  }

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

  .page-products .fx-tail {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 1000px) {
  .page-products .fx-split {
    grid-template-columns: var(--fx-rail) minmax(0, 1fr);
    gap: clamp(36px, 4vw, 72px);
  }

  .page-products .fx-modnav {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }

  .page-products .fx-modnav__list {
    flex-direction: column;
    overflow: visible;
  }

  .page-products .fx-modnav__link {
    white-space: normal;
  }

  .page-products .fx-hero h1 {
    max-width: 16ch;
  }

  .page-products .fx-shot--phone {
    margin-inline: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fx-scene,
  .page-products .fx-modnav__link,
  .page-products .fx-skill__btn {
    transition: none;
  }

  .page-products .fx-scene:hover {
    transform: none;
  }
}
