.page-download__hero-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

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

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

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

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

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

.page-download__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-download__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #333333;
}

/* Features Section */
.page-download__features-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

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

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

.page-download__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* Guide Section */
.page-download__guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-download__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-download__guide-subtitle {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
}

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

.page-download__guide-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-download__guide-list li strong {
  color: #ffffff;
}

.page-download__guide-list li::before {
  content: attr(data-step-number);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: bold;
}

/* Add step numbers for guide list */
.page-download__guide-list li:nth-child(1)::before { content: '1'; }
.page-download__guide-list li:nth-child(2)::before { content: '2'; }
.page-download__guide-list li:nth-child(3)::before { content: '3'; }
.page-download__guide-list li:nth-child(4)::before { content: '4'; }
.page-download__guide-list li:nth-child(5)::before { content: '5'; }

.page-download__guide-button {
  margin-top: auto; /* Push button to the bottom */
  width: 100%;
}

.page-download__troubleshooting-section {
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  color: #ffffff;
}

.page-download__troubleshooting-title {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
}

.page-download__troubleshooting-list {
  list-style: disc;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-download__troubleshooting-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-download__troubleshooting-list li strong {
  color: #ffffff;
}

/* Features App Section */
.page-download__features-app-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-download__feature-app-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-download__feature-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  color: #333333;
}

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

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

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-download__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-download__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 value */
  padding: 15px 20px;
}

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

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

/* CTA Bottom Section */
.page-download__cta-bottom {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-download__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 2.8em;
  }
  .page-download__section-title,
  .page-download__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-download__container {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-download__hero-content {
    text-align: center;
  }

  .page-download__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-download__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-download__btn-primary,
  .page-download__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-download__hero-image-wrapper {
    order: -1; /* Move image above text on mobile */
  }

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

  .page-download__section-description,
  .page-download__cta-description {
    font-size: 0.95em;
  }

  .page-download__features-section,
  .page-download__guide-section,
  .page-download__features-app-section,
  .page-download__faq-section,
  .page-download__cta-bottom {
    padding: 40px 0;
  }

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

  .page-download__feature-card,
  .page-download__guide-item,
  .page-download__feature-app-item,
  .page-download__faq-item {
    padding: 20px;
  }

  .page-download__feature-title,
  .page-download__guide-subtitle,
  .page-download__feature-app-title,
  .page-download__faq-title {
    font-size: 1.3em;
  }

  .page-download__feature-image,
  .page-download__feature-app-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download__troubleshooting-section {
    padding: 20px;
  }

  .page-download__faq-question {
    padding: 15px;
  }

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

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