.page-products {
  --px-border: 2px solid var(--line);
  --px-card-bg: linear-gradient(158deg, rgba(15, 26, 48, 0.96), rgba(6, 10, 24, 0.96));
}

.page-products .px-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5.5vw, 62px) 0 clamp(36px, 6vw, 76px);
  background:
    radial-gradient(circle at 78% 12%, rgba(59, 227, 208, 0.16), transparent 46%),
    radial-gradient(circle at 10% 84%, rgba(27, 143, 158, 0.14), transparent 52%);
}

.page-products .px-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 214, 232, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.16;
  pointer-events: none;
}

.page-products .px-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-products .px-hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 17ch;
}

.page-products .px-lead {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--silver);
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 1.78;
}

.page-products .px-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .px-chips {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: var(--px-border);
  border-radius: 14px;
  overflow: hidden;
}

.page-products .px-chips li {
  background: rgba(15, 26, 48, 0.92);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .px-chip-k {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-products .px-chip-v {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
}

.page-products .px-hero-visual {
  margin: 0;
  padding: 10px;
  border: var(--px-border);
  border-radius: 24px;
  background: var(--ink-800);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-products .px-hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.page-products .px-cap {
  display: block;
  margin: 10px 2px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .px-section {
  position: relative;
  padding: clamp(42px, 7vw, 90px) 0;
}

.page-products .px-section--band {
  background: var(--ink-800);
  border-top: 2px solid var(--line-soft);
  border-bottom: 2px solid var(--line-soft);
}

.page-products .px-h2 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 22ch;
}

/* ---------- 仪表板 ---------- */
.page-products .px-dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 44px);
}

.page-products .px-cell {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: var(--px-border);
  border-radius: 18px;
  background: var(--px-card-bg);
  box-shadow: var(--shadow-hard);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-products .px-cell:hover {
  transform: translate(-2px, -2px);
  border-color: var(--line-strong);
}

.page-products .px-cell--lg {
  border-left: 4px solid var(--cyan);
}

.page-products .px-cell--full {
  border-bottom: 4px solid var(--cyan-deep);
}

.page-products .px-cell-tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-products .px-cell-title {
  margin: 0 0 8px;
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--white);
}

.page-products .px-cell-desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--silver);
}

.page-products .px-cell-meta {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--mist);
}

.page-products .px-mono {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold);
}

/* ---------- 折叠组件 ---------- */
.page-products .px-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .px-fold {
  border: var(--px-border);
  border-radius: 16px;
  background: rgba(20, 52, 58, 0.26);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-products .px-fold[open] {
  border-color: var(--line-strong);
  background: rgba(20, 52, 58, 0.48);
}

.page-products .px-fold summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--white);
  font-size: 0.98rem;
}

.page-products .px-fold summary::-webkit-details-marker {
  display: none;
}

.page-products .px-fold summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--mist);
}

.page-products .px-fold[open] summary::after {
  content: "−";
  color: var(--cyan);
}

.page-products .px-step-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  border: 1px solid rgba(246, 185, 74, 0.45);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}

.page-products .px-step-title {
  font-size: 0.98rem;
}

.page-products .px-fold p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 0.94rem;
  line-height: 1.76;
  color: var(--silver);
}

/* ---------- 订阅 ---------- */
.page-products .px-subscribe-grid,
.page-products .px-collect-grid,
.page-products .px-device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-products .px-figure {
  margin: 0;
  padding: 10px;
  border: var(--px-border);
  border-radius: 20px;
  background: var(--ink-900);
  box-shadow: var(--shadow-hard);
  align-self: start;
}

.page-products .px-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* ---------- 收藏 ---------- */
.page-products .px-collect-points,
.page-products .px-device-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: var(--px-border);
  border-radius: 16px;
  overflow: hidden;
}

.page-products .px-collect-points li,
.page-products .px-device-list li {
  background: rgba(15, 26, 48, 0.94);
  padding: 16px 18px;
}

.page-products .px-point-k {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-products .px-collect-points p,
.page-products .px-device-list p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--silver);
}

/* ---------- 数据条带 ---------- */
.page-products .px-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(24px, 4vw, 40px);
  background: var(--line);
  border: var(--px-border);
  border-radius: 18px;
  overflow: hidden;
}

.page-products .px-band-cell {
  background: var(--ink-700);
  padding: clamp(16px, 2.6vw, 26px);
}

.page-products .px-band-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1;
  color: var(--cyan);
}

.page-products .px-band-label {
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--silver);
}

.page-products .px-library-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 38px);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .px-library-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-products .px-library-note {
  margin: 4px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  font-size: 0.9rem;
  line-height: 1.74;
  color: var(--mist);
}

/* ---------- 设备 ---------- */
.page-products .px-device-frames {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px) 10px;
  border: var(--px-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 100%, rgba(59, 227, 208, 0.18), transparent 62%),
    var(--ink-900);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.page-products .px-device {
  position: relative;
  border: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(59, 227, 208, 0.14), rgba(6, 10, 24, 0.94));
  box-shadow: 0 12px 30px -18px rgba(6, 10, 24, 1);
}

.page-products .px-device::after {
  content: "";
  position: absolute;
  inset: 12px 9px;
  border-radius: 8px;
  background: repeating-linear-gradient(180deg, rgba(201, 214, 232, 0.16) 0 5px, transparent 5px 13px);
}

.page-products .px-phone {
  width: 118px;
  aspect-ratio: 9 / 19;
  border-radius: 20px;
}

.page-products .px-tablet {
  width: 168px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.page-products .px-figure--device {
  margin-top: 18px;
  align-self: stretch;
}

/* ---------- 版本与场景 ---------- */
.page-products .px-version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(24px, 4vw, 42px);
}

.page-products .px-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
}

.page-products .px-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(59, 227, 208, 0.06));
}

.page-products .px-tl-item {
  position: relative;
  padding-bottom: 24px;
}

.page-products .px-tl-item:last-child {
  padding-bottom: 0;
}

.page-products .px-tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 2px solid var(--cyan);
}

.page-products .px-tl-item--now::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(246, 185, 74, 0.16);
}

.page-products .px-tl-k {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .px-tl-item--now .px-tl-k {
  color: var(--gold);
}

.page-products .px-tl-d {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.74;
  color: var(--silver);
}

.page-products .px-scenes {
  padding: clamp(18px, 2.6vw, 26px);
  border: var(--px-border);
  border-radius: 18px;
  background: rgba(20, 52, 58, 0.34);
}

.page-products .px-scenes-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .px-scenes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .px-scenes li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .px-scenes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .px-scene-k {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .px-scenes p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--silver);
}

/* ---------- CTA ---------- */
.page-products .px-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(30px, 5vw, 48px);
  padding: clamp(22px, 3.4vw, 34px);
  border: var(--px-border);
  border-left: 4px solid var(--gold);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(246, 185, 74, 0.1), rgba(15, 26, 48, 0.96) 58%);
  box-shadow: var(--shadow-hard);
}

.page-products .px-cta-text h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .px-cta-text p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.94rem;
  line-height: 1.76;
  color: var(--silver);
}

.page-products .px-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-products .px-more {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .px-more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 227, 208, 0.4);
}

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

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

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

@media (min-width: 780px) {
  .page-products .px-dash {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-products .px-cell--lg { grid-column: span 7; }
  .page-products .px-cell--md { grid-column: span 5; }
  .page-products .px-cell--sm { grid-column: span 4; }
  .page-products .px-cell--full { grid-column: span 12; }

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

  .page-products .px-cta-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  .page-products .px-hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .page-products .px-device-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
  }

  .page-products .px-version-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-products .px-subscribe-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

  .page-products .px-collect-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: start;
  }

  .page-products .px-library-grid {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .px-cell,
  .page-products .px-fold {
    transition: none;
  }

  .page-products .px-cell:hover {
    transform: none;
  }
}
