/* ================================================
   REVOLUTIONARY INTERACTIVE HERO SLIDER
   Modern, responsive design with mouse navigation
   ================================================ */

.revolutionary-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 0;
}

/* ================================================
   DYNAMIC BACKGROUND SYSTEM
   ================================================ */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(10, 10, 31, 0.85) 0%, 
    rgba(26, 26, 46, 0.75) 25%, 
    rgba(16, 33, 62, 0.85) 50%, 
    rgba(26, 26, 46, 0.75) 75%, 
    rgba(10, 10, 31, 0.85) 100%
  );
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { 
    background: linear-gradient(135deg, 
      rgba(10, 10, 31, 0.85) 0%, 
      rgba(26, 26, 46, 0.75) 50%, 
      rgba(16, 33, 62, 0.85) 100%
    ); 
  }
  50% { 
    background: linear-gradient(135deg, 
      rgba(16, 33, 62, 0.85) 0%, 
      rgba(10, 10, 31, 0.75) 50%, 
      rgba(26, 26, 46, 0.85) 100%
    ); 
  }
}

.tech-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 60%, rgba(255, 64, 129, 0.08) 0%, transparent 50%);
  opacity: 0.6;
  animation: patternPulse 6s ease-in-out infinite;
}

@keyframes patternPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 2px, transparent 2px),
    radial-gradient(circle at 60% 30%, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 80px 80px;
  animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-50px, -50px) rotate(360deg); }
}

/* ================================================
   SLIDER CONTAINER & SLIDES
   ================================================ */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

.hero-slide.prev {
  transform: translateX(-100px) scale(0.95);
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.2);
  transform: scale(1.05);
  transition: all 0.6s ease-out;
}

.hero-slide.active .slide-video {
  transform: scale(1);
  filter: brightness(0.5) contrast(1.1);
}

/* ================================================
   SLIDE CONTENT & TYPOGRAPHY
   ================================================ */
.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.content-wrapper {
  max-width: 900px;
  width: 90%;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 60px 50px;
  box-shadow: 
    0 25px 100px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.hero-slide.active .content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.hexagon-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00d4ff, #8B5CF6);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  animation: hexagonRotate 3s ease-in-out infinite;
}

@keyframes hexagonRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

.hexagon-badge i {
  font-size: 2rem;
  color: white;
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.slide-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { 
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  50% { 
    background: linear-gradient(135deg, #00d4ff, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.slide-description {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

/* ================================================
   FUTURISTIC BUTTONS
   ================================================ */
.slide-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-futuristic {
  position: relative;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 200px;
}

.btn-futuristic.primary {
  background: linear-gradient(135deg, #00d4ff, #0ea5e9);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-futuristic.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
  background: linear-gradient(135deg, #0ea5e9, #00d4ff);
}

.btn-futuristic.secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-futuristic.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00d4ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

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

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

/* ================================================
   NAVIGATION CONTROLS
   ================================================ */
.slider-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 20;
  pointer-events: none;
}

.nav-arrow {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background: rgba(0, 212, 255, 0.6);
  border-color: #00d4ff;
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* ================================================
   PROGRESS INDICATORS
   ================================================ */
.slider-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.indicator.active {
  background: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.indicator.active::before {
  background: white;
}

.indicator:hover {
  background: rgba(0, 212, 255, 0.7);
  transform: scale(1.2);
}

/* ================================================
   MOUSE DETECTION ZONE
   ================================================ */
.mouse-detector {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
}

/* ================================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ================================================ */
@media (max-width: 1024px) {
  .nav-arrow {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .slider-navigation {
    padding: 0 20px;
  }
  
  .content-wrapper {
    padding: 40px 30px;
  }
  
  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-futuristic {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .revolutionary-hero-slider {
    height: 100vh;
    min-height: 600px;
  }
  
  .content-wrapper {
    width: 95%;
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .hexagon-badge {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .hexagon-badge i {
    font-size: 1.5rem;
  }
  
  .slide-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  
  .slide-description {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 30px;
  }
  
  .btn-futuristic {
    padding: 12px 25px;
    font-size: 1rem;
    min-width: 200px;
  }
  
  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 0.9rem;
  }
  
  .slider-navigation {
    padding: 0 15px;
  }
  
  .slider-indicators {
    bottom: 20px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  /* Mobile touch optimization */
  .slide-buttons {
    gap: 15px;
  }
  
  /* Disable mouse hover effects on touch devices */
  @media (hover: none) {
    .nav-arrow:hover,
    .indicator:hover,
    .btn-futuristic:hover {
      transform: none;
      box-shadow: initial;
    }
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    width: 98%;
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  .slide-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
    margin-bottom: 12px;
  }
  
  .slide-description {
    font-size: clamp(0.9rem, 5vw, 1.1rem);
    margin-bottom: 25px;
  }
  
  .btn-futuristic {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 180px;
  }
  
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  
  .slider-navigation {
    padding: 0 10px;
  }
  
  .slider-indicators {
    bottom: 15px;
    gap: 10px;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
  }
}

/* ================================================
   ACCESSIBILITY & PERFORMANCE
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .content-wrapper,
  .nav-arrow,
  .indicator,
  .btn-futuristic {
    transition: none;
  }
  
  .gradient-overlay,
  .tech-pattern,
  .floating-particles,
  .hexagon-badge,
  .hexagon-badge i {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .content-wrapper {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid white;
  }
  
  .slide-title {
    color: white !important;
    -webkit-text-fill-color: white !important;
  }
  
  .slide-description {
    color: white;
  }
}

/* Focus indicators for keyboard navigation */
.nav-arrow:focus,
.indicator:focus,
.btn-futuristic:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}