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

.page-download__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Main color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

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

.page-download__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
}

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

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

.page-download__button--ios {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-download__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

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

.page-download__features-section,
.page-download__methods-section,
.page-download__notes-section,
.page-download__faq-section,
.page-download__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
}

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

.page-download__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-download__feature-icon {
  width: 400px; /* Enforced min size 200px, setting larger width for display */
  height: 267px; /* Adjusted height for 600x400 ratio (400*2/3) */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-download__download-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-download__platform-guide {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-download__platform-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-download__guide-image {
  width: 600px; /* Enforced min size 200px, setting larger width for display */
  height: 450px; /* Adjusted height for 800x600 ratio (600*3/4) */
  max-width: 100%; /* Ensures image doesn't overflow */
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-download__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  counter-reset: step-counter;
}

.page-download__step-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px; /* Adjust padding for counter */
  color: #333333;
}

.page-download__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 28px; /* Slightly larger counter */
  height: 28px; /* Slightly larger counter */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: 700;
}

.page-download__button--download-apk,
.page-download__button--download-ios-app {
  background-color: #000000;
  color: #FCBC45;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-download__button--download-apk:hover,
.page-download__button--download-ios-app:hover {
  background-color: #333333;
  color: #FCBC45;
  transform: translateY(-2px);
}

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

.page-download__note-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

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

.page-download__faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.page-download__faq-question {
  width: 100%;
  background-color: transparent;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

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

.page-download__faq-question[aria-expanded="true"] .page-download__faq-icon {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  padding: 0 0 15px 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-bottom 0.3s ease-out;
}

.page-download__faq-question[aria-expanded="true"] + .page-download__faq-answer {
  max-height: 500px; /* Increased max-height to accommodate longer answers */
  padding-bottom: 15px;
}

.page-download__cta-section {
  text-align: center;
  background-color: #000000; /* Main color for CTA background */
  color: #ffffff;
  padding: 60px 20px;
  margin-top: 60px;
}

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

.page-download__button--large {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-download__button--large:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-download__main-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%;
  }

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

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

  .page-download__feature-icon,
  .page-download__guide-image {
    max-width: 100%;
    width: 100%; /* Ensure images are responsive */
    height: auto;
    min-width: 200px; /* Enforce minimum display size for content images */
    min-height: 133px; /* Adjusted min-height based on 600x400 aspect ratio for feature icons */
    object-fit: cover; /* Maintain aspect ratio and fill space */
  }

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

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

  .page-download__faq-question {
    font-size: 1.1em;
  }

  .page-download__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  .page-download__hero-image-wrapper {
    opacity: 0.15; /* Reduce opacity further for mobile to ensure text readability */
  }

  /* General image rules for content area to ensure min size and responsiveness */
  .page-download img:not(.page-download__hero-image) {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* General minimum width for content images */
    min- /* General minimum height for content images, adjust as needed */
    object-fit: cover;
  }
  
  .page-download__hero-image {
    min-width: 200px;
    min-height: 112px; /* 16:9 ratio for hero */
  }
}