.page-products {
  --pp-radius: 14px;
}

/* ---------- 分区底色 ---------- */
.page-products .section-group--light { background: var(--bg); }
.page-products .section-group--white { background: #FFFFFF; }
.page-products .section-group--dark { background: var(--navy); }
.page-products .section-group--gold { background: linear-gradient(120deg, var(--gold), var(--gold-bright)); }

.page-products .section-group--dark .section-title { color: #FFFFFF; }
.page-products .section-group--dark .section-lead { color: rgba(255, 255, 255, 0.72); }
.page-products .section-group--dark .eyebrow { color: var(--gold-bright); }
.page-products .section-group--dark .figure__caption { color: rgba(255, 255, 255, 0.55); }

/* ---------- Hero ---------- */
.page-products .pp-hero {
  background: var(--navy);
  color: #FFFFFF;
  padding: 112px 0 52px;
  position: relative;
  overflow: hidden;
}

.page-products .pp-hero::after {
  content: "365";
  position: absolute;
  right: 3%;
  bottom: -40px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(120px, 20vw, 260px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(212, 175, 55, 0.07);
  pointer-events: none;
}

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

.page-products .pp-hero .breadcrumb { margin-bottom: 28px; }
.page-products .pp-hero .breadcrumb a { color: rgba(255, 255, 255, 0.65); text-decoration: none; transition: color 0.2s var(--ease); }
.page-products .pp-hero .breadcrumb a:hover { color: var(--gold-bright); }
.page-products .pp-hero .breadcrumb span:last-child { color: rgba(255, 255, 255, 0.92); }

.page-products .pp-hero .page-title { margin-top: 10px; }

.page-products .pp-hero__lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
  margin: 18px 0 40px;
}

.page-products .pp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pp-hero__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 100%;
  box-sizing: border-box;
}

.page-products .pp-hero__stat > span:first-child {
  display: block;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold-bright);
}

.page-products .pp-hero__stat > span:last-child {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
}

/* ---------- 通用小节头部 ---------- */
.page-products .pp-section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-products .pp-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-products .pp-section-head .section-title { margin: 8px 0 12px; }
.page-products .pp-section-head .section-lead { color: var(--muted); font-size: 16px; line-height: 1.75; }

/* ---------- 产品矩阵 ---------- */
.page-products .pp-matrix { padding: 80px 0 30px; }

.page-products .pp-matrix-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 0 46px;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-matrix-item:last-child { border-bottom: none; }

.page-products .pp-matrix-item__media { min-width: 0; }
.page-products .pp-matrix-item__media .figure { margin: 0; }

.page-products .pp-matrix-item__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-md);
}

.page-products .pp-matrix-item__media .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.page-products .pp-matrix-item__content h3 {
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
  margin: 10px 0 14px;
}

.page-products .pp-matrix-item__content p {
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

.page-products .pp-matrix-num {
  display: inline-block;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
  padding: 3px 10px;
  background: rgba(212, 175, 55, 0.08);
}

.page-products .pp-matrix-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
}

.page-products .pp-matrix-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.page-products .pp-matrix-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-sizing: border-box;
}

/* 同步演示 */
.page-products .pp-sync-demo {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--pp-radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.page-products .pp-sync-demo__node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(212, 175, 55, 0.12);
  position: relative;
  flex-shrink: 0;
}

.page-products .pp-sync-demo__node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
  animation: pp-pulse 2s ease-in-out infinite;
}

.page-products .pp-sync-demo__link {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 30%, rgba(212, 175, 55, 0.3) 100%);
  position: relative;
  flex-shrink: 0;
}

.page-products .pp-sync-demo__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

@keyframes pp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
}

/* 迷你桌面 */
.page-products .pp-desk-mini {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: grid;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.page-products .pp-desk-mini__bar {
  height: 10px;
  width: 42%;
  background: var(--navy);
  border-radius: 4px;
}

.page-products .pp-desk-mini__line {
  height: 7px;
  width: 100%;
  background: var(--line);
  border-radius: 3px;
}

.page-products .pp-desk-mini__line:nth-child(2) { width: 86%; }
.page-products .pp-desk-mini__line:nth-child(3) { width: 94%; }
.page-products .pp-desk-mini__line:nth-child(4) { width: 78%; }

/* ---------- App下载 ---------- */
.page-products .pp-download { padding: 80px 0; }

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

.page-products .pp-download__info .section-title { margin: 8px 0 14px; }
.page-products .pp-download__info .section-lead { margin-bottom: 0; }

.page-products .pp-download-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
}

.page-products .pp-download-features li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.page-products .pp-download-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-bright);
  font-weight: 700;
}

.page-products .pp-download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.page-products .pp-download-note { font-size: 13px; }

/* 手机模型 */
.page-products .pp-phone {
  width: 240px;
  margin: 0 auto;
  background: linear-gradient(160deg, #16294b, var(--navy));
  border: 3px solid rgba(212, 175, 55, 0.45);
  border-radius: 36px;
  padding: 14px 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  position: relative;
  box-sizing: border-box;
}

.page-products .pp-phone__screen {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 2;
  background: var(--bg);
  position: relative;
}

.page-products .pp-phone__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pp-phone__status {
  position: absolute;
  top: 14px;
  right: 10px;
  font-size: 12px;
  color: var(--gold-bright);
  background: rgba(10, 31, 68, 0.78);
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  z-index: 2;
}

.page-products .pp-phone__rail {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 52px;
  background: rgba(212, 175, 55, 0.7);
  border-radius: 3px;
  z-index: 2;
}

.page-products .pp-phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 18px;
  background: var(--navy);
  border-radius: 12px;
  z-index: 3;
}

.page-products .pp-download__caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-top: 20px;
}

/* ---------- 核心功能 ---------- */
.page-products .pp-features { padding: 80px 0; }

.page-products .pp-features-grid { gap: 20px; margin-bottom: 40px; }

.page-products .pp-feature {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.page-products .pp-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-products .pp-feature__index {
  display: inline-block;
  font-size: 13px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 16px;
}

.page-products .pp-feature h3 {
  font-size: 19px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 10px;
}

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

.page-products .pp-features-chart { margin: 0; }

.page-products .pp-features-chart img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-md);
}

.page-products .pp-features-chart .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 技术架构 ---------- */
.page-products .pp-arch { padding: 80px 0; }

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

.page-products .pp-arch__content .section-title { margin: 8px 0 16px; }
.page-products .pp-arch__content > p { color: var(--text); font-size: 15px; line-height: 1.8; }

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

.page-products .pp-arch-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-arch-list li:last-child { border-bottom: none; }

.page-products .pp-arch-list__num {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  min-width: 56px;
  display: inline-block;
}

.page-products .pp-arch-list li > span:last-child {
  color: var(--text);
  font-size: 14px;
}

.page-products .pp-arch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pp-arch__visual .figure { margin: 0; }

.page-products .pp-arch-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 4;
  object-fit: cover;
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-md);
}

.page-products .pp-arch__visual .figure__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.page-products .pp-sync-bar {
  position: relative;
  margin-top: 28px;
  background: rgba(10, 31, 68, 0.08);
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
}

.page-products .pp-sync-bar__fill {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.page-products .pp-sync-bar__fill::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  transform: translateX(100%);
  animation: pp-sweep 2.6s var(--ease) infinite;
}

@keyframes pp-sweep {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-260%); }
}

.page-products .pp-sync-bar__label {
  position: absolute;
  right: 0;
  top: -28px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- 版本与更新 ---------- */
.page-products .pp-version { padding: 80px 0; }

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

.page-products .pp-version__visual .figure { margin: 0; }

.page-products .pp-version-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--pp-radius);
  box-shadow: var(--shadow-md);
}

.page-products .pp-version__content .section-title { margin: 8px 0 16px; }

.page-products .pp-version__content > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .pp-version-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
}

.page-products .pp-version-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.page-products .pp-version-item__tag {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-bright);
  min-width: 62px;
  display: inline-block;
}

.page-products .pp-version-item > span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

/* ---------- CTA ---------- */
.page-products .pp-cta { padding: 72px 0; }

.page-products .pp-cta__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-products .pp-cta__label {
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-products .pp-cta .section-title { color: var(--navy); margin-bottom: 12px; }
.page-products .pp-cta .section-lead { color: var(--text); margin-bottom: 30px; }

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

/* ---------- 媒体查询 ---------- */
@media (min-width: 640px) {
  .page-products .pp-hero__stat {
    min-width: 130px;
    flex: 1;
  }

  .page-products .pp-download-btns .btn { margin-bottom: 0; }
}

@media (min-width: 768px) {
  .page-products .pp-hero { padding: 148px 0 72px; }
  .page-products .pp-hero__lead { font-size: 18px; }
}

@media (min-width: 900px) {
  .page-products .pp-matrix-item {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    padding: 56px 0 64px;
  }

  .page-products .pp-matrix-item--reverse .pp-matrix-item__media { order: 2; }
  .page-products .pp-matrix-item--reverse .pp-matrix-item__content { order: 1; }

  .page-products .pp-download-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }

  .page-products .pp-arch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .page-products .pp-version-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }

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

@media (min-width: 1200px) {
  .page-products .pp-hero__lead { font-size: 19px; }
  .page-products .pp-matrix-item { gap: 80px; }
  .page-products .pp-matrix { padding-top: 96px; }
  .page-products .pp-download,
  .page-products .pp-features,
  .page-products .pp-arch,
  .page-products .pp-version { padding: 104px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-feature { transition: none; }
  .page-products .pp-feature:hover { transform: none; }
  .page-products .pp-sync-demo__node::after,
  .page-products .pp-sync-bar__fill::after { animation: none; }
}
