/* Base styles for the download page */
.page-download {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - from shared.css body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

.page-download__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__section-intro {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-download__hero-section {
  padding: 40px 0 60px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
}

.page-download__hero-section .page-download__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-download__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-download__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-download__hero-description {
  font-size: 20px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-download__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-download__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-download__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-download__btn-secondary:hover {
  background: #244D84; /* Border */
}

.page-download__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Benefits Section */
.page-download__benefits-section {
  background-color: #08162B;
}

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

.page-download__benefit-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

.page-download__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 0 15px #4FA8FF; /* Glow */
}

.page-download__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-download__card-text {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Guide Section */
.page-download__guide-section {
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-download__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.page-download__guide-platform {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F3F8FF; /* Text Main */
}

.page-download__platform-title {
  font-size: 28px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
  text-align: center;
}

.page-download__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.page-download__step-list li {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-download__step-list li strong {
  color: #F3F8FF; /* Text Main */
}

.page-download__step-list li::before {
  content: attr(data-step-number);
  position: absolute;
  left: 0;
  top: 0;
  background: #2B73F6;
  color: #F3F8FF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.page-download__step-list li:nth-child(1)::before { content: '1'; }
.page-download__step-list li:nth-child(2)::before { content: '2'; }
.page-download__step-list li:nth-child(3)::before { content: '3'; }
.page-download__step-list li:nth-child(4)::before { content: '4'; }
.page-download__step-list li:nth-child(5)::before { content: '5'; }

.page-download__btn-full-width {
  width: 100%;
  display: block;
  text-align: center;
}

/* Features Section */
.page-download__features-section {
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

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

.page-download__feature-card {
  background: #1D5FD1; /* Auxiliary Color */
  border: 1px solid #4FA8FF; /* Glow */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F3F8FF; /* Text Main */
  text-align: center;
}

.page-download__feature-card:hover {
  transform: translateY(-8px);
}

.page-download__feature-card .page-download__card-title {
  color: #F3F8FF; /* Text Main */
  font-size: 22px;
}

.page-download__feature-card .page-download__card-text {
  color: #F3F8FF; /* Text Main */
  font-size: 15px;
}

.page-download__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-download__faq-section {
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1B3357; /* Divider - slightly lighter */
}

.page-download__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-download__faq-item .page-download__faq-answer {
  padding: 0 25px 25px;
  background: rgba(16, 35, 63, 0.8); /* Slightly transparent Card BG */
  border-radius: 0 0 10px 10px;
}

.page-download__faq-answer p {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin: 0;
}

/* Final CTA Section */
.page-download__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  text-align: center;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-download__cta-final-section .page-download__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__main-title {
    font-size: 42px;
  }
  .page-download__hero-description {
    font-size: 18px;
  }
  .page-download__section-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-download__hero-section .page-download__container {
    flex-direction: column;
    text-align: center;
  }

  .page-download__hero-content {
    order: 2; /* Content after image on mobile */
  }

  .page-download__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-download__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-download__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-download__btn-primary,
  .page-download__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-download__section {
    padding: 40px 0;
  }

  .page-download__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-download__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-download__benefits-grid,
  .page-download__guide-steps,
  .page-download__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-download__benefit-card,
  .page-download__guide-platform,
  .page-download__feature-card {
    padding: 20px;
  }

  .page-download__card-title {
    font-size: 20px;
  }

  .page-download__platform-title {
    font-size: 24px;
  }

  .page-download__step-list li {
    font-size: 15px;
  }

  details.page-download__faq-item summary.page-download__faq-question {
    padding: 15px 20px;
  }

  .page-download__faq-qtext {
    font-size: 16px;
  }

  .page-download__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  details.page-download__faq-item .page-download__faq-answer {
    padding: 0 20px 20px;
  }

  .page-download__faq-answer p {
    font-size: 15px;
  }

  /* Mobile image handling */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__features-section,
  .page-download__faq-section,
  .page-download__cta-final-section,
  .page-download__benefit-card,
  .page-download__guide-platform,
  .page-download__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__cta-final-section .page-download__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}