/* ==========================================================
   服务与功能页 — 页面作用域 .page-products
   ========================================================== */

.page-products {
  --pp-rail: 2px;
  --pp-node: 12px;
  background: var(--sand);
  color: var(--ink);
}

.page-products .visually-plain {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 首屏 ---------- */

.page-products .hero-split {
  position: relative;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 100%);
  padding-top: 24px;
  overflow: hidden;
}

.page-products .hero-split__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}

.page-products .hero-split__copy {
  padding-bottom: 34px;
}

.page-products .hero-eyebrow {
  margin: 18px 0 14px;
  font-family: var(--font-body);
  font-size: var(--fs-1);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--goji);
}

.page-products .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  color: var(--ink);
  max-width: 15em;
}

.page-products .hero-lead {
  font-size: var(--fs-3);
  line-height: 1.85;
  color: var(--ink-mid);
  margin: 0 0 26px;
  max-width: 620px;
}

.page-products .hero-stats {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ink-light);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
}

.page-products .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 92px;
}

.page-products .hero-stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--goji);
}

.page-products .hero-stat-label {
  font-size: var(--fs-1);
  letter-spacing: .06em;
  color: var(--ink-mid);
}

.page-products .hero-night {
  background: var(--night);
  color: var(--sand-light);
  padding: 32px 24px 36px;
  margin-top: -14px;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  position: relative;
}

.page-products .hero-night::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--goji), var(--sand-gold));
}

.page-products .hero-night__label {
  margin: 0 0 12px;
  font-size: var(--fs-1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand-gold);
}

.page-products .hero-night__big {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(46px, 12vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  color: var(--paper);
}

.page-products .hero-night__big span {
  font-family: var(--font-body);
  font-size: .3em;
  font-weight: 400;
  margin-left: .14em;
  color: var(--sand-gold);
}

.page-products .hero-night__desc {
  margin: 0 0 20px;
  font-size: var(--fs-2);
  line-height: 1.8;
  color: var(--sand);
  max-width: 40ch;
}

.page-products .hero-night__list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--night-light);
  display: grid;
  gap: 9px;
}

.page-products .hero-night__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-2);
  line-height: 1.6;
  color: var(--sand);
}

.page-products .hero-night__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--sand-gold);
  transform: translateY(-2px);
}

/* ---------- 技能树主干 ---------- */

.page-products .tree-strip {
  background: var(--night);
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--night-light);
}

.page-products .tree-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.page-products .tree-node {
  position: relative;
}

.page-products .tree-node a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num label"
    "num meta";
  align-items: center;
  gap: 2px 14px;
  padding: 16px 8px 16px 26px;
  border-left: var(--pp-rail) solid var(--night-light);
  text-decoration: none;
  color: var(--sand);
  transition: background .2s ease-out, color .2s ease-out;
}

.page-products .tree-node a::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  margin-top: -6px;
  width: var(--pp-node);
  height: var(--pp-node);
  background: var(--sand-gold);
  transition: background .2s ease-out, transform .2s ease-out;
}

.page-products .tree-node a:hover,
.page-products .tree-node a:focus-visible {
  background: var(--night-light);
  color: var(--paper);
}

.page-products .tree-node a:hover::before,
.page-products .tree-node a:focus-visible::before {
  background: var(--goji);
  transform: scale(1.25);
}

.page-products .tree-node__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-4);
  line-height: 1;
  color: var(--sand-gold);
}

.page-products .tree-node__label {
  grid-area: label;
  font-size: var(--fs-3);
  font-weight: 700;
  color: inherit;
}

.page-products .tree-node__meta {
  grid-area: meta;
  font-size: var(--fs-1);
  letter-spacing: .05em;
  color: var(--sand);
  opacity: .62;
}

/* ---------- 通用小标题 / 清单 ---------- */

.page-products .mini-head {
  margin: 0 0 14px;
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}

.page-products .mini-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 4px;
  height: 20px;
  background: var(--goji);
}

.page-products .tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .tick-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-3);
  line-height: 1.78;
  color: var(--ink-mid);
}

.page-products .tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 2px;
  background: var(--goji);
}

/* ---------- 筛选 ---------- */

.page-products .filter-layout {
  margin-top: 8px;
}

.page-products .filter-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.page-products .filter-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
  padding: 20px 0;
  border-top: 1px solid var(--ink-light);
}

.page-products .filter-step:last-child {
  border-bottom: 1px solid var(--ink-light);
}

.page-products .filter-step__no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  line-height: 1;
  color: var(--goji);
}

.page-products .filter-step__title {
  margin: 0 0 8px;
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--ink);
}

.page-products .filter-step__body p {
  margin: 0;
  font-size: var(--fs-3);
  line-height: 1.82;
  color: var(--ink-mid);
}

.page-products .filter-figure {
  margin: 24px 0 0;
}

/* ---------- 主客场对照 ---------- */

.page-products .split-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink-light);
  border: 1px solid var(--ink-light);
  margin-top: 8px;
}

.page-products .split-side {
  padding: 28px 24px 26px;
  position: relative;
}

.page-products .split-side--home {
  background: var(--paper);
}

.page-products .split-side--away {
  background: var(--sand-light);
}

.page-products .split-side__tag {
  margin: 0 0 6px;
  font-size: var(--fs-1);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.page-products .split-side--home .split-side__tag {
  color: var(--goji);
}

.page-products .split-side--away .split-side__tag {
  color: var(--goji-deep);
}

.page-products .split-side__word {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 11vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
}

.page-products .split-side--home .split-side__word {
  color: var(--goji);
}

.page-products .split-side--away .split-side__word {
  color: var(--sand-gold);
}

.page-products .split-side__note {
  margin: 0;
  font-size: var(--fs-3);
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 42ch;
}

.page-products .split-notes {
  margin-top: 32px;
}

/* ---------- 可视化图层（深色区） ---------- */

.page-products .viz-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 8px;
}

.page-products .viz-figure {
  margin: 0;
}

.page-products .viz-list {
  display: grid;
}

.page-products .viz-item {
  border-top: 1px solid var(--night-light);
  padding: 22px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
}

.page-products .viz-item:last-child {
  border-bottom: 1px solid var(--night-light);
}

.page-products .viz-item__num {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  line-height: 1;
  color: var(--sand-gold);
}

.page-products .viz-item__title {
  margin: 0;
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--paper);
}

.page-products .viz-item__text {
  margin: 6px 0 0;
  font-size: var(--fs-2);
  line-height: 1.82;
  color: var(--sand);
}

/* ---------- 导出 ---------- */

.page-products .export-grid {
  margin-top: 8px;
}

.page-products .export-figure {
  margin: 0 0 24px;
}

.page-products .export-tips {
  margin-top: 34px;
  border-left: 4px solid var(--goji);
  background: var(--paper);
  border-top: 1px solid var(--ink-light);
  border-right: 1px solid var(--ink-light);
  border-bottom: 1px solid var(--ink-light);
  padding: 24px 24px 20px;
}

.page-products .export-tips h3 {
  margin: 0 0 12px;
  font-size: var(--fs-4);
  font-weight: 700;
  color: var(--ink);
}

.page-products .export-tips p {
  margin: 0 0 12px;
  font-size: var(--fs-3);
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 68ch;
}

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

/* ---------- 收藏 ---------- */

.page-products .collect-grid {
  margin-top: 8px;
}

.page-products .collect-figure {
  margin: 0 0 24px;
}

.page-products .collect-meter {
  background: var(--paper);
  border: 1px solid var(--ink-light);
  padding: 24px 24px 22px;
  margin-bottom: 24px;
  box-shadow: var(--hard-shadow);
}

.page-products .collect-meter__head {
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-3);
  color: var(--ink);
}

.page-products .collect-meter__head .mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-5);
  line-height: 1;
  color: var(--goji);
}

.page-products .collect-meter__track {
  position: relative;
  height: 10px;
  background: var(--sand);
  border: 1px solid var(--ink-light);
  overflow: hidden;
}

.page-products .collect-meter__fill {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--goji) 0 6px,
    transparent 6px 11px
  );
}

.page-products .collect-meter__foot {
  margin: 14px 0 0;
  font-size: var(--fs-2);
  line-height: 1.75;
  color: var(--ink-mid);
}

/* ---------- 大陆版入口 ---------- */

.page-products .entry-figure {
  margin: 6px 0 32px;
  border: 1px solid var(--ink-light);
  background: var(--sand-light);
}

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

.page-products .entry-grid {
  margin-top: 0;
}

.page-products .entry-text {
  margin: 0;
  font-size: var(--fs-3);
  line-height: 1.82;
  color: var(--ink-mid);
}

.page-products .entry-cta {
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 图片通用 ---------- */

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

/* ==========================================================
   响应式
   ========================================================== */

@media (min-width: 640px) {
  .page-products .split-compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 780px) {
  .page-products .hero-split {
    padding-top: 34px;
  }

  .page-products .hero-split__grid {
    grid-template-columns: 7fr 5fr;
    gap: 0;
    align-items: stretch;
  }

  .page-products .hero-split__copy {
    padding: 8px 40px 52px 0;
    align-self: center;
  }

  .page-products .hero-night {
    margin-top: 0;
    padding: 56px 30px 44px;
    clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-products .hero-night::after {
    left: 15%;
    right: 30px;
  }

  .page-products .tree-strip {
    padding: 30px 0 34px;
  }

  .page-products .tree-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .tree-node a {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "label"
      "meta";
    align-items: start;
    gap: 8px;
    padding: 30px 20px 6px 0;
    border-left: 0;
    border-top: var(--pp-rail) solid var(--night-light);
  }

  .page-products .tree-node a::before {
    left: 0;
    top: -7px;
    margin-top: 0;
  }

  .page-products .filter-step {
    grid-template-columns: 58px 1fr;
  }

  .page-products .filter-figure {
    margin: 0;
  }

  .page-products .viz-layout {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
  }

  .page-products .export-figure {
    margin: 0;
  }

  .page-products .collect-figure {
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .page-products .hero-split__copy {
    padding-right: 64px;
  }

  .page-products .hero-night {
    padding-left: 48px;
  }

  .page-products .split-side {
    padding: 36px 32px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tree-node a,
  .page-products .tree-node a::before {
    transition: none;
  }
}
</PAGE_CSS>>>
