.page-download {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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;
}

/* Hero Section */
.page-download__hero-section {
  background-color: #000000; /* Primary background color */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-download__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-download__download-button,
.page-download__register-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.2s ease;
}

.page-download__download-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-download__download-button:hover {
  background-color: #e6a73c;
  transform: translateY(-2px);
}

.page-download__register-button {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  width: 1200px; /* HTML width attribute */
  height: 675px; /* HTML height attribute */
  object-fit: cover;
}

/* General Section Styling */
.page-download__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  font-weight: bold;
}

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

/* Why App Section */
.page-download__why-app-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

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

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

.page-download__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 600px; /* HTML width attribute */
  height: 400px; /* HTML height attribute */
  object-fit: cover;
}

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

.page-download__feature-description {
  color: #666666;
  font-size: 0.95em;
}

/* Download Methods Section */
.page-download__download-methods-section {
  padding: 60px 0;
}

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

.page-download__download-option-item {
  background-color: #000000; /* Primary background color */
  color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-download__option-title {
  font-size: 1.8em;
  color: #FCBC45; /* Accent color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download__option-description {
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-download__qr-code {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 25px;
  border: 5px solid #FFFFFF;
  border-radius: 5px;
  width: 300px; /* HTML width attribute */
  height: 300px; /* HTML height attribute */
  object-fit: contain;
}

.page-download__download-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-download__download-button:hover {
  background-color: #e6a73c;
}

/* Pre-Installation Notes Section */
.page-download__pre-installation-notes-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-download__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-download__note-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 20px;
}

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

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

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

.page-download__faq-list {
  margin-top: 40px;
}

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

.page-download__faq-item[open] {
  box-shadow: 0 5px 15px 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: #000000;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #e0e0e0;
}

.page-download__faq-item[open] .page-download__faq-question {
  border-bottom: 1px solid #FCBC45;
  color: #FCBC45;
}

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

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

.page-download__faq-answer {
  padding: 20px 25px;
  background-color: #fcfcfc;
  color: #555555;
  font-size: 1em;
}

/* Call to Action Section */
.page-download__cta-section {
  background-color: #000000; /* Primary background color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-download__cta-title {
  font-size: 2.8em;
  color: #FCBC45; /* Accent color */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-download__download-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-download__download-button--large:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

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

@media (max-width: 768px) {
  .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__download-button,
  .page-download__register-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__section-intro {
    font-size: 0.95em;
  }
  .page-download__feature-item,
  .page-download__download-option-item {
    padding: 25px;
  }
  .page-download__feature-title {
    font-size: 1.3em;
  }
  .page-download__option-title {
    font-size: 1.5em;
  }
  .page-download__note-title {
    font-size: 1.2em;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__cta-title {
    font-size: 2em;
  }
  .page-download__cta-description {
    font-size: 1em;
  }
  .page-download__download-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure images do not overflow on mobile */
  .page-download img {
    max-width: 100%;
    height: auto;
  }
  .page-download__hero-image,
  .page-download__feature-image,
  .page-download__qr-code {
    width: 100%; /* Override fixed width for responsiveness */
    height: auto; /* Override fixed height for responsiveness */
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em;
  }
  .page-download__section-title {
    font-size: 1.5em;
  }
  .page-download__cta-title {
    font-size: 1.8em;
  }
  .page-download__download-button,
  .page-download__register-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}