/* ===========================
   Hero-секция с видеофоном
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.88) 0%,
    rgba(13, 13, 13, 0.65) 50%,
    rgba(13, 13, 13, 0.75) 100%
  );
  z-index: 1;
}

/* Лазерная подсветка снизу */
.hero__glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.12) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 6rem;
  padding-bottom: 4rem;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 198, 255, 0.10);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(0, 198, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 4px 16px rgba(0, 198, 255, 0.12);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  margin-bottom: 1.25rem;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 4px 24px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 198, 255, 0.12);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-blue), #7DF9FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Статистика под кнопками */
.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Полоса прокрутки вниз */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color var(--transition);
}

.hero__scroll:hover { color: var(--accent-blue); }

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 198, 255, 0.25); }
  50%       { box-shadow: 0 8px 36px rgba(0, 198, 255, 0.55), 0 0 0 6px rgba(0, 198, 255, 0.08); }
}

.hero__actions .btn-primary:first-child {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.hero__actions .btn-primary:first-child:hover {
  animation: none;
}

/* ===========================
   Адаптивность Hero
   =========================== */
@media (max-width: 768px) {
  .hero__stats {
    gap: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
