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

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

.page-download h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 40px;
}

.page-download h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #333333;
  margin-bottom: 15px;
}

.page-download p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-download ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-download li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 10px;
  text-align: left;
}

.page-download__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

.page-download__cta-button:hover {
  background: #1e87c2;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(38, 169, 224, 0.4);
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset handled by body in shared.css */
  background-color: #f8f9fa;
  overflow: hidden;
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-download__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-download__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__hero-content p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  color: #444444;
}

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

.page-download__cta-button--android {
  background: #EA7C07; /* Login color for Android */
  box-shadow: 0 4px 12px rgba(234, 124, 7, 0.3);
}

.page-download__cta-button--android:hover {
  background: #c26706;
  box-shadow: 0 6px 16px rgba(234, 124, 7, 0.4);
}

/* Why Download Section */
.page-download__why-download {
  background-color: #ffffff;
}

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

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

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

.page-download__benefit-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-download__benefit-card h3 {
  color: #26A9E0;
  font-size: 1.35rem;
}

.page-download__benefit-card p {
  font-size: 1rem;
  color: #666666;
}

/* How to Download Section */
.page-download__how-to-download {
  background: #26A9E0;
  color: #ffffff;
}

.page-download__how-to-download h2,
.page-download__how-to-download h3 {
  color: #ffffff;
}

.page-download__how-to-download p {
  color: #f0f0f0;
}

.page-download__download-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-download__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-download__step-card img {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-download__step-card ol {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 20px;
}

.page-download__step-card ol li {
  color: #f0f0f0;
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-download__step-card ol li strong {
  color: #ffffff;
}

.page-download__cta-center {
  margin-top: 50px;
}

/* App Features Section */
.page-download__app-features {
  background-color: #f8f9fa;
}

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

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

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

.page-download__feature-card img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-download__feature-card h3 {
  color: #26A9E0;
  font-size: 1.35rem;
}

.page-download__feature-card p {
  font-size: 1rem;
  color: #666666;
}

/* System Requirements Section */
.page-download__system-requirements {
  background-color: #ffffff;
}

.page-download__requirements-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__requirements-list li {
  background: #f9f9f9;
  padding: 15px 25px;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  color: #444444;
}

.page-download__requirements-list li strong {
  color: #222222;
}

/* Security Section */
.page-download__security {
  background: #26A9E0;
  color: #ffffff;
}

.page-download__security h2 {
  color: #ffffff;
}

.page-download__security p {
  color: #f0f0f0;
}

.page-download__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-download__security-content img {
  width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-download__security-list {
  width: 50%;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-download__security-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-left: 5px solid #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #ffffff;
}

.page-download__security-list li strong {
  color: #ffffff;
}

/* Promotions Section */
.page-download__promotions {
  background-color: #f8f9fa;
}

.page-download__promotion-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__promotion-list li {
  background: #ffffff;
  padding: 20px 25px;
  border-left: 5px solid #EA7C07; /* Login color for promotions */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  color: #444444;
}

.page-download__promotion-list li strong {
  color: #222222;
}

/* FAQ Section */
details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-download__faq-item summary.page-download__faq-question::-webkit-details-marker {
  display: none;
}
details.page-download__faq-item summary.page-download__faq-question:hover {
  background: #f5f5f5;
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
}
.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

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

/* Final CTA Section */
.page-download__cta-final {
  background: #26A9E0;
  color: #ffffff;
  padding: 100px 0;
}

.page-download__cta-final h2 {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-download__cta-final p {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-download__cta-final .page-download__cta-button {
  background: #EA7C07; /* Login color for final CTA */
  box-shadow: 0 6px 16px rgba(234, 124, 7, 0.4);
}

.page-download__cta-final .page-download__cta-button:hover {
  background: #c26706;
  box-shadow: 0 8px 20px rgba(234, 124, 7, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-download__hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-download__download-steps {
    grid-template-columns: 1fr;
  }
  .page-download__security-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-download__security-content img,
  .page-download__security-list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-download__section {
    padding: 60px 0;
  }
  .page-download__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-download h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-download h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-download h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  .page-download p,
  .page-download li {
    font-size: 1rem;
  }
  
  .page-download__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__hero-image-wrapper {
    border-radius: 8px;
  }
  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }
  .page-download__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-download__benefits-grid,
  .page-download__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .page-download__benefit-card,
  .page-download__feature-card,
  .page-download__step-card {
    padding: 25px;
    border-radius: 8px;
  }
  .page-download__benefit-card img,
  .page-download__feature-card img,
  .page-download__step-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
    margin-bottom: 15px;
  }
  .page-download__step-card ol {
    padding-left: 20px;
  }
  .page-download__step-card ol li {
    margin-bottom: 10px;
  }
}