.page-products {
  --pc-line: rgba(168, 199, 195, 0.26);
  --pc-line-soft: rgba(168, 199, 195, 0.14);
  --pc-card: linear-gradient(158deg, rgba(14, 47, 74, 0.94), rgba(7, 26, 43, 0.96));
  --pc-card-alt: linear-gradient(158deg, rgba(10, 36, 56, 0.96), rgba(4, 18, 30, 0.98));
  --pc-glow: 0 0 0 1px rgba(53, 240, 200, 0.4), 0 22px 50px -30px rgba(53, 240, 200, 0.55);
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: hidden;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .media-frame {
  overflow: hidden;
  border-radius: var(--r-l);
  border: 1px solid var(--pc-line-soft);
  background: var(--ink-800);
}

.page-products .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-frame figcaption,
.page-products figure {
  margin: 0;
}

.page-products .section-head p {
  max-width: 44em;
  line-height: 1.8;
  color: rgba(214, 231, 240, 0.72);
}

.page-products h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.16;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  margin: 0.35rem 0 0.7rem;
}

.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  margin: 0 0 0.5rem;
}

.page-products p {
  line-height: 1.78;
  margin: 0 0 0.8rem;
}

.pc-crumbs {
  padding-top: clamp(1.1rem, 3vw, 1.8rem);
  padding-bottom: 0.4rem;
}

/* ---------- 首屏 ---------- */
.pc-hero {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem) 0 clamp(2.4rem, 6vw, 4.5rem);
  isolation: isolate;
}

.pc-hero__slice {
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -18%;
  width: min(92vw, 760px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(215deg, rgba(53, 240, 200, 0.2), rgba(14, 47, 74, 0.05) 58%, transparent 78%);
  clip-path: polygon(38% 0, 100% 0, 100% 76%, 0 30%);
  pointer-events: none;
}

.pc-hero__glow {
  position: absolute;
  z-index: -1;
  left: -22%;
  bottom: -18%;
  width: min(80vw, 620px);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 92, 138, 0.22), transparent 66%);
  filter: blur(14px);
  pointer-events: none;
}

.pc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.pc-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.9rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0.5rem 0 1rem;
}

.pc-hero__copy .lede {
  color: rgba(214, 231, 240, 0.76);
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  max-width: 34em;
}

.pc-hero__stats {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pc-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-left: 2px solid var(--neon);
  background: linear-gradient(90deg, rgba(53, 240, 200, 0.1), transparent 82%);
}

.pc-stat__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon);
  line-height: 1.1;
}

.pc-stat__lab {
  font-size: 0.82rem;
  color: rgba(214, 231, 240, 0.66);
}

.pc-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.pc-hero__art {
  position: relative;
  margin: 0;
}

.pc-hero__cap {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(214, 231, 240, 0.62);
}

.pc-hero__cap .mono {
  color: var(--gold);
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(242, 196, 109, 0.45);
  border-radius: var(--r-s);
}

/* ---------- 通用带 ---------- */
.pc-band {
  padding: clamp(2.2rem, 5.5vw, 4rem) 0;
  border-top: 1px solid var(--pc-line-soft);
}

/* ---------- 三类入口 ---------- */
.pc-tree {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.pc-tree__branch {
  position: relative;
  padding: 1.5rem 1.15rem 1.15rem 1.15rem;
  border-radius: var(--r-m);
  border: 1px solid var(--pc-line);
  background: var(--pc-card);
  box-shadow: var(--dock-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.pc-tree__branch::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), rgba(53, 240, 200, 0.1));
}

.pc-tree__branch:hover {
  border-color: rgba(53, 240, 200, 0.55);
  transform: translateY(-3px);
}

.pc-tree__idx {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink-950);
  background: var(--neon);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  margin-bottom: 0.7rem;
}

.pc-tree__branch h3 {
  margin-bottom: 0.45rem;
}

.pc-tree__for {
  font-size: 0.86rem;
  color: var(--gold);
  border-left: 2px solid rgba(242, 196, 109, 0.5);
  padding-left: 0.6rem;
  line-height: 1.6;
}

.pc-tree__branch p {
  color: rgba(214, 231, 240, 0.72);
  font-size: 0.94rem;
}

.pc-tree__note {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--pc-line);
  font-size: 0.85rem;
  color: rgba(214, 231, 240, 0.6);
}

.pc-tree__note .mono {
  color: var(--neon);
}

/* ---------- 五个工具 ---------- */
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

.pc-tools__rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.pc-tool {
  position: relative;
  padding: 1.3rem 1.1rem;
  border-radius: var(--r-m);
  border: 1px solid var(--pc-line);
  background: var(--pc-card-alt);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.pc-tool::after {
  content: "";
  position: absolute;
  inset: auto 1.1rem 0 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(53, 240, 200, 0), rgba(53, 240, 200, 0.65));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pc-tool:hover {
  border-color: rgba(53, 240, 200, 0.5);
  box-shadow: var(--pc-glow);
  transform: translateY(-3px);
}

.pc-tool:hover::after {
  opacity: 1;
}

.pc-tool__num {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.pc-tool h3 {
  font-size: 1.06rem;
  margin: 0;
}

.pc-tool > p {
  font-size: 0.92rem;
  color: rgba(214, 231, 240, 0.72);
  margin: 0.2rem 0 0.3rem;
}

.pc-tool__more {
  margin-top: auto;
  border-top: 1px dashed var(--pc-line-soft);
  padding-top: 0.55rem;
}

.pc-tool__more summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--neon);
  padding: 0.15rem 0;
}

.pc-tool__more summary::-webkit-details-marker {
  display: none;
}

.pc-tool__more summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1;
}

.pc-tool__more[open] summary::after {
  content: "–";
}

.pc-tool__more p {
  font-size: 0.85rem;
  color: rgba(214, 231, 240, 0.66);
  margin: 0.45rem 0 0;
}

.pc-tools__figure {
  margin: 1.6rem 0 0;
}

.pc-tools__figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: rgba(214, 231, 240, 0.55);
}

/* ---------- 状态面板 ---------- */
.pc-status__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
}

.pc-status__copy > p {
  color: rgba(214, 231, 240, 0.74);
  max-width: 36em;
}

.pc-status__ui {
  margin-top: 1.3rem;
  padding: 1.1rem;
  border-radius: var(--r-m);
  border: 1px solid var(--pc-line);
  background: linear-gradient(150deg, rgba(168, 199, 195, 0.16), rgba(7, 26, 43, 0.5));
  backdrop-filter: blur(6px);
}

.pc-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pc-line-soft);
}

.pc-status__ver {
  font-size: 1rem;
  color: var(--paper);
  letter-spacing: 0.04em;
}

.pc-status__rows {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.pc-status__rows li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  font-size: 0.88rem;
  color: rgba(214, 231, 240, 0.76);
  line-height: 1.6;
}

.pc-status__latest {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--pc-line);
  font-size: 0.82rem;
  color: rgba(214, 231, 240, 0.55);
}

/* ---------- 换设备路径 ---------- */
.pc-switch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.7rem;
}

.pc-switch__path {
  padding: 1.25rem 1.1rem;
  border-radius: var(--r-m);
  border: 1px solid var(--pc-line);
  background: var(--pc-card);
}

.pc-switch__path--alt {
  background: var(--pc-card-alt);
  border-color: rgba(242, 196, 109, 0.28);
}

.pc-switch__head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--pc-line-soft);
}

.pc-switch__head .mono {
  font-size: 0.78rem;
  color: var(--neon);
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(53, 240, 200, 0.35);
  border-radius: var(--r-s);
}

.pc-switch__path--alt .pc-switch__head .mono {
  color: var(--gold);
  border-color: rgba(242, 196, 109, 0.4);
}

.pc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  position: relative;
}

.pc-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.35rem 0.35rem 0.35rem 0;
  border-radius: var(--r-s);
  transition: background 0.25s ease;
}

.pc-steps li:hover,
.pc-steps li:focus-within {
  background: rgba(53, 240, 200, 0.08);
}

.pc-steps__n {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--ink-950);
  background: var(--neon);
}

.pc-switch__path--alt .pc-steps__n {
  background: var(--gold);
}

.pc-steps strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.15rem;
}

.pc-steps p {
  font-size: 0.86rem;
  color: rgba(214, 231, 240, 0.66);
  margin: 0;
}

.pc-switch__figure {
  margin: 1.5rem 0 0;
}

/* ---------- 稳定版 ---------- */
.pc-version__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
}

.pc-version__copy > p {
  color: rgba(214, 231, 240, 0.74);
  max-width: 38em;
}

.pc-version__facts {
  margin: 1.3rem 0 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pc-version__facts > div {
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-s);
  border: 1px solid var(--pc-line-soft);
  background: rgba(14, 47, 74, 0.6);
}

.pc-version__facts dt {
  font-size: 0.78rem;
  color: rgba(214, 231, 240, 0.6);
  margin-bottom: 0.25rem;
}

.pc-version__facts dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ---------- 场景 ---------- */
.pc-scenes__list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.pc-scenes__list li {
  padding: 1.15rem 1rem;
  border-radius: var(--r-m);
  border-left: 3px solid rgba(53, 240, 200, 0.6);
  background: linear-gradient(120deg, rgba(14, 47, 74, 0.85), rgba(7, 26, 43, 0.4));
}

.pc-scenes__list li:nth-child(even) {
  border-left-color: rgba(255, 92, 138, 0.6);
}

.pc-scenes__list h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.pc-scenes__list p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(214, 231, 240, 0.7);
}

/* ---------- 结尾引导 ---------- */
.pc-next__paper {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: var(--r-l);
}

.pc-next__copy h2 {
  color: var(--ink-text);
  margin-top: 0.3rem;
}

.pc-next__copy p {
  color: var(--muted);
  max-width: 40em;
  margin-bottom: 0;
}

.pc-next__copy .eyebrow {
  color: var(--neon-deep);
}

.pc-next__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.pc-next__acts .btn--ghost {
  border-color: rgba(16, 32, 46, 0.4);
  color: var(--ink-text);
}

/* ---------- 桌面 ---------- */
@media (min-width: 760px) {
  .pc-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pc-tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pc-tools__rail {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .pc-tool {
    grid-column: span 4;
  }

  .pc-tool--wide {
    grid-column: span 6;
  }

  .pc-tool:nth-child(1) {
    grid-column: span 5;
  }

  .pc-tool:nth-child(2) {
    grid-column: span 4;
  }

  .pc-tool:nth-child(3) {
    grid-column: span 3;
  }

  .pc-tool:nth-child(4) {
    grid-column: span 7;
  }

  .pc-tool:nth-child(5) {
    grid-column: span 5;
  }

  .pc-status__grid,
  .pc-version__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .pc-status__figure {
    order: 2;
  }

  .pc-version__figure {
    order: 2;
  }

  .pc-switch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-scenes__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 2rem;
  }

  .pc-next__paper {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.6rem;
    align-items: center;
  }

  .pc-next__acts {
    margin-top: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1000px) {
  .pc-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .pc-tree__branch {
    padding: 1.7rem 1.4rem 1.3rem;
  }

  .pc-status__grid,
  .pc-version__grid {
    gap: 3rem;
  }

  .pc-tools__rail {
    gap: 1.1rem;
  }

  .pc-switch__figure {
    margin-top: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pc-tool,
  .page-products .pc-tree__branch,
  .page-products .pc-steps li {
    transition: none;
  }
}
