/* Premium Stylings for Sky Lights */
:root {
  --gold: #f59e0b;
  --neon: #6366f1;
  --dark: #020617;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Effects */
.glow-card:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
}

.btn-glow:hover {
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* ===========================
   HERO CINEMATIC EFFECTS
   =========================== */

/* Floating Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-20vh) scale(1.5);
    opacity: 0;
  }
}

/* Animated Light Beams */
.hero-light-beams {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.light-beam {
  position: absolute;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(99, 102, 241, 0.15),
    transparent
  );
  transform-origin: top center;
  animation: beam-sway 8s ease-in-out infinite;
}

.light-beam:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  opacity: 0.6;
}
.light-beam:nth-child(2) {
  left: 25%;
  animation-delay: 1.5s;
  opacity: 0.4;
}
.light-beam:nth-child(3) {
  left: 45%;
  animation-delay: 3s;
  opacity: 0.5;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 158, 11, 0.1),
    transparent
  );
}
.light-beam:nth-child(4) {
  left: 65%;
  animation-delay: 0.5s;
  opacity: 0.3;
}
.light-beam:nth-child(5) {
  left: 80%;
  animation-delay: 2s;
  opacity: 0.5;
}
.light-beam:nth-child(6) {
  left: 92%;
  animation-delay: 4s;
  opacity: 0.4;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 158, 11, 0.12),
    transparent
  );
}

@keyframes beam-sway {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

/* Glowing Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: orb-pulse 6s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.25),
    transparent 70%
  );
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.15),
    transparent 70%
  );
  bottom: 15%;
  left: -5%;
  animation-delay: 3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12),
    transparent 70%
  );
  top: 50%;
  left: 40%;
  animation-delay: 1.5s;
}

@keyframes orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Lens Flare */
.hero-flare {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  top: 10%;
  right: 20%;
  z-index: 3;
  animation: flare-drift 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flare-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(-30px, 20px) scale(1.2);
    opacity: 0.7;
  }
  50% {
    transform: translate(40px, -10px) scale(0.9);
    opacity: 0.3;
  }
  75% {
    transform: translate(-20px, -30px) scale(1.1);
    opacity: 0.6;
  }
}

/* Scanning line effect (like a spotlight sweep) */
.hero-scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.03),
    rgba(255, 255, 255, 0.02),
    transparent
  );
  z-index: 4;
  animation: scan-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-sweep {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Hero text glow effect */
.hero-title-glow {
  text-shadow:
    0 0 80px rgba(99, 102, 241, 0.3),
    0 0 40px rgba(245, 158, 11, 0.15);
}

/* ===========================
   INFINITE MARQUEE SLIDER
   =========================== */

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  animation: marquee-ltr 40s linear infinite;
}

@keyframes marquee-ltr {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

[dir="rtl"] .marquee-content {
  animation: marquee-rtl 40s linear infinite;
}

/* Marquee fade edges */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #010413, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #010413, transparent);
}
