.page-products {
  --dl-accent: var(--color-secondary);
  --dl-accent-glow: #ff8833;
  --dl-card-radius: 12px;
  --dl-flip-speed: 0.5s;
  font-family: "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding: 1rem 0 0.25rem;
  font-size: 0.875rem;
  color: var(--color-neutral-dark);
}
.page-products .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.page-products .breadcrumb a:hover {
  text-decoration: underline;
}
.page-products .breadcrumb-sep {
  margin: 0 0.4em;
  color: var(--color-neutral-dark);
  opacity: 0.45;
}

/* ---------- 首屏左右分屏 ---------- */
.page-products .download-hero {
  background: var(--gradient-primary);
  padding: 2.5rem 0 3rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.page-products .download-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.04) 28px,
    rgba(255,255,255,0.04) 30px
  );
  pointer-events: none;
}
.page-products .download-hero .container {
  position: relative;
  z-index: 1;
}
.page-products .split-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-products .split-panel {
  flex: 1 1 100%;
}

/* 左屏 – 品牌区 */
.page-products .left-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.page-products .app-icon {
  width: 120px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
  object-fit: cover;
  background: #003399;
}
.page-products .hero-title {
  font-size: 2.8rem;
  font-weight: var(--font-head-weight, 900);
  line-height: 1.1;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.page-products .hero-sub {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.page-products .btn-download {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-secondary);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(255,102,0,0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  user-select: none;
}
.page-products .btn-download:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 32px rgba(255,102,0,0.55);
}
.page-products .pulse-btn {
  animation: dl-pulse 2.2s ease-in-out infinite;
}
@keyframes dl-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(255,102,0,0.4); }
  50% { box-shadow: 0 4px 44px rgba(255,102,0,0.75), 0 0 0 8px rgba(255,102,0,0.12); }
}
.page-products .hero-device {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

/* 右屏 – 功能卡片网格 */
.page-products .right-cards {
  width: 100%;
}
.page-products .card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* 翻转卡片 */
.page-products .flip-card {
  perspective: 1200px;
  height: 280px;
}
.page-products .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform var(--dl-flip-speed) ease;
  transform-style: preserve-3d;
  border-radius: var(--dl-card-radius);
  box-shadow: var(--shadow-card);
}
.page-products .flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.page-products .flip-front,
.page-products .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--dl-card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-products .flip-front {
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.page-products .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .flip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(transparent, rgba(0,68,204,0.78));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.page-products .flip-back {
  background: var(--color-primary);
  color: #fff;
  padding: 1.4rem;
  transform: rotateY(180deg);
  text-align: center;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.page-products .flip-back p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 90%;
}

/* ---------- 老用户反馈入口指南 ---------- */
.page-products .feedback-guide {
  background: var(--color-neutral-light);
  padding: 2.8rem 0;
}
.page-products .section-title {
  font-size: 1.8rem;
  font-weight: var(--font-head-weight, 900);
  color: var(--color-primary);
  margin: 0 0 0.4rem;
  position: relative;
  display: inline-block;
}
.page-products .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 6px;
  border-radius: 2px;
}
.page-products .section-desc {
  color: var(--color-neutral-dark);
  opacity: 0.7;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.page-products .guide-layout {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
}
.page-products .guide-visual {
  flex: 1 1 auto;
  max-width: 600px;
  width: 100%;
  border-radius: var(--dl-card-radius);
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.page-products .guide-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.page-products .guide-steps {
  flex: 1 1 auto;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
  max-width: 600px;
  width: 100%;
}
.page-products .guide-steps li {
  counter-increment: step-counter;
  padding: 0.9rem 1rem 0.9rem 3.2rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow var(--transition-fast);
}
.page-products .guide-steps li:hover {
  box-shadow: 0 4px 16px rgba(0,68,204,0.10);
}
.page-products .guide-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-products .guide-steps li strong {
  color: var(--color-primary);
}
.page-products .guide-footnote {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  opacity: 0.7;
}
.page-products .guide-footnote a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- 系统要求 ---------- */
.page-products .sys-req {
  padding: 2.8rem 0 3.5rem;
  background: #fff;
}
.page-products .req-details {
  margin-top: 1.2rem;
  background: var(--color-neutral-light);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.page-products .req-details[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.page-products .req-summary {
  padding: 1.2rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
}
.page-products .req-summary::-webkit-details-marker {
  display: none;
}
.page-products .req-summary::before {
  content: "▶";
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
  color: var(--color-secondary);
}
.page-products .req-details[open] .req-summary::before {
  transform: rotate(90deg);
}
.page-products .req-content {
  padding: 0 1.6rem 1.4rem;
}
.page-products .req-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
.page-products .req-list li {
  padding: 0.6rem 0.8rem 0.6rem 1.8rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fff;
  border-radius: 6px;
}
.page-products .req-list li::before {
  content: "✓";
  position: absolute;
  left: 0.4rem;
  top: 0.6rem;
  color: var(--color-accent);
  font-weight: 700;
}
.page-products .req-list li strong {
  color: var(--color-primary);
}
.page-products .req-note {
  font-size: 0.9rem;
  opacity: 0.7;
}
.page-products .req-note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- 下载弹窗 ---------- */
.page-products .modal-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.page-products .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-med), visibility var(--transition-med);
}
.page-products .modal-toggle:checked + .modal-overlay {
  opacity: 1;
  visibility: visible;
}
.page-products .modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: scale(0.92);
  transition: transform var(--transition-med);
}
.page-products .modal-toggle:checked + .modal-overlay .modal-box {
  transform: scale(1);
}
.page-products .modal-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-neutral-dark);
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}
.page-products .modal-close-btn::after {
  content: "✕";
}
.page-products .modal-close-btn:hover {
  opacity: 1;
}
.page-products .modal-qr {
  width: 160px;
  height: auto;
  aspect-ratio: 1/1;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.page-products .modal-text {
  font-size: 1rem;
  color: var(--color-neutral-dark);
  line-height: 1.6;
  margin: 0;
}
.page-products .modal-sub {
  font-size: 0.85rem;
  opacity: 0.6;
  display: block;
  margin-top: 0.25rem;
}

/* ---------- 桌面端 768px+ ---------- */
@media (min-width: 768px) {
  .page-products .split-layout {
    flex-direction: row;
    gap: 2.5rem;
    align-items: stretch;
  }
  .page-products .split-panel {
    flex: 1 1 50%;
  }
  .page-products .left-brand {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
  }
  .page-products .app-icon {
    width: 140px;
  }
  .page-products .hero-title {
    font-size: 3.6rem;
  }
  .page-products .hero-sub {
    font-size: 1.2rem;
  }
  .page-products .hero-device {
    font-size: 0.9rem;
  }
  .page-products .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .page-products .flip-card {
    height: 260px;
  }
  .page-products .guide-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  .page-products .guide-visual {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .page-products .guide-steps {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .page-products .req-list {
    grid-template-columns: 1fr 1fr;
  }
  .page-products .modal-box {
    padding: 3rem 2.5rem 2.5rem;
  }
  .page-products .modal-qr {
    width: 180px;
  }
}

/* ---------- 桌面端 1024px+ ---------- */
@media (min-width: 1024px) {
  .page-products .download-hero {
    padding: 3.5rem 0 4rem;
  }
  .page-products .hero-title {
    font-size: 4.2rem;
  }
  .page-products .hero-sub {
    font-size: 1.3rem;
  }
  .page-products .card-grid {
    gap: 1.5rem;
  }
  .page-products .flip-card {
    height: 280px;
  }
  .page-products .section-title {
    font-size: 2rem;
  }
}
