.page-download {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Light background as per custom color */
}

.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff; /* White text for dark gradient background */
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per instruction */
}

.page-download__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-download__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly transparent to allow gradient to show */
}

.page-download__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-download__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-download__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-download__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure desktop width is 100% with max-width */
  box-sizing: border-box;
}

.page-download__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
  color: #E53935;
}

.page-download__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

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

.page-download__feature-card,
.page-download__requirement-card,
.page-download__security-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-download__feature-card:hover,
.page-download__requirement-card:hover,
.page-download__security-card:hover {
  transform: translateY(-5px);
}

.page-download__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-download__feature-title,
.page-download__requirement-title,
.page-download__security-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-download__feature-text,
.page-download__requirement-list,
.page-download__security-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-download__requirement-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
}

.page-download__requirement-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-download__requirement-list li::before {
  content: '✓';
  color: #E53935;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-download__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-download__feature-list-item {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-download__feature-list-item strong {
  color: #E53935;
}

.page-download__feature-list-item::before {
  content: '•';
  color: #E53935;
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.page-download__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-download__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E0E0E0;
  text-align: left;
}

.page-download__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #FF5A4F;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-download__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E53935;
}

.page-download__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

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

.page-download__security-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-download__security-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-download__security-text a {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
}

.page-download__security-text a:hover {
  text-decoration: underline;
}

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

.page-download__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-download__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit */
}

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

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

.page-download__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-download__faq-item[open] .page-download__faq-toggle {
  content: '−';
}

.page-download__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

.page-download__faq-answer p {
  margin-top: 10px;
}

.page-download__cta-section {
  background: #E53935;
  color: #ffffff;
  padding: 100px 20px;
  border-radius: 0;
  margin-bottom: 0; /* Remove bottom margin for final CTA section */
}

.page-download__cta-section .page-download__section-title,
.page-download__cta-section .page-download__section-description {
  color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-download__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-download__hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }
}

@media (max-width: 768px) {
  .page-download__section {
    padding: 60px 15px;
  }
  .page-download__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-download__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-download__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 30px;
  }
  .page-download__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-download__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }
  .page-download__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-download__features-grid,
  .page-download__requirements-grid,
  .page-download__step-by-step,
  .page-download__security-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-download__feature-card,
  .page-download__requirement-card,
  .page-download__security-card,
  .page-download__step-card {
    padding: 25px;
  }
  .page-download__feature-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download__content-image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download__feature-title,
  .page-download__requirement-title,
  .page-download__security-title {
    font-size: 1.2rem;
  }
  .page-download__feature-text,
  .page-download__requirement-list,
  .page-download__security-text,
  .page-download__step-text {
    font-size: 0.95rem;
  }
  .page-download__feature-list-item {
    font-size: 1rem;
  }
  .page-download__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-download__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }
  .page-download__cta-section {
    padding: 60px 15px;
  }
}

/* Ensure all images are responsive */
.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile forced image styles */
@media (max-width: 768px) {
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already set on container/section */
    overflow: hidden !important; /* Ensure no overflow */
  }
}