/* style/download.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base styles for the page content */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #111, so text should be light */
  background-color: transparent; /* Inherit from body or shared.css */
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Sections */
.page-download__hero-section,
.page-download__why-download-section,
.page-download__platform-download-section,
.page-download__app-features-section,
.page-download__installation-guide-section,
.page-download__faq-section,
.page-download__cta-section {
  padding: 80px 0;
}

.page-download__hero-section,
.page-download__platform-download-section.page-download__dark-bg,
.page-download__installation-guide-section.page-download__dark-bg,
.page-download__cta-section {
  background: linear-gradient(135deg, #26A9E0, #1a7bb0);
}

.page-download__why-download-section,
.page-download__app-features-section,
.page-download__faq-section {
  background-color: #1a1a1a;
}

.page-download__platform-download-section,
.page-download__installation-guide-section {
  background-color: #111; /* Match body background for these sections */
}

.page-download__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 600px;
  overflow: hidden;
}

.page-download__hero-section .page-download__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.page-download__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-download__main-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-download__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-download__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-download__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-download__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-download__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Download Section */
.page-download__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-download__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-download__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download__feature-icon {
  width: 200px; /* Adjusted to meet min size requirement */
  height: 200px; /* Adjusted to meet min size requirement */
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: contain;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-download__feature-description {
  color: #f0f0f0;
  font-size: 0.95em;
}

/* Platform Download Section */
.page-download__platform-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-download__platform-card--reverse {
  flex-direction: row-reverse;
}

.page-download__platform-content {
  flex: 1;
  min-width: 300px;
}

.page-download__platform-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__platform-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-download__platform-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-download__platform-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-download__installation-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-download__installation-steps li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1em;
  color: #e0e0e0;
}

.page-download__step-number {
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
  margin-right: 15px;
  flex-shrink: 0;
}