.page-products {
  --ps-line: rgba(63, 232, 206, .18);
  --ps-line-strong: rgba(63, 232, 206, .45);
  --ps-card: linear-gradient(160deg, var(--turf-2) 0%, var(--ink-2) 72%);
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  padding-bottom: clamp(40px, 7vw, 88px);
}

.page-products .breadcrumb {
  margin-top: clamp(14px, 2.4vw, 26px);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  display: grid;
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  padding-block: clamp(20px, 3vw, 40px) clamp(24px, 3.4vw, 44px);
  border-bottom: 3px solid var(--ps-line-strong);
}

.page-products .prod-hero__copy {
  min-width: 0;
}

.page-products .display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.8vw, 4.1rem);
  line-height: .98;
  letter-spacing: -.005em;
  color: var(--paper);
  margin: 10px 0 18px;
  text-wrap: balance;
}

.page-products .prod-hero .lede {
  max-width: 54ch;
  font-size: clamp(1rem, 1.55vw, 1.09rem);
  line-height: 1.78;
  color: var(--text);
  margin: 0 0 22px;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.page-products .hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ps-line);
  border: 1px solid var(--ps-line);
  max-width: 540px;
}

.page-products .hero-stats li {
  background: var(--ink-2);
  padding: 12px 12px 14px;
  min-width: 0;
}

.page-products .hero-stats b {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.05;
  color: var(--yellow);
  margin-bottom: 4px;
}

.page-products .hero-stats span {
  display: block;
  font-size: .76rem;
  line-height: 1.4;
  color: var(--muted);
}

.page-products .prod-hero__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ps-line-strong);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 6 / 5;
  background: var(--ink-2);
}

.page-products .prod-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 三步路径 ---------- */
.page-products .prod-path {
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(16px, 2.4vw, 26px);
  background: linear-gradient(180deg, var(--turf-2), var(--ink-2));
  border: 1px solid var(--ps-line);
  border-top: 3px solid var(--orange);
}

.page-products .prod-path__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--cyan);
  text-transform: uppercase;
}

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

.page-products .path-step {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.page-products .path-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-products .path-step h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.45;
}

.page-products .path-step p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .path-step a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--ps-line-strong);
  padding-bottom: 1px;
}

.page-products .path-step a:hover,
.page-products .path-step a:focus-visible {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* ---------- 功能条 ---------- */
.page-products .section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
}

.page-products .feature-list {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .prod-feature {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--ps-card);
  border: 1px solid var(--hair);
  border-left: 4px solid var(--cyan);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.page-products .prod-feature:hover {
  transform: translateY(-4px);
  border-color: var(--ps-line-strong);
  border-left-color: var(--orange);
  box-shadow: var(--shadow-soft);
}

.page-products .feature-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  width: 58px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--ps-line-strong);
}

.page-products .feature-body {
  min-width: 0;
}

.page-products .feature-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.32rem, 2.9vw, 1.95rem);
  line-height: 1.16;
  color: var(--paper);
  margin: 8px 0 12px;
  text-wrap: balance;
}

.page-products .feature-body > p {
  margin: 0 0 14px;
  max-width: 64ch;
  line-height: 1.78;
  color: var(--text);
}

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

.page-products .feature-points li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  line-height: 1.68;
  color: var(--muted);
}

.page-products .feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}

/* 右侧视觉 */
.page-products .feature-visual {
  margin: 0;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ps-line);
  background: var(--ink-2);
  aspect-ratio: 12 / 7;
}

.page-products .feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .feature-visual--tall {
  aspect-ratio: 8 / 11;
}

.page-products .feature-visual--square {
  aspect-ratio: 5 / 4;
}

.page-products .feature-visual--photo {
  aspect-ratio: 3 / 2;
}

.page-products .feature-visual--phone {
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  max-width: 250px;
  margin-inline: auto;
  width: 100%;
  overflow: visible;
}

.page-products .phone-diagram {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .phone-diagram text {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* 检索演示面板 */
.page-products .feature-visual--demo {
  aspect-ratio: auto;
  border: 2px solid var(--ps-line-strong);
  background: var(--paper);
  padding: 16px 16px 14px;
  color: var(--paper-ink);
  box-shadow: var(--shadow-hard);
}

.page-products .search-demo__field {
  margin: 0 0 12px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--paper-ink);
  background: rgba(27, 21, 18, .07);
  border-left: 3px solid var(--orange);
  word-break: break-word;
}

.page-products .search-demo__results {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .search-demo__results li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(27, 21, 18, .16);
}

.page-products .search-demo__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 700;
  color: #B33C0B;
  min-width: 1.6em;
}

.page-products .search-demo__txt {
  font-size: .9rem;
  color: var(--paper-ink);
}

.page-products .search-demo__hint {
  margin: 0;
  font-size: .78rem;
  color: rgba(27, 21, 18, .68);
}

/* 统计项标签墙 */
.page-products .stat-chips {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.page-products .stat-chips li {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--muted);
  background: rgba(34, 51, 45, .7);
  border-left: 2px solid var(--ps-line-strong);
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 使用场景 ---------- */
.page-products .start-section {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: clamp(24px, 3.4vw, 40px);
  border-top: 3px solid var(--ps-line-strong);
}

.page-products .scene-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 2.6vw, 30px);
}

.page-products .scene {
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--orange);
  min-width: 0;
}

.page-products .scene-time {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--yellow);
  text-transform: uppercase;
}

.page-products .scene h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--paper);
}

.page-products .scene p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.74;
  color: var(--muted);
}

.page-products .entry-note {
  margin-top: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--paper);
  color: var(--paper-ink);
  border: 2px solid var(--paper-ink);
  box-shadow: var(--shadow-hard);
}

.page-products .entry-note h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--paper-ink);
}

.page-products .entry-note p {
  margin: 0 0 12px;
  font-size: .94rem;
  line-height: 1.8;
  color: rgba(27, 21, 18, .88);
  max-width: 72ch;
}

.page-products .entry-note__links {
  margin-bottom: 0;
}

.page-products .entry-note a {
  color: #9A3208;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-products .entry-note a:hover,
.page-products .entry-note a:focus-visible {
  color: #6B2004;
}

/* ---------- 尾部延伸 ---------- */
.page-products .prod-more {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 16px;
  align-items: center;
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(140deg, var(--turf), var(--ink-2));
  border: 1px solid var(--ps-line);
  border-left: 4px solid var(--yellow);
}

.page-products .prod-more p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--text);
  max-width: 62ch;
}

.page-products .prod-more a:not(.btn) {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--ps-line-strong);
}

.page-products .prod-more a:not(.btn):hover,
.page-products .prod-more a:not(.btn):focus-visible {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.page-products .prod-more .btn {
  justify-self: start;
}

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

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

@media (min-width: 780px) {
  .page-products .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .page-products .path-step {
    padding: 2px 22px;
  }

  .page-products .path-step:first-child {
    padding-left: 0;
  }

  .page-products .path-step + .path-step {
    border-left: 1px dashed var(--ps-line-strong);
  }

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

  .page-products .prod-more {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 920px) {
  .page-products .prod-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    padding-block: clamp(28px, 3.6vw, 52px) clamp(30px, 4vw, 52px);
  }

  .page-products .prod-feature {
    grid-template-columns: 62px minmax(0, 1fr) minmax(0, 300px);
    gap: clamp(16px, 2.2vw, 30px);
    align-items: start;
  }

  .page-products .feature-visual--phone {
    margin-inline: auto;
  }
}

@media (min-width: 1180px) {
  .page-products .prod-feature {
    grid-template-columns: 66px minmax(0, 1fr) minmax(0, 340px);
  }

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