/* ═══════════════════════════════════════════
   HOME.CSS — Homepage Specific Styles
   ═══════════════════════════════════════════ */

/* ── Hero Slider Section ── */
.hero-slider {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0e17;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-slide.active .hero-slide__bg {
  animation-play-state: running;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.65) 0%,
    rgba(5, 8, 20, 0.55) 50%,
    rgba(5, 8, 20, 0.8) 100%
  );
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(40, 135, 255, 0.2);
  border: 1px solid rgba(40, 135, 255, 0.4);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__title span {
  background: linear-gradient(135deg, var(--primary), #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider Navigation Arrows */
.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider__prev { left: 1.5rem; }
.hero-slider__next { right: 1.5rem; }

/* Slider Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 0.75rem;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider__dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.2);
}

.hero-slider__dot:hover {
  border-color: #fff;
}


@media (max-width: 768px) {
  .hero-slider__prev,
  .hero-slider__next {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .hero-slider__prev { left: 0.75rem; }
  .hero-slider__next { right: 0.75rem; }
  .hero-slider__dots { bottom: 4rem; }
}

/* ── Services Preview ── */
.services-preview {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card .card__body {
  padding: 2rem;
}

/* ── Why Choose Us ── */
.why-us {
  position: relative;
  overflow: hidden;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.why-card__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  margin: 0 auto 1.25rem;
  transition: var(--transition-base);
}

.why-card:hover .why-card__icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Stats Section ── */
.stats {
  background: linear-gradient(135deg, #0a0a1a 0%, #111133 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.1;
  top: -200px;
  left: -200px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card__number {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Pricing Preview ── */
.pricing-preview {
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pricing-card--popular {
  border: 2px solid var(--primary);
}

.pricing-card--popular::before {
  content: "Best Value";
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 35px;
  transform: rotate(45deg);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(40, 135, 255, 0.12);
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.pricing-card__features li i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ── CTA Section ── */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(40, 135, 255, 0.9), rgba(100, 181, 246, 0.9)),
    url("../img/hero-banner-1.png") center/cover no-repeat;
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta .btn {
  background: var(--white);
  color: var(--primary);
}

.cta .btn:hover {
  background: var(--text-dark);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (min-width: 540px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
