.page-products {
  --pp-radius: 3px;
  --pp-gap: clamp(14px, 2vw, 24px);
  --pp-hair: rgba(201, 214, 228, 0.28);
  font-family: var(--font-head);
}

.page-products .section-sub {
  margin: 12px 0 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(16, 24, 32, 0.66);
}

.page-products .section--deep .section-sub,
.page-products .section--blue .section-sub {
  color: rgba(245, 247, 248, 0.76);
}

.page-products .grid-12 {
  row-gap: clamp(24px, 3.2vw, 40px);
}

/* ============ 首屏 ============ */
.page-products .product-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 26px);
  padding-bottom: clamp(44px, 6vw, 86px);
  overflow: hidden;
  background:
    radial-gradient(92% 80% at 88% 4%, rgba(22, 194, 200, 0.22), transparent 58%),
    radial-gradient(80% 72% at 2% 98%, rgba(255, 106, 19, 0.17), transparent 62%),
    var(--deep);
  color: var(--paper);
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -14%;
  width: 46%;
  height: 170%;
  background: repeating-linear-gradient(
    -60deg,
    rgba(201, 214, 228, 0.055) 0 1px,
    transparent 1px 15px
  );
  pointer-events: none;
}

.page-products .product-hero .container {
  position: relative;
  z-index: 1;
}

.page-products .product-hero .breadcrumb {
  margin-bottom: 30px;
  font-size: 13px;
  color: var(--mist);
}

.page-products .product-hero .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-products .product-hero .breadcrumb a:hover {
  color: #fff;
  border-bottom-color: var(--orange);
}

.page-products .product-hero .breadcrumb span[aria-hidden] {
  margin: 0 8px;
  opacity: 0.55;
}

.page-products .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
}

.page-products .hero-lead .kicker {
  border-color: rgba(201, 214, 228, 0.36);
  color: var(--paper);
}

.page-products .hero-lead h1 {
  margin: 16px 0 20px;
  font-size: clamp(31px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-products .hero-sub {
  max-width: 34em;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.78;
  color: rgba(245, 247, 248, 0.82);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(201, 214, 228, 0.2);
  border: 1px solid rgba(201, 214, 228, 0.2);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

.page-products .hero-stat {
  padding: 18px 16px 16px;
  background: rgba(10, 22, 32, 0.6);
}

.page-products .hero-stat .stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-products .hero-stat--accent .stat-num {
  color: var(--orange);
}

.page-products .hero-stat .stat-label {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

@media (min-width: 961px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
  }
}

/* ============ 能力矩阵 ============ */
.page-products .cap-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pp-gap);
  margin-top: clamp(26px, 3.4vw, 46px);
}

.page-products .cap-card {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
  padding: 24px 22px 22px;
  background: #fff;
  border: var(--rule);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.page-products .cap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 34px;
  height: 2px;
  background: var(--cool);
  transition: background 0.28s var(--ease), width 0.28s var(--ease);
}

.page-products .cap-card:hover,
.page-products .cap-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.page-products .cap-card:hover::before,
.page-products .cap-card:focus-within::before {
  width: 64px;
  background: var(--orange);
}

.page-products .cap-card--feature {
  background: linear-gradient(180deg, #fff 0%, #f2f6fb 100%);
  border-color: var(--mist);
}

.page-products .cap-index {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 12px;
}

.page-products .cap-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .cap-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(16, 24, 32, 0.72);
}

.page-products .cap-scene {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px dashed transparent;
  transition: max-height 0.36s var(--ease), opacity 0.28s var(--ease),
    margin-top 0.36s var(--ease), padding-top 0.36s var(--ease),
    border-color 0.36s var(--ease);
}

.page-products .cap-card:hover .cap-scene,
.page-products .cap-card:focus-within .cap-scene {
  max-height: 180px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 14px;
  border-top-color: var(--hair);
}

.page-products .cap-scene-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 6px;
}

.page-products .cap-scene p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(16, 24, 32, 0.62);
}

/* ============ 数据面板 ============ */
.page-products .board-grid {
  align-items: start;
  margin-top: clamp(24px, 3.2vw, 40px);
}

.page-products .board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule);
}

.page-products .board-list li {
  display: grid;
  grid-template-columns: minmax(0, 92px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: var(--rule);
}

.page-products .board-key {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  padding-top: 2px;
}

.page-products .board-list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(16, 24, 32, 0.72);
}

.page-products .text-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.24s var(--ease);
}

.page-products .text-link:hover {
  color: var(--orange);
}

.page-products .text-link--light {
  margin: 0;
  align-self: center;
  color: var(--cyan);
}

.page-products .text-link--light:hover {
  color: var(--orange);
}

/* ============ 判罚归档 ============ */
.page-products .archive-grid {
  align-items: center;
}

.page-products .archive-intro > p {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 247, 248, 0.78);
}

.page-products .archive-steps {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.page-products .archive-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: rgba(245, 247, 248, 0.9);
  border: var(--rule-dark);
  border-left: 3px solid var(--cyan);
  transition: background 0.24s var(--ease), border-left-color 0.24s var(--ease);
}

.page-products .archive-step:hover {
  background: rgba(22, 194, 200, 0.1);
  border-left-color: var(--orange);
}

.page-products .archive-step .num {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

/* ============ 阵容变动 ============ */
.page-products .lineup-grid {
  align-items: start;
}

.page-products .lineup-body > p {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(16, 24, 32, 0.74);
}

.page-products .tag-board {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--paper);
  border: var(--rule);
  border-radius: var(--pp-radius);
}

.page-products .tag-board .tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-products .lineup-sample {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .lineup-sample caption {
  padding-bottom: 10px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(16, 24, 32, 0.5);
}

.page-products .lineup-sample th {
  padding: 11px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.page-products .lineup-sample td {
  padding: 12px;
  border: var(--rule);
  color: rgba(16, 24, 32, 0.78);
  vertical-align: top;
}

.page-products .lineup-sample tbody tr:nth-child(even) td {
  background: var(--paper);
}

.page-products .lineup-sample td.num {
  font-family: var(--font-num);
  color: var(--ink);
}

/* ============ 版本路径对照 ============ */
.page-products .path-board {
  margin-top: clamp(24px, 3.4vw, 44px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--pp-radius);
  overflow: hidden;
}

.page-products .path-head {
  display: none;
}

.page-products .path-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.24s var(--ease);
}

.page-products .path-row:last-child {
  border-bottom: 0;
}

.page-products .path-row:hover,
.page-products .path-row:focus-within {
  background: rgba(22, 194, 200, 0.14);
}

.page-products .path-feature {
  padding: 14px 18px 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  border-left: 3px solid transparent;
  transition: border-left-color 0.24s var(--ease);
}

.page-products .path-row:hover .path-feature,
.page-products .path-row:focus-within .path-feature {
  border-left-color: var(--orange);
}

.page-products .path-cell {
  padding: 10px 18px 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 247, 248, 0.86);
}

.page-products .path-device {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-products .path-route {
  display: block;
}

@media (min-width: 861px) {
  .page-products .path-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .page-products .path-head span {
    padding: 14px 18px;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
  }

  .page-products .path-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
  }

  .page-products .path-feature {
    padding: 18px;
    display: flex;
    align-items: center;
  }

  .page-products .path-cell {
    display: flex;
    align-items: center;
    padding: 18px;
    border-left: 1px dashed rgba(22, 194, 200, 0.5);
  }

  .page-products .path-device {
    display: none;
  }
}

/* ============ 多端观赛 ============ */
.page-products .family-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  margin-top: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.page-products .family-notes {
  display: grid;
  gap: 14px;
}

.page-products .family-card {
  padding: 20px 22px;
  background: #fff;
  border: var(--rule);
  border-left: 3px solid var(--cool);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.page-products .family-card:hover {
  transform: translateY(-3px);
}

.page-products .family-card--cyan {
  border-left-color: var(--cyan);
}

.page-products .family-card--blue {
  border-left-color: var(--blue);
}

.page-products .family-card--orange {
  border-left-color: var(--orange);
}

.page-products .family-card-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .family-card-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: rgba(16, 24, 32, 0.72);
}

@media (min-width: 861px) {
  .page-products .family-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

/* ============ 服务流程 ============ */
.page-products .workflow-visual {
  margin: clamp(26px, 3.4vw, 46px) 0 0;
}

.page-products .flow-track {
  list-style: none;
  margin: clamp(26px, 3.4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  counter-reset: flow;
}

.page-products .flow-node {
  position: relative;
  padding: 20px 20px 18px;
  border: var(--rule-dark);
  border-radius: var(--pp-radius);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.26s var(--ease), border-color 0.26s var(--ease);
}

.page-products .flow-node:hover,
.page-products .flow-node:focus-within {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(22, 194, 200, 0.6);
}

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

.page-products .flow-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.page-products .flow-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(245, 247, 248, 0.74);
}

.page-products .flow-box {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  border-top: 1px dashed transparent;
  transition: max-height 0.34s var(--ease), opacity 0.26s var(--ease),
    padding-top 0.34s var(--ease), border-color 0.34s var(--ease);
}

.page-products .flow-node:hover .flow-box,
.page-products .flow-node:focus-within .flow-box {
  max-height: 200px;
  opacity: 1;
  padding-top: 14px;
  border-top-color: rgba(201, 214, 228, 0.3);
}

.page-products .flow-box-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.page-products .flow-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 247, 248, 0.78);
}

.page-products .workflow-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 40px);
}

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

  .page-products .flow-node::after {
    content: "";
    position: absolute;
    top: 42px;
    right: calc(-1 * var(--pp-gap));
    width: var(--pp-gap);
    height: 1px;
    background: linear-gradient(90deg, rgba(22, 194, 200, 0.7), rgba(22, 194, 200, 0.2));
  }

  .page-products .flow-node:last-child::after {
    display: none;
  }
}

/* ============ 触屏与窄屏兜底 ============ */
@media (max-width: 900px) {
  .page-products .cap-scene {
    max-height: none;
    opacity: 1;
    margin-top: 16px;
    padding-top: 14px;
    border-top-color: var(--hair);
  }
}

@media (max-width: 860px) {
  .page-products .flow-box {
    max-height: none;
    opacity: 1;
    padding-top: 14px;
    border-top-color: rgba(201, 214, 228, 0.3);
  }

  .page-products .board-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .page-products .board-list li {
    padding: 14px 0;
  }

  .page-products .lineup-sample {
    font-size: 13.5px;
  }

  .page-products .lineup-sample th,
  .page-products .lineup-sample td {
    padding: 9px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .cap-card,
  .page-products .family-card,
  .page-products .path-row,
  .page-products .flow-node,
  .page-products .archive-step {
    transition: none;
  }

  .page-products .cap-card:hover,
  .page-products .family-card:hover {
    transform: none;
  }
}

.page-products {
  --hair: currentColor;
}
