/* ===================================
   ENHANCED HERO SECTION STYLES
   =================================== */

/* Hero Section Enhancements */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  visibility: hidden;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide.next {
  transform: translateX(100%);
}

.slide.prev {
  transform: translateX(-100%);
}

/* Enhanced Particle System */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float-particles 8s ease-in-out infinite;
}

.hero-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.hero-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
  animation-duration: 8s;
}

@keyframes float-particles {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.8;
  }
}

/* Dynamic Background Overlay */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 106, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(255, 106, 0, 0.1) 100%
  );
  z-index: 1;
  animation: gradient-shift 10s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background: linear-gradient(
      45deg,
      rgba(255, 106, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.7) 50%,
      rgba(255, 106, 0, 0.1) 100%
    );
  }
  50% {
    background: linear-gradient(
      135deg,
      rgba(255, 106, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(255, 106, 0, 0.2) 100%
    );
  }
}

/* Enhanced Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 30px;
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.6);
  }
}

.hero-badge i {
  color: var(--primary);
  animation: icon-rotate 4s linear infinite;
}

@keyframes icon-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Typography */
.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: var(--font-accent);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.text-gradient {
  background: linear-gradient(135deg, #ff6a00 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text 3s ease-in-out infinite;
}

@keyframes gradient-text {
  0%, 100% {
    background: linear-gradient(135deg, #ff6a00 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  50% {
    background: linear-gradient(135deg, #ffed4e 0%, #ff6a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  animation: underline-expand 2s ease-in-out infinite;
}

@keyframes underline-expand {
  0%, 100% { width: 0%; }
  50% { width: 100%; }
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  line-height: 1.2;
  margin-top: 0;
}

/* Enhanced CTA Buttons */
.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
  transition: all 0.4s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 106, 0, 0.5);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-glow:hover .btn-shine {
  left: 100%;
}

.btn-pulse {
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

/* Enhanced Stats Section */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  font-family: var(--font-accent);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Enhanced Navigation */
.slide-content {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
  max-width: 600px;
  padding: 20px 0;
}

.hero-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: rgba(255, 106, 0, 0.8);
  transform: scale(1.1);
}

.slide-indicators {
  display: flex;
  gap: 10px;
}

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

.indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  z-index: 3;
}

.scroll-text {
  font-size: 0.8rem;
  opacity: 0.7;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.scroll-arrow {
  animation: bounce-arrow 2s ease-in-out infinite;
}

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

/* Offer Timer Enhancements */
.offer-timer {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.timer-item {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  min-width: 70px;
}

.timer-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  font-family: var(--font-accent);
}

.timer-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Family Features */
.family-features {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .family-features {
    gap: 15px;
  }
  
  .offer-timer {
    gap: 10px;
  }
  
  .timer-item {
    min-width: 60px;
    padding: 10px;
  }
  
  .scroll-indicator {
    right: 20px;
  }
  
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .slide-content {
    left: 20px;
    right: 20px;
    max-width: none;
    text-align: center;
    top: 50%;
    padding: 15px;
    transform: translateY(-50%);
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.1;
    margin-top: 0;
  }
  
  .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }
  
  .slide-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .slide-content {
    top: 55%;
    padding: 10px;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .slide-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .family-features {
    flex-direction: column;
    gap: 10px;
  }
}
