.page-download {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

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

.page-download__section--dark {
  background-color: #f8f9fa; /* Light background for contrast */
}

.page-download__section-title {
  font-size: 2.8em;
  color: #007BFF;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #555555;
}

/* Hero Section */
.page-download__hero-section {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #ffffff;
  padding: 100px 20px;
  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;
  margin-bottom: 20px;
  color: #FFC107;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

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

.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;
}

.page-download__button--primary {
  background-color: #FFC107;
  color: #007BFF;
  border: 2px solid #FFC107;
}

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

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

.page-download__button--secondary:hover {
  background-color: rgba(255, 193, 7, 0.2);
  transform: translateY(-3px);
}

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

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

.page-download__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  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.15);
}

.page-download__feature-icon {
  width: 200px;
  height: 133px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-download__feature-title {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-download__feature-description {
  font-size: 1em;
  color: #666666;
}

/* Download Methods Section */
.page-download__download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-download__download-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__card-title {
  font-size: 2em;
  color: #007BFF;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-download__download-image {
  width: 400px;
  height: 300px;
  object-fit: contain;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-download__download-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  width: 100%;
  max-width: 400px;
}

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

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

.page-download__qr-code-box {
  margin-top: 30px;
  text-align: center;
}

.page-download__qr-code {
  width: 200px;
  height: 200px;
  border: 5px solid #007BFF;
  border-radius: 10px;
}

.page-download__qr-instruction {
  margin-top: 15px;
  font-size: 1.1em;
  color: #555555;
}

.page-download__disclaimer {
  margin-top: 60px;
  font-size: 0.95em;
  color: #777777;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__tip-item {
  background-color: #f0f8ff; /* Lighter blue background */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #d0e0ff;
  text-align: left;
  transition: background-color 0.3s ease;
}

.page-download__tip-item:hover {
  background-color: #e6f2ff;
}

.page-download__tip-title {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-download__tip-description {
  font-size: 0.95em;
  color: #555555;
}

/* FAQ Section */
.page-download__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-download__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  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;
  color: #007BFF;
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-download__faq-toggle {
  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: 15px 25px 25px;
  font-size: 1em;
  color: #444444;
  background-color: #ffffff;
}

/* CTA Section */
.page-download__cta-section {
  background: linear-gradient(135deg, #007BFF, #0056b3);
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-download__cta-section .page-download__section-title {
  color: #FFC107;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-download__cta-section .page-download__section-intro {
  color: #e0f2ff;
}

.page-download__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-download__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  color: #e0f2ff;
}

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

.page-download__cta-image {
  width: 800px;
  height: 600px;
  object-fit: cover;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: 3em;
  }
  .page-download__hero-description {
    font-size: 1.1em;
  }
  .page-download__section-title {
    font-size: 2.2em;
  }
  .page-download__download-options {
    grid-template-columns: 1fr;
  }
  .page-download__download-card {
    padding: 30px;
  }
  .page-download__download-image {
    width: 300px;
    height: 225px;
  }
  .page-download__feature-icon {
    width: 150px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-download {
    padding-top: var(--header-offset, 80px);
  }
  .page-download__hero-section {
    padding: 80px 15px;
  }
  .page-download__hero-title {
    font-size: 2.5em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__button {
    width: 100%;
    max-width: 300px;
  }
  .page-download__hero-image,
  .page-download__cta-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-download__section {
    padding: 60px 0;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-download__features-grid,
  .page-download__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-download__download-card {
    padding: 25px;
  }
  .page-download__card-title {
    font-size: 1.6em;
  }
  .page-download__download-image {
    width: 100%;
    height: auto;
  }
  .page-download__download-steps li {
    font-size: 0.95em;
  }
  .page-download__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-download__container img,
  .page-download__hero-section img,
  .page-download__why-app-section img,
  .page-download__methods-section img,
  .page-download__tips-section img,
  .page-download__faq-section img,
  .page-download__cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__section-title {
    font-size: 1.5em;
  }
  .page-download__card-title {
    font-size: 1.4em;
  }
  .page-download__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-download__faq-question {
    font-size: 1em;
  }
  .page-download__faq-toggle {
    font-size: 1.2em;
  }
}