.page-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background: #FFFFFF; /* Body background from shared.css is var(--auxiliary-color) which is #FFFFFF */
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(135deg, #017439, #005f2f); /* Gradient for hero background */
  color: #ffffff;
  padding-bottom: 60px;
}

.page-download__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop, adjusted for mobile */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Image at bottom */
}

.page-download__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  display: block;
}

.page-download__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 15px;
}

.page-download__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-download__description-text {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Button container width */
  max-width: 100%; /* Button container max-width */
  box-sizing: border-box;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  max-width: 100%; /* Button max-width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-download__btn-primary {
  background: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-download__btn-primary:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
}

.page-download__btn-secondary {
  background: transparent;
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #FFFF00;
}

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

/* Features Section */
.page-download__features-section {
  padding: 80px 0;
  background: #017439; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-download__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFFF00; /* Highlighted title */
}

.page-download__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #f0f0f0;
}

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

.page-download__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-download__feature-item img {
  width: 100%;
  
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-download__feature-item p {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-download__additional-info {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 60px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Platforms Section */
.page-download__platforms-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

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

.page-download__platform-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__platform-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #017439;
}