.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--background-color, #ffffff);
}

.page-download__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-download__section-title {
  font-size: 36px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-title--light {
  color: #ffffff;
}

.page-download__section-intro {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-download__section-intro--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #4AD0FF);
  color: #ffffff;
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Limit hero image width */
}

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-download__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0f7fa;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-download__cta-button:hover {
  background: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why Download Section */
.page-download__why-download {
  background-color: #f8f9fa;
}

.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: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-download__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-download__feature-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__feature-description {
  font-size: 16px;
  color: #666666;
  flex-grow: 1;
}

/* Download Guide Section */
.page-download__download-guide {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-download__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
}

.page-download__guide-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__guide-heading {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
}

.page-download__guide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__guide-content img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-download__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  counter-reset: step-counter;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  font-size: 17px;
  position: relative;
  padding-left: 45px;
  color: #f0f7fa;
}

.page-download__steps-list li strong {
  color: #ffffff;
}

.page-download__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #EA7C07; /* Login color for step numbers */
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-download__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  margin-top: 20px;
}

.page-download__btn-primary:hover {
  background: #ff8c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* App Features Section */
.page-download__app-features {
  background-color: #ffffff;
}

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

.page-download__feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download__feature-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-download__feature-card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__feature-card-description {
  font-size: 16px;
  color: #666666;
  flex-grow: 1;
}

/* Exclusive Offers Section */
.page-download__exclusive-offers {
  background-color: #e0f7fa;
}

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

.page-download__offer-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-download__offer-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download__offer-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-download__offer-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download__offer-description {
  font-size: 16px;
  color: #666666;
  flex-grow: 1;
}

.page-download__cta-bottom {
  margin-top: 60px;
}

/* System Requirements Section */
.page-download__system-requirements {
    background-color: #f0f8ff;
}

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

.page-download__requirement-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-download__requirement-heading {
    font-size: 26px;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

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

.page-download__requirement-list li {
    font-size: 17px;
    color: #555555;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-download__requirement-list li::before {
    content: '✓';
    color: #EA7C07;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-download__compatibility-note {
    margin-top: 40px;
    font-size: 17px;
    color: #666666;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-download__faq-section {
  background-color: #f8f9fa;
}

.page-download__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #ffffff;
  color: #444444;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, value large enough */
  padding: 20px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-download__faq-question:hover {
  background: #1e88e5;
  border-color: #1e88e5;
}

.page-download__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

/* Final CTA Section */
.page-download__cta-final {
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  padding: 80px 0;
}

/* General Image Styling */
.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Dark Background Styling */
.page-download__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-download__dark-bg .page-download__section-title {
  color: #ffffff;
}

.page-download__dark-bg .page-download__section-intro {
  color: #e0f7fa;
}