/* style/download.css */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-download__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-download__light-bg {
  background-color: #f0f0f0;
  color: #333333;
}

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

.page-download__section {
  padding: 60px 0;
  text-align: center;
}

.page-download__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

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

/* Hero Section */
.page-download__hero-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
}

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

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

.page-download__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-download__download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 280px;
}

.page-download__download-button img {
  margin-right: 10px;
  
  
  min-
  min-
}

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

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

.page-download__btn-secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-download__btn-secondary:hover {
  background-color: #2c3541;
  transform: translateY(-3px);
}

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

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

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

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

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

.page-download__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #1A202C;
}

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

/* App Features Section */
.page-download__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__content-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-download__content-item:hover {
  transform: translateY(-5px);
}

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

.page-download__content-subtitle {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-download__content-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* How to Download Section */
.page-download__download-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-download__step-block {
  text-align: left;
}

.page-download__step-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #1A202C;
}

.page-download__step-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #555555;
}

.page-download__step-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-download__step-list li strong {
  color: #1A202C;
}

.page-download__qr-code {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 5px solid #FFD700;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__download-button-bottom {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 25px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* System Requirements Section */
.page-download__requirements-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-download__requirement-item {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  max-width: 45%;
}

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

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

.page-download__requirement-list li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-download__note {
  margin-top: 30px;
  font-style: italic;
  color: #cccccc;
}

/* Security & Trust Section */
.page-download__security-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__security-item {
  background-color: #ffffff;
  color: #333333;
}

.page-download__security-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
}

.page-download__security-subtitle {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #1A202C;
}

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

.page-download__security-badge {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 50px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-download__faq-section .page-download__section-title {
  color: #FFD700;
}

.page-download__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-download__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-download__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Section */
.page-download__cta-section {
  padding-bottom: 80px;
}

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

.page-download__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #555555;
}

.page-download__cta-button-bottom {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
}

.page-download__cta-button-bottom:hover {
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__section-title {
    font-size: 2em;
  }
  .page-download__cta-title {
    font-size: 2.2em;
  }
  .page-download__download-steps {
    grid-template-columns: 1fr;
  }
  .page-download__requirements-grid {
    flex-direction: column;
    gap: 20px;
  }
  .page-download__requirement-item {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-download__hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }
  .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__download-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__section {
    padding: 40px 0;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__section-description {
    font-size: 1em;
  }
  .page-download__features-grid,
  .page-download__content-grid,
  .page-download__security-points {
    grid-template-columns: 1fr;
  }
  .page-download__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-download__qr-code {
    max-width: 200px;
  }
  .page-download__cta-title {
    font-size: 2em;
  }
  .page-download__cta-description {
    font-size: 1.1em;
  }
  .page-download__cta-button-bottom {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
  }

  /* Mobile specific overrides for images, videos, and containers */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-download video,
  .page-download__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__video-section,
  .page-download__video-container,
  .page-download__video-wrapper,
  .page-download__cta-buttons,
  .page-download__button-group,
  .page-download__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-download__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-download__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__section-title {
    font-size: 1.5em;
  }
  .page-download__download-button {
    font-size: 1.1em;
    padding: 12px 20px;
  }
  .page-download__cta-title {
    font-size: 1.8em;
  }
  .page-download__cta-button-bottom {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 15px 20px;
  }
}