/* =============================================
   HERO + FEATURES STRIP
============================================= */

.hero {
  position: relative;
  height: calc(100vh - 110px);
  min-height: 440px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-media img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(59, 7, 100, 0.88) 0%, rgba(109, 40, 217, 0.55) 45%, rgba(109, 40, 217, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 0;
}

.hero-text-col {
  grid-column: span 7;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content .tag {
  font-size: 0.88rem;
  padding: 7px 15px;
}

/* Staggered entry transitions for slide content */
.hero-slide .hero-text-col>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-text-col>* {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.active .hero-text-col .tag {
  transition-delay: 0.2s;
}

.hero-slide.active .hero-text-col h1 {
  transition-delay: 0.4s;
}

.hero-slide.active .hero-text-col p {
  transition-delay: 0.6s;
}

.hero-slide.active .hero-text-col .hero-actions {
  transition-delay: 0.8s;
}

/* Slide Indicator Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 999px;
}

.tag-stock {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 16px 0 14px;
  line-height: 1.14;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 26px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-content .btn {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.features-strip {
  background: var(--gradient-brand);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 22px 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text-col {
    grid-column: span 10;
  }
}

@media (max-width: 560px) {
  .hero {
    height: calc(100vh - 80px);
    min-height: 400px;
  }

  .hero-slide {
    padding-top: 0;
  }

  .hero-content {
    padding: 10px 16px 30px;
    margin-top: 0;
    margin-left: 0;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-text-col {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    margin: 12px 0 10px;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-content .btn {
    padding: 11px 22px;
    font-size: 0.9rem;
  }

  .hero-content .tag {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}