/* =============================================
   BADASS HERO - CINEMATIC FULLSCREEN EXPERIENCE
   World-class hero section with massive impact
   ============================================= */

/* === FULLSCREEN HERO BASE === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #0d1b2a;
}

/* === HERO SLIDESHOW CONTAINER === */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* === HERO OVERLAY === */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(10, 95, 122, 0.7) 50%,
    rgba(13, 27, 42, 0.85) 100%
  );
  z-index: 3;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* === HERO CONTENT === */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem 120px 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(255, 193, 7, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 193, 7, 0.5);
  border-radius: 50px;
  color: #ffc107;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: 
    badgeSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards,
    badgeFloat 3s ease-in-out 1s infinite;
}

@keyframes badgeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero .hero-title-massive {
  font-size: clamp(2.5rem, 7vw, 6rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin-bottom: 2rem !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

/* Each word will be wrapped and animated */
.hero .hero-title-massive span {
  display: inline-block !important;
  animation-name: wordReveal !important;
  animation-duration: 0.8s !important;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation-fill-mode: both !important;
  transform-origin: center bottom !important;
  -webkit-text-fill-color: inherit !important;
  will-change: opacity, transform !important;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(60px) rotateX(-90deg) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

.hero .hero-title-massive .highlight {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
  position: relative !important;
}

.hero .hero-title-massive .highlight::after {
  content: '' !important;
  position: absolute !important;
  bottom: -5px !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  background: linear-gradient(90deg, #ffc107, #ff9800) !important;
  border-radius: 2px !important;
  animation: underlineExpand 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.hero-subtitle-massive {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  margin: 0 auto 3rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: subtitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

@keyframes subtitleReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-ctas-massive {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: ctaReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards;
  margin-top: 0.5rem;
}

@keyframes ctaReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-massive {
  padding: 1.3rem 3.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-massive::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-massive:hover::before {
  transform: translateX(0);
}

.btn-massive.primary {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #0d1b2a;
  box-shadow: 
    0 0 30px rgba(255, 193, 7, 0.4),
    0 10px 40px rgba(255, 193, 7, 0.3);
}

.btn-massive.primary:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 0 40px rgba(255, 193, 7, 0.6),
    0 15px 50px rgba(255, 193, 7, 0.4);
}

.btn-massive.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-massive.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-5px);
}

/* === HERO STATS BAR === */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  z-index: 20;
  animation: statsBarSlide 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s backwards;
}

@keyframes statsBarSlide {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-stat-number {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === SLIDESHOW CONTROLS === */
.hero-slide-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 1rem;
}

.hero-slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slide-dot.active {
  width: 40px;
  border-radius: 6px;
  background: #ffc107;
}

.hero-slide-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* === SCROLL INDICATOR === */
.scroll-indicator-hero {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

.scroll-indicator-hero::after {
  content: '↓';
  font-size: 1.5rem;
}

/* === MOBILE OPTIMIZATIONS === */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-content-wrapper {
    padding: 0 1.5rem 100px 1.5rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.6rem 1.5rem;
  }
  
  .hero-title-massive {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
  }
  
  .hero-subtitle-massive {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    margin-bottom: 2rem;
    line-height: 1.4;
  }
  
  .hero-ctas-massive {
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
  }
  
  .btn-massive {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
  }
  
  .hero-stats-bar {
    padding: 1.5rem 1rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .hero-stat-number {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  .hero-stat-label {
    font-size: 0.75rem;
  }
  
  .scroll-indicator-hero {
    display: none;
  }
  
  .hero-slide-controls {
    bottom: 30px;
  }
}

/* === TABLET OPTIMIZATIONS === */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title-massive {
    font-size: clamp(3rem, 7vw, 5rem);
  }
  
  .hero-subtitle-massive {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }
  
  .hero-stats-grid {
    gap: 2rem;
  }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.hero-slide img {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-title-massive,
.hero-subtitle-massive,
.hero-ctas-massive {
  will-change: opacity, transform;
}
