/* style/download.css */
/* Base styles for the download page, ensuring contrast with body background */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Let body handle its background */
}

/* Sections with dark background */
.page-download__dark-bg {
  background-color: #1a1a1a; /* A slightly lighter dark for content sections */
  color: #ffffff;
  padding: 60px 20px;
}

/* Sections with light background */
.page-download__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for content */
  box-sizing: border-box;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px; /* Ensure space below content */
  background-color: #0a0a0a; /* Match body background for hero */
  color: #ffffff;
}

.page-download__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Or a suitable max-width for the image */
    margin-bottom: 30px;
}

.page-download__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-download__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-download__description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't make button overflow */
}

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

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

.page-download__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-download__btn-small {
    padding: 10px 20px;
    min-width: 150px;
    font-size: 0.9em;
}

/* Section titles and intros */
.page-download__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: inherit; /* Inherit from section, will be white or dark grey */
}

.page-download__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-download__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.page-download__light-bg .page-download__feature-item {
    background-color: #f9f9f9; /* Light background for light section */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


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

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

/* Features App 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-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.page-download__light-bg .page-download__feature-detail-item {
    background-color: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-download__feature-detail-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensures no extra space below image */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-download__feature-detail-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-download__feature-detail-text {
  font-size: 1em;
  color: inherit;
}

/* How to Download Section */
.page-download__download-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-download__step-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}
.page-download__dark-bg .page-download__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.page-download__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__step-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: inherit;
}

.page-download__download-qr-code {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}


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

.page-download__security-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}
.page-download__light-bg .page-download__security-item {
    background-color: #f9f9f9;
    color: #333333;
}

.page-download__security-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__security-text {
  font-size: 1em;
  color: inherit;
}

.page-download__security-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-download__promo-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}
.page-download__dark-bg .page-download__promo-item {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.page-download__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-download__promo-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-download__promo-text {
  font-size: 1em;
  color: inherit;
}

.page-download__cta-center {
    text-align: center;
    margin-top: 40px;
}