/* Base styles for page-download */
.page-download {
  font-family: 'Arial', sans-serif;
  background-color: #0D0E12; /* Custom background color */
  color: #FFF3E6; /* Custom main text color for dark background */
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  padding-top: 10px; /* Adhering to the 8-16px top padding rule */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-download__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1; /* Ensure content is above any background elements */
  margin-top: 30px;
}

.page-download__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size with clamp */
  font-weight: 700;
  color: #FF8C1A; /* Main brand color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

.page-download__intro-text {
  font-size: 1.15rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: #FFF3E6; /* Text Main color */
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
  transition: all 0.3s ease;
  min-width: 200px; /* Ensure button minimum size */
  text-align: center;
  border: none;
  cursor: pointer;
}

.page-download__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
  opacity: 0.9;
}

/* General Section Styles */
.page-download__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: #17191F; /* Card BG color for sections */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-download__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.4);
}

.page-download__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #FFA53A; /* Auxiliary brand color */
  margin-top: 30px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-download p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #FFF3E6; /* Ensure text is readable on dark background */
}

.page-download ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-download ul li {
  font-size: 1rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFF3E6;
}

.page-download ul li::before {
  content: '✔';
  color: #FF8C1A;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-download__benefit-item {
  background-color: #0D0E12; /* Use main background for inner cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border color */
}

/* Download Guide Specific Styles */
.page-download__download-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-download__step-card {
  background-color: #0D0E12; /* Use main background for inner cards */
  padding: 30px;
  border-radius: 10px;
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C; /* Border color */
  text-align: center;
}

.page-download__step-card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  border: 1px solid #FFA53A;
}

.page-download__step-card h3 {
  color: #FFA53A;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.page-download__qr-code-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-download__qr-code-image {
  max-width: 250px;
  height: auto;
  border: 5px solid #FF8C1A;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.7);
}

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

.page-download__feature-item {
  background-color: #0D0E12;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-download__feature-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FF8C1A); /* Use drop-shadow for glow, not filter for color change */
}

.page-download__feature-item h3 {
  color: #FFA53A;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Security & Support */
.page-download__info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}