.page-download {
  color: #ffffff; /* Text color for dark body background #2D3748 */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-download__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-download__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-download__hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-download__cta-button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-download__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-download__hero-image {
  max-width: 900px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
  width: 900px; /* Explicit width for CLS */
  height: 506px; /* Explicit height for CLS (16:9 aspect ratio) */
}

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

.page-download__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.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 auto;
  line-height: 1.6;
}

.page-download__why-app-section {
  background-color: #1A202C;
  padding: 60px 0;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-download__feature-icon {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  width: 150px; /* Explicit width for CLS */
  height: 112px; /* Explicit height for CLS (4:3 aspect ratio) */
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-download__feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.page-download__methods-section {
  padding: 60px 0;
  background-color: #2D3748;
}

.page-download__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download__method-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: center;
}

.page-download__method-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
}

.page-download__method-steps {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05em;
  line-height: 1.8;
}

.page-download__method-steps li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-download__method-steps li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.page-download__method-image {
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 600px; /* Explicit width for CLS */
  height: 450px; /* Explicit height for CLS (4:3 aspect ratio) */
}

.page-download__notes-section {
  background-color: #1A202C;
  padding: 60px 0;
}

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

.page-download__note-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download__note-icon {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  width: 120px; /* Explicit width for CLS */
  height: 90px; /* Explicit height for CLS (4:3 aspect ratio) */
  border-radius: 8px;
}

.page-download__note-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-download__note-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

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

.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;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-download__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  user-select: none;
}

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

.page-download__faq-toggle {
  position: absolute;
  right: 25px;
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.page-download__cta-bottom-section {
  background: linear-gradient(45deg, #1A202C 0%, #2D3748 100%);
  padding: 80px 20px;
  text-align: center;
}

.page-download__cta-bottom-section .page-download__cta-button {
  margin: 15px 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__section-title {
    font-size: 2.2em;
  }
  .page-download__hero-image {
    max-width: 80%;
    width: auto;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding: 60px 15px;
  }
  .page-download__hero-title {
    font-size: 2.5em;
  }
  .page-download__hero-description {
    font-size: 1.1em;
  }
  .page-download__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-download__container {
    padding: 30px 15px;
  }
  .page-download__section-title {
    font-size: 2em;
  }
  .page-download__section-intro {
    font-size: 1em;
  }
  .page-download__features-grid, .page-download__notes-grid {
    grid-template-columns: 1fr;
  }
  .page-download__feature-title, .page-download__note-title {
    font-size: 1.5em;
  }
  .page-download__method-title {
    font-size: 1.8em;
  }
  .page-download__method-image {
    max-width: 100%;
    width: auto;
    height: auto;
  }
  /* Mobile content area images must not overflow */
  .page-download img {
    max-width: 100%;
    height: auto;
  }
  .page-download__cta-bottom-section .page-download__cta-button {
    width: 80%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__hero-description {
    font-size: 0.95em;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__faq-toggle {
    right: 20px;
  }
  .page-download__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-download__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}