.page-download {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-download__hero-section {
  background-color: #0d1a2f; /* Dark background */
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-download__hero-container {
  position: relative;
  z-index: 1;
}

.page-download__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold primary color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-download__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-download__button--primary {
  background-color: #FFD700; /* Gold primary color */
  color: #1E90FF; /* Royal Blue auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-download__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-download__button--secondary {
  background-color: #1E90FF; /* Royal Blue auxiliary color */
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-download__button--secondary:hover {
  background-color: #1a7bd6;
  transform: translateY(-3px);
}

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

.page-download__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-download__section-intro {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.page-download__advantages-section {
  background-color: #122340; /* Slightly lighter dark background */
  padding: 60px 0;
}

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

.page-download__advantage-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-download__advantage-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download__advantage-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-download__advantage-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 15px;
}

.page-download__advantage-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.page-download__how-to-download-section {
  background-color: #0d1a2f;
  padding: 60px 0;
}

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

.page-download__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__method-title {
  font-size: 2em;
  color: #1E90FF; /* Royal Blue auxiliary color */
  margin-bottom: 25px;
  text-align: center;
}

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

.page-download__method-steps li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
}

.page-download__method-steps li strong {
  color: #FFD700;
  margin-right: 10px;
}

.page-download__method-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #FFD700;
  color: #1E90FF;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-download__pre-install-section {
  background-color: #122340;
  padding: 60px 0;
}

.page-download__checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__checklist-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #1E90FF; /* Royal Blue accent */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-download__checklist-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 10px;
}

.page-download__checklist-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.page-download__faq-section {
  background-color: #0d1a2f;
  padding: 60px 0;
}

.page-download__faq-list {
  margin-top: 40px;
}

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

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for summary */
}

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

.page-download__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download__faq-toggle {
  font-size: 1.5em;
  color: #FFD700; /* Gold primary color */
  transition: transform 0.3s ease;
}

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

.page-download__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.page-download__cta-section {
  background-color: #1E90FF; /* Royal Blue auxiliary color */
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-download__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold primary color */
  margin-bottom: 20px;
}

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

.page-download__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-width: 3px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__section-title {
    font-size: 2.2em;
  }
  .page-download__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-download__hero-title {
    font-size: 2.5em;
  }
  .page-download__hero-description {
    font-size: 1.1em;
  }
  .page-download__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-download__section-title {
    font-size: 2em;
  }
  .page-download__section-intro {
    font-size: 1em;
  }
  .page-download__advantages-grid,
  .page-download__download-methods,
  .page-download__checklist {
    grid-template-columns: 1fr;
  }
  .page-download__advantage-item,
  .page-download__method-card,
  .page-download__checklist-item {
    padding: 25px;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 0 20px 15px;
  }
  .page-download__cta-title {
    font-size: 2em;
  }
  .page-download__cta-description {
    font-size: 1em;
  }
  /* Mobile content area images must be constrained */
  .page-download img {
    max-width: 100%;
    height: auto;
  }
  .page-download__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__cta-title {
    font-size: 1.8em;
  }
  .page-download__button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-download__advantage-title {
    font-size: 1.5em;
  }
  .page-download__method-title {
    font-size: 1.6em;
  }
  .page-download__checklist-title {
    font-size: 1.4em;
  }
}