/* Стили для главной страницы */

/* Улучшенная версия заголовка главной страницы */
.hero-section.hero-home {
  padding: 6rem 0;
  background: var(--intro-btn-url), url('../img/intro-bg.png');
  background-position:
    center right,
    center;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
}

@media (width <= 768px) {
  .hero-section.hero-home {
    background: var(--intro-btn-url), url('../img/intro-bg-mob.png');
    background-position:
      center right,
      center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
  }
}

.hero-home .hero-content {
  z-index: 1;
  position: relative;
}

.hero-home .hero-description {
  max-width: 600px;
  margin: 0 auto;
}

/* Секция с фичами */
.feature-card {
  height: 100%;
}

.feature-card .card-header {
  font-weight: bold;
  font-size: 1.1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Секция с шагами */
.how-it-works {
  position: relative;
  padding: 5rem 0;
  background-color: var(--light-color);
}

.step-card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
  background-color: white;
  position: relative;
  z-index: 1;
  height: 100%;
  transition: box-shadow 0.3s;
}

.step-card:hover {
  box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step-connection {
  position: absolute;
  height: 2px;
  background-color: var(--primary-color);
  top: 100px;
  left: 45px;
  right: 45px;
  z-index: 0;
}

/* Секция с призывом к действию (CTA) */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0b5ed7 100%);
  color: white;
  padding: 5rem 0;
  position: relative;
}

.btn-light-outline {
  color: white;
  border-color: white;
}

.btn-light-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* FAQ секция */
.faq-section {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

/* Адаптивный дизайн */
@media (width <= 991.98px) {
  .hero-section.hero-home::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 40%);
  }

  .step-connection {
    display: none;
  }
}

@media (width <= 767.98px) {
  .hero-section.hero-home {
    padding: 4rem 0;
  }

  .step-card {
    margin-bottom: 1.5rem;
  }

  .stats-value {
    font-size: 2rem;
  }
}
