.page-download {
  padding-top: 10px; /* Small top padding for content below header */
  color: #333333;
  background-color: #FFFFFF;
}

.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-download__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9; /* Adjusted for a common hero image ratio */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.page-download__hero-content {
  width: 100%;
}

.page-download__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 180px;
  text-align: center;
}

.page-download__button:hover {
  transform: translateY(-2px);
  background-color: #208bc4; /* Slightly darker blue */
}

.page-download__button--ios::before {
  content: ''; /* Apple logo */
  margin-right: 8px;
  font-size: 1.2em;
}

.page-download__button--android::before {
  content: '▶'; /* Play button like icon */
  margin-right: 8px;
  font-size: 1.2em;
}

.page-download__button--pc::before {
  content: '◫'; /* Window icon */
  margin-right: 8px;
  font-size: 1.2em;
}

.page-download__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-download__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding: 0 15px;
}

.page-download__why-download-section,
.page-download__install-guide-section,
.page-download__requirements-section,
.page-download__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

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

.page-download__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__feature-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Minimum image size */
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure it respects max-width */
  filter: none; /* No color filter */
}

.page-download__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-download__feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-download__guide-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
  text-align: center;
}

.page-download__guide-card ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-download__guide-card ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-download__guide-card img {
  width: 100%;
  max-width: 400px; /* Constrain width for smaller images */
  height: auto;
  min-height: 200px; /* Minimum image size */
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto; /* Center image */
  display: block; /* Ensure it respects max-width */
  filter: none; /* No color filter */
}

.page-download__requirements-content {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__requirements-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555555;
}

.page-download__requirements-list {
  list-style-type: disc;
  padding-left: 25px;
  color: #555555;
}

.page-download__requirements-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-download__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-download__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-download__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-download__hero-section {
    padding: 15px;
  }

  .page-download__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

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

  .page-download__download-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-download__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .page-download__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-download__section-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-download__why-download-section,
  .page-download__install-guide-section,
  .page-download__requirements-section,
  .page-download__faq-section {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-download__features-grid,
  .page-download__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-download__feature-card img,
  .page-download__guide-card img {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
  }

  .page-download__guide-card ol {
    padding-left: 15px;
  }

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

  .page-download__faq-answer {
    font-size: 0.95rem;
  }
}

/* Ensure all content area images are at least 200px wide/high */
.page-download__why-download-section img,
.page-download__install-guide-section img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-download img {
    max-width: 100%;
    height: auto;
  }
}