.page-products {
  position: relative;
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding: calc(var(--header-h) + 28px) 20px 0;
  font-size: 13px;
  color: var(--color-muted);
}

.page-products .breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--color-green);
}

.page-products .breadcrumb .sep {
  margin: 0 6px;
  color: var(--color-purple);
}

/* ---------- 英雄区 ---------- */
.page-products .pg-hero {
  position: relative;
  padding: 48px 0 72px;
  background:
    linear-gradient(rgba(157, 92, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 92, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(11, 27, 63, 0.9) 0%, rgba(10, 15, 36, 0.85) 60%, rgba(0, 232, 143, 0.08) 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
}

.page-products .pg-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-green), transparent);
  opacity: 0.7;
}

.page-products .pg-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 20px;
}

.page-products .pg-hero-copy {
  position: relative;
  z-index: 2;
}

.page-products .pg-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products .pg-hero-copy h1 {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  background: linear-gradient(120deg, #ffffff 30%, var(--color-green) 70%, var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-products .pg-lead {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-products .pg-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pg-stat {
  min-width: 112px;
  padding: 16px 20px;
  position: relative;
  background: rgba(11, 27, 63, 0.8);
  border: 1px solid rgba(157, 92, 255, 0.35);
  border-radius: 2px;
}

.page-products .pg-stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--color-green);
  border-left: 2px solid var(--color-green);
}

.page-products .pg-stat dt {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.page-products .pg-stat dd {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

/* ---------- 手机模型 ---------- */
.page-products .pg-phone-scene {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.page-products .pg-phone {
  position: relative;
  width: 250px;
  height: 520px;
  border-radius: 34px;
  background: linear-gradient(160deg, #0B1B3F 0%, #0A0F24 80%);
  border: 1px solid rgba(157, 92, 255, 0.45);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 232, 143, 0.08),
    inset 0 0 24px rgba(157, 92, 255, 0.06);
  overflow: hidden;
  padding: 16px 14px;
}

.page-products .pg-phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-purple), var(--color-green));
  opacity: 0.6;
}

.page-products .pg-phone-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0A0F24;
  border: 2px solid #1b2a4a;
  z-index: 3;
}

.page-products .pg-phone-screen {
  height: 100%;
  border-radius: 22px;
  background:
    linear-gradient(rgba(157, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0d1a3a 0%, #0A0F24 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  padding: 30px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pg-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.page-products .pg-screen-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-green);
  letter-spacing: 0.08em;
}

.page-products .pg-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green);
}

.page-products .pg-screen-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-muted);
}

.page-products .pg-screen-tabs {
  display: flex;
  gap: 6px;
}

.page-products .pg-tab {
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--color-muted);
  background: rgba(157, 92, 255, 0.08);
  border: 1px solid rgba(157, 92, 255, 0.2);
}

.page-products .pg-tab.active {
  color: var(--color-green);
  border-color: var(--color-green);
  background: rgba(0, 232, 143, 0.08);
  box-shadow: 0 0 12px rgba(0, 232, 143, 0.15);
}

.page-products .pg-screen-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 10px;
  background: rgba(11, 27, 63, 0.7);
  border: 1px solid rgba(157, 92, 255, 0.2);
  border-radius: 4px;
  margin-top: 4px;
}

.page-products .pg-team-block {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-products .pg-team-block.right {
  flex-direction: row-reverse;
}

.page-products .pg-team-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), #007a4d);
  box-shadow: 0 0 8px rgba(0, 232, 143, 0.4);
}

.page-products .pg-team-logo.purple {
  background: linear-gradient(135deg, var(--color-purple), #4a1a8a);
  box-shadow: 0 0 8px rgba(157, 92, 255, 0.4);
}

.page-products .pg-team-name {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-muted);
  opacity: 0.7;
}

.page-products .pg-match-score {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.page-products .pg-screen-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
}

.page-products .pg-stat-bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-green), rgba(0, 232, 143, 0.3));
  width: 80%;
}

.page-products .pg-screen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.page-products .pg-list-row {
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(11, 27, 63, 0.9), rgba(11, 27, 63, 0.4));
  border-left: 3px solid var(--color-purple);
}

.page-products .pg-phone-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px dashed rgba(157, 92, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.page-products .pg-phone-orbit::before,
.page-products .pg-phone-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 232, 143, 0.4), transparent);
  transform-origin: left center;
}

.page-products .pg-phone-orbit::before {
  transform: rotate(30deg);
}

.page-products .pg-phone-orbit::after {
  transform: rotate(-45deg);
}

/* ---------- 通用区块头 ---------- */
.page-products .pg-section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
  padding-top: 64px;
}

.page-products .pg-section-head .section-index {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--color-purple);
  flex-shrink: 0;
  padding-top: 8px;
}

.page-products .pg-section-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.page-products .pg-section-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
}

/* ---------- 核心功能 ---------- */
.page-products .pg-features {
  padding-bottom: 56px;
  position: relative;
}

.page-products .pg-features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(157, 92, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.page-products .pg-feature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .pg-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .pg-feature {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(11, 27, 63, 0.9) 0%, rgba(13, 28, 58, 0.8) 100%);
  border: 1px solid rgba(157, 92, 255, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-products .pg-feature:hover {
  border-color: var(--color-green);
  box-shadow: 0 0 24px rgba(0, 232, 143, 0.08);
}

.page-products .pg-feature-mark {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-green);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-green);
  border-radius: 2px;
  transform: rotate(-6deg);
}

.page-products .pg-feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.page-products .pg-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-app-figure {
  margin: 0;
  position: relative;
}

.page-products .pg-app-figure img {
  width: 100%;
  height: auto;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(157, 92, 255, 0.3);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.page-products .pg-app-figure::after {
  content: "界面示意图";
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* ---------- 使用场景 ---------- */
.page-products .pg-scenarios {
  padding-bottom: 56px;
  position: relative;
}

.page-products .pg-scenario-banner {
  margin: 0 0 32px;
}

.page-products .pg-scenario-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(157, 92, 255, 0.2);
}

.page-products .pg-scenario-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.page-products .pg-scenario-card {
  position: relative;
  padding: 24px 22px 22px;
  background: rgba(11, 27, 63, 0.7);
  border-left: 3px solid var(--color-green);
  border-radius: 0 4px 4px 0;
}

.page-products .pg-scenario-card::before {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-purple);
  border-bottom: 2px solid var(--color-purple);
  opacity: 0.6;
}

.page-products .pg-scenario-step {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-purple);
  display: block;
  margin-bottom: 10px;
}

.page-products .pg-scenario-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.page-products .pg-scenario-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-workflow {
  margin: 0;
  position: relative;
}

.page-products .pg-workflow img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 232, 143, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.page-products .pg-workflow figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-green);
  letter-spacing: 0.05em;
}

/* ---------- 更新与版本 ---------- */
.page-products .pg-versions {
  padding-bottom: 56px;
  background: linear-gradient(180deg, rgba(11, 27, 63, 0.5) 0%, transparent 100%);
}

.page-products .pg-version-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .pg-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.page-products .pg-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-green), var(--color-purple));
  opacity: 0.4;
}

.page-products .pg-timeline li {
  position: relative;
  padding-left: 40px;
  padding-bottom: 28px;
}

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

.page-products .pg-timeline-node {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: var(--color-blue);
  border: 1px solid var(--color-purple);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
  z-index: 1;
}

.page-products .pg-timeline h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.page-products .pg-timeline p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-version-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-products .pg-version-chart img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(157, 92, 255, 0.2);
}

.page-products .pg-version-chart .details {
  border: 1px solid rgba(157, 92, 255, 0.3);
  border-radius: 4px;
  background: rgba(11, 27, 63, 0.6);
}

.page-products .pg-version-chart .details summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 4px;
}

.page-products .pg-version-chart .details-body {
  padding: 0 18px 16px;
}

.page-products .pg-version-chart .details-body ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- 支持平台 ---------- */
.page-products .pg-platforms {
  padding-bottom: 56px;
}

.page-products .pg-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.page-products .pg-platform-card {
  padding: 26px 24px;
  background: linear-gradient(135deg, rgba(11, 27, 63, 0.85) 0%, rgba(10, 15, 36, 0.9) 100%);
  border: 1px solid rgba(157, 92, 255, 0.2);
  border-radius: 2px;
  position: relative;
  transition: border-color 0.2s ease;
}

.page-products .pg-platform-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-purple), transparent);
}

.page-products .pg-platform-card:hover {
  border-color: var(--color-green);
}

.page-products .pg-platform-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  font-style: italic;
  letter-spacing: 0.04em;
}

.page-products .pg-platform-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-security {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  background: linear-gradient(120deg, rgba(11, 27, 63, 0.9) 0%, rgba(157, 92, 255, 0.1) 100%);
  border: 1px solid rgba(0, 232, 143, 0.25);
  border-radius: 4px;
  align-items: flex-start;
}

.page-products .pg-security-icon {
  width: 128px;
  height: 128px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(157, 92, 255, 0.3);
}

.page-products .pg-security-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.page-products .pg-security-copy p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-security-copy p:last-child {
  margin-bottom: 0;
}

.page-products .pg-security-copy a {
  color: var(--color-green);
  text-decoration: none;
}

.page-products .pg-security-copy a:hover {
  text-decoration: underline;
}

/* ---------- 底部跳转 ---------- */
.page-products .pg-next {
  padding: 20px 0 72px;
}

.page-products .pg-next-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 28px;
  background: linear-gradient(120deg, rgba(157, 92, 255, 0.15) 0%, rgba(11, 27, 63, 0.7) 100%);
  border: 1px solid rgba(157, 92, 255, 0.3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.page-products .pg-next-card::before {
  content: "///";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-mono);
  font-size: 120px;
  color: rgba(157, 92, 255, 0.15);
  letter-spacing: -0.1em;
}

.page-products .pg-next-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-products .pg-next-copy h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: var(--color-text);
}

.page-products .pg-next-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-products .pg-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.page-products .pg-next-links .btn {
  border-radius: 2px;
}

/* ---------- 桌面端 ---------- */
@media (min-width: 1024px) {
  .page-products .breadcrumb {
    padding-left: 0;
    padding-right: 0;
  }

  .page-products .pg-hero {
    padding: 64px 0 96px;
  }

  .page-products .pg-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .page-products .pg-hero-copy {
    flex: 1 1 56%;
    max-width: 640px;
  }

  .page-products .pg-phone-scene {
    flex: 0 1 380px;
  }

  .page-products .pg-lead {
    font-size: 18px;
  }

  /* 功能区块两列 */
  .page-products .pg-feature-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 48px;
  }

  .page-products .pg-feature-list {
    gap: 16px;
  }

  .page-products .pg-app-figure img {
    max-width: 340px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  /* 场景三列 */
  .page-products .pg-scenario-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* 版本区块两列 */
  .page-products .pg-version-layout {
    grid-template-columns: 1fr 380px;
    align-items: start;
    gap: 56px;
  }

  .page-products .pg-version-chart img {
    border-radius: 8px;
  }

  /* 平台三列 */
  .page-products .pg-platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* 安全区块行式布局 */
  .page-products .pg-security {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 32px 36px;
  }

  .page-products .pg-security-copy {
    flex: 1;
  }

  /* 底部跳转横向 */
  .page-products .pg-next-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 44px 40px;
  }

  .page-products .pg-next-copy {
    flex: 1;
    max-width: 520px;
  }

  .page-products .pg-next-links {
    flex-shrink: 0;
  }
}

/* ---------- 强制响应式保护 ---------- */
@media (min-width: 640px) and (max-width: 1023px) {
  .page-products .pg-feature-layout {
    grid-template-columns: 1fr;
  }

  .page-products .pg-app-figure img {
    max-width: 360px;
  }

  .page-products .pg-scenario-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .pg-scenario-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pg-live-dot {
    animation: none;
  }

  .page-products .pg-phone-orbit::before,
  .page-products .pg-phone-orbit::after {
    opacity: 0.4;
  }
}
