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

/* General page styling for dark background from shared.css */
.page-download {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Inherit from body, which is #121212 */
}

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

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

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

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

.page-download__btn-primary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-download__btn-primary:hover {
  background-color: #02a04e; /* Slightly lighter green on hover */
  border-color: #02a04e;
}

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

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

.page-download__btn-text-link {
  color: #017439;
  text-decoration: underline;
  padding: 5px 0;
  border: none;
  background: none;
}

.page-download__btn-text-link:hover {
  color: #02a04e;
}

.page-download__btn-large {
  font-size: 1.2em;
  padding: 18px 35px;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #017439 0%, #004d2e 100%); /* Green gradient */
  min-height: 600px;
  overflow: hidden; /* For hero image positioning */
}

.page-download__hero-section .page-download__container {
  position: relative;
  z-index: 2;
}

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

.page-download__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-download__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust as needed */
  right: 0;
  width: 50%; /* Adjust size of the image relative to hero section */
  max-width: 800px;
  z-index: 1;
  opacity: 0.8;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Benefits Section */
.page-download__benefits-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Darker background for contrast */
}

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

.page-download__benefit-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-download__card-text {
  color: #e0e0e0;
  font-size: 1em;
}

.page-download__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* How to Download Section */
.page-download__how-to-download-section {
  padding: 80px 20px;
  background-color: #121212; /* Body background color */
}

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

.page-download__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__step-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-download__step-text {
  color: #e0e0e0;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}


/* Features Section */
.page-download__features-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

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

.page-download__features-image {
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 600px; /* Ensure image doesn't get too big */
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.page-download__features-list {
  flex: 1 1 45%;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-download__features-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.05em;
}

.page-download__feature-highlight {
  color: #017439; /* Highlight color */
}

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 20px;
  background-color: #121212;
}

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

.page-download__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-download__faq-item[open] .page-download__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

.page-download__faq-item summary {
  list-style: none; /* Remove default marker */
}
.page-download__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-download__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-download__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Final CTA Section */
.page-download__cta-final-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #004d2e 0%, #017439 100%); /* Green gradient */
  text-align: center;
}

.page-download__cta-final-section .page-download__section-title,
.page-download__cta-final-section .page-download__section-intro {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  /* Mobile header offset for hero section */
  .page-download__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* General mobile container padding */
  .page-download__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__section-title {
    font-size: 2em;
  }

  .page-download__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-download__hero-title {
    font-size: 2.2em;
  }

  .page-download__hero-description {
    font-size: 1.1em;
  }

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure full width for buttons container */
  }

  .page-download__btn-primary,
.page-download__btn-secondary,
.page-download__btn-large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__hero-image-wrapper {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    opacity: 1;
    filter: none;
 }}