/* style/download.css */
.page-download {
  color: #333333;
}

.page-download__hero-section {
  background-color: #0A2463;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden behind fixed header */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-download__hero-content {
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

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

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

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

.page-download__button {
  display: inline-block;
  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;
  min-width: 200px;
  text-align: center;
}

.page-download__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-download__button--primary:hover {
  background-color: #e6c200;
  color: #0A2463;
}

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

.page-download__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-download__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-download__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-download__features-section,
.page-download__guide-section,
.page-download__important-notes-section,
.page-download__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-download__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-download__section-subtitle {
  font-size: 1.8em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-download__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__feature-icon {
  width: 100%; /* Ensures image fills container */
  height: auto;
  max-width: 300px; /* Example max-width, adjust as needed */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-download__platform-guide {
  flex: 1;
  min-width: 300px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-download__platform-title {
  font-size: 2em;
  color: #0A2463;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-download__platform-image {
  width: 100%;
  height: auto;
  max-width: 450px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-download__installation-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 30px;
}

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

.page-download__installation-steps li strong {
  color: #0A2463;
}

.page-download__installation-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #FFD700;
  color: #0A2463;
  font-weight: bold;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9em;
}

.page-download__qr-code-section {
  text-align: center;
  background-color: #0A2463;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  margin-top: 40px;
}

.page-download__qr-code-section .page-download__section-subtitle {
  color: #FFD700;
}

.page-download__qr-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.page-download__qr-instruction {
  font-size: 1.1em;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-download__note-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-download__note-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-download__faq-container {
  margin-top: 30px;
}

.page-download__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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: bold;
  color: #0A2463;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

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

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

.page-download__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #444444;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

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

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

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 40px;
  }
  .page-download__hero-title {
    font-size: 2.2em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 80%;
    max-width: 300px;
  }
  .page-download__features-section,
  .page-download__guide-section,
  .page-download__important-notes-section,
  .page-download__faq-section {
    padding: 40px 15px;
  }
  .page-download__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-download__section-subtitle {
    font-size: 1.5em;
  }
  .page-download__platform-guide {
    min-width: unset;
    width: 100%;
  }
  .page-download__installation-steps li {
    font-size: 0.95em;
  }
  .page-download__note-title {
    font-size: 1.4em;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile image scaling */
  .page-download__hero-image,
  .page-download__feature-icon,
  .page-download__platform-image,
  .page-download__qr-image {
    max-width: 100%;
    height: auto;
  }
  .page-download__hero-image-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .page-download__feature-item img,
  .page-download__platform-guide img,
  .page-download__qr-code-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em;
  }
  .page-download__section-title {
    font-size: 1.6em;
  }
  .page-download__button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-download__platform-title {
    font-size: 1.8em;
  }
}