.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  margin-top: -110px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.6) 45%, rgba(2, 6, 23, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-top: 120px;
  text-align: left;
  animation: heroFadeUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin-bottom: 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.12);
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1.8px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-content h1 span {
  color: var(--primary-color);
  text-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
}

.hero-content p {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.9;
  color: #e2e8f0;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.5);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-arrow:hover {
  background: rgba(34, 197, 94, 0.24);
  border-color: rgba(34, 197, 94, 0.45);
}

.hero-arrow-left {
  left: 28px;
}

.hero-arrow-right {
  right: 28px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--primary-color);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Large screens */
@media (max-width: 1200px) {
  .hero-content {
    max-width: 760px;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .hero {
    margin-top: -95px;
  }

  .hero-slider,
  .hero {
    min-height: 92vh;
    height: 92vh;
  }

  .hero-content {
    padding-top: 120px;
    max-width: 100%;
  }

  .hero-arrow {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .hero-arrow-left {
    left: 16px;
  }

  .hero-arrow-right {
    right: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    margin-top: -88px;
  }

  .hero-slider,
  .hero {
    min-height: 88vh;
    height: 88vh;
  }

  .hero-content {
    text-align: center;
    padding-top: 110px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 9px 14px;
    margin-bottom: 18px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 0.96rem;
    line-height: 1.8;
    margin-inline: auto;
    margin-bottom: 28px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-arrow {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .hero-slider,
  .hero {
    min-height: 84vh;
    height: 84vh;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-content p {
    font-size: 0.92rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-dots {
    bottom: 22px;
  }
}

/* Extra small */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 11px;
  }
}