.page-products {
  --rail-w: 288px;
  --panel-gap: clamp(20px, 3vw, 40px);
  position: relative;
  isolation: isolate;
}

/* ---------- 首屏 ---------- */
.page-products .hero {
  padding: clamp(84px, 11vw, 140px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(53, 240, 200, .10), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, rgba(255, 138, 43, .07), transparent 65%);
}

.page-products .hero__grid {
  margin-top: clamp(22px, 3vw, 34px);
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.page-products .hero__main .lede {
  max-width: 62ch;
  margin-top: 18px;
}

.page-products .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

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

.page-products .hero__jumps li {
  border-bottom: 1px solid var(--line);
}

.page-products .hero__jumps a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  color: var(--body-text);
  text-decoration: none;
  font-size: 15px;
  transition: color .24s var(--ease), padding-left .24s var(--ease);
}

.page-products .hero__jumps a:hover,
.page-products .hero__jumps a:focus-visible {
  color: var(--neon);
  padding-left: 12px;
}

.page-products .hero__jump-num {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- 版本切换带 ---------- */
.page-products .version-band {
  padding: clamp(32px, 5vw, 56px) 0;
  margin-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(53, 240, 200, .07), rgba(7, 35, 28, 0) 78%);
}

.page-products .version-band__head {
  max-width: 64ch;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .version-band__head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--glass);
  margin: 6px 0 12px;
}

.page-products .version-band__note {
  margin: 0;
  line-height: 1.85;
  color: var(--body-text);
}

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

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

.page-products .tabs__labels {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(232, 245, 240, .07);
  backdrop-filter: blur(10px);
}

.page-products .tabs__label {
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  transition: background .24s var(--ease), color .24s var(--ease);
}

.page-products .tabs__label:hover {
  color: var(--glass);
  background: rgba(53, 240, 200, .12);
}

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

.page-products .tabs__panel {
  display: none;
}

.page-products #ver-standard:checked ~ .tabs__labels label[for="ver-standard"],
.page-products #ver-relaxed:checked ~ .tabs__labels label[for="ver-relaxed"] {
  background: var(--neon);
  color: var(--ink-950);
  font-weight: 700;
}

.page-products #ver-standard:checked ~ .tabs__panels .tabs__panel--standard,
.page-products #ver-relaxed:checked ~ .tabs__panels .tabs__panel--relaxed {
  display: block;
  animation: products-panel-in .24s var(--ease) both;
}

.page-products .tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 74ch;
}

.page-products .tabs__list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.85;
  color: var(--body-text);
}

.page-products .tabs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 12px;
  height: 2px;
  background: var(--neon);
}

@keyframes products-panel-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- 工作台分栏 ---------- */
.page-products .workbench {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--panel-gap);
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-products .workbench__rail {
  align-self: start;
}

.page-products .workbench__rail .section-label {
  margin-bottom: 14px;
}

.page-products .workbench__rail .filter-bar {
  margin-bottom: 10px;
}

.page-products .workbench__rail .filter-count {
  margin: 0 0 16px;
}

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

.page-products .rail-list__item {
  border-bottom: 1px solid var(--line);
}

.page-products .rail-list__item[hidden] {
  display: none;
}

.page-products .rail-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 6px;
  text-decoration: none;
  color: var(--body-text);
  font-size: 15px;
  line-height: 1.5;
  transition: color .24s var(--ease), background .24s var(--ease);
}

.page-products .rail-list a:hover,
.page-products .rail-list a:focus-visible {
  color: var(--neon);
  background: rgba(53, 240, 200, .06);
}

.page-products .rail-list .num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- 详情区块 ---------- */
.page-products .stage-block {
  padding-block: clamp(26px, 4vw, 44px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.page-products .stage-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .stage-block > h2 {
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--glass);
  margin: 6px 0 16px;
}

.page-products .stage-block > p {
  max-width: 68ch;
  line-height: 1.85;
  margin: 0 0 16px;
}

.page-products .stage-block > p a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .stage-block--light {
  margin-top: clamp(8px, 2vw, 16px);
  padding-inline: clamp(18px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--light-ink);
  border-top: 0;
}

.page-products .stage-block--light > h2 {
  color: var(--ink-950);
}

.page-products .stage-block--light > p {
  color: var(--light-ink);
}

.page-products .stage-block--light > p a {
  color: #0B6B57;
}

.page-products .stage-block--light .section-label {
  color: #0B6B57;
}

.page-products .stage-block--light .compare th,
.page-products .stage-block--light .compare td {
  color: var(--light-ink);
  border-bottom-color: rgba(4, 18, 14, .12);
}

.page-products .stage-block--light .compare thead th {
  color: #0B6B57;
}

.page-products .stage-block--light .compare tbody th {
  color: var(--ink-950);
}

.page-products .stage-block--light .compare tbody tr:nth-child(even) {
  background: rgba(4, 18, 14, .04);
}

.page-products .stage-block--light .media-frame__caption {
  color: var(--light-ink);
}

/* ---------- 标签行 ---------- */
.page-products .tag-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}

/* ---------- 表格 ---------- */
.page-products .table-scroll {
  overflow-x: auto;
  margin: 20px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.page-products .compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .compare caption {
  text-align: left;
  padding: 0 0 12px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .compare th,
.page-products .compare td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.page-products .compare thead th {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neon);
  white-space: nowrap;
}

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

.page-products .compare tbody th::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--neon);
}

.page-products .compare tbody tr:nth-child(even) {
  background: rgba(232, 245, 240, .035);
}

.page-products .compare .num {
  font-family: var(--font-mono);
  color: var(--amber);
  font-weight: 700;
}

/* ---------- 进阶分布图 ---------- */
.page-products .goal-figure {
  margin: 24px 0 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 50, 41, .6);
}

.page-products .goal-chart {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto 12px;
}

.page-products .goal-chart__axis {
  stroke: var(--line);
  stroke-width: 1;
}

.page-products .goal-chart__bar {
  fill: rgba(53, 240, 200, .32);
  transform-origin: bottom;
  animation: products-bar-grow .6s var(--ease) both;
}

.page-products .goal-chart__bar--hot {
  fill: var(--amber);
}

.page-products .goal-chart__label {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .goal-chart__value {
  fill: var(--glass);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

@keyframes products-bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.page-products .goal-figure .media-frame__caption {
  display: block;
  text-align: center;
}

/* ---------- 折叠项 ---------- */
.page-products .disclosure {
  margin: 20px 0 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 50, 41, .55);
}

.page-products .disclosure > summary {
  padding: 15px 18px;
  cursor: pointer;
  color: var(--mist);
  font-size: 14px;
  letter-spacing: .04em;
  list-style: none;
}

.page-products .disclosure > summary::-webkit-details-marker {
  display: none;
}

.page-products .disclosure > summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--neon);
  font-family: var(--font-mono);
}

.page-products .disclosure[open] > summary::before {
  content: "–";
}

.page-products .disclosure__body {
  padding: 0 18px 18px;
}

.page-products .disclosure__body p {
  margin: 0;
  line-height: 1.85;
  max-width: 68ch;
}

.page-products .setting-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .setting-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.8;
  font-size: 15px;
}

.page-products .setting-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 8px;
  height: 2px;
  background: var(--neon);
}

.page-products .setting-list strong {
  color: var(--glass);
  font-weight: 600;
}

/* ---------- 底部速查条 ---------- */
.page-products .quick-band {
  padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 50, 41, .85), rgba(7, 35, 28, .3));
}

.page-products .quick-band__head {
  margin-bottom: 18px;
}

.page-products .quick-band__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.2;
  color: var(--glass);
  margin: 6px 0 0;
}

.page-products .quick-band__track {
  padding-bottom: 16px;
}

.page-products .quick-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 min(264px, 78vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(53, 240, 200, .10), rgba(14, 50, 41, .95));
  color: var(--glass);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.page-products .quick-card:hover,
.page-products .quick-card:focus-visible {
  border-color: var(--neon);
  transform: translateY(-3px);
}

.page-products .quick-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.page-products .quick-card__meta {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 图片 ---------- */
.page-products .media-frame img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-products .media-frame {
  margin: 22px 0;
}

.page-products .media-frame__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 900px) {
  .page-products .workbench {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
  }

  .page-products .workbench__rail {
    position: sticky;
    top: 104px;
  }
}

@media (max-width: 719px) {
  .page-products .hero__jumps a {
    padding: 12px 2px;
    font-size: 14px;
  }

  .page-products .goal-figure {
    padding: 14px 12px;
  }

  .page-products .goal-chart__label {
    font-size: 15px;
  }

  .page-products .tabs__label {
    padding: 8px 15px;
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tabs__panel,
  .page-products .goal-chart__bar {
    animation: none !important;
  }

  .page-products .quick-card {
    transition: none;
  }
}
