.page-download {
  color: #ffffff; /* Body background is dark, so text is light */
  padding-top: var(--header-offset, 120px);
}

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

.page-download__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

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

/* Hero Section */
.page-download__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-download__hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-download__download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.page-download__qr-code-wrapper {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-download__qr-code {
  width: 250px;
  height: 250px;
  display: block;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-download__qr-text {
  font-size: 1.1rem;
  color: #333333;
  font-weight: bold;
}

.page-download__app-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-download__btn-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 280px;
}

.page-download__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.page-download__icon--android {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6 18c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12zm10-2V8h-2v8h2zm-4 0V8h-2v8h2zm-4 0V8H8v8h2z"/></svg>');
}

.page-download__icon--ios {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 0c-3.32 0-6 2.68-6 6v12c0 3.32 2.68 6 6 6s6-2.68 6-6V6c0-3.32-2.68-6-6-6zm0 2c2.21 0 4 1.79 4 4v12c0 2.21-1.79 4-4 4s-4-1.79-4-4V6c0-2.21 1.79-4 4-4zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>');
}

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

/* Benefits Section */
.page-download__benefits-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-download__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-download__benefit-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__benefit-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-download__features-image {
  width: 1000px;
  height: 750px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-download__guide-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__guide-steps {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-download__step-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download__step-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-download__guide-image {
  width: 1200px;
  height: 800px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Requirements Section */
.page-download__requirements-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__requirements-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-download__requirements-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-download__requirements-heading {
  font-size: 1.3rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-download__requirements-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: #1f8ec4;
}

.page-download__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 25px;
}

.page-download__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* CTA Section */
.page-download__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__cta-content {
  max-width: 900px;
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-download__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-download__btn-primary:hover {
  background: #1f8ec4;
  border-color: #1f8ec4;
}

.page-download__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
  background: #f0f0f0;
  color: #1f8ec4;
  border-color: #1f8ec4;
}

/* General Colors for dark body background */
.page-download__dark-bg {
  background: #000000;
  color: #ffffff;
}

.page-download__light-bg {
  background: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-download__light-bg .page-download__section-title {
  color: #26A9E0;
}

.page-download__light-bg .page-download__section-description {
  color: #cccccc;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3rem;
  }

  .page-download__section-title {
    font-size: 2rem;
  }

  .page-download__hero-image,
  .page-download__features-image,
  .page-download__guide-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__requirements-section,
  .page-download__faq-section,
  .page-download__cta-section {
    padding: 50px 0;
  }

  .page-download__hero-title {
    font-size: 2.5rem;
  }

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

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

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

  .page-download__download-options {
    flex-direction: column;
    gap: 20px;
  }

  .page-download__qr-code-wrapper {
    padding: 15px;
  }

  .page-download__qr-code {
    width: 200px;
    height: 200px;
  }

  .page-download__btn-app {
    min-width: unset;
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 20px;
  }

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

  .page-download__benefit-item,
  .page-download__step-item,
  .page-download__requirements-item,
  .page-download__faq-item {
    padding: 20px;
  }

  .page-download__benefit-title {
    font-size: 1.3rem;
  }

  .page-download__step-title {
    font-size: 1.5rem;
  }

  .page-download__requirements-heading {
    font-size: 1.2rem;
  }

  .page-download__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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

  .page-download__faq-item.active .page-download__faq-answer {
    padding: 20px;
  }

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-download__btn-primary,
  .page-download__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsive adaptation */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__download-options,
  .page-download__app-buttons,
  .page-download__benefits-grid,
  .page-download__guide-steps,
  .page-download__requirements-list,
  .page-download__faq-list,
  .page-download__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}