.page-products {
  --prod-hair: rgba(143, 163, 191, 0.22);
  --prod-hair-strong: rgba(143, 163, 191, 0.48);
  --prod-slab-bg: linear-gradient(142deg, rgba(22, 50, 92, 0.94) 0%, rgba(11, 27, 58, 0.94) 100%);
  --prod-glass: rgba(18, 42, 79, 0.62);
  background: var(--ink);
  color: var(--snow);
  overflow-x: hidden;
}

/* ---------- 面包屑下方间距 ---------- */
.page-products > .wrap:first-child {
  padding-top: clamp(14px, 2.5vw, 26px);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(22px, 4vw, 44px);
  padding-bottom: clamp(44px, 7vw, 92px);
  border-bottom: 1px solid var(--prod-hair);
}

.page-products .prod-hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-products .prod-hero__shape {
  position: absolute;
  display: block;
}

.page-products .prod-hero__shape--a {
  top: -14%;
  right: -16%;
  width: min(58vw, 540px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 34% 34%, rgba(46, 242, 208, 0.22), rgba(46, 242, 208, 0) 68%);
  transform: rotate(16deg);
}

.page-products .prod-hero__shape--b {
  bottom: -26%;
  left: -14%;
  width: min(52vw, 480px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 62% 58%, rgba(255, 107, 44, 0.2), rgba(255, 107, 44, 0) 66%);
  transform: rotate(-14deg);
}

.page-products .prod-hero__shape--c {
  top: 14%;
  left: 46%;
  width: clamp(96px, 14vw, 180px);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--cyan-line);
  transform: rotate(45deg);
  opacity: 0.45;
}

.page-products .prod-hero__grid {
  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__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  max-width: 720px;
}

.page-products .prod-hero__title {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.page-products .prod-hero__lead {
  max-width: 62ch;
}

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

.page-products .prod-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .prod-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--prod-hair);
  border: 1px solid var(--prod-hair);
}

.page-products .prod-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  border-top: 2px solid var(--cyan);
  background: var(--prod-glass);
}

.page-products .prod-stat:nth-child(2) {
  border-top-color: var(--orange);
}

.page-products .prod-stat:nth-child(3) {
  border-top-color: var(--violet);
}

.page-products .prod-stat:nth-child(4) {
  border-top-color: var(--saffron);
}

.page-products .prod-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--snow);
  line-height: 1;
}

.page-products .prod-stat__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .prod-note {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  line-height: 1.7;
  margin: 0;
}

.page-products .prod-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-line);
}

.page-products .prod-note a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 章节通用 ---------- */
.page-products .prod-block {
  border-bottom: 1px solid var(--prod-hair);
}

.page-products .prod-head {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 18px);
  max-width: 780px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-products .prod-head .display-2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* ---------- 三块终端画板 ---------- */
.page-products .prod-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
}

.page-products .prod-slab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--prod-hair);
  background: var(--prod-slab-bg);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.page-products .prod-slab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--cyan);
}

.page-products .prod-slab--orange::before {
  background: var(--orange);
}

.page-products .prod-slab--violet::before {
  background: var(--violet);
}

.page-products .prod-slab:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}

.page-products .prod-slab--orange:hover {
  border-color: var(--orange);
}

.page-products .prod-slab--violet:hover {
  border-color: var(--violet);
}

.page-products .prod-slab__idx {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-products .prod-slab__title {
  margin: 0;
  letter-spacing: -0.02em;
}

.page-products .prod-slab__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 250, 255, 0.86);
}

.page-products .prod-slab__list {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--prod-hair);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--mist);
}

.page-products .prod-slab__list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.6;
}

.page-products .prod-slab__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 图文分栏 ---------- */
.page-products .prod-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-products .prod-split__body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 18px);
}

.page-products .prod-split__body .display-2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-products .prod-split__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 16px);
  align-items: start;
}

.page-products .prod-split__media .prod-cap {
  grid-column: 1 / -1;
}

/* ---------- 图像占位框 ---------- */
.page-products .prod-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--prod-hair);
  background: var(--panel);
}

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

.page-products .prod-shot--tall {
  aspect-ratio: 3 / 4;
}

.page-products .prod-shot--tall img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.page-products .prod-shot--square {
  aspect-ratio: 1 / 1;
}

.page-products .prod-shot--wide {
  aspect-ratio: 16 / 10;
}

.page-products .prod-shot--full {
  margin-top: clamp(24px, 3.5vw, 40px);
}

.page-products .prod-shot--fig {
  aspect-ratio: 4 / 3;
  background: var(--void);
  border-color: var(--prod-hair-strong);
}

.page-products .prod-shot--fig img {
  object-fit: contain;
}

.page-products .prod-cap {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  line-height: 1.7;
  margin: 0;
}

.page-products .prod-shot--full + .prod-cap {
  margin-top: 12px;
}

/* ---------- 步骤列表 ---------- */
.page-products .prod-steps {
  list-style: none;
  margin: clamp(6px, 1vw, 12px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-products .prod-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--prod-hair);
}

.page-products .prod-steps__item:first-child {
  border-top: 2px solid var(--cyan-line);
}

.page-products .prod-steps__num {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--orange);
  padding-top: 3px;
}

.page-products .prod-steps__t {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--snow);
}

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

/* ---------- 双列清单 ---------- */
.page-products .prod-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 28px);
  margin-top: clamp(8px, 1.4vw, 16px);
}

.page-products .prod-col {
  border-top: 1px solid var(--prod-hair);
  padding-top: 14px;
}

.page-products .prod-col__t {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-weight: 700;
}

.page-products .prod-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .prod-ticks li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(247, 250, 255, 0.84);
}

.page-products .prod-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 资源卡片 ---------- */
.page-products .prod-res-grid {
  margin-top: clamp(22px, 3vw, 36px);
}

.page-products .prod-res-grid .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--prod-glass);
}

.page-products .prod-res-grid .card__title {
  margin: 0;
}

.page-products .prod-res-grid .card__meta {
  margin: 0;
  line-height: 1.75;
}

/* ---------- 对照表 ---------- */
.page-products .prod-table-wrap {
  border: 1px solid var(--prod-hair-strong);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(5, 11, 24, 0.35);
}

.page-products .prod-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14.5px;
}

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

.page-products .prod-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--mist);
  background: rgba(18, 42, 79, 0.9);
  border-bottom: 2px solid var(--cyan-line);
  white-space: nowrap;
}

.page-products .prod-table tbody th {
  font-weight: 700;
  color: var(--snow);
  min-width: 160px;
}

.page-products .prod-table tbody td {
  color: rgba(247, 250, 255, 0.82);
}

.page-products .prod-table tbody tr {
  transition: background 0.2s ease;
}

.page-products .prod-table tbody tr:last-child th,
.page-products .prod-table tbody tr:last-child td {
  border-bottom: none;
}

.page-products .prod-table tbody tr:hover {
  background: rgba(46, 242, 208, 0.07);
}

.page-products .prod-table tbody tr:hover th:first-child {
  box-shadow: inset 3px 0 0 var(--cyan);
}

.page-products .prod-table__name {
  display: block;
  letter-spacing: -0.01em;
}

.page-products .prod-table__ver {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
  font-weight: 400;
}

/* ---------- 信息图行 ---------- */
.page-products .prod-figrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 40px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}

.page-products .prod-figrow__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .prod-figrow__body .h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

/* ---------- 联系面板 ---------- */
.page-products .prod-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 44px);
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--prod-hair-strong);
  background:
    linear-gradient(120deg, rgba(18, 42, 79, 0.92) 0%, rgba(5, 11, 24, 0.92) 100%),
    var(--void);
  position: relative;
  overflow: hidden;
}

.page-products .prod-contact-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: min(46vw, 340px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.22), rgba(123, 97, 255, 0) 70%);
  pointer-events: none;
}

.page-products .prod-contact-panel__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 18px);
}

.page-products .prod-contact-panel__body .display-2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-products .prod-contact-panel__body .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-products .prod-contact-panel__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid var(--prod-hair);
}

.page-products .prod-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.page-products .prod-contact .contact-line {
  display: grid;
  grid-template-columns: minmax(84px, 96px) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--prod-hair);
  align-items: baseline;
}

.page-products .prod-contact .contact-line:first-child {
  border-top: 1px solid var(--prod-hair);
}

.page-products .prod-contact .contact-line__k {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .prod-contact .contact-line__v {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--snow);
  word-break: break-word;
}

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

  .page-products .prod-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-products .prod-slab:nth-child(2) {
    margin-top: 32px;
  }

  .page-products .prod-slab:nth-child(3) {
    margin-top: 64px;
  }

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

@media (min-width: 980px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .page-products .prod-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-products .prod-split--reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

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

  .page-products .prod-contact-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-products .prod-contact-panel__aside {
    padding-top: 0;
    border-top: none;
    padding-left: clamp(20px, 2.6vw, 32px);
    border-left: 1px solid var(--prod-hair);
  }
}

@media (max-width: 420px) {
  .page-products .prod-contact .contact-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-products .prod-steps__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}
