.page-download {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --background-dark: #0D0E12;
  --card-background: #17191F;
  --text-light: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;

  color: var(--text-light);
  background-color: var(--background-dark);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-download__hero-section,
.page-download__video-section,
.page-download__features-section,
.page-download__guide-section,
.page-download__requirements-section,
.page-download__faq-section,
.page-download__cta-section {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.page-download__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
}

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

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

.page-download__hero-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.page-download__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-download__description,
.page-download__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: var(--text-light);
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-download__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-download__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
}

.page-download__btn-primary img,
.page-download__btn-secondary img {
  margin-right: 10px;
  
  
  min-
  min-
  object-fit: contain;
  display: block;
}

.page-download__qr-code-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__qr-code {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border: 5px solid var(--text-light);
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__qr-text {
  font-size: 1em;
  color: var(--text-light);
}

.page-download__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-download__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-download__video-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-download__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.page-download__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  min-width: 200px;
  min-height: 200px;
  cursor: pointer;
}

.page-download__video-cta {
  margin-top: 20px;
  width: auto;
  min-width: 250px;
}

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

.page-download__feature-card,
.page-download__guide-card,
.page-download__requirement-card,
.page-download__faq-item {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.page-download__feature-icon,
.page-download__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-download__feature-icon {
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-download__feature-title,
.page-download__guide-title,
.page-download__requirement-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-download__feature-text {
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--text-light);
}

.page-download__guide-list,
.page-download__requirement-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-top: 15px;
  color: var(--text-light);
}

.page-download__guide-list li,
.page-download__requirement-list li {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.page-download__faq-list {
  max-width: 900px;
  width: 100%;
  margin-top: 40px;
}

.page-download__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--secondary-color);
  padding: 15px;
  background-color: rgba(255, 140, 26, 0.1);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.2);
}

.page-download__faq-qtext {
  flex-grow: 1;
  margin-right: 10px;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-download__faq-answer {
  padding: 15px;
  padding-top: 0;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-download__cta-buttons {
  margin-top: 40px;
}

.page-download__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 220px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-download {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-download__hero-section,
  .page-download__video-section,
  .page-download__features-section,
  .page-download__guide-section,
  .page-download__requirements-section,
  .page-download__faq-section,
  .page-download__cta-section {
    padding: 40px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-download__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

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

  .page-download__description,
  .page-download__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-download__download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-download__hero-image,
  .page-download__qr-code,
  .page-download__feature-icon,
  .page-download__guide-image,
  .page-download__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-download__hero-image-wrapper,
  .page-download__qr-code-wrapper,
  .page-download__video-container,
  .page-download__video-wrapper,
  .page-download__features-grid,
  .page-download__guide-steps,
  .page-download__requirements-grid,
  .page-download__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
    overflow: hidden !important;
  }

  .page-download__feature-card,
  .page-download__guide-card,
  .page-download__requirement-card,
  .page-download__faq-item {
    padding: 20px;
  }
  
  .page-download__video-section {
    padding-top: 10px !important;
  }
}