:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-card-dark: rgba(255, 255, 255, 0.08);
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

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

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

/* Fixed Navbar Spacing */
.page-download__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a30000 100%);
  position: relative;
  overflow: hidden;
}

.page-download__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-download__main-title {
  font-size: 3.2em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-download__hero-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-download__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__cta-button--primary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-download__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-download__cta-button--secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-download__cta-button--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-download__section-title {
  font-size: 2.5em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-download__section-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__dark-bg {
  background-color: var(--background-dark);
  padding: 80px 0;
}

.page-download__platforms-section {
  padding: 80px 0;
}

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

.page-download__platform-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: var(--background-card-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

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

.page-download__platform-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); /* Subtle glow for icons */
}

.page-download__platform-name {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download__platform-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

.page-download__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary:hover {
  background: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-download__qr-code {
  margin-top: 30px;
}

.page-download__qr-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border: 5px solid var(--text-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-download__qr-text {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

.page-download__guide-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-download__guide-item {
  padding: 30px;
  border-radius: 10px;
  background: var(--background-card-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
}

.page-download__guide-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
}

.page-download__guide-list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
}

.page-download__guide-list li p {
  margin: 0;
  color: inherit;
}

.page-download__guide-list li a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-download__guide-list li a:hover {
  color: #e6c200;
}

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

.page-download__benefits-section {
  padding: 80px 0;
}

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

.page-download__benefit-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: var(--background-card-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

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

.page-download__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(204, 0, 0, 0.4)); /* Subtle glow for icons */
}

.page-download__benefit-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download__benefit-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
}

.page-download__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-card-dark);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-download__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-download__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-download__faq-item.active .page-download__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color-dark);
}

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

.page-download__faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-download__faq-answer a:hover {
  color: #e6c200;
}

.page-download__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #a30000 0%, var(--primary-color) 100%);
}

.page-download__cta-bottom-title {
  font-size: 2.8em;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-download__cta-bottom-description {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    padding-bottom: 40px;
  }

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

  .page-download__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-download__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-download__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-download__dark-bg,
  .page-download__platforms-section,
  .page-download__guide-section,
  .page-download__benefits-section,
  .page-download__faq-section,
  .page-download__cta-bottom-section {
    padding: 50px 0;
  }

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

  .page-download__platform-item,
  .page-download__guide-item,
  .page-download__benefit-item {
    padding: 25px;
  }

  .page-download__platform-icon {
    width: 100px;
    height: 100px;
  }

  .page-download__platform-name {
    font-size: 1.5em;
  }

  .page-download__platform-text {
    font-size: 0.95em;
  }

  .page-download__qr-image {
    width: 150px;
    height: 150px;
  }

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

  .page-download__guide-list {
    padding-left: 20px;
  }

  .page-download__guide-list li,
  .page-download__benefit-text {
    font-size: 0.95em;
  }

  .page-download__benefit-icon {
    width: 90px;
    height: 90px;
  }

  .page-download__benefit-title {
    font-size: 1.3em;
  }

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

  .page-download__faq-question h3 {
    font-size: 1em;
  }

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

  .page-download__faq-item.active .page-download__faq-answer {
    padding: 15px 20px !important;
  }

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

  .page-download__cta-bottom-description {
    font-size: 1em;
  }

  /* Ensure all images and containers are responsive */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-download__hero-section,
  .page-download__platforms-section,
  .page-download__guide-section,
  .page-download__benefits-section,
  .page-download__faq-section,
  .page-download__cta-bottom-section,
  .page-download__platform-grid,
  .page-download__platform-item,
  .page-download__guide-steps,
  .page-download__guide-item,
  .page-download__benefits-grid,
  .page-download__benefit-item,
  .page-download__faq-list,
  .page-download__faq-item,
  .page-download__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}