.page-download {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

.page-download__hero-section {
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-download__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

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

.page-download__hero-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.page-download__download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-download__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-download__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

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

.page-download__button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

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

.page-download__hero-image {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-download__hero-image img {
  width: 100%;
  max-width: 1000px; /* Constrain image width */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-download__features-section,
.page-download__methods-section,
.page-download__notes-section,
.page-download__faq-section,
.page-download__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-download__section-title,
.page-download__cta-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000; /* Main color for titles */
  font-weight: bold;
}

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

.page-download__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-download__feature-item:hover {
  transform: translateY(-5px);
}

.page-download__feature-item img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__feature-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-download__method-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-download__method-card {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-download__method-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-download__method-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
}

.page-download__method-card img {
  width: 100%;
  height: auto;
  max-width: 500px;
  min-width: 200px;
  min-height: 200px;
  margin-top: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-download__note-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-download__note-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

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

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

.page-download__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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;
  color: #000000;
  cursor: pointer;
  background-color: #FCBC45; /* Login color for contrast */
  color: #000000; /* Main color */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-download__faq-item[open] .page-download__faq-toggle {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #FFFFFF;
  border-top: 1px solid #e0e0e0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-download__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background */
  color: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 60px;
}

.page-download__cta-title {
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-download__cta-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__hero-title {
    font-size: 2.2em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-download__features-section,
  .page-download__methods-section,
  .page-download__notes-section,
  .page-download__faq-section,
  .page-download__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-download__section-title,
  .page-download__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-download__method-container {
    flex-direction: column;
  }
  .page-download__method-card {
    max-width: 100%;
  }
  .page-download__feature-item img,
  .page-download__method-card img,
  .page-download__hero-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-download__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-download__faq-answer {
    padding: 10px 20px 15px;
  }
  /* Ensure no horizontal scroll for content area */
  .page-download {
    max-width: 100%;
    overflow-x: hidden;
  }
}

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