/* style/download.css */

/* --- Base Styles --- */
.page-download {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small padding-top for the first content block, body handles --header-offset */
}

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

.page-download__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Clamp for H2 */
  font-weight: 700;
  text-align: center;
  color: #F2C14E; /* Main color for titles */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

/* --- Hero Section --- */
.page-download__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: var(--header-offset, 120px); /* Desktop: header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Gradient for hero background */
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height of image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-download__hero-content {
  position: relative; /* Not absolute, to flow below image */
  text-align: center;
  z-index: 2;
  color: #0A0A0A; /* Dark text for light gradient background */
}

.page-download__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Clamp for H1 */
  font-weight: 800;
  margin-bottom: 15px;
  color: #0A0A0A; /* Dark text for light gradient background */
  line-height: 1.1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #111111; /* Darker text for readability */
}

.page-download__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-download__qr-codes {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-download__qr-code-item {
  text-align: center;
  color: #0A0A0A; /* Dark text for light gradient background */
}

.page-download__qr-code-item img {
  border: 5px solid #0A0A0A; /* Dark border for QR codes */
  border-radius: 10px;
  min-
  min-
   /* Fixed size for QR codes */
   /* Fixed size for QR codes */
  object-fit: contain;
  margin-bottom: 10px;
}

/* --- Buttons --- */
.page-download__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #F2C14E; /* Main color for secondary button text */
  text-decoration: none;
  border: 2px solid #F2C14E; /* Border color */
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-secondary:hover {
  background-color: #F2C14E; /* Main color for hover background */
  color: #0A0A0A; /* Dark text for hover */
}

/* --- Card Styles --- */
.page-download__card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main for card content */
  border: 1px solid #3A2A12; /* Border */
}

.page-download__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-download__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-download__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color for card titles */
  margin-bottom: 15px;
}

.page-download__card-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

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

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

/* --- Download Guide Section --- */
.page-download__download-guide-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for contrast */
}

.page-download__download-steps {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-download__step-block {
  flex: 1;
  min-width: 300px;
  background: #0A0A0A; /* Background for step blocks */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-download__step-title {
  font-size: 1.8em;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  text-align: center;
}

.page-download__step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__step-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #3A2A12; /* Border */
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
}

.page-download__step-content ol {
  list-style-type: decimal;
  padding-left: 25px;
  text-align: left;
  margin-top: 20px;
}

.page-download__step-content li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #FFF6D6; /* Text Main */
}

.page-download__download-cta {
  margin-top: 60px;
}

/* --- Features Section --- */
.page-download__features-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-download__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
}

.page-download__feature-icon {
  width: 100px; /* Fixed size for feature icons */
  height: 100px; /* Fixed size for feature icons */
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Glow effect */
  min-width: 100px; /* Min size */
  min-height: 100px; /* Min size */
}

.page-download__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-download__feature-text {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

/* --- Comparison Section --- */
.page-download__comparison-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for contrast */
}

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

.page-download__comparison-item {
  background: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
  text-align: left;
}

.page-download__comparison-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  text-align: center;
}

.page-download__comparison-item ul {
  list-style: none;
  padding: 0;
}

.page-download__comparison-item li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

.page-download__comparison-item li::before {
  content: '✓';
  color: #FFD36B; /* Auxiliary color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-download__comparison-conclusion {
  margin-top: 40px;
  font-size: 1.1em;
  text-align: center;
  color: #F2C14E; /* Main color for conclusion */
  font-weight: bold;
}

/* --- Troubleshooting Section --- */
.page-download__troubleshooting-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-download__troubleshooting-item {
  background: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF6D6; /* Text Main */
  text-align: left;
}

.page-download__troubleshooting-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-download__troubleshooting-text {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
}

/* --- FAQ Section --- */
.page-download__faq-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for contrast */
}

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

.page-download__faq-item {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: #0A0A0A; /* Background */
  color: #F2C14E; /* Main color for question */
  font-weight: bold;
  font-size: 1.15em;
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: #111111; /* Slightly darker on hover */
}

.page-download__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Keep h3 font size controlled */
  color: inherit;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color for toggle icon */
}

.page-download__faq-item.active .page-download__faq-toggle {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main for answer */
  background: #111111; /* Card BG for answer background */
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px 25px;
}

.page-download__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* --- CTA Section --- */
.page-download__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Gradient background */
  color: #0A0A0A; /* Dark text for light gradient background */
}

.page-download__cta-section .page-download__section-title,
.page-download__cta-section .page-download__section-description {
  color: #0A0A0A; /* Dark text */
}

.page-download__cta-section .page-download__btn-primary {
  color: #0A0A0A; /* Dark text for primary button */
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
}

.page-download__cta-section .page-download__btn-secondary {
  color: #0A0A0A; /* Dark text for secondary button */
  border-color: #0A0A0A; /* Dark border for secondary button */
}

.page-download__cta-section .page-download__btn-secondary:hover {
  background-color: #0A0A0A; /* Dark background on hover */
  color: #F2C14E; /* Main color for text on hover */
}

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

  .page-download__hero-description {
    font-size: 1.1em;
  }

  .page-download__benefits-grid,
  .page-download__features-grid,
  .page-download__comparison-grid,
  .page-download__troubleshooting-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-download__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: shared header offset */
    padding-bottom: 40px;
  }

  .page-download__hero-image-wrapper {
    max-height: 50vh;
  }

  .page-download__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    max-width: 90%;
  }

  .page-download__hero-description {
    font-size: 1em;
    max-width: 90%;
  }

  .page-download__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download a[class*="button"],
  .page-download a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-download__qr-codes {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-download__qr-code-item img {
    min- /* Adjust min size for smaller screens if necessary */
    min-
    
    
  }

  .page-download__section-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    padding: 0 15px;
  }

  .page-download__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-download__benefits-section,
  .page-download__download-guide-section,
  .page-download__features-section,
  .page-download__comparison-section,
  .page-download__troubleshooting-section,
  .page-download__faq-section,
  .page-download__cta-section {
    padding: 40px 0;
  }
}