

.hero-bg {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0.01;
    z-index: -1;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.7;
}

.badges {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.badges img {
    height: 70px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badges a:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* индивидуальная верхняя линия */
.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, #66A8F3, #8A3FFC);
  opacity: 0.9;
}

/* слегка разная окраска для каждой карточки */
.stat-item:nth-child(1)::before { background: linear-gradient(90deg, #00C6FF, #0072FF); }
.stat-item:nth-child(2)::before { background: linear-gradient(90deg, #9C6BFF, #66A8F3); }
.stat-item:nth-child(3)::before { background: linear-gradient(90deg, #FF00CC, #6600FF); }
.stat-item:nth-child(4)::before { background: linear-gradient(90deg, #5B8EFF, #00C6FF); }

.stat-item:hover {
  transform: translateY(-4px);
}

/* нижняя часть */
.stat-sub {
  font-size: 18px;
  color: #C0BECE;
  opacity: 0.8;
  line-height: 1.5;
  margin-top: 24px;
  text-align: left;
}

/* адаптив */
@media (max-width: 900px) {
  .hero-stats-inline {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .hero-stats-inline {
    grid-template-columns: 1fr;
  }
}


/* === Новый Hero в стиле MIXON AI === */
.modern-hero {
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #1e005b 0%, #0c0c0c 60%);
  color: #fff;
  overflow: hidden;
}

.hero-top-label {
  position: relative;
  display: inline-block;
  font-size: 18px;
  letter-spacing: normal;
  font-weight: 700;
  background: linear-gradient(90deg, #66A8F3, #009DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-top-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 180px; /* или 160%, если адаптивнее */
  height: 2px;
  background: radial-gradient(
    90% 80% at 50% 50%,       /* эллиптическая форма */
    rgba(67, 100, 247, 1) 0%, /* #4364F7 — яркий центр */
    rgba(67, 100, 247, 0.4) 35%,
    rgba(67, 100, 247, 0.1) 60%,
    rgba(67, 100, 247, 0) 100%
  );
  filter: drop-shadow(0 3px 8px rgba(67, 100, 247, 0.6));
  border-radius: 1px;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #ffffff, #bcb8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 48px;
}

.modern-hero .btn.large {
  background: linear-gradient(90deg, #66A8F3, #4364F7, #0052D4);
  color: #fff;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 40px;
  box-shadow: 0 0 25px rgba(136, 70, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-hero .btn.large:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(136, 70, 255, 0.7);
}

/* Inline stats */
.hero-stats-inline {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 80px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.hero-stats-inline .stat-item {
  text-align: center;
}

.hero-stats-inline .stat-value {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 6px;
  color: white;
}

.hero-stats-inline .stat-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* адаптив */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .hero-stats-inline {
    flex-direction: column;
    gap: 28px;
    margin-top: 60px;
  }

  .hero-stats-inline .stat-value {
    font-size: 36px;
  }
}