.page-download {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-download__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-download__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-download__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(44, 62, 80, 0.7); /* Use main color with transparency */
  border-radius: 10px;
}

.page-download__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

.page-download__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-download__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-download__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #2C3E50; /* Main color for text */
}

.page-download__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-download__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-download__section-title {
  font-size: 2.5em;
  color: #2C3E50; /* Main color */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-download__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color */
  border-radius: 2px;
}

.page-download__benefits-section,
.page-download__how-to-download-section,
.page-download__important-notes-section,
.page-download__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-download__benefit-item,
.page-download__note-item {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-top: 5px solid #FFD700;
}

.page-download__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-download__benefit-title,
.page-download__note-title {
  font-size: 1.5em;
  color: #2C3E50;
  margin-bottom: 15px;
}

.page-download__benefit-description,
.page-download__note-description {
  color: #555555;
}

.page-download__download-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.page-download__method-card {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  border: 1px solid #eee;
}

.page-download__method-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download__method-title {
  font-size: 1.8em;
  color: #2C3E50;
  margin-bottom: 20px;
}

.page-download__method-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 30px;
}

.page-download__method-steps li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #555555;
}

.page-download__method-steps li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-download__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-download__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #2C3E50;
  cursor: pointer;
  position: relative;
  user-select: none;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-download__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-download__faq-item[open] .page-download__faq-toggle {
  content: '-';
}

.page-download__faq-answer {
  padding: 0 25px 20px;
  color: #555555;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 2.8em;
  }

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

  .page-download__download-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding: 60px 0;
  }

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

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

  .page-download__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-download__button {
    width: 100%;
    padding: 12px 20px;
  }

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

  .page-download__benefits-grid,
  .page-download__notes-grid {
    grid-template-columns: 1fr;
  }

  .page-download__method-card {
    padding: 20px;
  }

  .page-download__method-title {
    font-size: 1.5em;
  }

  .page-download__method-steps li {
    padding-left: 20px;
  }

  /* Critical: Prevent image overflow on mobile */
  .page-download img {
    max-width: 100%;
    height: auto;
  }

  .page-download__hero-image {
    width: 100%;
    height: 100%;
  }

  .page-download__method-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em;
  }

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

  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-download__faq-toggle {
    right: 20px;
    font-size: 1.2em;
  }
}