.page-download__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0;
  overflow: hidden;
}

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

.page-download__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-download__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__hero-app-image {
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.page-download__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 50px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-download__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-download__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-download__feature-grid, .page-download__step-grid, .page-download__promo-grid, .page-download__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__feature-card, .page-download__step-card, .page-download__promo-card, .page-download__security-item, .page-download__device-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__feature-card:hover, .page-download__step-card:hover, .page-download__promo-card:hover, .page-download__security-item:hover, .page-download__device-card:hover {
  transform: translateY(-5px);
}

.page-download__feature-icon, .page-download__step-icon, .page-download__promo-image, .page-download__security-icon, .page-download__device-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-download__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.page-download__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.page-download__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-download__app-features-section .page-download__section-title,
.page-download__app-features-section .page-download__section-intro {
  color: #ffffff;
}

.page-download__feature-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.page-download__feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-download__feature-image {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-download__feature-content {
  flex: 1;
  text-align: left;
}

.page-download__item-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-download__item-description {
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-download__supported-devices-section .page-download__section-title,
.page-download__supported-devices-section .page-download__section-intro {
  color: #ffffff;
}

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

.page-download__device-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-download__device-card .page-download__card-title {
  color: #ffffff;
}

.page-download__device-card .page-download__device-image {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-download__device-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: left;
  width: 100%;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__device-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-size: 1em;
  line-height: 1.5;
}

.page-download__device-list li::before {
  content: '✔';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-download__security-section .page-download__section-title,
.page-download__promotions-section .page-download__section-title {
  color: #26A9E0;
}

.page-download__promotions-section .page-download__section-title,
.page-download__promotions-section .page-download__section-intro {
  color: #ffffff;
}

.page-download__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-download__promo-card .page-download__card-title {
  color: #ffffff;
}

.page-download__promo-card .page-download__card-description {
  color: #f0f0f0;
}

.page-download__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-download__faq-section {
  padding: 60px 0;
}

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

.page-download__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

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

.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: #555555;
}

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

.page-download__faq-answer p {
  margin: 0;
  line-height: 1.7;
}

.page-download__cta-final-section {
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0;
}

.page-download__cta-final-section .page-download__section-title,
.page-download__cta-final-section .page-download__section-intro {
  color: #ffffff;
}

.page-download__cta-final-section .page-download__cta-buttons {
  margin-top: 40px;
  margin-bottom: 0;
}

.page-download__cta-final-section .page-download__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-download__cta-final-section .page-download__btn-secondary:hover {
  background-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 2.8em;
  }
  .page-download__section-title {
    font-size: 2em;
  }
  .page-download__feature-item {
    flex-direction: column;
    text-align: center;
  }
  .page-download__feature-item--reverse {
    flex-direction: column;
  }
  .page-download__feature-image {
    max-width: 80%;
    flex: none;
  }
  .page-download__feature-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section,
  .page-download__why-download-section,
  .page-download__app-features-section,
  .page-download__how-to-download-section,
  .page-download__supported-devices-section,
  .page-download__security-section,
  .page-download__promotions-section,
  .page-download__faq-section,
  .page-download__cta-final-section {
    padding: 40px 0 !important;
  }
  .page-download__hero-title {
    font-size: 2em !important;
  }
  .page-download__hero-description {
    font-size: 1em !important;
  }
  .page-download__section-title {
    font-size: 1.8em !important;
  }
  .page-download__section-intro {
    font-size: 0.95em !important;
  }
  .page-download__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .page-download__btn-primary,
  .page-download__btn-secondary {
    padding: 12px 20px !important;
    font-size: 1em !important;
    width: 100% !important;
  }
  
  .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__feature-item,
  .page-download__device-card,
  .page-download__promo-card,
  .page-download__security-item,
  .page-download__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-download__feature-image {
    max-width: 100% !important;
    flex: none !important;
  }

  .page-download__feature-content {
    text-align: center !important;
  }
  .page-download__item-title {
    font-size: 1.5em !important;
  }
  .page-download__faq-question {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }
  .page-download__faq-answer {
    padding: 0 20px !important;
  }
  .page-download__faq-item.active .page-download__faq-answer {
    padding: 10px 20px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em !important;
  }
  .page-download__section-title {
    font-size: 1.6em !important;
  }
  .page-download__feature-grid, .page-download__step-grid, .page-download__promo-grid, .page-download__security-features, .page-download__device-compatibility {
    grid-template-columns: 1fr !important;
  }
}