.page-products {
  --pp-cut: 18px 2px 24px 2px;
  --pp-hero-bg: linear-gradient(132deg, #0A1F44 0%, #1E3A6E 72%, #0F2B58 100%);
  --pp-orange-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
  background-color: #F7F3EE;
  color: #1A1A1A;
  overflow-x: hidden;
}

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

/* ===== 英雄区 ===== */
.page-products .pp-hero {
  position: relative;
  background: var(--pp-hero-bg);
  color: #FFFFFF;
  overflow: hidden;
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .04) 0,
    rgba(255, 255, 255, .04) 1px,
    transparent 1px,
    transparent 22px
  );
  pointer-events: none;
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  bottom: -46px;
  left: 0;
  width: 100%;
  height: 64px;
  background: #FF6B35;
  transform: skewY(-2deg);
  z-index: 0;
  opacity: .92;
}

.page-products .pp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.page-products .pp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 4px;
}

.page-products .pp-breadcrumb a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .2s;
}

.page-products .pp-breadcrumb a:hover {
  color: #FF6B35;
}

.page-products .pp-reading-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 10px;
}

.page-products .pp-reading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .25);
}

.page-products .pp-hero-eyebrow {
  color: #FF8F65;
}

.page-products .pp-hero-text h1 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.08;
  margin: 10px 0 14px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.page-products .pp-hero-lede {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.page-products .pp-hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  width: 100%;
}

.page-products .pp-hero-stats li {
  background: rgba(255, 255, 255, .08);
  border-radius: 8px 2px 10px 2px;
  padding: 12px 14px;
  border-left: 3px solid #FF6B35;
}

.page-products .pp-stat-num {
  display: block;
  font-family: 'Furore', 'Rajdhani', 'DIN Alternate', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #FF6B35;
}

.page-products .pp-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
}

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

.page-products .pp-hero-visual {
  position: relative;
  padding: 12px 12px 20px 20px;
}

.page-products .pp-hero-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 66%;
  height: 70%;
  background: #FF6B35;
  transform: skewX(-7deg);
  border-radius: 2px 10px 2px 14px;
  z-index: 0;
}

.page-products .pp-hero-visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 44%;
  height: 5px;
  background: rgba(255, 255, 255, .55);
  transform: skewX(-24deg);
  z-index: 2;
}

.page-products .pp-hero-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 240px;
  border-radius: 14px 2px 18px 2px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, .3);
}

/* ===== 下载与指引布局 ===== */
.page-products .pp-download-layout {
  background: #F7F3EE;
  padding: 48px 0 56px;
}

.page-products .pp-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.page-products .pp-download-left h2,
.page-products .pp-guide-right h2 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  color: #0A1F44;
  margin: 8px 0 10px;
  text-transform: uppercase;
}

.page-products .pp-download-desc,
.page-products .pp-guide-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.page-products .pp-platform-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.page-products .pp-platform-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--pp-cut);
  padding: 20px 18px;
  box-shadow: 0 8px 26px rgba(10, 31, 68, .07);
}

.page-products .pp-platform-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #FF6B35;
}

.page-products .pp-platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.page-products .pp-platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 38px;
  background: #0A1F44;
  color: #FFFFFF;
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  border-radius: 4px 1px 6px 1px;
  flex-shrink: 0;
}

.page-products .pp-platform-head h3 {
  margin: 0;
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: 20px;
  letter-spacing: .02em;
  color: #0A1F44;
}

.page-products .pp-platform-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #777;
}

.page-products .pp-download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background-image: linear-gradient(135deg, #FF6B35, #FF8F65);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px 2px 10px 2px;
  transition: transform .25s cubic-bezier(.19, 1, .22, 1), box-shadow .25s, filter .25s;
}

.page-products .pp-download-btn .pp-btn-arrow {
  display: inline-block;
  font-size: 20px;
  transition: transform .25s cubic-bezier(.19, 1, .22, 1);
}

.page-products .pp-download-btn:hover,
.page-products .pp-download-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 26px rgba(255, 107, 53, .35);
}

.page-products .pp-download-btn:hover .pp-btn-arrow,
.page-products .pp-download-btn:focus-visible .pp-btn-arrow {
  transform: translateX(6px);
}

.page-products .pp-platform-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .pp-platform-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C0C0C0;
}

.page-products .pp-download-disclaimer {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.65;
  color: #999;
  padding-left: 14px;
  border-left: 3px solid #C0C0C0;
}

/* ===== 斜切分隔 ===== */
.page-products .pp-diagonal-divider {
  position: relative;
  height: 56px;
  margin: 22px 0;
  overflow: hidden;
}

.page-products .pp-diagonal-divider span {
  position: absolute;
  top: 0;
  left: -4%;
  width: 108%;
  height: 100%;
  background: #0A1F44;
  transform: rotate(-2.4deg);
}

/* ===== 换新安装指引步骤 ===== */
.page-products .pp-guide-right {
  background: #FFFFFF;
  border-radius: 20px 2px 28px 2px;
  padding: 26px 18px;
  box-shadow: 0 12px 36px rgba(10, 31, 68, .08);
}

.page-products .pp-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.page-products .pp-step {
  background: #F7F3EE;
  border-radius: var(--pp-cut);
  overflow: hidden;
  transition: background .25s;
}

.page-products .pp-step summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background .2s;
}

.page-products .pp-step summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-step summary:hover {
  background: #E8ECF1;
}

.page-products .pp-step-num {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: 40px;
  line-height: 1;
  color: #FF6B35;
  min-width: 58px;
  text-align: center;
  border-right: 2px solid #D8DBDF;
  padding-right: 12px;
}

.page-products .pp-step-heading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-products .pp-step-heading h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0A1F44;
}

.page-products .pp-step-toggle {
  color: #FF6B35;
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.page-products .pp-step-toggle .pp-step-icon {
  font-style: normal;
}

.page-products .pp-step[open] .pp-step-toggle .pp-step-icon {
  display: none;
}

.page-products .pp-step[open] .pp-step-toggle::after {
  content: "×";
  font-size: 22px;
  line-height: 1;
}

.page-products .pp-step[open] summary {
  background: #E8ECF1;
}

.page-products .pp-step-body {
  padding: 0 16px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.page-products .pp-step-body img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 10px 2px 12px 2px;
  margin-top: 14px;
}

/* ===== 版本说明 ===== */
.page-products .pp-versions {
  position: relative;
  background: linear-gradient(140deg, #0A1F44 0%, #1E3A6E 58%, #0F2B58 100%);
  color: #FFFFFF;
  padding: 54px 0 58px;
  overflow: hidden;
}

.page-products .pp-versions::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
}

.page-products .pp-versions-inner {
  position: relative;
  z-index: 1;
}

.page-products .pp-versions-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.page-products .pp-versions-head h2 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.page-products .pp-versions-head p {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .76);
  margin: 0;
}

.page-products .pp-version-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-version-track {
  display: contents;
}

.page-products .pp-version-card {
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: var(--pp-cut);
  padding: 24px 22px;
  color: #1A1A1A;
  position: relative;
}

.page-products .pp-version-current {
  border-top: 4px solid #FF6B35;
}

.page-products .pp-version-old {
  border-top: 4px solid #C0C0C0;
}

.page-products .pp-version-tag {
  display: inline-block;
  background: #0A1F44;
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-weight: 500;
}

.page-products .pp-version-old .pp-version-tag {
  background: #7A8799;
}

.page-products .pp-version-card h3 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: 22px;
  margin: 0 0 14px;
  color: #0A1F44;
}

.page-products .pp-version-card ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: #444;
  font-size: 14px;
  line-height: 1.75;
}

.page-products .pp-version-card li {
  margin-bottom: 4px;
}

.page-products .pp-version-card li::marker {
  color: #FF6B35;
}

.page-products .pp-version-old li::marker {
  color: #C0C0C0;
}

.page-products .pp-compat {
  margin-top: 34px;
  display: grid;
  gap: 20px;
  background: #F7F3EE;
  border-radius: var(--pp-cut);
  padding: 22px 18px;
}

.page-products .pp-compat-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px 2px 14px 2px;
}

.page-products .pp-compat-table h3 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  color: #0A1F44;
  font-size: 22px;
  margin: 0 0 12px;
}

.page-products .pp-compat-table .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pp-compat-table .data-table th,
.page-products .pp-compat-table .data-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #D8DBDF;
  font-weight: 400;
}

.page-products .pp-compat-table .data-table th {
  color: #0A1F44;
  font-weight: 700;
  white-space: nowrap;
}

.page-products .pp-compat-table .data-table td {
  color: #444;
}

.page-products .pp-compat-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  padding-left: 12px;
  border-left: 3px solid #C0C0C0;
}

/* ===== 常见安装问题 ===== */
.page-products .pp-faq {
  background: #F7F3EE;
  padding: 50px 0 54px;
}

.page-products .pp-faq-grid {
  display: grid;
  gap: 34px;
}

.page-products .pp-faq-intro {
  position: relative;
}

.page-products .pp-faq-intro::before {
  content: "FAQ";
  position: absolute;
  top: -10px;
  right: 0;
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: 76px;
  line-height: 1;
  color: rgba(10, 31, 68, .07);
  pointer-events: none;
}

.page-products .pp-faq-intro h2 {
  font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  color: #0A1F44;
  margin: 8px 0 10px;
  text-transform: uppercase;
}

.page-products .pp-faq-intro p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 14px;
}

.page-products .pp-faq-intro img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 12px 2px 14px 2px;
  margin-bottom: 18px;
}

.page-products .pp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .pp-faq-item {
  background: #FFFFFF;
  border-radius: var(--pp-cut);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 31, 68, .06);
}

.page-products .pp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  color: #0A1F44;
  font-size: 15px;
  position: relative;
  transition: background .2s;
}

.page-products .pp-faq-item summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #FF6B35;
  font-weight: 400;
  font-size: 20px;
  transition: transform .2s;
}

.page-products .pp-faq-item[open] summary {
  background: #E8ECF1;
}

.page-products .pp-faq-item[open] summary::after {
  content: "×";
}

.page-products .pp-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: #555;
  line-height: 1.75;
  font-size: 14px;
}

/* ===== 收尾 ===== */
.page-products .pp-closing {
  background: #0A1F44;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-products .pp-closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 46px;
  padding-bottom: 26px;
}

.page-products .pp-closing p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.page-products .pp-closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-products .pp-closing-links a {
  color: #FF6B35;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}

.page-products .pp-closing-links a:hover,
.page-products .pp-closing-links a:focus-visible {
  border-bottom-color: #FF6B35;
}

.page-products .pp-closing img {
  display: block;
  width: 100%;
  height: 160px;
}

/* ===== 数据显现动画 ===== */
.page-products [data-reveal] {
  opacity: 1;
}

.page-products [data-reveal][data-revealed="true"] {
  animation: ppReveal .6s cubic-bezier(.19, 1, .22, 1) both;
}

@keyframes ppReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 响应式断点 ===== */
@media (min-width: 760px) {
  .page-products .pp-hero-inner {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .page-products .pp-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .pp-hero-img {
    height: 320px;
  }

  .page-products .pp-versions-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .page-products .pp-versions-head p {
    text-align: right;
  }

  .page-products .pp-compat {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    padding: 26px 24px;
  }

  .page-products .pp-faq-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 44px;
  }

  .page-products .pp-faq-intro::before {
    font-size: 96px;
  }

  .page-products .pp-closing img {
    height: 240px;
  }
}

@media (min-width: 1100px) {
  .page-products .pp-hero-inner {
    display: grid;
    grid-template-columns: 560px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    min-height: 560px;
  }

  .page-products .pp-hero-visual {
    padding: 20px 20px 28px 28px;
  }

  .page-products .pp-hero-img {
    height: 390px;
  }

  .page-products .pp-download-layout {
    padding: 64px 0 72px;
  }

  .page-products .pp-download-grid {
    grid-template-columns: 1fr 56px 1fr;
    gap: 24px;
  }

  .page-products .pp-diagonal-divider {
    height: auto;
    min-height: 480px;
    margin: 0;
    align-self: stretch;
    overflow: hidden;
  }

  .page-products .pp-diagonal-divider span {
    top: -20%;
    left: 50%;
    width: 56px;
    height: 140%;
    transform: translateX(-50%) rotate(7deg);
    border-radius: 2px;
  }

  .page-products .pp-guide-right {
    padding: 32px 28px;
  }

  .page-products .pp-step-body {
    padding: 0 18px 20px 84px;
  }

  .page-products .pp-step-body img {
    max-width: 420px;
  }

  .page-products .pp-version-scroll {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }

  .page-products .pp-compat {
    margin-top: 44px;
  }
}
