/* style/download.css */

.page-download {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but good to be explicit for context */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-download__hero-section {
  position: relative;
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
  overflow: hidden; /* For image overflow if any */
}

.page-download__hero-content {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

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

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-download__btn-primary {
  background-color: #26A9E0; /* Main color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-download__btn-primary:hover {
  background-color: #1f8ec4; /* Slightly darker */
  border-color: #1f8ec4;
}

.page-download__btn-secondary {
  background-color: #ffffff; /* Auxiliary color */
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-download__btn-secondary:hover {
  background-color: #e0e0e0; /* Slightly darker */
  border-color: #e0e0e0;
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element for centering */
  margin: 0 auto; /* Center the image */
}

/* General Section Styles */
.page-download__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff; /* Default for dark sections */
  line-height: 1.2;
}

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  opacity: 0.9;
}

.page-download__light-bg {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-download__dark-bg {
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff; /* Light text for dark background */
  padding: 60px 0;
}

.page-download__light-bg .page-download__section-title,
.page-download__light-bg .page-download__section-description,
.page-download__light-bg p,
.page-download__light-bg h3,
.page-download__light-bg li {
  color: #333333;
}

.page-download__dark-bg .page-download__section-title,
.page-download__dark-bg .page-download__section-description,
.page-download__dark-bg p,
.page-download__dark-bg h3,
.page-download__dark-bg li {
  color: #ffffff;
}

/* Why Download Section */
.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text on light card background */
}

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

.page-download__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 200px; /* Constrain icon size */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* For centering */
  margin-left: auto;
  margin-right: auto;
}

.page-download__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-download__feature-text {
  font-size: 1em;
  color: #555555;
}

/* How to Download Section */
.page-download__download-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-download__guide-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-download__guide-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 25px;
  color: #26A9E0;
  text-align: center;
}

.page-download__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-download__guide-step-item {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.5;
  padding-left: 25px;
  position: relative;
}

.page-download__guide-step-item strong {
  color: #26A9E0;
}

.page-download__guide-step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  font-weight: bold;
}

.page-download__guide-button {
  width: 100%;
  margin-top: 20px;
}

.page-download__note-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #ffffff;
  opacity: 0.8;
}

/* App Features Section */
.page-download__features-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-download__feature-detail-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-download__feature-detail-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
  text-align: center;
}

.page-download__feature-detail-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__feature-detail-list {
  list-style: none;
  padding: 0;
}

.page-download__feature-detail-list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
  padding-left: 25px;
  position: relative;
}

.page-download__feature-detail-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}