/* style/download.css */

/* General styles for the page-download scope */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: transparent; /* Body background handled by shared.css var(--page-bg) */
}

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

.page-download__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure no image overflow */
  background-color: #0A0A0A; /* Matches body bg */
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and content */
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-download__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-download__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 0.02em;
}

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

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  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: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text on bright button */
  border: 2px solid transparent;
}

.page-download__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-download__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Brand color text */
  border: 2px solid #F2C14E;
}

.page-download__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text on brand color background */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

/* Features Section */
.page-download__features-section {
  padding: 80px 0;
}

.page-download__dark-section {
  background-color: #0A0A0A; /* Background color for dark sections */
}

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

.page-download__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 211, 107, 0.3); /* Glow */
}

.page-download__feature-icon {
  width: 200px; /* Min display size */
  height: 150px; /* Min display size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-download__feature-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary color for sub-titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* How to Download Section */
.page-download__how-to-download-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG for this section */
}

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

.page-download__step-card {
  background-color: #0A0A0A; /* Background for steps */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-download__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 211, 107, 0.4);
}

.page-download__step-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-download__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

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

/* Supported Devices Section */
.page-download__supported-devices-section {
  padding: 80px 0;
}

.page-download__device-compatibility {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-download__device-card {
  background-color: #111111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3A2A12;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}