.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css, which is #000000 */
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Ensure this section is dark */
}

.page-download__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-download__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for better text contrast */
  transform: scale(1.1); /* Slight zoom to cover edges */
}

.page-download__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Even darker overlay */
  z-index: 1;
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-download__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-download__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-download__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Default for dark sections */
}

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

/* Backgrounds for contrast */
.page-download__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-download__light-bg {
  background-color: #ffffff;
  color: #333333;
}
.page-download__light-bg .page-download__section-description,
.page-download__light-bg .page-download__text-block,
.page-download__light-bg .page-download__important-notes-list li p {
  color: #555555; /* Darker for light background */
}
.page-download__light-bg .page-download__section-title {
  color: #26A9E0; /* Brand color still works */
}

/* Buttons */
.page-download__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-download__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-download__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-download__benefit-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-download__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-download__benefit-icon {
  width: 100%; /* Max width for image */
  height: auto;
  max-width: 250px; /* Example display size, ensuring min 200x200 if larger */
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-download__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-download__guide-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.page-download__tab-button {
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: transparent;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex-grow: 1;
  text-align: center;
}

.page-download__tab-button.active {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-download__tab-button:hover:not(.active) {
  background-color: #0a0a0a;
}

.page-download__guide-panel {
  display: none;
  animation: fadeIn 0.5s forwards;
}

.page-download__guide-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-download__guide-subtitle {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

.page-download__guide-list {
  list-style: none;
  padding: 0;
}

.page-download__guide-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-download__step-number {
  font-weight: bold;
  color: #26A9E0;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-download__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-download__qr-code-section {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-download__qr-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-download__qr-image {
  width: 250px;
  height: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: contain; /* Use contain for QR codes */
  min-width: 200px;
  min-height: 200px;
}

.page-download__important-notes-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.page-download__important-notes-list {
  list-style-type: disc;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 25px;
  color: #f0f0f0;
}

.page-download__important-notes-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}
.page-download__important-notes-list li p {
  margin: 0; /* Reset paragraph margin inside list item */
}

/* Registration Section */
.page-download__registration-steps {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-download__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  text-align: center;
  color: #333333;
}

.page-download__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-download__step-text {
  font-size: 1em;
  margin-bottom: 25px;
  color: #555555;
}

.page-download__text-block {
  max-width: 800px;
  margin: 30px auto 0 auto;
  text-align: center;
  font-size: 1.1em;
  color: #555555;
}

/* FAQ Section */
.page-download__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-download__faq-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__faq-question:hover {
  background-color: #0a0a0a;
}

.page-download__faq-title {
  margin: 0;
  font-size: 1.1em; /* Adjust to fit within <h3> for better SEO */
  color: #ffffff;
}

.page-download__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-download__faq-item.active .page-download__faq-toggle {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px 25px;
}

.page-download__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-download__cta-section {
  text-align: center;
  padding: 60px 20px;
}

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}