.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header-offset, 10px for decorative top spacing */
  text-align: center;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-download__hero-content {
  max-width: 800px;
  margin-top: 40px;
}

.page-download__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-download__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%; /* Ensure button group takes full width for flex-wrap to work */
  max-width: 100%;
  box-sizing: border-box;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  text-align: center;
  max-width: 300px; /* Limit individual button width */
  box-sizing: border-box;
  flex-grow: 1; /* Allow buttons to grow in flex container */
}

.page-download__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-download__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-description {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Section */
.page-download__benefits-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-download__benefit-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-download__benefit-icon {
  width: 100%; /* Ensure image fills card */
  height: auto;
  max-width: 250px; /* Adjust based on desired icon size within card */
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-download__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-download__card-text {
  color: #A7D9B8; /* Text Secondary */
}

/* Guide Section */
.page-download__guide-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-download__guide-block {
  margin-bottom: 60px;
  background-color: #11271B; /* Card BG */
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-download__guide-subtitle {
  font-size: 2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
  text-align: center;
}

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

.page-download__guide-item {
  background-color: rgba(17, 39, 27, 0.5); /* Slightly lighter card BG */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #2AD16F; /* Button color for accent */
  color: #A7D9B8; /* Text Secondary */
}

.page-download__step-number {
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-download__video-section {
  padding: 60px 0 0 0;
  text-align: center;
  background-color: #08160F; /* Background */
}

.page-download__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  margin: 30px auto 0 auto;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-sizing: border-box;
}

.page-download__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  height: auto; /* Override to ensure responsiveness */
  display: block;
  object-fit: cover;
}

/* Requirements Section */
.page-download__requirements-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-download__requirements-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-download__requirements-item {
  background-color: #11271B; /* Card BG */
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #A7D9B8; /* Text Secondary */
  border-left: 5px solid #57E38D; /* Glow color for accent */
  font-size: 1.05em;
}

.page-download__requirements-item strong {
  color: #F2FFF6; /* Text Main */
}

/* Offers Section */
.page-download__offers-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-download__offer-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-download__offer-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-download__security-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-download__security-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-download__security-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
}

/* FAQ Section */
.page-download__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-download__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-download__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.3); /* Border color with transparency */
}

.page-download__faq-qtext {
  flex-grow: 1;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

.page-download__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Details tag specific styles for FAQ */
.page-download__faq-item[open] .page-download__faq-question {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-download__faq-item summary {
  list-style: none;
}

.page-download__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Final CTA Section */
.page-download__final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-download {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-download__container {
    padding: 0 15px;
  }

  .page-download__main-title {
    font-size: 2em;
  }

  .page-download__section-title {
    font-size: 1.8em;
  }

  .page-download__description,
  .page-download__section-description,
  .page-download__card-text,
  .page-download__requirements-item,
  .page-download__faq-answer p {
    font-size: 0.95em;
  }

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container of buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-download__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-download__benefits-grid,
  .page-download__offers-grid,
  .page-download__security-list {
    grid-template-columns: 1fr;
  }

  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__requirements-section,
  .page-download__offers-section,
  .page-download__security-section,
  .page-download__faq-section,
  .page-download__final-cta {
    padding: 40px 0;
  }

  .page-download__guide-block {
    padding: 25px;
  }

  .page-download__guide-subtitle {
    font-size: 1.5em;
  }

  .page-download__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-download__faq-toggle {
    font-size: 1.2em;
  }

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

  .page-download__hero-image-wrapper,
  .page-download__video-wrapper,
  .page-download__container,
  .page-download__guide-block,
  .page-download__benefit-card,
  .page-download__offer-card,
  .page-download__security-item,
  .page-download__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Video responsiveness */
  .page-download video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is kept */
    height: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-download__video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .page-download__video-section {
    padding-top: 10px !important;
  }
}