.page-products .p-wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-products .breadcrumb {
  padding: 18px 0 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.page-products .breadcrumb a {
  color: var(--orange-300);
  text-decoration: none;
}

.page-products .breadcrumb-sep {
  margin: 0 8px;
  color: var(--slate-400);
}

.page-products img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Hero 首屏 ===== */
.page-products .p-hero {
  position: relative;
  padding: 24px 0 56px;
  background: linear-gradient(120deg, rgba(26,74,122,0.55), rgba(8,26,46,0.94) 52%), var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 74%;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
  background: linear-gradient(90deg, var(--orange-500), var(--yellow-400));
}

.page-products .p-hero-grid {
  display: grid;
  gap: 36px;
}

.page-products .p-hero-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  margin: 0 0 12px;
}

.page-products .p-hero h1 {
  font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 18px;
}

.page-products .p-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--slate-100);
  margin: 0;
  max-width: 42rem;
}

.page-products .p-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.page-products .p-stat {
  background: rgba(15,44,77,0.62);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .p-stat strong {
  font-family: var(--font-mono);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
}

.page-products .p-stat span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.page-products .p-hero-figure {
  margin: 0;
  text-align: center;
}

.page-products .p-hero-phone {
  max-width: 280px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--navy-500), var(--navy-900));
  border: 4px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  padding: 10px;
}

.page-products .p-hero-phone img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.page-products .p-hero-figure figcaption {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 12px;
}

/* ===== 章节标题 ===== */
.page-products .p-section {
  padding: 52px 0;
}

.page-products .p-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.page-products .p-section-index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-500);
}

.page-products .p-section-head h2 {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}

.page-products .p-section-head p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-400);
}

/* ===== 核心功能网格 ===== */
.page-products .p-feature-grid {
  display: grid;
  gap: 20px;
}

.page-products .p-card {
  position: relative;
  padding: 2px;
  background: var(--orange-500);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  transition: transform 0.2s ease;
}

.page-products .p-card-report {
  background: var(--green-400);
}

.page-products .p-card-insight {
  background: var(--yellow-400);
}

.page-products .p-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100%;
  padding: 24px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900) 72%);
}

.page-products .p-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.page-products .p-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: rgba(255,107,53,0.12);
  color: var(--orange-500);
}

.page-products .p-card-report .p-card-icon {
  background: rgba(46,204,113,0.14);
  color: var(--green-400);
}

.page-products .p-card-insight .p-card-icon {
  background: rgba(255,217,61,0.14);
  color: var(--yellow-400);
}

.page-products .p-card-code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--slate-400);
}

.page-products .p-card h3 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 10px;
}

.page-products .p-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-100);
  margin: 0 0 18px;
}

.page-products .p-matchbox {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(8,26,46,0.5);
  font-family: var(--font-mono);
}

.page-products .p-match-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

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

.page-products .p-team {
  color: var(--white);
  font-weight: 500;
}

.page-products .p-heat-dots {
  display: inline-flex;
  gap: 3px;
}

.page-products .p-heat-dots i {
  width: 6px;
  height: 14px;
  border-radius: 1px;
  background: rgba(148,163,184,0.4);
}

.page-products .p-heat-dots i.is-warm {
  background: var(--yellow-400);
}

.page-products .p-heat-dots i.is-hot {
  background: var(--orange-500);
}

.page-products .p-score {
  color: var(--slate-50);
  font-weight: 700;
}

.page-products .p-card figure {
  margin: 0;
}

.page-products .p-colorbar-figure {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;
}

.page-products .p-colorbar-figure img {
  display: block;
  border-radius: 6px;
  max-width: 220px;
}

.page-products .p-timeline-figure img {
  display: block;
  border-radius: 8px;
  margin-bottom: 6px;
}

.page-products .p-colorbar-figure figcaption,
.page-products .p-timeline-figure figcaption,
.page-products .p-scene-figure figcaption,
.page-products .p-sync-figure figcaption {
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--slate-400);
}

.page-products .p-demo-details {
  margin-top: auto;
  padding-top: 6px;
}

.page-products .p-demo-details summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--orange-300);
  padding: 8px 0;
}

.page-products .p-demo-details summary::-webkit-details-marker {
  display: none;
}

.page-products .p-demo-details summary::after {
  content: "+";
  display: inline-block;
  margin-left: 8px;
  font-weight: 700;
}

.page-products .p-demo-details[open] summary::after {
  content: "–";
}

.page-products .p-demo-panel {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 2px solid var(--green-400);
}

.page-products .p-demo-panel p {
  font-size: 0.875rem;
  margin: 0 0 8px;
}

.page-products .p-demo-panel p:last-child {
  margin-bottom: 0;
}

.page-products .p-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-products .p-insight-num {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(8,26,46,0.55);
}

.page-products .p-insight-num strong {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow-400);
}

.page-products .p-insight-num span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

/* ===== 使用场景 ===== */
.page-products .p-scene-section {
  border-block: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent, rgba(15,44,77,0.35));
}

.page-products .p-scene-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .p-scene-item {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 18px 22px;
  border-left: 3px solid var(--slate-400);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(15,44,77,0.5), transparent);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.page-products .p-scene-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--orange-500);
}

.page-products .p-scene-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 4px 0 6px;
}

.page-products .p-scene-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-100);
  margin: 0;
}

.page-products .p-scene-figure {
  margin: 0;
  justify-self: center;
}

.page-products .p-scene-figure img {
  display: block;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.1);
}

/* ===== 技术特性 ===== */
.page-products .p-tech-section {
  background: linear-gradient(180deg, rgba(15,44,77,0.18), transparent);
}

.page-products .p-tech-grid {
  display: grid;
  gap: 18px;
}

.page-products .p-tech-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: var(--navy-700);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-products .p-tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(255,107,53,0.15);
  color: var(--orange-500);
}

.page-products .p-tech-card:nth-child(2) .p-tech-icon {
  background: rgba(46,204,113,0.15);
  color: var(--green-400);
}

.page-products .p-tech-card:nth-child(3) .p-tech-icon {
  background: rgba(255,217,61,0.15);
  color: var(--yellow-400);
}

.page-products .p-tech-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.page-products .p-tech-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-100);
  margin: 0 0 16px;
}

.page-products .p-mono-sample {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 6px;
  background: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-400);
}

.page-products .p-heat-sample {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.page-products .p-heat-sample span {
  flex: 1;
}

.page-products .p-heat-sample span:nth-child(1) {
  background: #1A4A7A;
}

.page-products .p-heat-sample span:nth-child(2) {
  background: #2E86C1;
}

.page-products .p-heat-sample span:nth-child(3) {
  background: var(--yellow-400);
}

.page-products .p-heat-sample span:nth-child(4) {
  background: var(--orange-300);
}

.page-products .p-heat-sample span:nth-child(5) {
  background: var(--orange-500);
}

.page-products .p-tech-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-100);
}

.page-products .p-tech-list li {
  position: relative;
  padding-left: 20px;
}

.page-products .p-tech-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--yellow-400);
}

.page-products .p-sync-figure {
  margin: 24px 0 0;
  text-align: center;
}

.page-products .p-sync-figure img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  border-radius: 12px;
}

/* ===== 下载与适配 ===== */
.page-products .p-compat-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,107,53,0.16), rgba(8,26,46,0.2)), var(--navy-700);
}

.page-products .p-compat-copy h3 {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 12px;
}

.page-products .p-compat-copy p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--slate-100);
  margin: 0 0 12px;
}

.page-products .p-compat-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .p-compat-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.875rem;
  color: var(--slate-100);
}

.page-products .p-compat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--green-400);
}

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

.page-products .p-compat-note {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(8,26,46,0.6);
}

.page-products .p-note-title {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--orange-500);
}

.page-products .p-compat-note ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--slate-100);
}

.page-products .p-note-more {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate-400);
}

.page-products .p-note-more a {
  color: var(--orange-300);
  text-decoration: none;
}

.page-products .p-note-more a:hover {
  text-decoration: underline;
}

/* ===== 悬停与动效 ===== */
@media (hover: hover) {
  .page-products .p-card:hover {
    transform: translateY(-4px);
  }

  .page-products .p-tech-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,107,53,0.5);
  }

  .page-products .p-scene-item:hover {
    transform: translateX(4px);
    border-left-color: var(--orange-500);
    background: linear-gradient(90deg, rgba(255,107,53,0.12), transparent);
  }
}

/* ===== 桌面布局 ===== */
@media (min-width: 640px) {
  .page-products .p-section-head {
    grid-template-columns: auto 1fr;
    align-items: end;
  }

  .page-products .p-section-head p {
    margin-top: 2px;
  }

  .page-products .p-insight-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .page-products .p-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
  }

  .page-products .p-hero-figure {
    justify-self: end;
  }

  .page-products .p-section {
    padding: 64px 0;
  }

  .page-products .p-feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .p-span2 {
    grid-column: span 2;
  }

  .page-products .p-span4 {
    grid-column: span 4;
  }

  .page-products .p-scene-grid {
    grid-template-columns: 1fr 0.72fr;
  }

  .page-products .p-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .p-compat-panel {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

@media (min-width: 960px) {
  .page-products .p-card-insight .p-card-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 28px;
  }

  .page-products .p-card-insight .p-card-top {
    grid-column: 1;
  }

  .page-products .p-card-insight h3 {
    grid-column: 1;
  }

  .page-products .p-card-insight .p-card-inner > p {
    grid-column: 1;
    max-width: 56ch;
  }

  .page-products .p-card-insight .p-insight-grid {
    grid-column: 2;
    grid-row: 1 / span 4;
    grid-template-columns: repeat(2, 1fr);
    align-self: center;
  }

  .page-products .p-card-quick .p-colorbar-figure {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}
