.page-products {
  background: var(--light-bg);
  color: var(--dark-text);
  overflow-x: hidden;
}

.page-products .pp-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-products .section__head {
  margin-bottom: 40px;
}

.page-products .section__head h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin: 16px 0 10px;
  line-height: 1.2;
}

.page-products .section__lead {
  color: var(--muted-on-light);
  line-height: 1.7;
  max-width: 40em;
  font-size: 1rem;
}

.page-products [id="version-compare"],
.page-products [id="download-section"] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ===== 首屏主视觉 ===== */
.page-products .pp-hero {
  background: linear-gradient(155deg, #0a1e3d 0%, #13294b 52%, #0d3b66 100%);
  color: var(--light-text);
  padding: 28px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.28), transparent 70%);
  pointer-events: none;
}

.page-products .pp-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.22), transparent 70%);
  pointer-events: none;
}

.page-products .pp-hero .breadcrumb {
  color: var(--muted-text);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.page-products .pp-hero .breadcrumb a {
  color: var(--muted-text);
  text-decoration: none;
  transition: color var(--transition);
}

.page-products .pp-hero .breadcrumb a:hover {
  color: var(--light-text);
}

.page-products .pp-hero .breadcrumb__sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.page-products .pp-hero .breadcrumb [aria-current="page"] {
  color: var(--accent-orange);
}

.page-products .pp-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-products .pp-hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.page-products .pp-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .pp-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  margin: 20px 0 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.page-products .pp-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
  margin-bottom: 28px;
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-products .pp-hero__actions .btn--outline {
  color: var(--light-text);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-products .pp-hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-products .pp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.page-products .pp-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .pp-hero__stat-num {
  font-family: var(--font-numeric);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.page-products .pp-hero__stat-label {
  font-size: 0.8125rem;
  color: var(--muted-text);
}

/* ===== 手机模型 ===== */
.page-products .pp-phone {
  width: 220px;
  position: relative;
}

.page-products .pp-phone--small {
  width: 168px;
}

.page-products .pp-phone__frame {
  background: linear-gradient(145deg, #25334d 0%, #101c33 100%);
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

.page-products .pp-phone__screen {
  position: relative;
  aspect-ratio: 360 / 640;
  border-radius: 28px;
  overflow: hidden;
  background: var(--primary-bg);
}

.page-products .pp-phone__screen img,
.page-products .pp-phone__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pp-phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 16px;
  background: #17233b;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-products .pp-phone__glow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.32), transparent 70%);
  filter: blur(22px);
  z-index: 1;
}

/* ===== 版本对比 ===== */
.page-products .pp-compare {
  background: var(--light-bg);
  padding: 72px 0;
}

.page-products .pp-compare .section__head h2,
.page-products .pp-commitment .section__head h2 {
  color: var(--dark-text);
}

.page-products .pp-compare__table-wrap {
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-compare__table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  background: #ffffff;
  font-family: var(--font-body);
}

.page-products .pp-compare__table th {
  background: var(--primary-bg);
  color: var(--light-text);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-products .pp-compare__table th:first-child {
  border-top-left-radius: var(--radius-lg);
}

.page-products .pp-compare__table th:last-child {
  border-top-right-radius: var(--radius-lg);
}

.page-products .pp-compare__table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--dark-text);
  font-size: 0.9375rem;
}

.page-products .pp-compare__table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.page-products .pp-compare__table td:nth-child(2),
.page-products .pp-compare__table td:nth-child(3) {
  font-family: var(--font-numeric);
  font-size: 0.875rem;
}

.page-products .pp-compare__table tbody tr {
  transition: background var(--transition);
}

.page-products .pp-compare__table tbody tr:hover {
  background: #fff6ef;
}

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

.page-products .pp-compare__yes {
  color: #00a63f;
  font-weight: 700;
}

.page-products .pp-compare__no {
  color: var(--muted-on-light);
  opacity: 0.65;
}

.page-products .pp-compare__hint {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--muted-on-light);
}

/* ===== 核心功能 ===== */
.page-products .pp-features {
  background: var(--primary-bg);
  color: var(--light-text);
  padding: 72px 0;
}

.page-products .pp-features .section__lead,
.page-products .pp-register .section__lead {
  color: var(--muted-text);
}

.page-products .pp-features .section__head h2 {
  color: var(--light-text);
}

.page-products .pp-feature {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .pp-feature:last-child {
  border-bottom: 0;
}

.page-products .pp-feature__media {
  display: flex;
  justify-content: center;
}

.page-products .pp-feature__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .pp-feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), background var(--transition);
}

.page-products .pp-feature:hover .pp-feature__icon {
  transform: translateY(-4px) rotate(-6deg);
  background: rgba(255, 106, 0, 0.18);
}

.page-products .pp-feature__content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-products .pp-feature__content p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-products .pp-feature__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .pp-feature__content li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.page-products .pp-feature__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
}

/* ===== 下载方式 ===== */
.page-products .pp-download {
  background: #ffffff;
  padding: 72px 0;
}

.page-products .pp-download__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-products .pp-download__content h2 {
  font-size: 1.75rem;
  margin: 16px 0 12px;
}

.page-products .pp-download__lead {
  color: var(--muted-on-light);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 32em;
}

.page-products .pp-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-products .pp-download__actions .btn--primary {
  animation: pp-pulse 2.4s infinite;
}

@keyframes pp-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 106, 0, 0);
  }
}

.page-products .pp-download__tip {
  font-size: 0.875rem;
  color: var(--muted-on-light);
  margin-top: 16px;
}

.page-products .pp-download__tip a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 106, 0, 0.3);
  transition: border-color var(--transition);
}

.page-products .pp-download__tip a:hover {
  border-color: var(--accent-orange);
}

.page-products .pp-download__qrwrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.page-products .pp-download__qr {
  background: var(--light-bg);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
  scroll-margin-top: 80px;
}

.page-products .pp-download__qr:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.1);
}

.page-products .pp-download__qr-label {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark-text);
}

.page-products .pp-download__qr-svg {
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(26, 26, 46, 0.08);
}

.page-products .pp-download__qr-caption {
  font-size: 0.8125rem;
  color: var(--muted-on-light);
}

/* ===== 焕新版注册说明 ===== */
.page-products .pp-register {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  color: var(--light-text);
  padding: 72px 0;
}

.page-products .pp-register__grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.page-products .pp-register__media {
  display: flex;
  justify-content: center;
}

.page-products .pp-register__shot {
  max-width: 240px;
  border-radius: 34px;
  overflow: hidden;
  border: 8px solid #1c3050;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(3deg);
  transition: transform var(--transition);
}

.page-products .pp-register__shot:hover {
  transform: rotate(0deg) scale(1.02);
}

.page-products .pp-register__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 640;
  object-fit: cover;
}

.page-products .pp-register__content h2 {
  font-size: 1.75rem;
  margin: 16px 0 12px;
}

.page-products .pp-register__lead {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 34em;
}

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

.page-products .pp-register__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.page-products .pp-register__step-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #071228;
  font-family: var(--font-numeric);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}

.page-products .pp-register .btn--outline {
  color: var(--light-text);
  border-color: rgba(255, 255, 255, 0.5);
}

.page-products .pp-register .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== 数据更新承诺 ===== */
.page-products .pp-commitment {
  background: var(--light-bg);
  padding: 72px 0;
}

.page-products .pp-commitment .section__head {
  margin-bottom: 40px;
}

.page-products .pp-commitment__grid {
  display: grid;
  gap: 20px;
}

.page-products .pp-commitment__stat {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-products .pp-commitment__stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 26, 46, 0.1);
}

.page-products .pp-commitment__num {
  font-family: var(--font-numeric);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}

.page-products .pp-commitment__stat:nth-child(1) .pp-commitment__num {
  color: var(--accent-orange);
}

.page-products .pp-commitment__stat:nth-child(2) .pp-commitment__num {
  color: var(--accent-green);
}

.page-products .pp-commitment__stat:nth-child(3) .pp-commitment__num {
  color: var(--data-blue);
}

.page-products .pp-commitment__label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-text);
}

.page-products .pp-commitment__desc {
  font-size: 0.875rem;
  color: var(--muted-on-light);
  line-height: 1.6;
  margin: 4px 0 0;
}

.page-products .pp-commitment__note {
  margin-top: 32px;
  font-size: 0.8125rem;
  color: var(--muted-on-light);
  border-left: 3px solid var(--accent-orange);
  padding-left: 16px;
  line-height: 1.7;
  max-width: 52em;
}

/* ===== 响应式：平板与桌面 ===== */
@media (min-width: 760px) {
  .page-products .pp-phone {
    width: 240px;
  }

  .page-products .pp-phone--small {
    width: 180px;
  }

  .page-products .pp-hero__grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 48px;
    align-items: center;
    min-height: 560px;
  }

  .page-products .pp-hero__visual .pp-phone {
    transform: rotate(-3deg);
  }

  .page-products .pp-compare__table td,
  .page-products .pp-compare__table th {
    padding: 18px 24px;
  }

  .page-products .pp-feature {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: center;
  }

  .page-products .pp-feature--flip .pp-feature__media {
    order: 2;
  }

  .page-products .pp-feature--flip .pp-feature__content {
    order: 1;
  }

  .page-products .pp-download__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .pp-download__qrwrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-products .pp-register__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: center;
  }

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

@media (min-width: 1024px) {
  .page-products .pp-hero {
    padding: 36px 0 96px;
  }

  .page-products .pp-hero__grid {
    grid-template-columns: minmax(300px, 400px) 1fr;
    gap: 64px;
  }

  .page-products .pp-hero__content h1 {
    font-size: 3.5rem;
  }

  .page-products .pp-hero__lead {
    font-size: 1.125rem;
  }

  .page-products .pp-feature {
    grid-template-columns: 280px 1fr;
    gap: 72px;
  }

  .page-products .pp-feature__content h3 {
    font-size: 1.5rem;
  }

  .page-products .pp-register__grid {
    grid-template-columns: 300px 1fr;
  }
}
