/* Base styles for the download page */
.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: #F5F7FA; /* Body background color */
  padding-top: 10px; /* Small top padding, assuming body has --header-offset */
}

/* Hero Section */
.page-download__hero-section {
  display: flex;
  flex-direction: column; /* Image above text for initial structure */
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand colors for hero background */
  color: #ffffff; /* White text for dark background */
  margin-bottom: 30px;
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 800px; /* Max width for hero image */
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

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

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

.page-download__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 clamp font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.page-download__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
  text-align: center;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-download__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-download__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-download__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-download__btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* General Section Styles */
.page-download__why-download-section,
.page-download__how-to-download-section,
.page-download__system-requirements,
.page-download__security-info-section,
.page-download__promotions-section,
.page-download__faq-section,
.page-download__cta-final {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.page-download__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #E53935;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}