.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #7A0E0E 0%, #C91F17 100%); /* Deep Red to Primary */
  border-bottom: 5px solid #F2B544; /* Border */
}

.page-download__hero-content-wrapper {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-download__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain; /* Ensure image is fully visible */
  border: 3px solid #F2B544; /* Border */
}

.page-download__hero-text-content {
  max-width: 800px;
  text-align: center;
}

.page-download__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #FFD86A; /* Gold-like for title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom gradient */
  color: #7A0E0E; /* Deep Red for text to contrast with gold */
  border: 2px solid #F2B544; /* Border */
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-download__btn-secondary {
  background: #C91F17; /* Primary Color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
}

.page-download__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: #E53935; /* Auxiliary Color */
}

.page-download__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFD86A; /* Gold-like for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-download__benefits-section,
.page-download__guide-section,
.page-download__features-section,
.page-download__faq-section,
.page-download__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-download__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-download__card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-download__card-title {
  font-size: 1.4em;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download__guide-content {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.page-download__platform-guide {
  flex: 1;
  max-width: 550px;
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-download__platform-title {
  font-size: 1.8em;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-download__guide-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto 30px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #F2B544; /* Border */
  object-fit: contain;
}

.page-download__guide-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-download__guide-step {
  background-color: #B71C1C; /* Background */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #F2B544; /* Border */
}

.page-download__step-title {
  font-size: 1.2em;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-download__qr-code {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 2px solid #F2B544; /* Border */
  border-radius: 5px;
  object-fit: contain;
}

.page-download__btn-download-android,
.page-download__btn-download-ios {
  width: calc(100% - 30px); /* Adjust for padding */
  margin: 0 15px;
  display: block;
}

.page-download__feature-card {
  text-align: center;
}

.page-download__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #F2B544; /* Border */
}

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

.page-download__faq-item {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: #FFD86A; /* Gold-like */
}

.page-download__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-download__faq-question .page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

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

.page-download__cta-final-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #C91F17 0%, #E53935 100%); /* Primary to Auxiliary */
  border-top: 5px solid #F2B544; /* Border */
}

.page-download__cta-final-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

.page-download__copyright-info {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #F2B544; /* Border */
  background-color: #7A0E0E; /* Deep Red */
  border-top: 1px solid #F2B544;
}

/* General image responsiveness */
.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__hero-section {
    padding: 30px 15px;
  }

  .page-download__hero-content-wrapper {
    flex-direction: column; /* Ensure image above text */
    gap: 20px;
  }

  .page-download__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Hero mobile: contain, not cover */
  }

  .page-download__hero-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download a[class*="button"],
  .page-download a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-download__section-title {
    font-size: 1.8em; /* Adjusted for mobile */
    margin-bottom: 30px;
  }

  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__features-section,
  .page-download__faq-section,
  .page-download__cta-final-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-download__card {
    padding: 20px;
  }

  .page-download__card-title {
    font-size: 1.2em;
  }

  .page-download__guide-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-download__platform-guide {
    padding: 25px;
  }

  .page-download__platform-title {
    font-size: 1.5em;
  }

  .page-download__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .page-download__guide-step {
    padding: 15px;
  }

  .page-download__step-title {
    font-size: 1.1em;
  }

  .page-download__qr-code {
    max-width: 150px;
    width: 100% !important;
    height: auto !important;
  }

  .page-download__feature-image {
    height: 200px; /* Adjusted for mobile */
    object-fit: cover !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-download__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-download__faq-answer {
    padding: 0 15px 15px;
  }

  .page-download__cta-final-description {
    font-size: 1.1em;
  }

  /* Ensure all images and their containers are responsive */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__features-section,
  .page-download__faq-section,
  .page-download__cta-final-section,
  .page-download__platform-guide {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}