.page-download {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main for light background */
  background-color: #F4F7FB; /* Background */
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-download__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Default to column for mobile first, will change for desktop */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-download__hero-image {
  width: 100%;
  max-width: 100%; /* Ensure image is responsive */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px; /* Space between image and text on mobile/column layout */
}

.page-download__hero-text-container {
  text-align: center;
  max-width: 800px;
}

.page-download__hero-title {
  font-size: 2.8em; /* Adjusted for responsive behavior */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-download__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-download__hero-cta-buttons {
  display: flex;
  flex-direction: column; /* Default to column for mobile */
  gap: 15px;
  width: 100%;
  max-width: 400px; /* Max width for button group */
  margin: 0 auto;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: block; /* Make buttons block level for full width on column layout */
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure buttons don't exceed container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-download__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-download__btn-secondary {
  background-color: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-download__btn-secondary:hover {
  background-color: #f0f5ff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-download__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

.page-download__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

/* Light Background Section */
.page-download__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

/* Dark Background Section */
.page-download__dark-section {
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}
.page-download__dark-section .page-download__section-title,
.page-download__dark-section .page-download__section-description,
.page-download__dark-section .page-download__step-title,
.page-download__dark-section .page-download__step-list li,
.page-download__dark-section .page-download__note-text,
.page-download__dark-section .page-download__text-link {
  color: #ffffff;
}
.page-download__dark-section .page-download__text-link:hover {
  color: #A5C4FF; /* Glow */
}

/* Medium Background Section */
.page-download__medium-bg {
  background-color: #6FA3FF; /* Aux color */
  color: #ffffff;
}
.page-download__medium-bg .page-download__section-title,
.page-download__medium-bg .page-download__section-description,
.page-download__medium-bg .page-download__promo-title,
.page-download__medium-bg .page-download__promo-text {
  color: #ffffff;
}

/* Why Download Section */
.page-download__why-download-section {
  padding: 60px 0;
}

.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__feature-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-download__feature-icon {
  width: 100%; /* Ensure images fill card width */
  height: auto;
  max-width: 100%;
  max-height: 200px; /* Limit height for feature icons */
  object-fit: contain; /* Use contain to prevent cropping for icons */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main color */
}

.page-download__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

/* How to Download Section */
.page-download__how-to-download-section {
  padding: 80px 0;
}

.page-download__download-steps {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  justify-content: center;
}

.page-download__step-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-download__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-download__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-download__step-list li {
  margin-bottom: 10px;
}

.page-download__download-button {
  margin-top: auto; /* Push button to bottom */
  width: auto; /* Adjust width to content */
  align-self: flex-start; /* Align button to start */
}

.page-download__note-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  font-style: italic;
  color: #f0f0f0;
}

.page-download__text-link {
  color: #A5C4FF; /* Glow color for links on dark bg */
  text-decoration: underline;
}

.page-download__text-link:hover {
  color: #ffffff;
}


/* App Features Section */
.page-download__app-features-section {
  padding: 80px 0;
}

.page-download__features-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-download__feature-text-block {
  flex: 1;
  color: #333333;
}

.page-download__feature-subtitle {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main color */
}

.page-download__feature-paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-download__feature-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-download__feature-main-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-download__promotions-section {
  padding: 80px 0;
}

.page-download__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__promo-card {
  background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent white for medium background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-download__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-download__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-download__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-download__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f0f0f0;
  flex-grow: 1; /* Make text block grow to align buttons */
}

.page-download__center-button {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 0;
}

.page-download__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-download__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #1F2D3D; /* Text Main */
  background-color: #fcfdff;
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: #f0f5ff;
}

.page-download__faq-question::-webkit-details-marker {
  display: none;
}

.page-download__faq-question::marker {
  display: none;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF; /* Main color */
}

.page-download__faq-item[open] .page-download__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes an X */
}

.page-download__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.page-download__faq-item[open] .page-download__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  opacity: 1;
}

.page-download__faq-answer p {
  margin-bottom: 0;
}

.page-download__faq-answer .page-download__text-link {
  color: #2F6BFF; /* Main color for links on light bg */
}

.page-download__faq-answer .page-download__text-link:hover {
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-download__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__cta-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-download__cta-bottom-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-download__cta-bottom-buttons {
  display: flex;
  gap: 20px;
  flex-direction: column; /* Default to column for mobile */
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Responsive Styles (Desktop First) --- */

@media (min-width: 769px) {
  .page-download__hero-section {
    padding-bottom: 80px;
  }
  .page-download__hero-content-wrapper {
    flex-direction: row; /* Desktop: row layout */
    text-align: left;
    gap: 50px;
  }
  .page-download__hero-image {
    width: 50%;
    margin-bottom: 0;
  }
  .page-download__hero-text-container {
    text-align: left;
    max-width: none;
    flex: 1;
  }
  .page-download__hero-title {
    font-size: 3.5em;
  }
  .page-download__hero-cta-buttons {
    flex-direction: row;
    max-width: none;
    margin: 0;
  }
  .page-download__btn-primary,
  .page-download__btn-secondary {
    width: auto;
    flex-grow: 0;
  }

  .page-download__download-steps {
    flex-direction: row;
    justify-content: space-between;
  }
  .page-download__step-card {
    flex: 1;
  }

  .page-download__app-features-section {
    padding: 100px 0;
  }
  .page-download__features-content {
    flex-direction: row;
  }
  .page-download__feature-text-block {
    order: 1; /* Text first */
  }
  .page-download__feature-image-wrapper {
    order: 2; /* Image second */
  }

  .page-download__cta-bottom-buttons {
    flex-direction: row;
    max-width: none;
  }
  .page-download__cta-bottom-title {
    font-size: 3em;
  }
}

/* --- Responsive Styles (Tablet) --- */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 2.5em;
  }
  .page-download__section-title {
    font-size: 2em;
  }
  .page-download__feature-title {
    font-size: 1.3em;
  }
  .page-download__promo-title {
    font-size: 1.3em;
  }
  .page-download__cta-bottom-title {
    font-size: 2.2em;
  }
  .page-download__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-download__download-steps {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-download__step-card {
    max-width: 45%;
  }
  .page-download__features-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-download__feature-text-block,
  .page-download__feature-image-wrapper {
    flex: none;
    width: 100%;
    text-align: center;
  }
}


/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
  /* 1. HERO 主图区域 */
  .page-download__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }
  .page-download__hero-content-wrapper {
    flex-direction: column !important; /* Force column on mobile */
    padding: 0 15px !important; /* Add horizontal padding */
  }
  .page-download__hero-image {
    width: 100% !important;
    margin-bottom: 25px;
  }
  .page-download__hero-text-container {
    text-align: center !important;
  }
  .page-download__hero-title {
    font-size: 2em !important; /* Smaller font size for mobile */
    margin-bottom: 15px;
  }
  .page-download__hero-description {
    font-size: 1em !important;
    margin-bottom: 25px;
  }
  .page-download__hero-cta-buttons {
    flex-direction: column !important; /* Force column for buttons */
    gap: 10px;
    width: 100% !important;
    padding: 0 15px !important; /* Ensure button container has padding */
    box-sizing: border-box !important;
  }

  /* 2. 产品展示图区域 (General images and containers) */
  .page-download__features-grid {
    grid-template-columns: 1fr !important; /* Single column for features */
    gap: 20px;
  }
  .page-download__download-steps {
    flex-direction: column !important; /* Force column for download steps */
    gap: 20px;
  }
  .page-download__step-card {
    max-width: 100% !important; /* Full width for step cards */
    padding: 25px;
  }
  .page-download__app-features-section .page-download__features-content {
    flex-direction: column !important; /* Force column for app features */
    gap: 20px;
  }
  .page-download__promotions-grid {
    grid-template-columns: 1fr !important; /* Single column for promotions */
    gap: 20px;
  }

  /* 3. 通用图片与容器 */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-download__container,
  .page-download__section,
  .page-download__card,
  .page-download__feature-card,
  .page-download__step-card,
  .page-download__promo-card,
  .page-download__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-download__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-download__section-description {
    font-size: 1em !important;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* 4. 按钮与按钮容器 */
  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download a[class*="button"],
  .page-download a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important; /* Adjust padding for mobile */
    font-size: 1em !important;
  }
  .page-download__hero-cta-buttons,
  .page-download__cta-bottom-buttons {
    flex-direction: column !important; /* Ensure buttons stack */
    gap: 10px;
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-download__download-button {
    align-self: stretch !important; /* Stretch buttons to full width */
  }

  /* 5. 其他内容模块 */
  .page-download__why-download-section,
  .page-download__how-to-download-section,
  .page-download__app-features-section,
  .page-download__promotions-section,
  .page-download__faq-section,
  .page-download__cta-bottom-section {
    padding: 40px 0 !important; /* Reduce section padding */
  }
  .page-download__feature-title,
  .page-download__promo-title,
  .page-download__step-title {
    font-size: 1.2em !important;
  }
  .page-download__feature-text,
  .page-download__feature-paragraph,
  .page-download__step-list li,
  .page-download__note-text,
  .page-download__promo-text,
  .page-download__faq-question,
  .page-download__faq-answer p,
  .page-download__cta-bottom-description {
    font-size: 0.95em !important;
    line-height: 1.5 !important;
  }
  .page-download__faq-question {
    padding: 15px 20px !important;
  }
  .page-download__faq-answer {
    padding: 0 20px 15px !important;
  }
  .page-download__cta-bottom-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }
}