.page-products {
  --prod-gap: clamp(20px, 4vw, 44px);
  --prod-shell-r: 26px;
  position: relative;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
}

.page-products .inline-link {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 192, 0.45);
}

.page-products .inline-link:hover {
  color: var(--neon-soft);
  border-bottom-color: var(--neon-soft);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  padding: 28px 0 48px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 78%;
  height: 130%;
  background: linear-gradient(148deg, rgba(53, 240, 192, 0.07) 0%, rgba(53, 240, 192, 0) 45%, rgba(255, 138, 61, 0.06) 100%);
  transform: skewY(-6deg);
  pointer-events: none;
  z-index: -1;
}

.page-products .prod-hero-inner {
  display: grid;
  gap: var(--prod-gap);
  align-items: center;
}

.page-products .prod-hero-copy h1 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 7.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-products .prod-hero-copy .lead {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.page-products .prod-hero-visual {
  display: grid;
  gap: 18px;
}

.page-products .device-shell {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--prod-shell-r);
  background: linear-gradient(165deg, var(--board) 0%, var(--deep) 70%, var(--ink) 100%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.page-products .device-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--prod-shell-r);
  background: linear-gradient(200deg, rgba(53, 240, 192, 0.14), transparent 42%);
  pointer-events: none;
}

.page-products .device-shell--phone {
  max-width: 320px;
  margin: 0 auto;
}

.page-products .device-shell--phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--prod-shell-r) - 10px);
  object-fit: cover;
}

.page-products .device-cut {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 46px;
  height: 4px;
  border-radius: 3px;
  background: var(--turf);
  transform: translateX(-50%);
  z-index: 2;
}

.page-products .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.page-products .hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .hero-metric-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 5.4vw, 34px);
  font-weight: 600;
  line-height: 1;
  color: var(--neon);
}

.page-products .hero-metric-unit {
  font-size: 0.55em;
  margin-left: 2px;
  color: var(--neon-soft);
}

.page-products .hero-metric-cap {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 三端 ---------- */
.page-products .platform-stage {
  display: grid;
  gap: 20px;
}

.page-products .platform-switch,
.page-products .layer-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .platform-body {
  display: grid;
  gap: 22px;
}

.page-products .platform-preview {
  min-width: 0;
}

.page-products .device-shell--wide {
  min-height: 232px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .screen {
  display: none;
  width: 100%;
  padding: 22px 18px;
  position: relative;
  z-index: 1;
}

.page-products .screen--ios {
  display: block;
}

.page-products .platform-stage:has([data-scope="android"].is-active) .screen--ios,
.page-products .platform-stage:has([data-scope="web"].is-active) .screen--ios,
.page-products .platform-stage:has([data-scope="ios"].is-active) .screen--android,
.page-products .platform-stage:has([data-scope="ios"].is-active) .screen--web,
.page-products .platform-stage:has([data-scope="android"].is-active) .screen--web,
.page-products .platform-stage:has([data-scope="web"].is-active) .screen--android {
  display: none;
}

.page-products .platform-stage:has([data-scope="android"].is-active) .screen--android,
.page-products .platform-stage:has([data-scope="web"].is-active) .screen--web {
  display: block;
}

.page-products .screen-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--neon);
}

.page-products .screen-bar {
  display: block;
  height: 9px;
  margin-bottom: 10px;
  border-radius: 5px;
  background: var(--turf);
}

.page-products .screen-bar--neon {
  background: linear-gradient(90deg, var(--neon) 0%, rgba(53, 240, 192, 0.18) 100%);
  width: 72%;
}

.page-products .screen-bar--amber {
  background: linear-gradient(90deg, var(--amber) 0%, rgba(255, 138, 61, 0.16) 100%);
  width: 44%;
}

.page-products .screen-bar:nth-of-type(odd) {
  width: 88%;
}

.page-products .screen-foot {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.page-products .platform-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .platform-points li {
  padding: 14px 16px;
  border-left: 2px solid var(--turf);
  background: linear-gradient(90deg, rgba(22, 48, 42, 0.7), rgba(10, 20, 16, 0));
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .platform-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--text);
}

/* ---------- 上手路径 ---------- */
.page-products .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: flow;
}

.page-products .flow-item {
  position: relative;
  padding: 20px 20px 20px 58px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(152deg, rgba(22, 48, 42, 0.9), rgba(10, 20, 16, 0.55));
  counter-increment: flow;
}

.page-products .flow-item::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon);
}

.page-products .flow-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-products .flow-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .export-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.page-products .export-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--neon);
  border-radius: var(--r-sm);
  background: rgba(16, 32, 26, 0.6);
}

.page-products .export-card:nth-child(2) {
  border-top-color: var(--amber);
}

.page-products .export-card .pill {
  margin-bottom: 12px;
}

/* ---------- 抢断专题 ---------- */
.page-products .prod-press {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 32, 26, 0.85), rgba(10, 20, 16, 0.4));
}

.page-products .press-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-products .press-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .press-list li {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.page-products .press-list li:last-child {
  border-bottom: 0;
}

.page-products .pitch-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(22, 48, 42, 0.9), rgba(10, 20, 16, 0.8));
}

.page-products .pitch-figure {
  margin: 16px 0 0;
}

.page-products .pitch-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}

.page-products .pitch-base {
  fill: #0d1a15;
}

.page-products .pitch-line {
  fill: none;
  stroke: var(--turf);
  stroke-width: 1.2;
}

.page-products .pitch-dot {
  fill: var(--amber);
}

.page-products .pitch-layer {
  opacity: 0;
  transition: opacity 320ms var(--ease);
}

.page-products .pitch-layer--count rect {
  fill: var(--neon);
  opacity: 0.28;
}

.page-products .pitch-layer--rate circle {
  fill: var(--neon-soft);
  opacity: 0.55;
}

.page-products .pitch-layer--zone rect {
  fill: var(--turf);
  opacity: 0.5;
}

.page-products .pitch-block:has([data-scope="count"].is-active) .pitch-layer--count,
.page-products .pitch-block:has([data-scope="rate"].is-active) .pitch-layer--rate,
.page-products .pitch-block:has([data-scope="zone"].is-active) .pitch-layer--zone {
  opacity: 1;
}

.page-products .pitch-caption {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 专题库 ---------- */
.page-products .records-grid {
  display: grid;
  gap: 22px;
}

.page-products .record-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(22, 48, 42, 0.75), rgba(10, 20, 16, 0.5));
}

.page-products .record-head .pill {
  margin-bottom: 10px;
}

.page-products .record-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 4.6vw, 26px);
  line-height: 1.2;
  color: var(--text);
}

.page-products .record-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.page-products .record-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .record-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .record-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
}

/* ---------- 前瞻推送 ---------- */
.page-products .push-panel {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(22, 48, 42, 0.55);
}

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

.page-products .push-list li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .push-key {
  display: inline-block;
  min-width: 74px;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1px solid var(--turf);
  border-radius: 3px;
  font-size: 12px;
  color: var(--neon);
  text-align: center;
}

.page-products .push-foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 版本演进 ---------- */
.page-products .version-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 22px;
  border-left: 1px solid var(--turf);
}

.page-products .version-node {
  position: relative;
  padding-left: 6px;
}

.page-products .version-node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--turf);
}

.page-products .version-node.is-current::before {
  border-color: var(--neon);
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(53, 240, 192, 0.18);
}

.page-products .version-tag {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .version-node.is-current .version-tag {
  color: var(--neon);
  font-weight: 600;
}

.page-products .version-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.page-products .version-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .spec-block {
  margin-top: 34px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(16, 32, 26, 0.5);
}

.page-products .spec-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.page-products .spec-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.page-products .spec-table th,
.page-products .spec-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.page-products .spec-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--neon);
  white-space: nowrap;
}

.page-products .spec-table td {
  color: var(--muted);
}

.page-products .spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .spec-caption {
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: left;
}

.page-products .spec-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 下载区 ---------- */
.page-products .prod-download {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.page-products .download-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page-products .prod-download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 16, 0.94) 0%, rgba(10, 20, 16, 0.7) 55%, rgba(16, 32, 26, 0.9) 100%);
}

.page-products .download-inner {
  position: relative;
  z-index: 1;
  padding-top: 54px;
  padding-bottom: 60px;
}

.page-products .download-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.1;
  color: var(--text);
}

.page-products .download-text {
  margin: 0 0 24px;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

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

.page-products .download-note {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.page-products .download-mail {
  color: var(--text);
  word-break: break-all;
}

.page-products .copy-btn {
  margin-left: 8px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
  background: transparent;
  border: 1px solid var(--turf);
  border-radius: 3px;
  cursor: pointer;
}

.page-products .copy-btn:hover {
  border-color: var(--neon);
  color: var(--neon-soft);
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .page-products .prod-hero {
    padding: 44px 0 64px;
  }

  .page-products .hero-metrics {
    gap: 18px;
  }

  .page-products .platform-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .export-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .version-track {
    border-left: 0;
    border-top: 1px solid var(--turf);
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 24px;
    padding-top: 26px;
  }

  .page-products .version-node {
    padding-left: 0;
  }

  .page-products .version-node::before {
    left: 0;
    top: -32px;
  }

  .page-products .spec-table {
    min-width: 0;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 980px) {
  .page-products .prod-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 72px);
  }

  .page-products .prod-hero-copy .lead {
    font-size: 16.5px;
  }

  .page-products .device-shell--phone {
    max-width: 360px;
    margin-left: auto;
    margin-right: 0;
    transform: rotate(-2deg);
  }

  .page-products .platform-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: center;
  }

  .page-products .platform-points {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-products .flow-list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .flow-item:nth-child(1) {
    grid-column: 1 / span 5;
  }

  .page-products .flow-item:nth-child(2) {
    grid-column: 3 / span 6;
    margin-top: 26px;
  }

  .page-products .flow-item:nth-child(3) {
    grid-column: 5 / span 5;
    margin-top: 6px;
  }

  .page-products .flow-item:nth-child(4) {
    grid-column: 7 / span 6;
    margin-top: 34px;
  }

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

  .page-products .export-card:nth-child(1) {
    margin-right: 22px;
  }

  .page-products .export-card:nth-child(2) {
    margin-left: 22px;
  }

  .page-products .press-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .pitch-block {
    transform: translateX(10px) rotate(0.6deg);
  }

  .page-products .record-card:nth-child(1) {
    margin-right: 18px;
  }

  .page-products .record-card:nth-child(2) {
    margin-left: 18px;
    margin-top: 40px;
  }

  .page-products .push-panel {
    padding: 28px 32px;
  }

  .page-products .version-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .spec-block {
    padding: 26px 28px;
  }

  .page-products .download-inner {
    padding-top: 72px;
    padding-bottom: 78px;
  }
}

@media (min-width: 1240px) {
  .page-products .prod-hero {
    padding: 56px 0 84px;
  }

  .page-products .hero-metric-val {
    font-size: 40px;
  }

  .page-products .flow-item {
    padding: 26px 24px 24px 64px;
  }

  .page-products .screen {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pitch-layer {
    transition: none;
  }

  .page-products .device-shell--phone,
  .page-products .pitch-block {
    transform: none;
  }
}
