.page-products {
  --pd-radius: 0;
  --pd-hair: 1px solid var(--grid);
  --pd-pad: clamp(48px, 8vw, 112px);
  background: var(--ink);
  color: var(--mist);
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--mist);
  margin: 0;
}

.page-products h1 {
  font-size: clamp(2.1rem, 7.2vw, 4.4rem);
  max-width: 22ch;
}

.page-products h2 {
  font-size: clamp(1.5rem, 4.2vw, 2.6rem);
  max-width: 26ch;
}

.page-products h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
}

.page-products .lede {
  color: var(--mist);
  opacity: 0.78;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  line-height: 1.75;
  max-width: 62ch;
  margin: 16px 0 0;
}

.page-products .prose p {
  color: var(--mist);
  opacity: 0.8;
  font-size: 0.97rem;
  line-height: 1.8;
  margin: 0 0 18px;
  max-width: 60ch;
}

.page-products .prose p:last-child {
  margin-bottom: 0;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 92vh, 900px);
  padding: calc(var(--unit) * 2.4) 0 clamp(32px, 6vw, 64px);
  isolation: isolate;
}

.page-products .pd-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: -2;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 24, 38, 0.55) 0%, rgba(10, 24, 38, 0.82) 48%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10, 24, 38, 0.9) 0%, rgba(10, 24, 38, 0.2) 70%);
}

.page-products .pd-hero__inner {
  position: relative;
  width: 100%;
}

.page-products .breadcrumbs {
  margin-bottom: clamp(24px, 5vw, 48px);
}

.page-products .pd-hero .eyebrow {
  display: block;
  margin: 0 0 14px;
}

.page-products .pd-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 56px);
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: 20px;
  border-top: var(--pd-hair);
}

.page-products .pd-hero__stats .stat {
  min-width: 0;
  flex: 0 1 auto;
}

/* ---------- 能力索引 ---------- */
.page-products .pd-index {
  display: flex;
  gap: 12px;
  margin-top: clamp(36px, 6vw, 64px);
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--jade) transparent;
}

.page-products .pd-index::-webkit-scrollbar {
  height: 3px;
}

.page-products .pd-index::-webkit-scrollbar-thumb {
  background: var(--jade);
}

.page-products .pd-index__item {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
  text-decoration: none;
  background: rgba(16, 38, 58, 0.78);
  border-left: 2px solid var(--grid);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.page-products .pd-index__item:hover,
.page-products .pd-index__item:focus-visible {
  background: rgba(31, 122, 106, 0.28);
  border-left-color: var(--jade-2);
}

.page-products .pd-index__item.is-active,
.page-products .pd-index__item[data-active] {
  background: var(--jade);
  border-left-color: var(--gold);
  transform: translateY(-6px);
}

.page-products .pd-index__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-products .pd-index__item.is-active .pd-index__no,
.page-products .pd-index__item[data-active] .pd-index__no {
  color: var(--warm);
}

.page-products .pd-index__title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.page-products .pd-index__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--mist);
  opacity: 0.72;
}

/* ---------- 能力块 ---------- */
.page-products .pd-cap {
  padding: var(--pd-pad) 0;
  background: var(--ink);
}

.page-products .pd-cap--alt {
  background: var(--ink-2);
}

.page-products .pd-cap--deep {
  background: var(--panel);
}

.page-products .pd-cap__head {
  display: grid;
  gap: 0;
}

.page-products .pd-cap__media {
  margin: clamp(28px, 5vw, 48px) 0 0;
  border: 0;
  background: var(--ink-2);
}

.page-products .pd-cap__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-products .pd-cap__media--3x2 img {
  aspect-ratio: 3 / 2;
}

.page-products .pd-cap__media--16x7 img {
  aspect-ratio: 16 / 7;
}

.page-products .pd-cap__media--tall img {
  aspect-ratio: 8 / 11;
}

.page-products .pd-cap__cols {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  margin-top: clamp(32px, 5vw, 56px);
}

.page-products .pd-cap__aside {
  display: grid;
  gap: 24px;
  align-content: start;
}

/* ---------- 参数定义列表 ---------- */
.page-products .pd-spec dl {
  margin: 0;
  display: grid;
}

.page-products .pd-spec__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-top: var(--pd-hair);
}

.page-products .pd-spec > dl > .pd-spec__row:last-child {
  border-bottom: var(--pd-hair);
}

.page-products .pd-spec dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
  margin: 0;
}

.page-products .pd-spec dd {
  margin: 0;
  text-align: right;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--mist);
}

.page-products .pd-spec--stack {
  margin-top: 4px;
}

/* ---------- 射门热区 ---------- */
.page-products .pd-hot {
  margin: 28px 0;
  padding: 14px;
  background: rgba(10, 24, 38, 0.72);
  border: var(--pd-hair);
}

.page-products .pd-hot svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-products .pd-hot__cell {
  stroke: rgba(23, 54, 74, 0.9);
  stroke-width: 1;
  transition: opacity 0.22s var(--ease), stroke 0.22s var(--ease);
}

.page-products .pd-hot__cell:hover {
  stroke: var(--warm);
  stroke-width: 2;
  opacity: 1;
}

.page-products .pd-hot__note {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--graphite);
  line-height: 1.6;
}

/* ---------- 版本对比 ---------- */
.page-products .pd-versus {
  display: grid;
  gap: var(--pd-hair);
  margin-top: clamp(32px, 5vw, 56px);
  background: var(--grid);
  border: var(--pd-hair);
}

.page-products .pd-versus__col {
  background: var(--ink);
  padding: 24px 20px 26px;
}

.page-products .pd-versus__col--beta {
  background: rgba(31, 122, 106, 0.16);
  box-shadow: inset 0 2px 0 0 var(--gold);
}

.page-products .pd-versus__title {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--jade-2);
  margin: 0 0 14px;
  font-weight: 700;
}

.page-products .pd-versus__col--beta .pd-versus__title {
  color: var(--gold);
}

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

/* ---------- 多端展示 ---------- */
.page-products .pd-screens {
  list-style: none;
  margin: clamp(28px, 5vw, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-products .pd-screens__item {
  padding-top: 20px;
  border-top: var(--pd-hair);
}

.page-products .pd-screens__shape {
  position: relative;
  display: block;
  height: 56px;
  margin-bottom: 16px;
  border: 1px solid var(--jade-2);
}

.page-products .pd-screens__shape::after {
  content: "";
  position: absolute;
  left: 10%;
  top: 46%;
  width: 26%;
  height: 5px;
  background: var(--flare);
}

.page-products .pd-screens__shape--wide {
  width: 100%;
}

.page-products .pd-screens__shape--mid {
  width: 70%;
}

.page-products .pd-screens__shape--small {
  width: 38%;
}

.page-products .pd-screens__item h3 {
  margin-bottom: 8px;
}

.page-products .pd-screens__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mist);
  opacity: 0.75;
}

/* ---------- 适合谁用 ---------- */
.page-products .pd-audience {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  margin-top: clamp(32px, 5vw, 56px);
}

.page-products .pd-audience__item {
  padding-left: 20px;
  border-left: 1px solid var(--jade);
}

.page-products .pd-audience__role {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-products .pd-audience__item h3 {
  margin-bottom: 10px;
}

.page-products .pd-audience__item p {
  margin: 0 0 14px;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--mist);
  opacity: 0.78;
}

.page-products .pd-audience__link {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--flare);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 26, 0.4);
  padding-bottom: 2px;
}

.page-products .pd-audience__link:hover,
.page-products .pd-audience__link:focus-visible {
  border-bottom-color: var(--flare);
}

.page-products .pd-audience__foot {
  margin: clamp(32px, 5vw, 48px) 0 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .pd-audience__foot a {
  color: var(--jade-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(67, 167, 147, 0.45);
}

.page-products .pd-audience__foot a:hover,
.page-products .pd-audience__foot a:focus-visible {
  border-bottom-color: var(--jade-2);
}

/* ---------- 收尾 ---------- */
.page-products .pd-cta {
  position: relative;
  padding: var(--pd-pad) 0;
  background:
    linear-gradient(135deg, rgba(31, 122, 106, 0.35), rgba(10, 24, 38, 0) 62%),
    var(--ink-2);
  border-top: 1px solid var(--grid);
}

.page-products .pd-cta__inner h2 {
  max-width: 24ch;
}

.page-products .pd-cta__inner p {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--mist);
  opacity: 0.78;
}

.page-products .pd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- 断点 ---------- */
@media (min-width: 600px) {
  .page-products .pd-index__item {
    flex: 0 0 44%;
  }
}

@media (min-width: 720px) {
  .page-products .pd-screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

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

@media (min-width: 960px) {
  .page-products .pd-index__item {
    flex: 0 0 27%;
    padding: 22px 22px 24px;
  }

  .page-products .pd-index__item.is-active,
  .page-products .pd-index__item[data-active] {
    transform: translateY(-10px);
  }

  .page-products .pd-cap__cols {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    column-gap: clamp(48px, 7vw, 96px);
  }

  .page-products .pd-cap__cols--shots {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  }

  .page-products .pd-audience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 56px);
  }

  .page-products .pd-hero {
    padding-bottom: clamp(48px, 6vw, 80px);
  }
}

@media (min-width: 1240px) {
  .page-products .pd-index__item {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-index__item,
  .page-products .pd-hot__cell {
    transition: none;
  }
}
