.page-products {
  --pp-flow: clamp(48px, 7vw, 88px);
  --pp-pad: clamp(20px, 3vw, 34px);
  --pp-radius: 0;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumbs {
  padding: clamp(20px, 3vw, 34px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  padding: clamp(34px, 6vw, 72px) 0 clamp(48px, 7vw, 92px);
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -12%;
  width: min(72vw, 780px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 62% 42%, rgba(20, 214, 196, .26), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 0;
  height: 92px;
  background: linear-gradient(180deg, transparent, rgba(10, 36, 56, .9));
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-products .prod-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: end;
}

.page-products .prod-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: clamp(34px, 6.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--glass);
  text-wrap: balance;
}

.page-products .prod-hero__dek {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
  color: var(--mist);
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.page-products .prod-hero__board {
  position: relative;
  padding: var(--pp-pad);
  background: linear-gradient(152deg, rgba(20, 214, 196, .15), rgba(10, 36, 56, .88) 58%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(10px);
  transform: translateY(0);
}

.page-products .prod-hero__board::after {
  content: "";
  position: absolute;
  inset: auto 14px -18px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: .55;
}

.page-products .hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .hero-facts__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 14px;
  border-left: 2px solid rgba(20, 214, 196, .38);
}

.page-products .hero-facts__item .caption {
  line-height: 1.6;
}

/* ---------- 驾驶舱两栏 ---------- */
.page-products .cockpit {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-products .cockpit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 5vw, 60px);
  align-items: start;
}

.page-products .cockpit__rail {
  margin-inline: 0;
}

.page-products .cockpit-panel {
  padding: var(--pp-pad);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
  backdrop-filter: blur(10px);
}

.page-products .view-tabs {
  display: grid;
  gap: 3px;
  margin: 16px 0 24px;
}

.page-products .view-tab {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-narrow);
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--mist);
  text-decoration: none;
  border-left: 2px solid var(--line-strong);
  background: transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.page-products .view-tab:hover,
.page-products .view-tab:focus-visible {
  color: var(--teal-bright);
  border-left-color: var(--teal);
  background: rgba(20, 214, 196, .09);
  transform: translateX(3px);
}

.page-products .view-tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

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

.page-products .cockpit-panel__stats .stat {
  background: var(--river-deep);
  padding: 14px 12px;
}

/* ---------- 右侧内容流 ---------- */
.page-products .cockpit__flow {
  min-width: 0;
}

.page-products .flow-block {
  padding-bottom: var(--pp-flow);
  margin-bottom: var(--pp-flow);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-products .flow-block--last {
  border-bottom: 0;
  margin-bottom: 0;
}

.page-products .flow-block .h-narrow--m {
  margin: 12px 0 0;
  text-wrap: balance;
}

.page-products .flow-block .prose {
  margin-top: 20px;
}

.page-products .flow-block .h-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  color: var(--glass);
}

/* ---------- 三层 chips ---------- */
.page-products .chip-rack {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.page-products .chip-layer {
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: var(--panel-soft);
  transition: border-color .2s ease, background .2s ease;
}

.page-products .chip-layer--1 {
  border-left-color: rgba(20, 214, 196, .45);
  background: rgba(20, 214, 196, .05);
}

.page-products .chip-layer--2 {
  border-left-color: rgba(20, 214, 196, .72);
  background: rgba(20, 214, 196, .08);
}

.page-products .chip-layer--3 {
  border-left-color: var(--teal);
  background: rgba(20, 214, 196, .12);
}

.page-products .chip-layer__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-narrow);
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--glass);
}

.page-products .chip-layer__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--gold);
}

.page-products .chip-layer .chip {
  cursor: default;
}

.page-products .chip.is-on {
  border-color: var(--coral);
  background: rgba(255, 156, 122, .18);
  color: var(--glass);
}

/* ---------- 媒体框 ---------- */
.page-products .media-frame {
  margin: clamp(26px, 4vw, 42px) 0 0;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
  background: var(--river-deep);
  overflow: hidden;
}

.page-products .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 68%;
}

/* ---------- 面板四视图 ---------- */
.page-products .panel {
  margin-top: 32px;
}

.page-products .panel .panel__head {
  padding: 14px 18px;
}

.page-products .panel .panel__grid .stat {
  padding: 18px 16px;
}

.page-products .panel .stat__value {
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal-bright);
  letter-spacing: .02em;
}

.page-products .panel .stat__label {
  margin-top: 8px;
  line-height: 1.65;
}

/* ---------- 42 格字段矩阵 ---------- */
.page-products .matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-hard);
}

.page-products .matrix__cell {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 10px;
  background: var(--river-deep);
  font-size: 12px;
  line-height: 1.45;
  color: var(--mist);
  transition: background .2s ease, color .2s ease;
}

.page-products .matrix__cell--on {
  background: linear-gradient(180deg, rgba(243, 197, 103, .2), rgba(243, 197, 103, .07));
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(243, 197, 103, .5);
}

.page-products .matrix__cell:hover {
  background: rgba(20, 214, 196, .1);
  color: var(--glass);
}

/* ---------- 订阅示例列表 ---------- */
.page-products .row-demo {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.page-products .row-demo .card--feature {
  padding: 20px 20px 18px;
}

.page-products .row-demo .card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-products .row-demo .card__title {
  margin: 0 0 8px;
  font-family: var(--font-narrow);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--glass);
}

.page-products .row-demo .card__body {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .row-demo .card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--teal);
}

.page-products .fold-list {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .fold-list .card--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--mist);
  background: rgba(8, 28, 45, .55);
  border: 1px solid var(--line);
  transition: border-color .18s ease, color .18s ease;
}

.page-products .fold-list .card--compact:hover {
  border-color: var(--line-strong);
  color: var(--glass);
}

/* ---------- 版本迭代轴 ---------- */
.page-products .release-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(196px, 1fr);
  gap: clamp(16px, 2vw, 30px);
  margin: 40px 0 0;
  padding: 38px 4px 14px;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.page-products .release-node {
  position: relative;
  padding: 0 clamp(8px, 1.4vw, 18px) 0 0;
  scroll-snap-align: start;
}

.page-products .release-node::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 0;
  width: 1px;
  height: 16px;
  background: var(--line-strong);
}

.page-products .release-node::after {
  content: "";
  position: absolute;
  top: -35px;
  left: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 214, 196, .16);
}

.page-products .release-node--now::after {
  top: -38px;
  left: -7px;
  width: 15px;
  height: 15px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(243, 197, 103, .18);
}

.page-products .release-node__ver {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--mist);
}

.page-products .release-node p:last-child {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 收束 ---------- */
.page-products .closing {
  position: relative;
  padding: 0 0 clamp(56px, 9vw, 110px);
}

.page-products .closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(140deg, rgba(20, 214, 196, .12), rgba(10, 36, 56, .82) 62%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  clip-path: polygon(0 0, 100% 26px, 100% 100%, 0 100%);
}

.page-products .closing__lead .h-narrow--m {
  margin: 12px 0 0;
}

.page-products .closing__lead p {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

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

/* ---------- 窄屏微调 ---------- */
@media (max-width: 639px) {
  .page-products .prod-hero__board::after {
    display: none;
  }

  .page-products .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .cockpit-panel__stats {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .page-products .closing__inner {
    clip-path: none;
  }
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 700px) {
  .page-products .matrix {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-products .row-demo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .fold-list {
    grid-column: 1 / -1;
  }

  .page-products .closing__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

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

  .page-products .prod-hero__board {
    margin-top: clamp(0px, 2vw, 28px);
  }
}

@media (min-width: 1024px) {
  .page-products .cockpit__grid {
    grid-template-columns: minmax(268px, 3.6fr) minmax(0, 7fr);
    gap: clamp(34px, 4vw, 68px);
  }

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

  .page-products .release-track {
    grid-auto-columns: minmax(170px, 1fr);
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .view-tab,
  .page-products .matrix__cell,
  .page-products .fold-list .card--compact,
  .page-products .chip-layer {
    transition: none;
  }

  .page-products .view-tab:hover,
  .page-products .view-tab:focus-visible {
    transform: none;
  }
}
