.page-products {
  --card-border-color: rgba(255, 111, 0, 0.25);
  --card-bg: #0F1E30;
  --card-hover-border: var(--accent-orange);
  --section-gap: 3.5rem;
  --hero-gap: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  padding: 0 1rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  color: var(--white);
}

/* —— 面包屑 —— */
.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-size: 0.85rem;
  padding: 0.75rem 0 0;
  color: var(--text-secondary);
}
.page-products .breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.page-products .breadcrumb a:hover {
  color: var(--link-hover);
}
.page-products .breadcrumb-item[aria-current="page"] {
  color: var(--accent-orange);
  font-weight: 500;
}
.page-products .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 0.6rem;
  color: var(--text-secondary);
}

/* —— Hero 首屏 —— */
.page-products .hero-section {
  display: flex;
  flex-direction: column;
  gap: var(--hero-gap);
  padding: 1.5rem 0 0.5rem;
  position: relative;
}
.page-products .hero-content {
  flex: 1 1 100%;
}
.page-products .hero-content h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.page-products .hero-em {
  display: block;
  background: var(--accent-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.7em;
  letter-spacing: 0.06em;
  margin-top: 0.15em;
}
.page-products .hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42em;
  margin: 0 0 1.75rem;
}
.page-products .hero-btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.page-products .hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 111, 0, 0.35);
}
.page-products .hero-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.page-products .hero-visual {
  flex: 1 1 100%;
  position: relative;
}
.page-products .hero-img-wrap {
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 111, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--primary-blue);
}
.page-products .hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}
.page-products .hero-decor {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  width: 6rem;
  height: 6rem;
  border: 2px solid var(--accent-orange);
  opacity: 0.25;
  border-radius: 4px;
  z-index: 0;
  pointer-events: none;
}

/* —— 功能区域 —— */
.page-products .features-section {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.page-products .section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.page-products .section-header h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
}
.page-products .section-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 36em;
}
.page-products .features-icon-wrap {
  width: 80px;
  height: 80px;
  border: 2px solid var(--card-border-color);
  border-radius: 6px;
  padding: 4px;
  background: var(--card-bg);
  margin-bottom: 0.2rem;
}
.page-products .features-icon {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* —— 功能卡片网格 —— */
.page-products .features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.page-products .feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  border-radius: 8px;
  padding: 1.5rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-products .feature-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.12);
}
.page-products .card-img-wrap {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 111, 0, 0.15);
  border-radius: 6px;
  padding: 4px;
  background: #0A1725;
  margin-bottom: 0.2rem;
}
.page-products .card-icon {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.page-products .card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
  color: var(--white);
  letter-spacing: 0.01em;
}
.page-products .card-summary {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.page-products .card-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid transparent;
  padding-top: 0;
}
.page-products .feature-card[data-expanded="true"] .card-detail {
  max-height: 20rem;
  opacity: 1;
  border-top-color: rgba(255, 111, 0, 0.15);
  padding-top: 0.8rem;
  margin-top: 0.2rem;
}
.page-products .card-detail p {
  margin: 0;
}
.page-products .card-toggle {
  background: none;
  border: none;
  color: var(--accent-orange);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  align-self: flex-start;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-products .card-toggle:hover {
  color: var(--link-hover);
}
.page-products .feature-card[data-expanded="true"] .card-toggle {
  color: var(--link-hover);
}
.page-products .features-more {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.2rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.page-products .features-more a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
}
.page-products .features-more a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* —— 版本回顾 —— */
.page-products .version-section {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.page-products .version-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.page-products .version-text {
  flex: 1 1 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.page-products .version-text p {
  margin: 0 0 1.2rem;
}
.page-products .version-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-products .version-list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
}
.page-products .version-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
}
.page-products .version-visual {
  flex: 1 1 100%;
}
.page-products .version-img-wrap {
  border: 2px solid rgba(255, 111, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: var(--primary-blue);
}
.page-products .version-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* —— 下载区域 —— */
.page-products .download-section {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.page-products .download-layout {
  position: relative;
}
.page-products .download-info {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.page-products .download-bg-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--accent-orange-gradient);
  opacity: 0.04;
  pointer-events: none;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-products .download-bg-img-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 150px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.page-products .download-bg-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.page-products .download-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  text-decoration: none;
}
.page-products .download-btn.btn-accent {
  background: var(--accent-orange-gradient);
  color: var(--white);
  border: none;
}
.page-products .download-btn.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
}
.page-products .download-btn.btn-outline {
  background: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}
.page-products .download-btn.btn-outline:hover {
  background: rgba(255, 111, 0, 0.08);
  transform: translateY(-2px);
}
.page-products .download-note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 36em;
}
.page-products .download-icons-wrap {
  width: 180px;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px;
  background: #0A1725;
  position: relative;
  z-index: 1;
}
.page-products .download-icons {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.page-products .download-help {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}
.page-products .download-help a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
}
.page-products .download-help a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* —— 桌面端增强 —— */
@media (min-width: 700px) {
  .page-products {
    padding: 0 1.5rem 4rem;
    gap: 4rem;
  }
  .page-products .hero-section {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0 0.5rem;
  }
  .page-products .hero-content {
    flex: 1 1 45%;
  }
  .page-products .hero-visual {
    flex: 1 1 50%;
  }
  .page-products .hero-decor {
    width: 8rem;
    height: 8rem;
    top: -1.8rem;
    right: -1.8rem;
  }
  .page-products .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
  .page-products .version-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .page-products .version-text {
    flex: 1 1 42%;
  }
  .page-products .version-visual {
    flex: 1 1 55%;
  }
  .page-products .download-info {
    padding: 2.5rem 2.5rem 2rem;
  }
  .page-products .download-actions {
    flex-direction: row;
  }
  .page-products .download-bg-img-wrap {
    width: 280px;
    height: 210px;
  }
  .page-products .download-icons-wrap {
    width: 220px;
  }
}

@media (min-width: 1024px) {
  .page-products {
    padding: 0 2rem 5rem;
    gap: 5rem;
  }
  .page-products .hero-section {
    gap: 3.5rem;
  }
  .page-products .hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
  }
  .page-products .features-grid {
    gap: 2rem;
  }
  .page-products .feature-card {
    padding: 1.8rem 1.5rem 1.4rem;
  }
  .page-products .version-content {
    gap: 3rem;
  }
}
