/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif; /* Inter для основного текста */
  background-color: #1a2a44;
  color: #ffffff;
  line-height: 1.6;
}

/* Навигация */
header {
  background: #1a2a44;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: #d3d8e0;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #3498db;
}

/* Главная секция */
.hero {
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px; /* Уменьшенный размер для подзаголовка */
  color: #ffffff;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #3498db;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: #3498db;
  color: #ffffff;
}

/* Новый блок #mind-evolution */
.mind-evolution-section {
  position: relative;
  background: #333333; /* Тёмно-серый фон */
  color: #ffffff; /* Белый цвет текста */
  padding: 60px 20px; /* Соответствует padding других секций */
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* Для стрелок */
}

.mind-evolution-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1; /* Чтобы контент был выше стрелок */
}

.mind-evolution-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.mind-evolution-section .text-content {
  max-width: 50%;
}

.mind-evolution-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; /* Меньше, чем в .hero, чтобы соответствовать пропорциям */
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* Белый цвет заголовка */
}

.mind-evolution-section .hero-button {
  background-color: #f5d7a3; /* Бежевый фон кнопки */
  color: #1a2a44; /* Тёмный текст на кнопке */
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.mind-evolution-section .hero-button:hover {
  background: #3498db; /* Синий фон при наведении */
  color: #ffffff; /* Белый текст при наведении */
}

.mind-evolution-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff; /* Белый цвет текста */
}

.mind-evolution-section .link {
  font-family: 'Inter', sans-serif;
  color: #f5d7a3; /* Бежевый цвет для ссылок */
  text-decoration: underline;
  transition: color 0.3s;
}

.mind-evolution-section .link:hover {
  color: #3498db; /* Синий цвет при наведении */
}

.mind-evolution-section .image-content img {
  max-width: 100%;
  height: auto;
}

/* Стрелки */
.mind-evolution-section .arrow {
  position: absolute;
  width: 225px; /* Размер можно скорректировать, если нужно */
  height: 450px; /* Размер можно скорректировать, если нужно */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0; /* Стрелки ниже контента */
}

/* Все стрелки — с новым изображением */
.mind-evolution-section .arrow-beige {
  background-image: url('new-arrow.png'); /* Новое изображение */
}

/* Позиции и анимация для каждой стрелки */
.mind-evolution-section .arrow-1 {
  left: calc(50% - 15% + 20% + 10%); /* Сдвиг вправо на 20% */
  animation: moveUp 67.2s linear infinite;
  animation-delay: 0s;
}

.mind-evolution-section .arrow-2 {
  left: calc(50% - 15% + 20% + 25%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 10s;
}

.mind-evolution-section .arrow-3 {
  left: calc(50% - 15% + 20% + 40%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 20s;
}

.mind-evolution-section .arrow-4 {
  left: calc(50% - 15% + 20% + 55%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 30s;
}

.mind-evolution-section .arrow-5 {
  left: calc(50% - 15% + 20% + 70%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 40s;
}

.mind-evolution-section .arrow-6 {
  left: calc(50% - 15% + 20% + 85%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 50s;
}

.mind-evolution-section .arrow-7 {
  left: calc(50% - 15% + 20% + 100%);
  animation: moveUp 67.2s linear infinite;
  animation-delay: 60s;
}

/* Анимация движения снизу вверх, начиная с середины блока */
@keyframes moveUp {
  0% {
    top: 50vh; /* Начало с середины блока */
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    top: -450px; /* Уход за верхнюю границу (учитывая высоту стрелки) */
    opacity: 0;
  }
}

/* Новый блок #steps */
#steps {
  padding: 60px 20px;
  background: #1a3c34; /* Темный фон, как в #what-is и #efficiency */
  color: #ffffff;
  text-align: center;
}

#steps h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  background: #2a5c54; /* Чуть светлее фона секции, как в #what-is .problem */
  border-radius: 10px;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #3498db; /* Акцентный цвет сайта */
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 20px;
}

.step-content {
  flex: 1;
  text-align: left;
}

.step-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 16px;
  color: #d3d8e0; /* Светлый текст для контраста */
}

#steps .hero-button {
  margin-top: 30px;
  background-color: #f5d7a3; /* Цвет кнопки, как в #mind-evolution */
  color: #1a2a44;
}

#steps .hero-button:hover {
  background: #3498db;
  color: #ffffff;
}

/* Секции */
section {
  padding: 60px 20px;
  background: #ffffff;
  color: #1a2a44;
}

#what-is, #efficiency {
  background: #1a3c34;
  color: #ffffff;
}

section h2 {
  font-family: 'Playfair Display', serif; /* Playfair Display для h2 */
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
  color: #1a2a44;
}

#what-is h2, #efficiency h2 {
  color: #ffffff;
}

.section-image {
  display: block;
  max-width: 400px;
  height: auto;
  margin: 20px auto;
  border-radius: 10px;
}

/* Обтекание текстом для изображения в #what-is */
#what-is .float-image {
  max-width: 500px; /* Увеличено с 400px */
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

#what-is .text-wrapper {
  overflow: hidden; /* Для корректного обтекания */
}

.problems-container, .services-container, .pricing-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.problems-container, .services-container {
  flex-wrap: wrap;
}

.pricing-container {
  flex-wrap: nowrap;
}

.problem, .service, .pricing-plan {
  background: #f7f9fc;
  padding: 20px;
  border-radius: 10px;
  width: 30%;
  transition: transform 0.3s;
}

#what-is .problem, #efficiency .problem {
  background: #2a5c54;
}

.problem:hover, .service:hover, .pricing-plan:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.problem h3, .service h3, .pricing-plan h3 {
  font-family: 'Playfair Display', serif; /* Playfair Display для h3 */
  font-size: 24px;
  margin-bottom: 10px;
  color: #1a2a44;
}

.problem p, .service p, .pricing-plan p {
  font-size: 16px;
  color: #1a2a44;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: #3498db;
  margin: 10px 0;
}

.pricing-plan ul {
  list-style: none;
  margin: 10px 0;
}

.pricing-plan ul li {
  margin: 5px 0;
  color: #1a2a44;
}

.popular {
  border: 2px solid #3498db;
}

/* Кнопка */
.button {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: background 0.3s;
}

.button:hover {
  background: #2980b9;
}

/* Контакты */
#contact {
  text-align: center;
}

/* Подвал */
footer {
  background: #1a2a44;
  padding: 20px;
  text-align: center;
  color: #d3d8e0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .mind-evolution-content {
    flex-direction: column;
    text-align: center;
  }

  .mind-evolution-section .text-content {
    max-width: 100%;
  }

  .mind-evolution-section .image-content {
    margin-top: 20px;
  }

  .mind-evolution-section .arrow {
    display: none; /* Скрываем стрелки на мобильных */
  }

  .mind-evolution-section h1 {
    font-size: 28px; /* Уменьшаем заголовок на мобильных */
  }

  /* Отключаем обтекание на мобильных */
  #what-is .float-image {
    float: none;
    margin: 20px auto;
  }

  /* Адаптивность для #steps */
  .step {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .step-number {
    margin: 0 auto 15px;
  }

  .step-content {
    text-align: center;
  }
}