.language-block {
  /* background: linear-gradient(180deg, #F7FBFF 0%, #EAF3FF 100%); */
  padding: 110px 0 20px 0;
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.language-block .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.language-block .pretitle {
  color: #000;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: bold;
  /* text-transform: uppercase; */
  /* letter-spacing: 1px; */
}

.language-block h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  color: #1189BF; 
}

.features {
  background: linear-gradient(180deg, #fff 0%, #fff 100%);
  list-style: none;
  margin-bottom: 45px;
  padding: 0;
  counter-reset: feature-counter;
}

.features li {
  padding-left: 55px;
  margin-bottom: 22px;
  font-size: 22px;
  position: relative;
  color: #000;
  line-height: 1.6;
  font-weight: 300;
  min-height: 48px;
  display: flex;
  align-items: center;
  counter-increment: feature-counter;
  transition: all 0.3s ease;
}

.features li:hover {
  transform: translateX(8px);
}

/* Контейнер для иконки */
.feature-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05); */
  z-index: 1;
}

/* Стили для PNG-изображений */
.feature-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Убираем псевдоэлемент ::before */
.features li::before {
  display: none;
}

/* Стили для текста */
.feature-text {
  flex: 1;
  font-size: 22px;
  color: #000;
}

.feature-text span {
  font-weight: 600;
  color: #000;
}

/* Если картинка не загрузилась - показываем эмодзи */
.feature-icon-img:not([src]), 
.feature-icon-img[src=""], 
.feature-icon-img[src*="undefined"] {
  display: none;
}

.feature-icon:has(.feature-icon-img:not([src])),
.feature-icon:has(.feature-icon-img[src=""]),
.feature-icon:has(.feature-icon-img[src*="undefined"]) {
  background: #e2e8f0;
}

.feature-icon:has(.feature-icon-img:not([src]))::after,
.feature-icon:has(.feature-icon-img[src=""])::after,
.feature-icon:has(.feature-icon-img[src*="undefined"])::after {
  content: "✓";
  font-size: 24px;
  color: #2563eb;
}

/* Адаптивность */
@media (max-width: 768px) {
  .content {
    padding-top: 50px;
  }
  .features li {
    padding-left: 60px;
    font-size: 18px;
    min-height: 50px;
  }
  
  .feature-icon {
    width: 46px;
    height: 46px;
  }
  
  .feature-icon-img {
    width: 24px;
    height: 24px;
  }
  
  .feature-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .features li {
    padding-left: 50px;
    font-size: 16px;
    margin-bottom: 18px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-icon-img {
    width: 22px;
    height: 22px;
  }
  
  .feature-text {
    font-size: 16px;
  }
}

.language-block .image img {
  width: 100%;
  border-radius: 28px;
  /* box-shadow: 0 25px 50px rgba(0,0,0,.12);
  transition: transform 0.3s ease; */
}

.language-block .image img:hover {
  transform: translateY(-5px);
}

/* Стили для кнопки с анимированным блеском */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #FDBD24, #FDBD24);
  border: none;
  border-radius: 40px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(253, 189, 36, 0.3);
}

/* Основной эффект блеска (серебристый) */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: silverShine 4s infinite;
  z-index: 2;
  pointer-events: none;
}

/* Анимация движения блеска */
@keyframes silverShine {
  0% {
    left: -150%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Второй блеск для большего эффекта */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(25deg);
  animation: silverShine2 4s infinite 2s;
  z-index: 2;
  pointer-events: none;
}

@keyframes silverShine2 {
  0% {
    left: -100%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* Эффект при наведении - ускорение блеска */
.btn-primary:hover::before {
  animation: silverShine 2s infinite;
}

.btn-primary:hover::after {
  animation: silverShine2 4s infinite 2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(253, 189, 36, 0.5);
}

/* Эффект при нажатии */
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(253, 189, 36, 0.3);
}

/* Свечение при фокусе */
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(253, 189, 36, 0.5), 0 4px 15px rgba(253, 189, 36, 0.3);
}

/* Иконка в кнопке */
.btn-primary i {
  transition: transform 0.3s ease;
  margin-right: 8px;
}

.btn-primary:hover i {
  transform: translateX(3px);
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
  }
}
/* Мобильная версия */
@media (max-width: 900px) {
  .language-block {
    padding: 40px 0;
    min-height: auto;
  }
  
  .language-block .container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 15px;
  }

  .language-block h1 {
    font-size: 34px;
  }
  
  .language-block .pretitle {
    font-size: 13px;
  }
  
  .features li {
    font-size: 16px;
  }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .language-block {
    padding: 30px 0;
  }
  
  .language-block .container {
    gap: 30px;
  }
  
  .language-block h1 {
    font-size: 28px;
  }
  
  .features li {
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 28px;
  }
  
  .features li::before {
    font-size: 16px;
  }

  .feature-text{
    padding-inline-start: 10%;
  }
  
  .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
  }
}