.page-products {
  --prod-rail-w: 200px;
  --prod-gap: clamp(20px, 3vw, 40px);
}

/* 面包屑 */
.page-products .breadcrumb {
  padding: 24px 0 0;
}
.page-products .breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: var(--muted);
}
.page-products .breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.page-products .breadcrumb-link:hover {
  color: var(--cyan);
}
.page-products .breadcrumb-sep {
  color: var(--line);
}
.page-products .breadcrumb-current {
  color: var(--text);
}

/* 首屏 */
.page-products .prod-hero {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 76px);
  overflow: hidden;
}
.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -12%;
  width: 62%;
  height: 94%;
  background: radial-gradient(ellipse at center, rgba(123, 44, 191, .26), transparent 70%);
  pointer-events: none;
}
.page-products .prod-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--prod-gap);
  align-items: center;
}
.page-products .prod-hero__text h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: .28em 0 .36em;
  color: var(--text);
}
.page-products .prod-hero__lead {
  max-width: 46ch;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
}
.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.page-products .prod-hero__kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}
.page-products .prod-hero__kpis .mono {
  display: block;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.page-products .prod-hero__visual {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px 24px 4px 24px;
  overflow: hidden;
}
.page-products .prod-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 245, 212, .10), transparent 45%, rgba(123, 44, 191, .16));
  pointer-events: none;
}

/* 工作台 */
.page-products .prod-workbench {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--prod-gap);
  padding: clamp(20px, 3vw, 44px) 0 clamp(48px, 8vw, 100px);
}

/* 左侧功能目录 */
.page-products .prod-rail {
  min-width: 0;
}
.page-products .prod-rail__title {
  margin: 0 0 12px;
  color: var(--muted);
}
.page-products .prod-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.page-products .prod-rail__nav::-webkit-scrollbar {
  display: none;
}
.page-products .prod-rail__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}
.page-products .prod-rail__link:hover {
  border-color: var(--cyan);
  color: var(--text);
}
.page-products .prod-rail__num {
  font-size: 11px;
  color: var(--orange);
}
.page-products .prod-rail__meta {
  display: none;
}
.page-products .prod-rail__meta span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* 面板区 */
.page-products .prod-panels {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4.5vw, 56px);
  min-width: 0;
}
.page-products .prod-panel {
  position: relative;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, var(--card), var(--panel));
  border: 1px solid var(--line);
  border-radius: 18px 0 18px 0;
  box-shadow: var(--shadow-lift);
  scroll-margin-top: 120px;
}
.page-products .prod-panel__head {
  margin-bottom: clamp(20px, 2.6vw, 28px);
}
.page-products .prod-panel__no {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--orange);
}
.page-products .prod-panel__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
}
.page-products .prod-panel__desc {
  margin: 0;
  max-width: 70ch;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  color: var(--muted);
}
.page-products .prod-panel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--prod-gap);
}
.page-products .prod-panel__wide {
  margin: 0 0 clamp(20px, 3vw, 28px);
}

/* 媒体容器 */
.page-products .media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.page-products .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 分类标签 */
.page-products .prod-cat__notes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-products .prod-cat__notes li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.page-products .prod-cat__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.page-products .prod-cat__visual {
  margin: 0;
}
.page-products .prod-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-products .prod-filter__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-products .prod-filter__legend {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}
.page-products .prod-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-products .prod-filter__chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--void);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
}
.page-products .prod-filter__chip:hover {
  border-color: var(--cyan);
  color: var(--text);
  transform: translateY(-2px);
}
.page-products .prod-filter__chip.is-on {
  background: var(--orange);
  border-color: var(--orange);
  color: #0A0E27;
  font-weight: 600;
}
.page-products .prod-filter__chip--alt {
  border-style: dashed;
}
.page-products .prod-filter__chip--alt:hover {
  border-style: solid;
}

/* 时间轴 */
.page-products .prod-timeline {
  margin-top: 8px;
  padding: 30px 0 8px;
}
.page-products .prod-timeline__track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.page-products .prod-timeline__track::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--orange), var(--violet));
  border-radius: 2px;
}
.page-products .prod-timeline__node {
  position: relative;
  padding-left: 32px;
  outline: none;
}
.page-products .prod-timeline__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--void);
  transition: transform .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.page-products .prod-timeline__dot--cyan {
  border-color: var(--cyan);
}
.page-products .prod-timeline__dot--orange {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, .2);
}
.page-products .prod-timeline__dot--violet {
  border-color: var(--violet);
}
.page-products .prod-timeline__node:hover .prod-timeline__dot,
.page-products .prod-timeline__node:focus .prod-timeline__dot {
  transform: scale(1.25);
}
.page-products .prod-timeline__time {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.page-products .prod-timeline__label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.page-products .prod-timeline__tip {
  display: block;
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 36ch;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.page-products .prod-timeline__node:hover .prod-timeline__tip,
.page-products .prod-timeline__node:focus .prod-timeline__tip {
  border-left-color: var(--cyan);
  color: var(--text);
}

/* 球队关注 */
.page-products .prod-focus__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.page-products .prod-focus__stat {
  padding: 14px 8px;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.page-products .prod-focus__stat:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.page-products .prod-focus__stat-num {
  display: block;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}
.page-products .prod-focus__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

/* 手风琴 */
.page-products .prod-acc {
  border-top: 1px solid var(--line);
}
.page-products .prod-acc:last-of-type {
  border-bottom: 1px solid var(--line);
}
.page-products .prod-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color .16s var(--ease);
}
.page-products .prod-acc__head::-webkit-details-marker {
  display: none;
}
.page-products .prod-acc__head:hover {
  color: var(--cyan);
}
.page-products .prod-acc__head::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-data);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
}
.page-products .prod-acc[open] .prod-acc__head::after {
  content: "−";
}
.page-products .prod-acc__body {
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.page-products .prod-acc__body p {
  margin: 0;
}

/* 图表 */
.page-products .prod-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
.page-products .prod-chart {
  padding: 20px;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.page-products .prod-chart:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.page-products .prod-chart__tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--orange);
}
.page-products .prod-chart__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.page-products .prod-chart__ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 68%, var(--line) 68% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-products .prod-chart__ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--void);
}
.page-products .prod-chart__ring-inner {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.page-products .prod-chart__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.page-products .prod-chart__bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-products .prod-chart__bar-row em {
  flex-shrink: 0;
  min-width: 30px;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
}
.page-products .prod-chart__bar {
  position: relative;
  flex: 1;
  height: 8px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.page-products .prod-chart__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hi));
}
.page-products .prod-chart__bar--alt::after {
  background: linear-gradient(90deg, var(--cyan), #00d4b8);
}
.page-products .prod-chart__nodes {
  position: relative;
  height: 58px;
  margin-bottom: 16px;
  padding: 0 6px;
}
.page-products .prod-chart__nodes::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: var(--line);
}
.page-products .prod-chart__node {
  position: absolute;
  top: 22px;
  left: var(--x, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--void);
  transform: translateX(-50%);
}
.page-products .prod-chart__node--cyan {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, .15);
}
.page-products .prod-chart__node--orange {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .2);
}

/* 版本路径 */
.page-products .prod-ver {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.page-products .prod-ver__item {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 22px;
}
.page-products .prod-ver__item::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.page-products .prod-ver__item:last-child::before {
  display: none;
}
.page-products .prod-ver__ver {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 1;
}
.page-products .prod-ver__item--live .prod-ver__ver {
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .15);
}
.page-products .prod-ver__card {
  padding-top: 3px;
}
.page-products .prod-ver__card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.page-products .prod-ver__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.page-products .prod-ver__note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.page-products .prod-ver__note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .16s var(--ease);
}
.page-products .prod-ver__note a:hover {
  color: var(--orange-hi);
}

/* 窄屏到中屏以上 */
@media (max-width: 600px) {
  .page-products .prod-hero__visual {
    border-radius: 4px 16px 4px 16px;
  }
  .page-products .prod-focus__stats {
    grid-template-columns: 1fr;
  }
  .page-products .prod-timeline__track {
    gap: 24px;
  }
}

@media (min-width: 700px) {
  .page-products .prod-charts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
  }
  .page-products .prod-workbench {
    grid-template-columns: var(--prod-rail-w) minmax(0, 1fr);
    align-items: start;
  }
  .page-products .prod-rail {
    position: sticky;
    top: 120px;
    align-self: start;
    padding: 22px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .page-products .prod-rail__nav {
    flex-direction: column;
    overflow: visible;
    gap: 4px;
    padding-bottom: 0;
  }
  .page-products .prod-rail__link {
    padding: 9px 12px;
    border: none;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
  }
  .page-products .prod-rail__link:hover {
    border-left-color: var(--cyan);
    background: rgba(0, 245, 212, .06);
  }
  .page-products .prod-rail__meta {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .page-products .prod-panel__grid--cat {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 1fr);
    align-items: start;
  }
  .page-products .prod-panel__grid--focus {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }
  .page-products .prod-timeline__track {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
  .page-products .prod-timeline__track::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--orange), var(--violet));
  }
  .page-products .prod-timeline__node {
    flex: 1;
    padding-left: 0;
    padding-top: 30px;
  }
  .page-products .prod-timeline__dot {
    left: 0;
    top: 0;
  }
  .page-products .prod-timeline__tip {
    max-width: 26ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-filter__chip,
  .page-products .prod-timeline__dot,
  .page-products .prod-timeline__tip,
  .page-products .prod-focus__stat,
  .page-products .prod-chart,
  .page-products .prod-rail__link,
  .page-products .prod-ver__note a {
    transition: none;
  }
  .page-products .prod-filter__chip:hover,
  .page-products .prod-focus__stat:hover,
  .page-products .prod-chart:hover,
  .page-products .prod-timeline__node:hover .prod-timeline__dot,
  .page-products .prod-timeline__node:focus .prod-timeline__dot {
    transform: none;
  }
}

.page-products {
  --w: 1rem;
  --x: inherit;
}
