/* ===== 平台功能页 · page-products ===== */
.page-products {
  --p-rail: 252px;
  --p-radius: 28px;
  --p-gap: clamp(22px, 3.2vw, 42px);
  --p-pad: clamp(20px, 3vw, 38px);
  padding-bottom: clamp(60px, 8vw, 112px);
  background-image:
    radial-gradient(78% 44% at 94% 0%, rgba(47, 224, 212, 0.09), transparent 62%),
    radial-gradient(58% 34% at 2% 46%, rgba(196, 56, 74, 0.07), transparent 70%);
}

.page-products .crumbs {
  padding-top: clamp(14px, 2.2vw, 24px);
  padding-bottom: 6px;
}

/* ---------- 首屏框景 ---------- */
.p-hero {
  margin-top: clamp(6px, 1.4vw, 16px);
}

.p-hero__frame {
  position: relative;
  padding: clamp(26px, 4.4vw, 62px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(47, 224, 212, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(5, 11, 22, 0.94), rgba(11, 27, 51, 0.74));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.p-hero__frame::before,
.p-hero__frame::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  opacity: 0.9;
  pointer-events: none;
}

.p-hero__frame::before {
  top: 16px;
  left: 16px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 16px;
}

.p-hero__frame::after {
  right: 16px;
  bottom: 16px;
  border-right: 2px solid var(--sichuan);
  border-bottom: 2px solid var(--sichuan);
  border-bottom-right-radius: 16px;
}

.p-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-accent);
  border-radius: var(--r-pill);
  background: rgba(5, 11, 22, 0.6);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.p-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bamboo);
  box-shadow: 0 0 0 4px rgba(76, 143, 110, 0.18);
}

.p-hero__title {
  max-width: 20ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.p-hero__lede {
  max-width: 62ch;
  margin: clamp(16px, 2.2vw, 24px) 0 0;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(242, 246, 250, 0.8);
}

.p-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 34px);
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.p-hero__quick > li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: clamp(14px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
}

.p-hero__quick > li:last-child {
  border-right: 0;
  padding-right: 0;
}

.p-hero__num {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.p-hero__qtext {
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.p-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.2vw, 38px);
}

/* ---------- 左栏 + 内容区 ---------- */
.p-layout {
  margin-top: clamp(30px, 4.6vw, 62px);
}

.p-rail {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.p-rail__cap {
  margin: 0 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.p-rail__list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.p-rail__list > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.p-rail__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(5, 11, 22, 0.6);
  font-size: 13.5px;
  color: rgba(242, 246, 250, 0.86);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.p-rail__list a .mono {
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.p-rail__foot {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(18, 48, 85, 0.42);
}

.p-rail__foot p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.p-rail__foot a {
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line-accent);
}

/* ---------- 横向速览带 ---------- */
.p-belt {
  display: flex;
  gap: 12px;
  margin-bottom: var(--p-gap);
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.p-belt__item {
  flex: 0 0 min(238px, 76vw);
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(155deg, rgba(18, 48, 85, 0.72), rgba(5, 11, 22, 0.72));
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.p-belt__item:hover,
.p-belt__item:focus-visible {
  border-color: var(--line-accent);
  transform: translateY(-3px);
}

.p-belt__idx {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--sichuan);
}

.p-belt__item strong {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.p-belt__item em {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- 功能画板 ---------- */
.p-module {
  position: relative;
  margin-top: var(--p-gap);
  padding: var(--p-pad);
  border: 1px solid var(--line);
  border-radius: 8px var(--p-radius) var(--p-radius) var(--p-radius);
  background: linear-gradient(158deg, rgba(18, 48, 85, 0.9) 0%, rgba(11, 27, 51, 0.88) 58%, rgba(5, 11, 22, 0.92) 100%);
  box-shadow: var(--shadow-panel);
  scroll-margin-top: calc(var(--head-h) + 26px);
  overflow: hidden;
}

.p-module::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 118px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.p-module__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}

.p-module__idx {
  flex: 0 0 auto;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.p-module__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 700;
  line-height: 1.38;
  color: var(--paper);
}

.p-module__lead {
  max-width: 64ch;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(242, 246, 250, 0.8);
}

.p-module__body {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

.p-module__foot {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.03em;
  line-height: 1.85;
  color: var(--muted);
}

.p-module__foot a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line-accent);
}

/* ---------- 图片容器 ---------- */
.p-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 11, 22, 0.62);
  overflow: hidden;
}

.p-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.p-figure__cap {
  padding: 10px 16px 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 要点列表 ---------- */
.p-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-points > li {
  padding-left: 16px;
  border-left: 2px solid var(--line-accent);
}

.p-points h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.p-points p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 246, 250, 0.72);
}

/* ---------- 步骤 ---------- */
.p-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.p-step {
  position: relative;
  padding: 20px 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: rgba(5, 11, 22, 0.55);
}

.p-step__no {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.p-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.p-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 246, 250, 0.72);
}

/* ---------- 版本记录 ---------- */
.p-ver {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-ver__item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 11, 22, 0.55);
}

.p-ver__tag {
  display: inline-block;
  justify-self: start;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(216, 255, 74, 0.14);
  border: 1px solid rgba(216, 255, 74, 0.36);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-ver__item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 246, 250, 0.76);
}

/* ---------- 暖橙集锦区 ---------- */
.p-module--warm {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(158deg, var(--warm-a) 0%, var(--warm-b) 100%);
}

.p-module--warm::after {
  background: linear-gradient(90deg, #7A2E00, transparent);
}

.p-module--warm .p-module__idx {
  color: #7A2E00;
}

.p-module--warm .p-module__title,
.p-module--warm .p-module__lead,
.p-module--warm .p-path h3,
.p-module--warm .p-path p,
.p-module--warm .p-warm__note,
.p-module--warm .p-figure__cap {
  color: var(--ink-900);
}

.p-module--warm .p-module__lead {
  color: rgba(5, 11, 22, 0.84);
}

.p-module--warm .p-module__foot {
  border-top-color: rgba(5, 11, 22, 0.2);
  color: rgba(5, 11, 22, 0.72);
}

.p-module--warm .p-module__foot a {
  color: #5C1F00;
  border-bottom-color: rgba(5, 11, 22, 0.35);
}

.p-warm__paths {
  display: grid;
  gap: 14px;
  align-content: start;
}

.p-path {
  padding: 18px 20px;
  border-radius: 18px 18px 6px 18px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(5, 11, 22, 0.12);
}

.p-path h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.p-path p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(5, 11, 22, 0.78);
}

.p-warm__note {
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(5, 11, 22, 0.9);
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.p-figure--warm .p-figure__cap {
  border-top-color: rgba(5, 11, 22, 0.16);
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- 适用人群 ---------- */
.p-scenes {
  display: grid;
  gap: 14px;
}

.p-scene {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  background: rgba(5, 11, 22, 0.55);
}

.p-scene__pill {
  margin-bottom: 12px;
}

.p-scene__pill--bamboo {
  --pill-color: var(--bamboo);
}

.p-scene__pill--red {
  --pill-color: var(--sichuan);
}

.p-scene h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.p-scene p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.88;
  color: rgba(242, 246, 250, 0.72);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 700px) {
  .p-module__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-module--media .p-module__body {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
  }

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

@media (min-width: 900px) {
  .p-layout {
    display: grid;
    grid-template-columns: var(--p-rail) minmax(0, 1fr);
    gap: clamp(28px, 3.6vw, 54px);
    align-items: start;
  }

  .p-rail {
    position: sticky;
    top: calc(var(--head-h) + 26px);
    margin-bottom: 0;
  }

  .p-rail__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .p-rail__list a {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: transparent;
    white-space: normal;
  }

  .p-rail__list a[aria-current="true"] {
    border-left-color: var(--accent);
    background: rgba(47, 224, 212, 0.09);
    color: var(--accent);
  }

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

@media (min-width: 1080px) {
  .p-content > .p-module:nth-of-type(odd) {
    margin-right: clamp(0px, 2.6vw, 38px);
  }

  .p-content > .p-module:nth-of-type(even) {
    margin-left: clamp(0px, 2.6vw, 38px);
  }
}
<<<END>>>
