/* ===== 页面专属：APP下载页 ===== */
.page-products {
  --pd-bg-primary: var(--color-dark-blue);
  --pd-bg-card: rgba(26, 26, 46, 0.85);
  --pd-bg-accent: rgba(75, 46, 131, 0.5);
  --pd-border-glow: var(--color-dark-gold);
  --pd-neon: var(--color-neon-green);
  --pd-gold: var(--color-gold);
  --pd-silver: var(--color-silver);
  --pd-white: var(--color-white);
  --pd-font-body: var(--font-body);
  --pd-font-heading: var(--font-heading);
  --pd-font-data: var(--font-data);
  --pd-radius-sm: 6px;
  --pd-radius-md: 12px;
  --pd-radius-lg: 20px;
  --pd-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --pd-transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--pd-bg-primary);
  color: var(--pd-white);
  font-family: var(--pd-font-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* 面包屑 */
.page-products .products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 5% 0;
  font-size: 0.875rem;
  color: var(--pd-silver);
  flex-wrap: wrap;
}

.page-products .products-breadcrumb a {
  color: var(--pd-gold);
  text-decoration: none;
  transition: color var(--pd-transition);
}

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

.page-products .breadcrumb-sep {
  color: var(--pd-silver);
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== 首屏左右分屏 ===== */
.page-products .products-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 5% 3rem;
  position: relative;
  overflow: hidden;
}

.page-products .products-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: linear-gradient(135deg, var(--pd-bg-accent) 0%, transparent 70%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 0;
}

.page-products .hero-left {
  position: relative;
  z-index: 1;
  flex: 1 1 100%;
}

.page-products .hero-heading {
  font-family: var(--pd-font-heading);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  font-style: italic;
  color: var(--pd-white);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-products .hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--pd-silver);
  max-width: 36em;
  margin: 0 0 2rem;
  line-height: 1.7;
}

/* 功能预览网格 */
.page-products .feature-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .feature-card {
  background: var(--pd-bg-card);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: var(--pd-radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--pd-transition), border-color var(--pd-transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-products .feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--pd-gold);
}

.page-products .feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--pd-radius-sm);
  background: rgba(57, 255, 20, 0.08);
  padding: 4px;
  flex-shrink: 0;
}

.page-products .feature-title {
  font-family: var(--pd-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pd-neon);
  margin: 0;
  line-height: 1.3;
}

.page-products .feature-text {
  font-size: 0.9375rem;
  color: var(--pd-silver);
  margin: 0;
  line-height: 1.5;
}

/* 手机模型 */
.page-products .hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 0 0 auto;
}

.page-products .phone-model {
  perspective: 1200px;
  width: 240px;
  max-width: 100%;
}

.page-products .phone-model[data-phone-rotate] .phone-body {
  transition: transform var(--pd-transition);
  transform-style: preserve-3d;
}

.page-products .phone-model[data-phone-rotate]:hover .phone-body {
  transform: rotateY(-12deg) rotateX(4deg);
}

.page-products .phone-body {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(145deg, #1a1a2e, #0a192f);
  border-radius: 36px;
  padding: 12px 8px;
  border: 2px solid var(--pd-border-glow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(57, 255, 20, 0.06);
}

.page-products .phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 26px;
  background: #0a0a14;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.page-products .phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #050510;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

.page-products .phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 4px;
  background: rgba(245, 245, 245, 0.25);
  border-radius: 4px;
}

/* ===== 下载方式 ===== */
.page-products .products-download {
  padding: 3rem 5%;
  background: var(--pd-bg-primary);
  position: relative;
}

.page-products .products-download::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pd-gold), transparent);
}

.page-products .section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-products .section-heading {
  font-family: var(--pd-font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  font-style: italic;
  color: var(--pd-white);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.page-products .section-desc {
  color: var(--pd-silver);
  font-size: 1rem;
  margin: 0 auto;
  max-width: 32em;
}

.page-products .download-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.page-products .download-card {
  background: var(--pd-bg-card);
  border-radius: var(--pd-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(197, 165, 90, 0.15);
  box-shadow: var(--pd-shadow-card);
  transition: border-color var(--pd-transition);
}

.page-products .download-card:hover {
  border-color: rgba(57, 255, 20, 0.25);
}

.page-products .download-card.primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.page-products .download-qr-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.page-products .download-qr {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: var(--pd-radius-sm);
  border: 2px solid var(--pd-border-glow);
  background: #fff;
  padding: 6px;
}

.page-products .download-label {
  font-size: 0.875rem;
  color: var(--pd-silver);
  margin: 0;
}

.page-products .download-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.page-products .tag-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--pd-gold), #e6b800);
  color: #0a0a14;
  font-family: var(--pd-font-data);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-products .download-version-note {
  font-size: 0.9375rem;
  color: var(--pd-silver);
  margin: 0;
  max-width: 28em;
}

.page-products .download-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pd-neon);
  color: #0a0a14;
  font-family: var(--pd-font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  transition: transform var(--pd-transition), box-shadow var(--pd-transition);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.25);
}

.page-products .download-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.45);
}

.page-products .download-card.secondary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-products .download-card-title {
  font-family: var(--pd-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pd-gold);
  margin: 0;
}

.page-products .download-channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-products .download-channel-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--pd-silver);
  font-size: 0.9375rem;
}

.page-products .download-channel-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--pd-neon);
  font-weight: 700;
}

.page-products .download-channel-list a {
  color: var(--pd-gold);
  text-decoration: none;
}

.page-products .download-channel-list a:hover {
  color: var(--pd-neon);
}

.page-products .download-channel-note {
  font-size: 0.875rem;
  color: var(--pd-silver);
  margin: 0;
}

.page-products .download-channel-note a {
  color: var(--pd-gold);
  text-decoration: none;
}

.page-products .download-channel-note a:hover {
  color: var(--pd-neon);
}

/* ===== 版本更新历史 ===== */
.page-products .products-updates {
  padding: 3rem 5%;
  background: var(--color-deep-indigo);
  position: relative;
}

.page-products .products-updates::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pd-neon), transparent);
}

.page-products .timeline-decoration {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.page-products .timeline-line {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--pd-radius-sm);
  opacity: 0.6;
}

.page-products .update-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 700px;
}

.page-products .update-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  padding-left: 2rem;
}

.page-products .update-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: -1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--pd-gold), transparent);
}

.page-products .update-item:last-child::before {
  display: none;
}

.page-products .update-badge {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pd-neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
  flex-shrink: 0;
  z-index: 1;
}

.page-products .update-content {
  flex: 1;
}

.page-products .update-title {
  font-family: var(--pd-font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pd-white);
  margin: 0 0 0.25rem;
}

.page-products .update-text {
  font-size: 0.9375rem;
  color: var(--pd-silver);
  margin: 0;
  line-height: 1.5;
}

.page-products .update-more {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--pd-silver);
}

.page-products .update-more a {
  color: var(--pd-gold);
  text-decoration: none;
}

.page-products .update-more a:hover {
  color: var(--pd-neon);
}

/* ===== 反馈通道 ===== */
.page-products .products-feedback {
  padding: 3rem 5% 5rem;
  background: var(--pd-bg-primary);
}

.page-products .feedback-layout {
  max-width: 700px;
  margin: 0 auto;
}

.page-products .feedback-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--pd-bg-card);
  border-radius: var(--pd-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(197, 165, 90, 0.15);
  box-shadow: var(--pd-shadow-card);
  text-align: center;
}

.page-products .feedback-illustration {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--pd-radius-md);
  background: rgba(57, 255, 20, 0.06);
  padding: 8px;
}

.page-products .feedback-text {
  font-size: 0.9375rem;
  color: var(--pd-silver);
  max-width: 32em;
}

.page-products .feedback-text strong {
  color: var(--pd-neon);
}

.page-products .feedback-contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.page-products .feedback-contact-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--pd-silver);
  line-height: 1.5;
}

.page-products .feedback-contact-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--pd-gold);
  font-weight: 700;
}

.page-products .feedback-contact-list a {
  color: var(--pd-gold);
  text-decoration: none;
}

.page-products .feedback-contact-list a:hover {
  color: var(--pd-neon);
}

/* ===== 右下角浮动反馈按钮 ===== */
.page-products .feedback-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-violet), #2d1b69);
  color: var(--pd-white);
  border: 2px solid var(--pd-neon);
  border-radius: 40px;
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.2);
  cursor: default;
  transition: transform var(--pd-transition), box-shadow var(--pd-transition);
  font-family: var(--pd-font-body);
  font-size: 0.875rem;
  font-weight: 600;
}

.page-products .feedback-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(57, 255, 20, 0.35);
}

.page-products .feedback-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--pd-neon);
  color: #0a0a14;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.875rem;
  line-height: 1;
}

.page-products .feedback-float-text {
  letter-spacing: 0.02em;
}

/* ===== 响应式：平板与桌面 ===== */
@media (min-width: 768px) {
  .page-products .products-hero {
    flex-direction: row;
    align-items: center;
    padding: 3rem 6% 4rem;
    gap: 3rem;
  }

  .page-products .hero-left {
    flex: 0 0 55%;
  }

  .page-products .hero-right {
    flex: 0 0 35%;
    justify-content: flex-end;
  }

  .page-products .phone-model {
    width: 280px;
  }

  .page-products .feature-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .page-products .feature-card {
    padding: 1.5rem 1.75rem;
  }

  .page-products .feature-icon {
    width: 56px;
    height: 56px;
  }

  .page-products .download-layout {
    flex-direction: row;
    align-items: stretch;
  }

  .page-products .download-card.primary {
    flex: 0 0 55%;
  }

  .page-products .download-card.secondary {
    flex: 1;
  }

  .page-products .download-qr {
    width: 180px;
    height: 180px;
  }

  .page-products .feedback-card {
    flex-direction: row;
    text-align: left;
  }

  .page-products .feedback-illustration {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .page-products .products-hero {
    padding: 4rem 8% 5rem;
    gap: 4rem;
  }

  .page-products .hero-left {
    flex: 0 0 54%;
  }

  .page-products .hero-right {
    flex: 0 0 38%;
  }

  .page-products .phone-model {
    width: 320px;
  }

  .page-products .feature-preview-grid {
    gap: 1.5rem;
  }

  .page-products .feature-card {
    padding: 1.75rem 2rem;
  }

  .page-products .products-download,
  .page-products .products-updates,
  .page-products .products-feedback {
    padding-left: 8%;
    padding-right: 8%;
  }

  .page-products .feedback-float {
    right: 2rem;
    bottom: 2rem;
    padding: 0.75rem 1.5rem 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }
}

/* ===== 窄屏溢出防护 ===== */
.page-products img,
.page-products video,
.page-products svg {
  max-width: 100%;
  height: auto;
}

.page-products .products-breadcrumb,
.page-products .products-hero,
.page-products .products-download,
.page-products .products-updates,
.page-products .products-feedback {
  width: 100%;
  box-sizing: border-box;
}
