.page-products {
  --px-rail: 240px;
  --px-gap: 24px;
  --px-section-gap: 72px;
  padding-bottom: 88px;
}

.page-products .breadcrumb {
  padding: 24px 0 8px;
}

/* ---------- 首屏 ---------- */
.page-products .px-hero {
  position: relative;
  padding: 24px 0 56px;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(33, 230, 193, 0.08) 0%, rgba(6, 24, 38, 0) 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(245, 185, 63, 0.06) 0%, rgba(6, 24, 38, 0) 60%);
  overflow: hidden;
}

.page-products .px-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(236, 244, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 244, 248, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 30% 20%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 70% at 30% 20%, #000 0%, transparent 80%);
}

.page-products .px-hero__grid {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-products .px-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--white-100);
  margin: 12px 0 20px;
  max-width: 14em;
}

.page-products .px-hero__lede {
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist-400);
  max-width: 34em;
  margin: 0 0 8px;
}

.page-products .px-hero__actions {
  list-style: none;
  padding: 0;
  margin: 26px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .px-hero__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist-400);
  margin: 0;
}

.page-products .px-hero__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-600);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950));
}

.page-products .px-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-products .px-hero__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}

/* ---------- 主体布局 ---------- */
.page-products .px-body {
  display: grid;
  gap: 36px;
  padding-top: 40px;
}

@media (min-width: 960px) {
  .page-products .px-body {
    grid-template-columns: var(--px-rail) minmax(0, 1fr);
    gap: 56px;
  }
}

/* ---------- 章节索引 ---------- */
.page-products .px-toc {
  padding: 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background: var(--ink-850);
  align-self: start;
}

@media (min-width: 960px) {
  .page-products .px-toc {
    position: sticky;
    top: 100px;
  }
}

.page-products .px-toc__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-400);
  margin: 0 0 12px;
}

.page-products .px-toc__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 959px) {
  .page-products .px-toc__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
}

.page-products .px-toc__list a {
  display: block;
  padding: 6px 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mist-400);
  text-decoration: none;
  border-radius: var(--radius-s);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .px-toc__list a:hover,
.page-products .px-toc__list a:focus-visible {
  color: var(--cyan-400);
  background: var(--cyan-a10);
}

.page-products .px-toc__list a[aria-current="true"] {
  color: var(--cyan-400);
  background: var(--cyan-a18);
}

.page-products .px-toc__aside {
  border-top: 1px solid var(--line-600);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .px-toc__aside p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist-400);
  margin: 0;
}

/* ---------- 章节 ---------- */
.page-products .px-sections {
  display: flex;
  flex-direction: column;
  gap: var(--px-section-gap);
  min-width: 0;
}

.page-products .px-section {
  scroll-margin-top: 96px;
}

.page-products .section-head {
  margin-bottom: 18px;
}

.page-products .section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--white-100);
  margin: 8px 0 0;
}

.page-products .px-body-text {
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist-400);
  max-width: 38em;
  margin: 0 0 26px;
}

/* ---------- 分类卡 ---------- */
.page-products .px-cats {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .page-products .px-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .px-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background: var(--ink-800);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .px-cat:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-400);
  background: var(--ink-850);
}

.page-products .px-cat__count {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--cyan-400);
}

.page-products .px-cat__count small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--mist-400);
  margin-left: 6px;
}

.page-products .px-cat h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white-100);
  margin: 0;
}

.page-products .px-cat p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-400);
  margin: 0;
}

.page-products .px-cat .tag {
  align-self: flex-start;
  margin-top: 4px;
}

@media (min-width: 640px) and (max-width: 999px) {
  .page-products .px-cat:nth-child(2n) {
    transform: translateY(22px);
  }
  .page-products .px-cat:nth-child(2n):hover {
    transform: translateY(18px);
  }
}

@media (min-width: 1000px) {
  .page-products .px-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .px-cat:nth-child(3n + 2) {
    transform: translateY(22px);
  }
  .page-products .px-cat:nth-child(3n + 2):hover {
    transform: translateY(18px);
  }
}

/* ---------- 图片容器 ---------- */
.page-products .px-figure {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .px-figure__frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-600);
  background: var(--ink-850);
}

.page-products .px-figure__frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-products .px-figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-products .px-figure--square .px-figure__frame {
  aspect-ratio: 1 / 1;
}

.page-products .px-figure--square .px-figure__frame img {
  height: 100%;
  object-fit: cover;
}

.page-products .px-figure__frame--flat img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-products .px-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--mist-400);
  padding: 0 4px;
}

/* ---------- 案例卡结构 ---------- */
.page-products .px-card-detail {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 800px) {
  .page-products .px-card-detail {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
  }
}

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

.page-products .px-detail__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line-600);
}

.page-products .px-detail__item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.page-products .px-detail__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan-400);
  padding-top: 2px;
}

.page-products .px-detail__item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white-100);
  margin: 0 0 6px;
}

.page-products .px-detail__item p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist-400);
  margin: 0;
}

/* ---------- 三种处境 ---------- */
.page-products .px-scenes {
  display: grid;
  gap: 20px;
  margin-bottom: 6px;
}

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

.page-products .px-scene {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
}

.page-products .px-scene .tag {
  align-self: flex-start;
}

.page-products .px-scene h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white-100);
  margin: 0;
}

.page-products .px-scene p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist-400);
  margin: 0;
}

.page-products .px-scene__path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--pale-200);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line-600);
  word-break: break-word;
}

.page-products .px-scene__path .mono {
  color: var(--cyan-400);
  margin-right: 8px;
}

.page-products .px-scene .btn {
  align-self: flex-start;
}

/* ---------- 筛选 ---------- */
.page-products .px-filters {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

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

.page-products .px-filter-card {
  padding: 22px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background: var(--ink-850);
}

.page-products .px-filter-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-products .px-filter-card header .mono {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--cyan-a18);
  color: var(--cyan-400);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-products .px-filter-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white-100);
  margin: 0;
}

.page-products .px-filter-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-400);
  margin: 0 0 14px;
}

.page-products .px-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-products .px-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line-600);
  color: var(--mist-400);
  white-space: nowrap;
}

.page-products .px-chip--on {
  border-color: var(--cyan-400);
  background: var(--cyan-a18);
  color: var(--cyan-400);
}

.page-products .px-sort {
  padding: 20px 22px;
  border-radius: var(--radius-m);
  background: var(--ink-800);
  border-left: 3px solid var(--amber-400);
}

.page-products .px-sort__label {
  font-size: 14px;
  line-height: 1.65;
  color: var(--white-100);
  margin: 0 0 12px;
}

.page-products .px-sort__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-400);
}

.page-products .px-sort__list strong {
  color: var(--amber-400);
  font-weight: 600;
  margin-right: 10px;
}

/* ---------- 选编与更新 ---------- */
.page-products .px-editorial {
  display: grid;
  gap: 28px;
  margin-bottom: 22px;
}

@media (min-width: 800px) {
  .page-products .px-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.page-products .px-editorial__col h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white-100);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--cyan-400);
  line-height: 1.4;
}

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

.page-products .px-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--mist-400);
}

.page-products .px-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px var(--cyan-a10);
}

.page-products .px-editorial__cta {
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist-400);
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  border: 1px dashed var(--line-600);
  background: var(--ink-850);
}

.page-products .px-editorial__cta a {
  color: var(--cyan-400);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-products .px-editorial__cta a:hover {
  color: var(--pale-200);
}

/* ---------- 难度分级 ---------- */
.page-products .px-levels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .px-level {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background: var(--ink-850);
}

.page-products .px-level__num {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  background: var(--cyan-a10);
  color: var(--cyan-400);
}

.page-products .px-level--3 .px-level__num,
.page-products .px-level--4 .px-level__num {
  background: var(--amber-a12);
  color: var(--amber-400);
}

.page-products .px-level--5 .px-level__num {
  background: var(--coral-a12);
  color: var(--coral-400);
}

.page-products .px-level h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white-100);
  margin: 4px 0 5px;
  line-height: 1.4;
}

.page-products .px-level p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist-400);
  margin: 0;
}

/* ---------- 文末反馈 ---------- */
.page-products .px-feedback {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-600);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(33, 230, 193, 0.08) 0%, rgba(12, 38, 55, 0) 70%),
    var(--ink-800);
}

@media (min-width: 720px) {
  .page-products .px-feedback {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.page-products .px-feedback__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white-100);
  margin: 0 0 8px;
}

.page-products .px-feedback__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-400);
  margin: 0;
  max-width: 52em;
}

.page-products .px-feedback .btn {
  align-self: flex-start;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .page-products .px-feedback .btn {
    align-self: center;
    flex: 0 0 auto;
  }
}
<<<END>>>
