/* ==========================================================
   数据产品页 · page-products
   ========================================================== */

.page-products {
  --prod-surface: linear-gradient(158deg, rgba(17, 43, 74, .95) 0%, rgba(10, 26, 47, .98) 58%, rgba(5, 11, 20, .99) 100%);
  --prod-map-bg: rgba(30, 90, 58, .18);
  display: block;
  overflow-x: hidden;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  position: relative;
  z-index: 3;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-data);
  font-size: .78rem;
  letter-spacing: .05em;
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.25rem);
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: -30% -25% auto -25%;
  height: 130%;
  background:
    radial-gradient(46% 42% at 18% 30%, rgba(57, 255, 136, .13), transparent 72%),
    radial-gradient(42% 46% at 88% 14%, rgba(127, 209, 255, .12), transparent 72%),
    radial-gradient(50% 40% at 62% 92%, rgba(255, 138, 61, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-products .prod-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.page-products .prod-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.6vw, 3.3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--c-white);
  text-wrap: balance;
}

.page-products .prod-hero .eyebrow {
  margin-bottom: .6rem;
}

.page-products .prod-hero .lede {
  margin: clamp(1rem, 2.5vw, 1.4rem) 0 0;
  max-width: 42rem;
  color: var(--c-mist);
  font-size: clamp(1rem, 1.6vw, 1.075rem);
  line-height: 1.85;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

@media (min-width: 940px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* ---------- 概览数据面板 ---------- */
.page-products .board {
  position: relative;
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--prod-surface);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-products .board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-signal), transparent);
}

.page-products .board__head {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.page-products .board__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-signal);
  animation: prod-pulse 2.6s var(--ease) infinite;
}

@keyframes prod-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 136, .45); }
  70% { box-shadow: 0 0 0 10px rgba(57, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0); }
}

.page-products .board__title {
  margin: 0;
  font-family: var(--font-data);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--c-mist);
}

.page-products .board__stats {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.page-products .board__stat {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem .9rem 1.05rem;
  background: rgba(10, 26, 47, .93);
}

.page-products .board__num {
  font-family: var(--font-data);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-white);
}

.page-products .board__num--signal { color: var(--c-signal); }
.page-products .board__num--ice { color: var(--c-ice); }

.page-products .board__unit {
  margin-left: .12em;
  font-size: .5em;
  font-weight: 700;
  opacity: .82;
}

.page-products .board__label {
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--c-mist);
}

.page-products .board__foot {
  margin: 1.05rem 0 0;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--c-mist);
}

/* ---------- 章节索引条 ---------- */
.page-products .prod-index {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.page-products .prod-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-products .prod-index__link {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .5rem .85rem;
  border: 1px solid var(--line-soft);
  background: rgba(17, 43, 74, .42);
  font-family: var(--font-data);
  font-size: .8125rem;
  letter-spacing: .03em;
  color: var(--c-mist);
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}

.page-products .prod-index__link:hover,
.page-products .prod-index__link:focus-visible {
  color: var(--c-white);
  border-color: var(--c-signal);
  background: var(--signal-soft);
}

.page-products .prod-index__link[aria-current="true"] {
  color: var(--c-deep);
  background: var(--c-signal);
  border-color: var(--c-signal);
}

.page-products .prod-index__num {
  font-weight: 700;
  color: var(--c-signal);
}

.page-products .prod-index__link[aria-current="true"] .prod-index__num {
  color: var(--c-deep);
}

/* ---------- 产品卡片矩阵 ---------- */
.page-products .prod-matrix {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.page-products .prod-matrix__head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-products .prod-matrix__head .eyebrow {
  margin-bottom: .55rem;
}

.page-products .prod-matrix__head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.24;
  color: var(--c-white);
  text-wrap: balance;
}

.page-products .prod-matrix__note {
  margin: .9rem 0 0;
  color: var(--c-mist);
  line-height: 1.8;
  font-size: .9688rem;
}

.page-products .prod-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.5rem 1.4rem;
  background: var(--prod-surface);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  color: var(--c-white);
  text-decoration: none;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-products .prod-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 32%;
  background: var(--c-signal);
  transition: height .35s var(--ease);
}

.page-products .prod-card:hover,
.page-products .prod-card:focus-visible {
  background: linear-gradient(158deg, rgba(27, 64, 86, .95) 0%, rgba(17, 43, 74, .98) 55%, rgba(5, 11, 20, .99) 100%);
  box-shadow: 0 26px 58px -40px rgba(57, 255, 136, .6);
}

.page-products .prod-card:hover::before,
.page-products .prod-card:focus-visible::before {
  height: 64%;
}

.page-products .prod-card__index {
  font-family: var(--font-data);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--c-signal);
}

.page-products .prod-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--c-white);
}

.page-products .prod-card__desc {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--c-mist);
}

.page-products .prod-card__meta {
  list-style: none;
  margin: .2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  font-family: var(--font-data);
  font-size: .75rem;
}

.page-products .prod-card__meta li {
  padding: .24rem .55rem;
  border: 1px solid var(--line-soft);
  background: rgba(127, 209, 255, .07);
  color: var(--c-ice);
}

.page-products .prod-card__go {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-data);
  font-size: .78rem;
  letter-spacing: .07em;
  color: var(--c-signal);
}

.page-products .prod-card__go::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}

.page-products .prod-card:hover .prod-card__go::after,
.page-products .prod-card:focus-visible .prod-card__go::after {
  width: 32px;
}

@media (min-width: 720px) {
  .page-products .prod-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .page-products .prod-cards {
    gap: 1.75rem 1.5rem;
  }
  .page-products .prod-card:nth-child(even) {
    margin-top: 3rem;
  }
}

/* ---------- 产品详情区块 ---------- */
.page-products .prod-block {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-products .prod-block + .prod-block {
  border-top: 1px solid var(--line-soft);
}

.page-products .prod-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.page-products .prod-block .eyebrow {
  margin: 0 0 .5rem;
}

.page-products .prod-block .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--c-white);
  text-wrap: balance;
}

.page-products .prod-block__text {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.88;
  color: var(--c-mist);
}

@media (min-width: 940px) {
  .page-products .prod-block__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .page-products .prod-block__copy { grid-column: 1 / span 5; }
  .page-products .prod-block__media { grid-column: 7 / span 6; }

  .page-products .prod-block--flip .prod-block__copy {
    grid-column: 8 / span 5;
    grid-row: 1;
  }
  .page-products .prod-block--flip .prod-block__media {
    grid-column: 1 / span 6;
    grid-row: 1;
  }
}

.page-products .prod-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}

.page-products .prod-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--c-mist);
}

.page-products .prod-points li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--c-signal);
  transform: rotate(45deg);
}

.page-products .prod-points--flare li::before {
  background: var(--c-flare);
}

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

.page-products .prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.4rem;
}

/* ---------- 角球落点示意 ---------- */
.page-products .prod-map {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--prod-map-bg);
  border: 1px solid var(--line-soft);
}

.page-products .prod-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .8rem;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--c-mist);
}

.page-products .prod-map__legend {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--c-signal);
}

.page-products .prod-map__legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-signal);
}

.page-products .prod-map__svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ---------- 图片框 ---------- */
.page-products .prod-figure {
  margin: 0;
  padding: .7rem;
  background: var(--prod-surface);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-products .prod-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--c-mid);
}

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

.page-products .prod-figure figcaption {
  padding: .8rem .3rem .3rem;
  font-size: .8125rem;
  line-height: 1.68;
  color: var(--c-mist);
}

/* ---------- 使用场景 ---------- */
.page-products .prod-scenes__head {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.page-products .prod-scenes__head .eyebrow {
  margin: 0 0 .5rem;
}

.page-products .prod-scenes__head .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.1vw, 2.15rem);
  line-height: 1.28;
  color: var(--c-white);
}

.page-products .prod-scenes {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
}

.page-products .prod-scene {
  padding: 1.4rem 1.3rem 1.6rem;
  background: rgba(10, 26, 47, .93);
}

.page-products .prod-scene__title {
  margin: 0 0 .6rem;
  font-family: var(--font-data);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-signal);
}

.page-products .prod-scene p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--c-mist);
}

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

.page-products .prod-access {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 2px solid var(--c-signal);
  background: rgba(17, 43, 74, .7);
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-products .link-inline {
  color: var(--c-ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 209, 255, .45);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .link-inline:hover,
.page-products .link-inline:focus-visible {
  color: var(--c-signal);
  border-bottom-color: var(--c-signal);
}

/* ---------- 结尾引导 ---------- */
.page-products .prod-cta {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-products .prod-cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto 25%;
  height: 170%;
  background: radial-gradient(48% 48% at 50% 42%, rgba(57, 255, 136, .12), transparent 72%);
  pointer-events: none;
}

.page-products .prod-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-products .prod-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.28;
  color: var(--c-white);
}

.page-products .prod-cta p {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: .9688rem;
  line-height: 1.85;
  color: var(--c-mist);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* ---------- 窄屏收敛 ---------- */
@media (max-width: 560px) {
  .page-products .prod-card {
    padding: 1.25rem 1.1rem;
  }
  .page-products .prod-index__list {
    gap: .4rem;
  }
  .page-products .prod-index__link {
    padding: .45rem .7rem;
    font-size: .75rem;
  }
  .page-products .board__stat {
    padding: .85rem .75rem .9rem;
  }
  .page-products .prod-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .board__pulse {
    animation: none;
  }
  .page-products .prod-card,
  .page-products .prod-card::before,
  .page-products .prod-card__go::after,
  .page-products .prod-index__link {
    transition: none;
  }
}
