.page-download {
  color: #333333; /* Dark text for light body background (assumed #FFFFFF based on page background color) */
}

.page-download__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 80px;
  text-align: center;
  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.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-download__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-download__hero-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: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-download__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FCBC45;
}

.page-download__button--primary:hover {
  background-color: #e0a538;
  border-color: #e0a538;
}

.page-download__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for light button */
  border: 2px solid #FFFFFF;
}

.page-download__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

.page-download__section-title {
  font-size: 2.8em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-download__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-download__benefits-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-download__benefit-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-download__benefit-item:hover {
  transform: translateY(-10px);
}

.page-download__benefit-icon {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure no small icons */
  margin-left: auto;
  margin-right: auto;
}

.page-download__benefit-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__benefit-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-download__methods-section {
  padding: 60px 0;
}

.page-download__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.page-download__method-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

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

.page-download__qr-code-wrapper {
  text-align: center;
  flex-shrink: 0;
}

.page-download__qr-code {
  width: 250px;
  height: 250px;
  border: 5px solid #000000;
  border-radius: 8px;
  display: block;
  margin: 0 auto 15px auto;
}

.page-download__qr-instruction {
  font-size: 1em;
  color: #555555;
}

.page-download__instructions-list {
  list-style: decimal;
  padding-left: 25px;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.8;
  max-width: 500px;
}

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

.page-download__instructions-list strong {
  color: #000000;
}

.page-download__button--download-alt {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  border: 2px solid #000000;
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-download__button--download-alt:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-download__notes-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-download__notes-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-download__note-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__note-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-download__faq-section {
  padding: 60px 0;
}

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

.page-download__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0; /* Default border */
}

.page-download__faq-item[open] .page-download__faq-question {
  border-bottom: none; /* No border when open */
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45; /* Login button color */
}

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

.page-download__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-download__faq-answer p {
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__hero-description {
    font-size: 1.2em;
  }
  .page-download__section-title {
    font-size: 2.2em;
  }
  .page-download__method-content {
    flex-direction: column;
  }
  .page-download__instructions-list {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header */
    padding-bottom: 60px;
  }
  .page-download__hero-title {
    font-size: 2.5em;
  }
  .page-download__hero-description {
    font-size: 1.1em;
  }
  .page-download__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 100%;
    max-width: 300px;
  }
  .page-download__hero-image {
    margin-top: 30px;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__section-intro {
    font-size: 1em;
  }
  .page-download__benefits-grid {
    grid-template-columns: 1fr;
  }
  .page-download__notes-list {
    grid-template-columns: 1fr;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  /* Ensure all content images within .page-download are responsive and not smaller than 200px */
  .page-download__hero-image, 
  .page-download__benefit-icon, 
  .page-download__qr-code {
    max-width: 100%; 
    height: auto; 
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-download__qr-code {
    width: 200px; /* Adjust for smaller screens */
    height: 200px;
  }
  .page-download__benefit-icon {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__hero-description {
    font-size: 0.95em;
  }
  .page-download__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-download__section-title {
    font-size: 1.6em;
  }
  .page-download__method-card {
    padding: 25px;
  }
  .page-download__method-title {
    font-size: 1.6em;
  }
  .page-download__instructions-list {
    font-size: 1em;
  }
  .page-download__note-title {
    font-size: 1.4em;
  }
  .page-download__faq-question {
    font-size: 1em;
  }
  .page-download__faq-answer {
    font-size: 0.95em;
  }
}