.page-products {
  --ps-line: rgba(201, 211, 216, .18);
  --ps-line-strong: rgba(201, 211, 216, .3);
  --ps-panel: #0B2A43;
  --ps-accent: var(--cyan);
}

/* ---------- 首屏框景 ---------- */
.page-products .svc-hero {
  position: relative;
  padding-top: clamp(16px, 3vw, 30px);
  padding-bottom: clamp(44px, 7vw, 96px);
  overflow: hidden;
}

.page-products .svc-hero .breadcrumb {
  margin-bottom: clamp(16px, 2.6vw, 28px);
}

.page-products .svc-hero-frame {
  position: relative;
  padding: clamp(22px, 4.5vw, 58px);
  border: 1px solid var(--ps-line-strong);
  background:
    linear-gradient(155deg, rgba(25, 227, 255, .09), transparent 44%),
    linear-gradient(20deg, rgba(255, 106, 42, .07), transparent 42%);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-products .svc-hero-frame::before,
.page-products .svc-hero-frame::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 72px;
  background: var(--cyan);
  opacity: .75;
}

.page-products .svc-hero-frame::before {
  top: 0;
  left: clamp(22px, 4.5vw, 58px);
}

.page-products .svc-hero-frame::after {
  bottom: 0;
  right: clamp(22px, 4.5vw, 58px);
  background: var(--orange);
}

.page-products .svc-hero-title {
  margin: 14px 0 0;
  max-width: 15ch;
  line-height: 1.02;
}

.page-products .svc-hero-lede {
  margin-top: clamp(16px, 2.4vw, 24px);
  max-width: 50ch;
}

.page-products .svc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .svc-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--teal);
}

.page-products .svc-hero-stats .data-mono {
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.1;
  color: var(--cyan);
}

.page-products .svc-hero-stats li > span:last-child {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--grayblue);
}

.page-products .svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.2vw, 32px);
}

/* ---------- 通用标题与正文 ---------- */
.page-products .svc-head {
  display: flex;
  gap: clamp(12px, 2vw, 22px);
  align-items: flex-start;
  margin-bottom: clamp(16px, 2.6vw, 26px);
}

.page-products .svc-head .index-num {
  flex: none;
  line-height: 1;
}

.page-products .svc-h2 {
  margin: 6px 0 0;
  font-size: clamp(25px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
}

.page-products .svc-copy {
  max-width: 62ch;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.75;
}

.page-products .svc-copy--wide {
  max-width: 74ch;
}

.page-products .svc-note {
  max-width: 70ch;
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--grayblue);
}

.page-products .svc-note--wide {
  max-width: 78ch;
}

.page-products .section--paper .svc-h2,
.page-products .section--paper .svc-copy,
.page-products .section--paper .svc-note {
  color: var(--brown);
}

.page-products .section--paper .svc-note {
  color: #4A413B;
}

/* ---------- 列表 ---------- */
.page-products .svc-list {
  list-style: none;
  margin: 18px 0 20px;
  padding: 0;
  display: grid;
  gap: 13px;
  max-width: 64ch;
}

.page-products .svc-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--warm-white);
}

.page-products .svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 11px;
  height: 2px;
  background: var(--ps-accent);
}

.page-products .svc-list li strong {
  color: var(--warm-white);
  font-weight: 700;
}

.page-products .section--paper .svc-list li {
  color: var(--brown);
}

.page-products .svc-link {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 0;
  min-height: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ps-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-products .svc-link--inline {
  margin: 0;
  color: var(--orange);
}

.page-products .svc-link:hover {
  color: var(--warm-white);
}

.page-products .section--paper .svc-link {
  color: var(--sig-red);
}

/* ---------- 总览 ---------- */
.page-products .grid {
  gap: clamp(20px, 3.4vw, 42px);
}

.page-products .svc-overview {
  align-items: start;
}

.page-products .svc-overview-media {
  margin: 0;
}

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

/* ---------- 技能树 ---------- */
.page-products .tree {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  position: relative;
}

.page-products .tree::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 13px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), var(--orange) 50%, var(--sig-red));
  opacity: .5;
}

.page-products .tree-node {
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
}

.page-products .tree-node:last-child {
  margin-bottom: 0;
}

.page-products .tree-node--cyan { --ps-accent: var(--cyan); }
.page-products .tree-node--orange { --ps-accent: var(--orange); }
.page-products .tree-node--red { --ps-accent: var(--sig-red); }

.page-products .tree-node::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 24px;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  background: var(--ink-900);
  border: 2px solid var(--ps-accent);
}

.page-products .tree-card {
  border: 1px solid var(--ps-line);
  border-left: 3px solid var(--ps-accent);
  background: var(--ps-panel);
}

.page-products .tree-card > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  min-height: 44px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .tree-card > summary::-webkit-details-marker {
  display: none;
}

.page-products .tree-card > summary::after {
  content: "展开";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ps-accent);
  border: 1px solid var(--ps-accent);
  padding: 3px 7px;
}

.page-products .tree-card[open] > summary::after {
  content: "收起";
}

.page-products .tree-signal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ps-accent);
}

.page-products .tree-title {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--warm-white);
}

.page-products .tree-body {
  padding: 0 18px 18px;
}

.page-products .tree-body .svc-copy {
  font-size: 16px;
  color: var(--grayblue);
}

/* ---------- 分栏服务区块 ---------- */
.page-products .svc-split-section {
  position: relative;
}

.page-products .svc-split {
  align-items: center;
}

.page-products .svc-split-text {
  min-width: 0;
}

.page-products .svc-media {
  margin: 0;
  min-width: 0;
}

.page-products .svc-media--tall {
  max-width: 420px;
  justify-self: start;
}

.page-products .svc-media--scene {
  align-self: start;
}

.page-products .media-cap {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- 时间轴 ---------- */
.page-products .timeline {
  position: relative;
  list-style: none;
  margin: 20px 0 22px;
  padding: 0 0 0 26px;
}

.page-products .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--sig-red), rgba(232, 67, 46, .1));
}

.page-products .timeline-item {
  position: relative;
  padding-bottom: 16px;
}

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

.page-products .timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--ink-900);
  border: 2px solid var(--sig-red);
}

.page-products .timeline-tag {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--sig-red);
}

.page-products .timeline-item p {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--grayblue);
  max-width: 60ch;
}

/* ---------- 对照表 ---------- */
.page-products .cmp-scroll {
  margin-top: clamp(20px, 3vw, 30px);
  border: 1px solid var(--ps-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .cmp {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.65;
}

.page-products .cmp th,
.page-products .cmp td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ps-line);
}

.page-products .cmp thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 500;
  color: var(--grayblue);
  background: rgba(6, 26, 43, .6);
}

.page-products .cmp tbody th {
  font-weight: 700;
  color: var(--warm-white);
  white-space: nowrap;
}

.page-products .cmp tbody td {
  color: var(--grayblue);
}

.page-products .cmp tbody tr {
  transition: background var(--t-fast) var(--ease);
}

.page-products .cmp tbody tr:hover,
.page-products .cmp tbody tr:focus-within {
  background: rgba(25, 227, 255, .07);
}

.page-products .cmp-row--cyan th { border-left: 3px solid var(--cyan); }
.page-products .cmp-row--orange th { border-left: 3px solid var(--orange); }
.page-products .cmp-row--red th { border-left: 3px solid var(--sig-red); }

.page-products .cmp-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  transform: rotate(45deg);
  background: var(--cyan);
}

.page-products .cmp-row--orange .cmp-dot { background: var(--orange); }
.page-products .cmp-row--red .cmp-dot { background: var(--sig-red); }

/* ---------- 场景选择 ---------- */
.page-products .svc-scene-grid {
  display: grid;
  gap: clamp(20px, 3.4vw, 38px);
  align-items: start;
}

.page-products .scene {
  border: 1px solid rgba(27, 21, 18, .16);
  border-left: 3px solid var(--orange);
  background: rgba(255, 248, 236, .55);
  margin-bottom: 12px;
}

.page-products .scene > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--brown);
}

.page-products .scene > summary::-webkit-details-marker {
  display: none;
}

.page-products .scene > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--orange);
}

.page-products .scene[open] > summary::after {
  content: "–";
}

.page-products .scene-body {
  padding: 0 16px 16px;
}

.page-products .scene-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #42392F;
}

.page-products .scene-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .scene-path li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brown);
  padding-top: 8px;
  border-top: 1px dashed rgba(27, 21, 18, .18);
}

.page-products .scene-path .data-mono {
  color: var(--sig-red);
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- 流程 ---------- */
.page-products .flow {
  list-style: none;
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .flow-step {
  position: relative;
  padding: 26px 18px 18px;
  border: 1px solid var(--ps-line);
  border-top: 2px solid var(--orange);
  background: var(--ps-panel);
}

.page-products .flow-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--orange);
}

.page-products .flow-num {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-products .flow-step h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--warm-white);
}

.page-products .flow-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--grayblue);
}

/* ---------- 结尾行动块 ---------- */
.page-products .svc-cta {
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 3.6vw, 40px);
  border: 1px solid var(--ps-line-strong);
  background:
    linear-gradient(120deg, rgba(255, 106, 42, .12), transparent 55%),
    var(--ink-800);
}

.page-products .svc-cta .svc-copy {
  color: var(--grayblue);
  margin-bottom: 0;
}

.page-products .svc-cta .svc-h2 {
  font-size: clamp(22px, 3.4vw, 34px);
}

/* ---------- 焦点可见 ---------- */
.page-products summary:focus-visible,
.page-products .svc-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

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

  .page-products .svc-scene-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .page-products .svc-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-products .tree::before {
    left: calc(50% - 1px);
  }

  .page-products .tree-node {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    align-items: start;
    padding-left: 0;
    margin-bottom: 26px;
  }

  .page-products .tree-node::before {
    left: calc(50% - 8px);
    top: 30px;
  }

  .page-products .tree-node::after {
    content: "";
    position: absolute;
    top: 36px;
    left: calc(50% - 80px);
    width: 32px;
    height: 1px;
    background: var(--ps-accent);
    opacity: .5;
  }

  .page-products .tree-node--right::after {
    left: auto;
    right: calc(50% - 80px);
  }

  .page-products .tree-card {
    grid-column: 1;
  }

  .page-products .tree-node--right .tree-card {
    grid-column: 3;
  }

  .page-products .svc-split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
  }

  .page-products .svc-media--tall {
    justify-self: end;
  }
}

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