.page-products {
  --p-cut: 18px;
  background-color: var(--ink-900);
  color: var(--fg);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-products .products-hero {
  position: relative;
  padding: calc(var(--bar-h) + clamp(26px, 6vw, 54px)) 0 clamp(34px, 6vw, 58px);
  background:
    radial-gradient(120% 80% at 92% 0%, rgba(37, 224, 200, 0.16), transparent 58%),
    radial-gradient(90% 70% at -10% 110%, rgba(255, 106, 43, 0.12), transparent 62%),
    var(--ink-900);
}

.page-products .products-hero__grid {
  display: grid;
  gap: clamp(24px, 5vw, 44px);
  align-items: center;
}

.page-products .products-hero__title {
  margin: 14px 0 16px;
  font-size: clamp(1.95rem, 7.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-products .products-hero__title em {
  display: block;
  font-style: normal;
  color: var(--cyan);
}

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

.page-products .products-hero__media {
  margin: 0;
}

.page-products .products-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink-800);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

/* ---------- 通用区块 ---------- */
.page-products .section {
  position: relative;
  padding: clamp(38px, 6.5vw, 66px) 0;
}

.page-products .section--tight {
  padding: clamp(30px, 5vw, 48px) 0 clamp(46px, 7vw, 70px);
}

.page-products .section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3.5vw, 32px);
}

.page-products .section-title {
  font-size: clamp(1.55rem, 4.6vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 12px 0 14px;
}

.page-products .lede {
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- 资源横向带 ---------- */
.page-products .res-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  margin: 0 -4px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-products .res-strip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

.page-products .res-strip::-webkit-scrollbar {
  height: 6px;
}

.page-products .res-strip::-webkit-scrollbar-track {
  background: rgba(46, 76, 112, 0.28);
}

.page-products .res-strip::-webkit-scrollbar-thumb {
  background: var(--line);
}

.page-products .res-card {
  flex: 0 0 clamp(238px, 78vw, 290px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 22px;
  background: linear-gradient(155deg, var(--ink-800) 0%, #0D2241 100%);
  box-shadow: inset 0 0 0 1px rgba(46, 76, 112, 0.85);
  clip-path: polygon(0 0, calc(100% - var(--p-cut)) 0, 100% var(--p-cut), 100% 100%, var(--p-cut) 100%, 0 calc(100% - var(--p-cut)));
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-products .res-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(37, 224, 200, 0.6);
}

.page-products .res-card .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.page-products .res-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .res-card__name {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.page-products .res-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.page-products .res-card__meter {
  display: block;
  height: 4px;
  background: rgba(46, 76, 112, 0.7);
  overflow: hidden;
}

.page-products .res-card__meter i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  background: linear-gradient(90deg, var(--cyan), var(--mint));
}

.page-products .res-card__spec {
  margin: auto 0 0;
  padding-top: 12px;
  display: grid;
  gap: 6px;
  border-top: 1px dashed rgba(46, 76, 112, 0.9);
}

.page-products .res-card__spec > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.page-products .res-card__spec dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.page-products .res-card__spec dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  color: var(--fg);
}

.page-products .res-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 2;
}

/* ---------- 功能解读：图文交错 ---------- */
.page-products .prod-split {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

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

.page-products .prod-split__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink-800);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

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

.page-products .prod-split__media--wide img {
  aspect-ratio: 3 / 2;
}

.page-products .prod-split__body .section-title {
  font-size: clamp(1.5rem, 4.2vw, 2.2rem);
  margin: 12px 0 14px;
}

.page-products .prod-split__body > p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0 0 4px;
}

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

.page-products .fact-list li {
  position: relative;
  padding-left: 22px;
  color: var(--fg);
  font-size: 0.94rem;
  line-height: 1.72;
}

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

.page-products .num-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 6px 0 22px;
}

.page-products .num-row span {
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(18, 41, 74, 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- 流程 ---------- */
.page-products .flow-banner {
  margin: 0 0 clamp(22px, 4vw, 40px);
}

.page-products .flow-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
  background: var(--ink-800);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  opacity: 0.9;
}

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

.page-products .flow-step {
  position: relative;
  padding: 22px 20px 24px;
  background: var(--ink-800);
  border-left: 3px solid var(--cyan);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-products .flow-step:hover,
.page-products .flow-step:focus-within {
  border-left-color: var(--orange);
  background: #16304F;
  transform: translateX(4px);
}

.page-products .flow-step__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(37, 224, 200, 0.55);
  margin-bottom: 10px;
}

.page-products .flow-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- 常见疑问 ---------- */
.page-products .faq-accordion {
  max-width: 78ch;
}

/* ---------- 延伸入口 ---------- */
.page-products .more-links {
  display: grid;
  gap: 12px;
}

.page-products .more-links__item {
  display: block;
  padding: 20px 20px 22px;
  text-decoration: none;
  color: var(--fg);
  background: linear-gradient(160deg, var(--ink-800), #0D2241);
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-products .more-links__item:hover,
.page-products .more-links__item:focus-visible {
  box-shadow: inset 0 0 0 1px var(--cyan);
  transform: translateY(-3px);
}

.page-products .more-links__label {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--cyan);
}

.page-products .more-links__desc {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-products .contact-line {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 0.88rem;
  color: var(--muted);
}

.page-products .contact-line a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 224, 200, 0.4);
}

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

/* ---------- 宽屏 ---------- */
@media (min-width: 900px) {
  .page-products .products-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .page-products .prod-split {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }

  .page-products .prod-split--flip {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  }

  .page-products .prod-split--flip .prod-split__media {
    order: 2;
  }

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

  .page-products .more-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .res-strip {
    padding-bottom: 28px;
  }
}

@media (min-width: 1200px) {
  .page-products .res-strip {
    scroll-snap-type: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .res-card,
  .page-products .flow-step,
  .page-products .more-links__item {
    transition: none;
  }

  .page-products .res-card:hover,
  .page-products .flow-step:hover,
  .page-products .more-links__item:hover {
    transform: none;
  }
}

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