/* style/index-how-it-works.css */
.page-index-how-it-works {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark backgrounds */
}

.page-index-how-it-works__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-how-it-works__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3454 100%); /* Darker gradient for hero */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF; /* White text on dark hero */
}

.page-index-how-it-works__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFFFFF; /* White title */
}

.page-index-how-it-works__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0; /* Light gray subtitle */
}

.page-index-how-it-works__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-how-it-works__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.page-index-how-it-works__btn--primary {
  background-color: #64FFDA;
  color: #0A192F;
  border: 2px solid #64FFDA;
}

.page-index-how-it-works__btn--primary:hover {
  background-color: #46e0c0;
  border-color: #46e0c0;
}

.page-index-how-it-works__btn--secondary {
  background-color: transparent;
  color: #64FFDA;
  border: 2px solid #64FFDA;
}

.page-index-how-it-works__btn--secondary:hover {
  background-color: #64FFDA;
  color: #0A192F;
}

.page-index-how-it-works__btn--accent {
  background-color: #64FFDA;
  color: #0A192F;
  border: 2px solid #64FFDA;
  margin-top: 20px;
}

.page-index-how-it-works__btn--accent:hover {
  background-color: #46e0c0;
  border-color: #46e0c0;
}

.page-index-how-it-works__btn--accent-outline {
  background-color: transparent;
  color: #64FFDA;
  border: 2px solid #64FFDA;
  margin-top: 20px;
}

.page-index-how-it-works__btn--accent-outline:hover {
  background-color: #64FFDA;
  color: #0A192F;
}

.page-index-how-it-works__section {
  padding: 80px 0;
}

.page-index-how-it-works__section--white-bg {
  background-color: #F0F2F5; /* Light background for contrast */
  color: #0A192F; /* Dark text on light background */
}

.page-index-how-it-works__section--dark-bg {
  background-color: #0A192F;
  color: #E0E0E0; /* Light text on dark background */
}

.page-index-how-it-works__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  color: inherit; /* Inherit color from section background */
}

.page-index-how-it-works__step-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-index-how-it-works__step-content--reverse {
  flex-direction: row-reverse;
}

.page-index-how-it-works__step-text {
  flex: 1;
}

.page-index-how-it-works__step-image {
  flex: 1;
  text-align: center;
}

.page-index-how-it-works__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-how-it-works__step-subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: inherit;
}

.page-index-how-it-works__step-text p {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.8;
  color: inherit;
}

.page-index-how-it-works__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
}

.page-index-how-it-works__feature-item {
  background-color: #FFFFFF; /* White background for feature items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #0A192F; /* Dark text on white background */
}

.page-index-how-it-works__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index-how-it-works__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 600;
  color: #0A192F;
}

.page-index-how-it-works__feature-item p {
  font-size: 1em;
  color: #333;
}

.page-index-how-it-works__cta-final {
  background-color: #0A192F; /* Dark background for final CTA */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-index-how-it-works__cta-final-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-index-how-it-works__cta-final-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0;
}

.page-index-how-it-works .highlight {
  color: #64FFDA;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-how-it-works__title {
    font-size: 2.5em;
  }
  .page-index-how-it-works__section-title {
    font-size: 2em;
  }
  .page-index-how-it-works__step-subtitle {
    font-size: 1.5em;
  }
  .page-index-how-it-works__step-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-how-it-works__step-content--reverse {
    flex-direction: column;
  }
  .page-index-how-it-works__step-image {
    order: -1; /* Image first on mobile for reverse layout */
    margin-bottom: 30px;
  }
  .page-index-how-it-works__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-how-it-works__btn {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-index-how-it-works__hero-section,
  .page-index-how-it-works__section,
  .page-index-how-it-works__cta-final {
    padding: 60px 0;
  }
  .page-index-how-it-works__title {
    font-size: 2em;
  }
  .page-index-how-it-works__subtitle {
    font-size: 1.1em;
  }
  .page-index-how-it-works__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-index-how-it-works__step-subtitle {
    font-size: 1.3em;
  }
  .page-index-how-it-works__step-text p {
    font-size: 1em;
  }
  .page-index-how-it-works__feature-item {
    padding: 20px;
  }
  .page-index-how-it-works__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-index-how-it-works__feature-title {
    font-size: 1.4em;
  }
  .page-index-how-it-works__cta-final-title {
    font-size: 2.2em;
  }
  .page-index-how-it-works__cta-final-text {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-how-it-works__title {
    font-size: 1.8em;
  }
  .page-index-how-it-works__section-title {
    font-size: 1.6em;
  }
  .page-index-how-it-works__btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-index-how-it-works__container {
    padding: 0 15px;
  }
}