.page-download {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-download__hero-section {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-download__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-download__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #E3B505; /* Secondary color for emphasis */
  line-height: 1.2;
}

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

.page-download__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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, transform 0.2s ease;
  white-space: nowrap;
}

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

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

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

.page-download__button--secondary:hover {
  background-color: rgba(227, 181, 5, 0.1);
  transform: translateY(-2px);
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  max-width: 800px;
  width: 100%;
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-download__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E3B505;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-download__section-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Constrain height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

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

.page-download__card-text {
  font-size: 1em;
  color: #555555;
}

.page-download__download-guide {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-download__download-guide--reversed {
  flex-direction: row-reverse;
}

.page-download__platform-section {
  flex: 1;
  min-width: 300px;
}

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

.page-download__platform-intro {
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-download__steps-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #E3B505;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1em;
  line-height: 1.5;
}

.page-download__step-highlight {
  color: #0A2463;
}

.page-download__platform-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-download__platform-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-download__qr-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0f4f8;
  border-radius: 12px;
}

.page-download__qr-wrapper {
  margin-top: 30px;
  display: inline-block;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-download__qr-image {
  width: 250px;
  height: 250px;
  display: block;
  margin: 0 auto 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__qr-instruction {
  font-size: 1.1em;
  color: #0A2463;
  font-weight: bold;
}

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

.page-download__note-item {
  background-color: #ffffff;
  border-left: 4px solid #0A2463;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-download__note-text {
  font-size: 0.95em;
  color: #555555;
}

.page-download__installation-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

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

.page-download__issue-item {
  background-color: #fff3f3; /* Light red/orange for warning */
  border-left: 4px solid #e35a5a; /* Red accent */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-download__issue-title {
  font-size: 1.4em;
  color: #e35a5a;
  margin-bottom: 10px;
}

.page-download__issue-text {
  font-size: 0.95em;
  color: #555555;
}

.page-download__troubleshooting-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

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

.page-download__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0A2463;
  cursor: pointer;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-download__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
  border-radius: 12px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__cta-title {
  font-size: 2.8em;
  color: #E3B505;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__cta-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

@media (max-width: 768px) {
  .page-download {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-download__hero-section {
    padding: 60px 15px;
    flex-direction: column;
  }
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-download__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-download__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-download__grid, .page-download__notes-grid, .page-download__issue-grid {
    grid-template-columns: 1fr;
  }
  .page-download__download-guide, .page-download__download-guide--reversed {
    flex-direction: column;
    gap: 30px;
  }
  .page-download__platform-image-wrapper, .page-download__platform-section {
    min-width: unset;
  }
  .page-download__platform-title {
    font-size: 1.6em;
  }
  .page-download__steps-list li {
    font-size: 0.95em;
  }
  .page-download__qr-section {
    padding: 30px 15px;
  }
  .page-download__card-image, .page-download__installation-image, .page-download__troubleshooting-image, .page-download__cta-image, .page-download__platform-image, .page-download__qr-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-download__cta-title {
    font-size: 1.8em;
  }
  .page-download__cta-description {
    font-size: 1.1em;
  }
  .page-download__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-download__hero-buttons, .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 100%;
  }
  .page-download__hero-title {
    font-size: 1.8em;
  }
  .page-download__section-title {
    font-size: 1.6em;
  }
  .page-download__platform-title {
    font-size: 1.4em;
  }
  .page-download__cta-title {
    font-size: 1.6em;
  }
}