/* ===== page-products 专属样式 ===== */
.page-products {
  --color-primary: #0B1A2C;
  --color-accent: #D4AF37;
  --color-purple: #7B2D8B;
  --color-green: #39FF14;
  --color-white: #FFFFFF;
  --color-light: #F0F0F0;
  --font-heading: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-accent: 'Space Mono', 'Courier New', monospace;
  --border-gold: 2px solid var(--color-accent);
  --shadow-stack: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --radius: 4px;
  --max-width: 1200px;
  --nav-height: 64px;
  --border-frame: 2px;
}

/* 首屏 - 对角错位色块 */
.page-products .hero-download {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 60%, var(--color-primary) 100%);
  overflow: hidden;
}

.page-products .hero-download__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  opacity: 0.25;
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.page-products .hero-download__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .hero-download__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}

.page-products .hero-download__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.page-products .gold-text {
  color: var(--color-accent);
}

.page-products .hero-download__subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.page-products .hero-download__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-products .btn--download {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.page-products .btn--download:hover,
.page-products .btn--download:focus {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5);
  background: var(--color-green);
  color: var(--color-primary);
}

/* 旋转标签 */
.page-products .rotate-label {
  display: inline-block;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-family: var(--font-accent);
  font-size: 0.7rem;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  white-space: nowrap;
  position: absolute;
  left: -2rem;
  top: 20%;
}

/* 面包屑 */
.page-products .breadcrumb {
  max-width: var(--max-width);
  margin: 1rem auto;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

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

/* 章节编号 */
.page-products .section-number {
  font-family: var(--font-accent);
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -1.5rem;
  margin-left: -0.2rem;
}

.page-products .section-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* 下载区 */
.page-products .download-area {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 3rem 1rem;
  background: var(--color-white);
  border-top: var(--border-gold);
  border-bottom: var(--border-gold);
}

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

.page-products .download-area__qr {
  cursor: pointer;
  transition: transform 0.3s;
}

.page-products .download-area__qr:hover,
.page-products .download-area__qr:focus-within {
  transform: scale(1.1);
}

.page-products .download-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

.page-products .download-area__links {
  text-align: center;
}

.page-products .download-area__desc {
  font-family: var(--font-body);
  margin-bottom: 1rem;
  color: var(--color-text);
}

.page-products .btn--large {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  margin: 0.5rem;
}

.page-products .btn--large:hover,
.page-products .btn--large:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* 特性区 */
.page-products .features-section {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1rem;
}

.page-products .features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-products .feature-card {
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.page-products .feature-card__image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.page-products .feature-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.page-products .feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.page-products .feature-card__desc {
  font-family: var(--font-body);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 产品线预览 */
.page-products .preview-section {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 2rem 1rem;
  background: var(--color-light);
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

.page-products .preview-section__intro {
  font-family: var(--font-body);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.page-products .preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.page-products .preview-card {
  background: var(--color-white);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-products .preview-card:hover,
.page-products .preview-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123, 45, 139, 0.15);
}

.page-products .preview-card__img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 0.8rem;
}

.page-products .preview-card__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  background: var(--color-light);
}

.page-products .tag-label--filled {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

.page-products .preview-card__desc {
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.page-products .preview-section__more {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-body);
}

.page-products .preview-section__more a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .page-products .hero-download {
    min-height: 70vh;
    padding: 1.5rem;
  }

  .page-products .hero-download__bg {
    width: 100%;
    right: 0;
    top: 0;
    clip-path: none;
    opacity: 0.3;
  }

  .page-products .rotate-label {
    display: none;
  }

  .page-products .breadcrumb {
    padding: 0.5rem 1rem;
  }

  .page-products .features-grid {
    grid-template-columns: 1fr;
  }

  .page-products .preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .page-products .download-area__inner {
    flex-direction: column;
  }

  .page-products .download-area__qr {
    order: -1;
  }

  .page-products .btn--download,
  .page-products .btn--large {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .page-products .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .download-area__inner {
    flex-direction: row;
    justify-content: center;
  }
}
