/* style/download.css */

/* Base styles for the page content */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background for the main content area */
}

/* Fixed header offset */
.page-download__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Containers for content sections */
.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-download__introduction-section,
.page-download__guide-section,
.page-download__promotions-section,
.page-download__conclusion-section {
  background-color: #ffffff; /* Light background for these sections */
  color: #333333;
  padding: 60px 0;
}

.page-download__why-download-section,
.page-download__features-section,
.page-download__faq-section {
  background-color: #26A9E0; /* Primary brand color background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

/* Hero Section */
.page-download__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Gradient using brand color */
  color: #ffffff;
  padding-bottom: 60px;
  gap: 30px;
}

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

.page-download__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-download__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-download__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-download__btn-large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Section Titles */
.page-download__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-download__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Why Download Section */
.page-download__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-download__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-download__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); /* Add glow effect for icons on dark background */
}

.page-download__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-download__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Download Guide Section */
.page-download__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer; /* Indicate it's clickable */
  object-fit: cover;
}

.page-download__video-caption {
  text-align: center;
  font-style: italic;
  margin-bottom: 40px;
  color: #555555;
}

.page-download__download-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.page-download__step-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-download__step-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-download__step-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-download__note-list {
  list-style: disc;
}