/* style/download.css */

/* Base styles for the page-download scope */
.page-download {
  color: #FFF6D6; /* Text Main color for dark body background */
  background-color: #0A0A0A; /* Background color from custom scheme */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-download__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1, H2 */
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.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 above text */
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure consistency with body background */
}

.page-download__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-download__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Use clamp for H1 */
  color: #FFD36B; /* Auxiliary color for main title */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
}

.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;
}

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

/* Buttons */
.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;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on gold button */
  border: none;
}

.page-download__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-download__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E; /* Border color */
}

.page-download__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-download__btn-full-width {
  width: 100%;
  max-width: 300px; /* Limit max width even when full width */
  margin: 10px auto;
}

/* Card styles */
.page-download__card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
}

/* Why Download Section */
.page-download__why-download-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-download__feature-item {
  text-align: center;
}

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

/* Video Section */
.page-download__video-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: #0A0A0A;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-download__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1000px; /* Max width for the video container */
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  width: 100%; /* Important for desktop flex */
}

.page-download__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicates clickable */
}

/* How to Download Section */
.page-download__how-to-download-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-download__platform-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
  flex-wrap: wrap;
}

.page-download__tab-button {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #3A2A12;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__tab-button:hover {
  background: #F2C14E;
  color: #111111;
}

.page-download__tab-button--active {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-color: transparent;
}

.page-download__download-content {
  display: none;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-download__download-content--active {
  display: flex;
}

.page-download__download-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

.page-download__step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}