.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Dark background, so light text */
  background-color: #121212; /* Inherited from body, but good to ensure */
}

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

.page-download__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-download__section-intro {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0a2d5e 100%);
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  overflow: hidden;
}

.page-download__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-download__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 22px;
  color: #e0e0e0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color, #ffc107);
  color: #121212; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-download__cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download__cta-button--android {
  background: #4CAF50; /* Green for Android */
  color: #ffffff;
}

.page-download__cta-button--android:hover {
  background: #45a049;
}

.page-download__cta-button--ios {
  background: #007AFF; /* Blue for iOS */
  color: #ffffff;
}

.page-download__cta-button--ios:hover {
  background: #006aff;
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  z-index: 0;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Advantages Section */
.page-download__advantages-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-download__advantage-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-download__advantage-icon {
  width: 100%; /* Ensure full width within item */
  max-width: 150px; /* Limit max size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__advantage-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color, #ffc107);
  margin-bottom: 10px;
}

.page-download__advantage-description {
  font-size: 16px;
  color: #cccccc;
}

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

.page-download__guide-block {
  background: rgba(0, 123, 255, 0.1);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--primary-color, #007bff);
}

.page-download__guide-subtitle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color, #007bff);
  margin-bottom: 25px;
  text-align: center;
}

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

.page-download__guide-list li {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-download__guide-list li strong {
  color: #ffffff;
}

.page-download__guide-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color, #ffc107);
  font-weight: bold;
}

.page-download__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-download__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__feature-icon {
  width: 100%; /* Ensure full width within item */
  max-width: 180px; /* Limit max size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color, #007bff);
  margin-bottom: 10px;
}

.page-download__feature-description {
  font-size: 16px;
  color: #cccccc;
}

/* System Requirements Section */
.page-download__system-requirements-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-download__requirement-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__requirement-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color, #ffc107);
  margin-bottom: 15px;
}

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

.page-download__requirement-item li {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.page-download__requirement-item li::before {
  content: '•';
  color: var(--primary-color, #007bff);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* FAQ Section (Non-interactive for this page) */
.page-download__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-download__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-download__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-download__faq-question {
  padding: 20px;
  cursor: default; /* Not interactive, so default cursor */
  transition: background-color 0.3s ease;
}

.page-download__faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
  font-weight: bold;
}

.page-download__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #cccccc;
}

.page-download__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-download__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-download__final-cta-section .page-download__container {
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  color: #ffffff; /* Light text for dark background */
}

.page-download__final-cta-section .page-download__section-title {
  color: #ffffff;
  margin-bottom: 15px;
}

.page-download__final-cta-section .page-download__section-intro {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-download__cta-button--large {
  padding: 20px 50px;
  font-size: 20px;
  background: var(--secondary-color, #ffc107);
  color: #121212; /* Dark text for bright button */
  border-radius: 10px;
}

.page-download__cta-button--large:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* General link color for dark background */
.page-download a {
  color: var(--secondary-color, #ffc107);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-download a:hover {
  color: #e0a800;
  text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-download__main-title {
    font-size: 42px;
  }

  .page-download__hero-description {
    font-size: 20px;
  }

  .page-download__section-title {
    font-size: 32px;
  }
}

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

  .page-download__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-download__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

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

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

  .page-download__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-download__hero-image-wrapper {
    margin-top: 30px;
  }

  .page-download__hero-image,
  .page-download__advantage-icon,
  .page-download__guide-image,
  .page-download__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-download__advantages-section,
  .page-download__guide-section,
  .page-download__features-section,
  .page-download__system-requirements-section,
  .page-download__faq-section,
  .page-download__final-cta-section {
    padding: 40px 0;
  }

  .page-download__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-download__section-title {
    font-size: 28px;
    padding-top: 20px;
  }

  .page-download__section-intro {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-download__advantage-item,
  .page-download__feature-item,
  .page-download__requirement-item {
    padding: 20px;
  }

  .page-download__advantage-title {
    font-size: 20px;
  }

  .page-download__feature-title {
    font-size: 18px;
  }

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

  .page-download__guide-subtitle {
    font-size: 24px;
  }

  .page-download__guide-list li {
    font-size: 16px;
    padding-left: 25px;
  }

  .page-download__final-cta-section .page-download__container {
    padding: 40px 20px;
  }

  .page-download__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-download__main-title {
    font-size: 28px;
  }

  .page-download__hero-description {
    font-size: 16px;
  }

  .page-download__section-title {
    font-size: 24px;
  }
}