.page-products {
  --prod-gap: clamp(18px, 3vw, 32px);
  --prod-line: rgba(255, 210, 90, .18);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  padding-top: clamp(24px, 4vw, 48px);
}

.page-products .prod-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 54px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--white);
  text-wrap: balance;
}

.page-products .prod-hero__lead {
  margin-top: 16px;
  max-width: 68ch;
}

.page-products .prod-hero__board {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .prod-entry {
  display: block;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(158deg, rgba(19, 28, 61, .94), rgba(14, 21, 48, .7));
  text-decoration: none;
  color: var(--white);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.page-products .prod-entry:nth-child(2) {
  border-color: rgba(139, 92, 246, .34);
}

.page-products .prod-entry:nth-child(3) {
  border-color: rgba(45, 212, 191, .3);
}

.page-products .prod-entry:hover,
.page-products .prod-entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.page-products .prod-entry__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-products .prod-entry__name {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-entry__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 通用块间距 ---------- */
.page-products .prod-block {
  padding-top: clamp(34px, 5vw, 62px);
}

.page-products .prod-figure {
  margin: clamp(22px, 3.6vw, 34px) 0 0;
}

.page-products .prod-figure img,
.page-products .prod-channel__fig img,
.page-products .prod-library__fig img,
.page-products .prod-dash__fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .prod-inline-note {
  margin-top: 22px;
}

.page-products .prod-inline-note a {
  color: var(--gold-soft);
}

/* ---------- 索引中枢 ---------- */
.page-products .prod-stats {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-stat {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}

.page-products .prod-stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 38%;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 210, 90, 0));
}

.page-products .prod-stat:nth-child(2)::after {
  background: linear-gradient(90deg, var(--violet), rgba(139, 92, 246, 0));
}

.page-products .prod-stat:nth-child(3)::after {
  background: linear-gradient(90deg, var(--jade), rgba(45, 212, 191, 0));
}

.page-products .prod-stat__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -.01em;
}

.page-products .prod-stat:nth-child(2) .prod-stat__num {
  color: var(--gold-soft);
}

.page-products .prod-stat:nth-child(3) .prod-stat__num {
  color: var(--jade);
}

.page-products .prod-stat__label {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.page-products .prod-stat__note {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

/* ---------- 适配清单 ---------- */
.page-products .prod-terms {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-term {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--table);
  border: 1px solid var(--line-soft);
  border-left-width: 3px;
  border-left-color: var(--gold);
}

.page-products .prod-term--b {
  border-left-color: var(--violet);
}

.page-products .prod-term--c {
  border-left-color: var(--jade);
}

.page-products .prod-term--d {
  border-left-color: var(--gold-soft);
}

.page-products .prod-term--e {
  border-left-color: var(--violet);
}

.page-products .prod-term__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .prod-term__head svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--jade);
}

.page-products .prod-term__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-term__rows {
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-products .prod-term__rows > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
}

.page-products .prod-term__rows dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--gold);
  padding-top: 3px;
}

.page-products .prod-term__rows dd {
  margin: 0;
  color: var(--muted);
}

.page-products .prod-term--note {
  border-left-color: var(--jade);
  background: linear-gradient(150deg, rgba(45, 212, 191, .1), rgba(14, 21, 48, .82));
}

.page-products .prod-term__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-term__text a {
  color: var(--gold-soft);
}

/* ---------- 企业通道 ---------- */
.page-products .prod-channel {
  display: grid;
  gap: var(--prod-gap);
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-channel__fig {
  margin: 0;
}

.page-products .prod-channel__side {
  display: grid;
  gap: 14px;
}

.page-products .prod-channel__card {
  padding: 22px;
}

.page-products .prod-channel__card--accent {
  border-color: rgba(255, 210, 90, .34);
  background: linear-gradient(158deg, rgba(255, 210, 90, .1), rgba(14, 21, 48, .86));
}

.page-products .prod-channel__card-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-channel__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--muted);
}

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

.page-products .prod-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--gold);
  opacity: .8;
}

/* ---------- 包体与状态面板 ---------- */
.page-products .prod-dash {
  display: grid;
  gap: var(--prod-gap);
  margin-top: clamp(22px, 3.4vw, 34px);
  padding: clamp(18px, 3.2vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(19, 28, 61, .96), rgba(7, 11, 24, .94));
}

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

.page-products .prod-dash__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-dash__hint {
  margin: 6px 0 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .prod-size {
  display: grid;
  gap: 14px;
}

.page-products .prod-size__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 13.5px;
}

.page-products .prod-size__key {
  color: var(--white);
  font-weight: 600;
}

.page-products .prod-size__val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-soft);
  white-space: nowrap;
}

.page-products .prod-size__bar {
  position: relative;
  height: 10px;
  border-radius: var(--pill);
  background: rgba(154, 166, 199, .16);
  overflow: hidden;
}

.page-products .prod-size__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--jade), var(--gold));
}

.page-products .prod-size__fill--s1 { width: 32%; }
.page-products .prod-size__fill--s2 { width: 52%; }
.page-products .prod-size__fill--s3 { width: 71%; }
.page-products .prod-size__fill--s4 { width: 92%; }

.page-products .prod-dash__fig {
  margin: 26px 0 0;
}

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

.page-products .prod-status__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  background: rgba(7, 11, 24, .55);
  border: 1px solid var(--line-soft);
  transition: border-color .28s ease, transform .28s ease;
}

.page-products .prod-status__item:hover {
  border-color: rgba(255, 210, 90, .42);
  transform: translateX(3px);
}

.page-products .prod-lamp {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  flex: none;
}

.page-products .prod-lamp--prep { background: var(--muted); }
.page-products .prod-lamp--test { background: var(--violet); animation: pageProductsLamp 2.4s ease-in-out infinite; }
.page-products .prod-lamp--open { background: var(--jade); animation: pageProductsLamp 3.4s ease-in-out infinite; }
.page-products .prod-lamp--hold { background: var(--pomegranate); }

@keyframes pageProductsLamp {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

.page-products .prod-status__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-status__text {
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 资料下载库 ---------- */
.page-products .prod-library {
  display: grid;
  gap: var(--prod-gap);
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-library__fig {
  margin: 0;
}

.page-products .prod-files {
  display: grid;
  gap: 14px;
}

.page-products .prod-file {
  position: relative;
  padding: 24px 18px 18px;
  border-radius: var(--r-md) var(--r-md) var(--r-md) 6px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: transform .3s ease, border-color .3s ease;
}

.page-products .prod-file::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 54px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: var(--gold);
  opacity: .6;
}

.page-products .prod-file:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 90, .42);
}

.page-products .prod-file__count {
  margin: 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-file__text {
  margin: 8px 0 14px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 版本与流程 ---------- */
.page-products .prod-timeline {
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-timeline__year {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.page-products .prod-timeline__text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-flow {
  display: grid;
  gap: 12px;
  margin-top: var(--prod-gap);
}

.page-products .prod-flow__step {
  position: relative;
  padding: 18px 18px 18px 56px;
  border-radius: var(--r-md);
  background: rgba(14, 21, 48, .8);
  border: 1px solid var(--line-soft);
}

.page-products .prod-flow__idx {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 5px;
  transform: rotate(45deg);
}

.page-products .prod-flow__idx::first-line {
  transform: rotate(-45deg);
}

.page-products .prod-flow__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.page-products .prod-flow__text {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .prod-flow__more {
  margin-top: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}

.page-products .prod-flow__more summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold-soft);
}

.page-products .prod-flow__more summary::marker {
  color: var(--gold);
}

.page-products .prod-flow__more p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 自查场景 ---------- */
.page-products .prod-check {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 3.4vw, 34px);
}

.page-products .prod-check__item {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--table);
  border: 1px solid var(--line-soft);
}

.page-products .prod-check__item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
}

.page-products .prod-check__item summary::marker {
  color: var(--gold);
}

.page-products .prod-check__item p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 收尾入口 ---------- */
.page-products .prod-cta {
  display: grid;
  gap: 16px;
  margin-top: clamp(26px, 4vw, 42px);
  padding: clamp(20px, 3.4vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 210, 90, .12), rgba(14, 21, 48, .9));
}

.page-products .prod-cta__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--white);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .prod-terms {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .prod-files {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .prod-cta {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

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

  .page-products .prod-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .prod-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .prod-channel {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
  }

  .page-products .prod-library {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
  }

  .page-products .prod-dash {
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(24px, 4vw, 48px);
  }
}

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

  .page-products .prod-files {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .prod-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-lamp--test,
  .page-products .prod-lamp--open {
    animation: none;
  }

  .page-products .prod-entry,
  .page-products .prod-file,
  .page-products .prod-status__item {
    transition: none;
  }
}
