/* style/download.css */

/* --- General Page Styling --- */
.page-download {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Dark body background #0d0d0d, so light text */
  background-color: transparent; /* body background is handled by shared.css */
  line-height: 1.6;
}

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

.page-download__section {
  padding: 60px 0;
  text-align: center;
}

.page-download__section-title {
  font-size: 36px;
  color: #FFD700; /* Primary brand color for titles */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-download__section-title--light {
  color: #ffffff;
}

.page-download__section-description {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-download__section-description--light {
  color: #e0e0e0;
}

/* --- Hero Section --- */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Gradient background for hero section */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: none !important; /* Ensure no filter on images */
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__main-title {
  font-size: 48px;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 25px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-download__intro-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: #FFD700; /* Gold button */
  color: #8B0000; /* Dark red text for contrast */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-download__btn-primary:hover {
  background: #e6c200;
  color: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-download__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-download__btn-secondary:hover {
  background: #FFD700;
  color: #8B0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* --- Benefits Section --- */
.page-download__benefits-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  padding: 80px 0;
}

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

.page-download__benefit-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); /* Card background */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__benefit-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  filter: none !important; /* Ensure no filter on images */
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

.page-download__card-title {
  font-size: 24px;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__benefit-item p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

/* --- How to Download Section --- */
.page-download__how-to-download {
  padding: 80px 0;
}

.page-download__download-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
  text-align: left;
}

.page-download__platform-guide {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-download__platform-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-download__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.page-download__step-list li {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.page-download__step-list li strong {
  color: #FFD700;
}

.page-download__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: #8B0000; /* Dark red step number background */
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.page-download__platform-guide img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
  object-fit: contain;
  filter: none !important; /* Ensure no filter on images */
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

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

.page-download__download-cta p {
  font-size: 16px;
  color: #ccc;
  margin-top: 20px;
}

/* --- App Features Section --- */
.page-download__app-features {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 80px 0;
}

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

.page-download__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  filter: none !important; /* Ensure no filter on images */
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

/* --- FAQ Section --- */
.page-download__faq-section {
  padding: 80px 0;
}

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

.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}