/* ===========================
   Index page specific styles
   (Features, How it works, CTA)
   =========================== */

/* ===== Features (page-specific) ===== */
#features {
  background-color: #ffffff;
  padding: 80px 16px;
}
.features-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 32px;
  color: var(--dark-text);
}
.section-header p {
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background-color: var(--white-text);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--light-blue-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 {
  color: var(--dark-text);
  font-size: 20px;
  font-weight: 600;
}
.feature-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== How it works (page-specific) ===== */
#how-it-works {
  background-color: var(--light-gray-bg);
  padding: 80px 16px;
}
.how-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.step-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.step-item h3 {
  color: var(--dark-text);
  font-size: 20px;
  font-weight: 600;
}
.step-item p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
  max-width: 390px;
}

@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 48px;
  }
}

/* ===== CTA (page-specific) ===== */
#cta {
  background: linear-gradient(90deg, #055ade 0%, #044bb8 100%);
  padding: 80px 16px 112px;
  color: var(--white-text);
}
.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
#cta h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}
#cta p {
  font-size: 20px;
  line-height: 28px;
  color: var(--light-blue-bg);
}
#cta p strong {
  color: var(--white-text);
}
