/* =============================================
   CUSTOM ANIMATIONS CSS - A One Network
   Preloader, Custom Scrollbar, Cursor & Effects
============================================= */

:root {
  --primary-color: #c1fe73;
  --primary-color-alt: #e1ff19;
  --secondary-color: #fff;
  --ac-BG: #0e0e0e;
  --ac-black: #000;
  --ac-ash: #ababab;
  --ac-border: #444;
  --text-gradient: linear-gradient(180deg, #fff 0%, #c1fe73 100%);
}

/* Prevent horizontal overflow and double scrollbars */
html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 100vw;
}

/* =============================================
   ENTRANCE ANIMATIONS - PAGE LOAD
============================================= */

/* Hero H1 Entrance - Dramatic text reveal */
.hero-h1-entrance {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  animation: heroH1Enter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes heroH1Enter {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Hero H1 with Gradient Sweep */
.hero-h1-gradient {
  opacity: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 50%, var(--primary-color) 50%, var(--primary-color) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroH1GradientEnter 2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroH1GradientEnter {
  0% {
    opacity: 0;
    background-position: 100% 0;
    transform: translateY(50px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    background-position: 0% 0;
    transform: translateY(0);
  }
}

/* Hero H1 Split Lines */
.hero-h1-split {
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: heroH1Split 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroH1Split {
  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Hero H1 with Glow Pulse */
.hero-h1-glow {
  opacity: 0;
  animation: heroH1GlowEnter 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroH1GlowEnter {
  0% {
    opacity: 0;
    transform: translateY(60px);
    text-shadow: none;
  }
  60% {
    opacity: 1;
    text-shadow: 0 0 60px var(--primary-color), 0 0 120px var(--primary-color);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 20px rgba(193, 254, 115, 0.5);
  }
}

/* =============================================
   SECTION ENTRANCE ANIMATIONS
============================================= */

/* Section Fade Up */
.section-animate {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-animate.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Section Slide from Left */
.section-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-slide-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Section Slide from Right */
.section-slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-slide-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Section Scale Up */
.section-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Section Fade with Blur */
.section-blur {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-blur.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Section with Border Reveal */
.section-border-reveal {
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.section-border-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-border-reveal.revealed {
  opacity: 1;
}

.section-border-reveal.revealed::before {
  left: 0;
  width: 100%;
}

/* =============================================
   REVEAL UTILITY CLASSES
============================================= */

/* Reveal Up */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal Right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal Scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Reveal Fade */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reveal-fade.revealed {
  opacity: 1;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }
.delay-7 { transition-delay: 0.7s !important; }
.delay-8 { transition-delay: 0.8s !important; }

/* =============================================
   SECTION ENTRANCE ANIMATIONS ON SCROLL
============================================= */

/* Base Section Entrance */
.section-entrance {
  --animation-delay: 0s;
}

/* Fade Up Entrance */
.section-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Left Entrance */
.section-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-fade-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Fade Right Entrance */
.section-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-fade-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In Entrance */
.section-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-zoom-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Blur In Entrance */
.section-blur-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-blur-in.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Rotate In Entrance */
.section-rotate-in {
  opacity: 0;
  transform: perspective(1000px) rotateX(-5deg) translateY(40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--animation-delay);
}

.section-rotate-in.revealed {
  opacity: 1;
  transform: perspective(1000px) rotateX(0) translateY(0);
}

/* =============================================
   CARD ENTRANCE ANIMATIONS
============================================= */

.card-entrance {
  --card-delay: 0s;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--card-delay);
}

.card-entrance.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover effect enhancement */
.card-entrance.revealed:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(193, 254, 115, 0.15);
}

/* =============================================
   CUSTOM SCROLLBAR
============================================= */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--ac-black);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
  border: 2px solid var(--ac-black);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color-alt);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--ac-black);
}

/* =============================================
   PRELOADER
============================================= */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #0e0e0e 100%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader.hidden {
  display: none !important;
}

/* Fallback: if JavaScript is disabled, hide preloader */
.no-js .preloader {
  display: none !important;
}

#wifi-loader {
  --front-color: var(--primary-color);
  --back-color: #3a3a3a;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}

#wifi-loader svg circle.back {
  stroke: var(--back-color);
}

#wifi-loader svg circle.front {
  stroke: var(--front-color);
}

#wifi-loader svg.circle-outer {
  height: 86px;
  width: 86px;
}

#wifi-loader svg.circle-outer circle {
  stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
  animation: circle-outer135 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
  animation: circle-outer135 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
  height: 60px;
  width: 60px;
}

#wifi-loader svg.circle-middle circle {
  stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
  animation: circle-middle6123 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
  animation: circle-middle6123 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
  height: 34px;
  width: 34px;
}

#wifi-loader svg.circle-inner circle {
  stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
  animation: circle-inner162 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
  animation: circle-inner162 1.8s ease infinite 0.05s;
}

@keyframes circle-outer135 {
  0% { stroke-dashoffset: 25; }
  25% { stroke-dashoffset: 0; }
  65% { stroke-dashoffset: 301; }
  80% { stroke-dashoffset: 276; }
  100% { stroke-dashoffset: 276; }
}

@keyframes circle-middle6123 {
  0% { stroke-dashoffset: 17; }
  25% { stroke-dashoffset: 0; }
  65% { stroke-dashoffset: 204; }
  80% { stroke-dashoffset: 187; }
  100% { stroke-dashoffset: 187; }
}

@keyframes circle-inner162 {
  0% { stroke-dashoffset: 9; }
  25% { stroke-dashoffset: 0; }
  65% { stroke-dashoffset: 106; }
  80% { stroke-dashoffset: 97; }
  100% { stroke-dashoffset: 97; }
}

/* =============================================
   CUSTOM CURSOR
============================================= */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  z-index: 9998;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  z-index: 9997;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  border-color: #fff;
  background: rgba(193, 254, 115, 0.1);
}

@media (max-width: 992px) {
  .cursor, .cursor-follower {
    display: none;
  }
}

/* =============================================
   BRAND INFINITY SLIDER
============================================= */
.brand_infinity {
  margin: auto;
  text-align: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #0e0e0e 100%);
  width: 100%;
  padding: 80px 0px;
}

.brand_infinity .tag {
  position: relative;
  display: inline-block;
  text-align: center;
  border: 1px solid var(--ac-ash);
  border-radius: 30px;
  z-index: 2 !important;
}

.brand_infinity .tag span {
  font-size: 18px;
  font-weight: 500;
  display: block;
  text-align: center;
  color: var(--ac-ash);
  background: transparent;
  border-radius: 30px;
  padding: 10px 40px;
  margin: 0;
}

.brand_infinity .bg_shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  aspect-ratio: 16 / 16;
  opacity: 0.3;
}

.brand_infinity .bg_shape img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
  background-size: contain;
}

.brand_infinity .slide_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.5) 10%,
      #c1fe73 50%,
      #c1fe73 50%,
      rgba(0, 0, 0, 0.5) 90%
    ) 1 stretch;
  margin-top: 30px;
  z-index: 3;
}

.brand_infinity .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  width: 100%;
}

.brand_infinity .slide .brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  aspect-ratio: 16 / 8.5;
  border: 1px solid var(--ac-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand_infinity .slide .brand:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.brand_infinity .slide .brand img {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  object-fit: contain;
  background-size: cover;
}

.brand_infinity .scroller {
  max-width: 100%;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.scroller[data-animated="true"] {
  overflow: hidden;
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 120s)
    var(--_animation-direction, reverse) linear infinite;
}

.scroller:hover .scroller__inner {
  animation-play-state: paused;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

@media screen and (max-width: 992px) {
  .brand_infinity .tag span {
    padding: 10px 20px;
    font-size: 16px;
  }
  .brand_infinity {
    padding: 50px 0;
  }
}

/* =============================================
   BACK TO TOP BUTTON
============================================= */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 100;
  background: var(--primary-color);
  border: none;
  box-shadow: 0 4px 20px rgba(193, 254, 115, 0.4);
}

#back-to-top:hover {
  background: var(--primary-color-alt);
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(193, 254, 115, 0.6);
}

#back-to-top i {
  font-size: 24px;
  color: #000;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* =============================================
   CREATIVE ANIMATIONS FOR ELEMENTS
============================================= */

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
  }
  50% {
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
  }
}

.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Rotate Animation */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate-animation {
  animation: rotate360 10s linear infinite;
}

/* Scale Animation */
@keyframes scaleUp {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.scale-animation {
  animation: scaleUp 2s ease-in-out infinite;
}

/* Slide In Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient Text Animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(90deg, #c1fe73, #fff, #c1fe73);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Border Glow Animation */
@keyframes borderGlow {
  0%, 100% {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
  }
  50% {
    border-color: #fff;
    box-shadow: 0 0 20px var(--primary-color);
  }
}

.border-glow {
  animation: borderGlow 2s ease-in-out infinite;
}

/* Icon Bounce */
@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.icon-bounce {
  animation: iconBounce 2s ease infinite;
}

/* Ripple Effect */
@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  animation: ripple 1.5s ease-out infinite;
}

/* Typing Effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.typing-effect {
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: typing 3s steps(30) forwards, blink 0.7s step-end infinite;
}

/* WOW.js Enhancement - Fade effects */
.wow {
  visibility: hidden;
}

.animated {
  visibility: visible;
}

/* Custom Animation Classes for Elements */
.service-card-animated {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-animated:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(193, 254, 115, 0.3);
}

/* Pricing Card Hover Effect */
.pricing-card-animated {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(193, 254, 115, 0.1), transparent);
  transition: left 0.5s ease;
}

.pricing-card-animated:hover::before {
  left: 100%;
}

.pricing-card-animated:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(193, 254, 115, 0.2);
}

/* FAQ Animation */
.faq-animated {
  transition: all 0.3s ease;
}

.faq-animated:hover {
  background: linear-gradient(135deg, rgba(193, 254, 115, 0.1) 0%, transparent 100%);
  border-left: 3px solid var(--primary-color);
}

/* CTA Section Animation */
.cta-animated {
  position: relative;
  overflow: hidden;
}

.cta-animated::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(193, 254, 115, 0.1) 0%, transparent 70%);
  animation: rotate360 20s linear infinite;
}

/* Loading Skeleton */
@keyframes skeletonLoading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #1a1a2e 25%, #2a2a4e 50%, #1a1a2e 75%);
  background-size: 200px 100%;
  animation: skeletonLoading 1.5s ease-in-out infinite;
}

/* Particle-like dots animation */
@keyframes particleFade {
  0%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-20px);
  }
}

.particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: particleFade 3s ease-in-out infinite;
}

.particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 30%; animation-delay: 0.5s; }
.particles span:nth-child(3) { left: 50%; animation-delay: 1s; }
.particles span:nth-child(4) { left: 70%; animation-delay: 1.5s; }
.particles span:nth-child(5) { left: 90%; animation-delay: 2s; }

/* =============================================
   SCROLL TEXT ANIMATIONS
============================================= */

/* Text Reveal from Bottom */
.text-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Text Reveal from Left */
.text-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Text Reveal from Right */
.text-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Text Scale Up */
.text-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Text Blur In */
.text-blur {
  opacity: 0;
  filter: blur(10px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-blur.revealed {
  opacity: 1;
  filter: blur(0);
}

/* Split Text Animation (letter by letter) */
.split-text {
  overflow: hidden;
}

.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.revealed .char {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for split text */
.split-text.revealed .char:nth-child(1) { transition-delay: 0.02s; }
.split-text.revealed .char:nth-child(2) { transition-delay: 0.04s; }
.split-text.revealed .char:nth-child(3) { transition-delay: 0.06s; }
.split-text.revealed .char:nth-child(4) { transition-delay: 0.08s; }
.split-text.revealed .char:nth-child(5) { transition-delay: 0.1s; }
.split-text.revealed .char:nth-child(6) { transition-delay: 0.12s; }
.split-text.revealed .char:nth-child(7) { transition-delay: 0.14s; }
.split-text.revealed .char:nth-child(8) { transition-delay: 0.16s; }
.split-text.revealed .char:nth-child(9) { transition-delay: 0.18s; }
.split-text.revealed .char:nth-child(10) { transition-delay: 0.2s; }
.split-text.revealed .char:nth-child(n+11) { transition-delay: 0.22s; }

/* Word by Word Animation */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-90deg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom;
}

.word-reveal.revealed .word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.word-reveal.revealed .word:nth-child(1) { transition-delay: 0.05s; }
.word-reveal.revealed .word:nth-child(2) { transition-delay: 0.1s; }
.word-reveal.revealed .word:nth-child(3) { transition-delay: 0.15s; }
.word-reveal.revealed .word:nth-child(4) { transition-delay: 0.2s; }
.word-reveal.revealed .word:nth-child(5) { transition-delay: 0.25s; }
.word-reveal.revealed .word:nth-child(6) { transition-delay: 0.3s; }
.word-reveal.revealed .word:nth-child(7) { transition-delay: 0.35s; }
.word-reveal.revealed .word:nth-child(8) { transition-delay: 0.4s; }
.word-reveal.revealed .word:nth-child(n+9) { transition-delay: 0.45s; }

/* Underline Reveal Animation */
.underline-reveal {
  position: relative;
  display: inline-block;
}

.underline-reveal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.underline-reveal.revealed::after {
  width: 100%;
}

/* Highlight Text Animation */
.highlight-reveal {
  position: relative;
  display: inline;
  background: linear-gradient(120deg, transparent 0%, transparent 50%, rgba(193, 254, 115, 0.3) 50%, rgba(193, 254, 115, 0.3) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-reveal.revealed {
  background-position: 0 0;
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  transition: width 2s steps(40, end);
}

.typewriter.revealed {
  width: 100%;
}

/* Glitch Text Effect on Scroll */
.glitch-text {
  position: relative;
}

.glitch-text.revealed {
  animation: glitchText 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes glitchText {
  0% {
    opacity: 0;
    transform: skewX(-20deg);
    filter: blur(5px);
  }
  20% {
    opacity: 1;
    transform: skewX(10deg);
    filter: blur(2px);
  }
  40% {
    transform: skewX(-5deg);
    filter: blur(1px);
  }
  60% {
    transform: skewX(3deg);
    filter: blur(0);
  }
  80% {
    transform: skewX(-1deg);
  }
  100% {
    opacity: 1;
    transform: skewX(0);
    filter: blur(0);
  }
}

/* Bounce In Text */
.bounce-in {
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Flip In Text */
.flip-in {
  opacity: 0;
  transform: perspective(400px) rotateY(-90deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.flip-in.revealed {
  opacity: 1;
  transform: perspective(400px) rotateY(0);
}

/* Stagger delay utilities */
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }
.delay-700 { transition-delay: 0.7s !important; }
.delay-800 { transition-delay: 0.8s !important; }

/* Section Title Enhanced Animation */
.section-title-animated {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-animated.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-title-animated h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-title-animated.revealed h2 {
  opacity: 1;
  transform: translateY(0);
}

.section-title-animated span {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title-animated.revealed span {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   HERO SECTION ANIMATIONS
============================================= */

/* Hero Banner Container */
.hero-animated {
  position: relative;
  overflow: hidden;
}

/* Animated Background Gradient */
.hero-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(193, 254, 115, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(225, 255, 25, 0.05) 0%, transparent 40%);
  animation: heroGradientPulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes heroGradientPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Hero Content Animations */
.hero-content-animated {
  position: relative;
  z-index: 2;
}

/* Slide Up & Fade In */
.hero-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: heroSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered delays for hero elements */
.hero-slide-up.delay-1 { animation-delay: 0.1s; }
.hero-slide-up.delay-2 { animation-delay: 0.2s; }
.hero-slide-up.delay-3 { animation-delay: 0.3s; }
.hero-slide-up.delay-4 { animation-delay: 0.4s; }
.hero-slide-up.delay-5 { animation-delay: 0.5s; }

/* Hero Title Gradient Animation */
.hero-title-animated {
  animation: heroTitleGlow 4s ease infinite;
}

@keyframes heroTitleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(193, 254, 115, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(193, 254, 115, 0.6));
  }
}

/* Glowing Text Effect - only adds glow, no text-shadow override */
.hero-glow-text {
  animation: heroTextGlow 3s ease-in-out infinite alternate;
}

@keyframes heroTextGlow {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.1);
  }
}

/* Sub-title Badge Animation - only adds shimmer effect */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(193, 254, 115, 0.3), transparent);
  animation: heroShimmer 3s infinite;
  pointer-events: none;
}

@keyframes heroShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Hero Icon Pulse */
.hero-icon-pulse {
  display: inline-block;
  animation: heroIconPulse 1.5s ease-in-out infinite;
}

@keyframes heroIconPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px var(--primary-color));
  }
  50% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 15px var(--primary-color));
  }
}

/* Hero Buttons - enhanced hover effects */
.hero-btn-primary {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.hero-btn-primary::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(193, 254, 115, 0.5);
}

.hero-btn-primary:hover::after {
  opacity: 0.5;
  animation: btnGlowPulse 1s infinite;
}

@keyframes btnGlowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Video Button Animation - adds ripple effect */
.hero-video-btn {
  position: relative;
}

.hero-video-btn .ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  animation: heroVideoPulse 2s ease-out infinite;
  pointer-events: none;
}

.hero-video-btn .ripple-1 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.hero-video-btn .ripple-2 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.5s;
}

@keyframes heroVideoPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Hero Image Animation */
.hero-image-animated {
  position: relative;
  animation: heroImageEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-animated img {
  animation: heroImageFloat 4s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 20px 40px rgba(193, 254, 115, 0.3));
}

@keyframes heroImageEntrance {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroImageFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Glow Ring Around Hero Image - non-intrusive glow */
.hero-image-glow {
  position: relative;
}

.hero-image-glow img {
  filter: drop-shadow(0 0 30px rgba(193, 254, 115, 0.3));
  animation: heroImageGlow 4s ease-in-out infinite;
}

@keyframes heroImageGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(193, 254, 115, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(193, 254, 115, 0.5));
  }
}

/* Floating Particles in Hero */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
  animation: heroParticleFloat 6s infinite;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.hero-particle:nth-child(3) { left: 35%; animation-delay: 2s; }
.hero-particle:nth-child(4) { left: 50%; animation-delay: 3s; }
.hero-particle:nth-child(5) { left: 65%; animation-delay: 4s; }
.hero-particle:nth-child(6) { left: 80%; animation-delay: 5s; }
.hero-particle:nth-child(7) { left: 90%; animation-delay: 6s; }

@keyframes heroParticleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0.5);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-50px) scale(1.2);
  }
}

/* Typing Effect for Hero Text */
.hero-typing-text {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: 
    heroTyping 4s steps(40) 1s forwards,
    heroBlinkCursor 0.75s step-end infinite;
}

@keyframes heroTyping {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes heroBlinkCursor {
  50% { border-color: transparent; }
}

/* Tech Lines Animation */
.hero-tech-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-tech-lines::before,
.hero-tech-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  height: 1px;
  width: 200px;
  opacity: 0.3;
}

.hero-tech-lines::before {
  top: 30%;
  animation: heroTechLine 8s linear infinite;
}

.hero-tech-lines::after {
  top: 70%;
  animation: heroTechLine 8s linear infinite 4s;
}

@keyframes heroTechLine {
  0% { transform: translateX(-200px); left: 0; }
  100% { transform: translateX(100vw); left: 0; }
}

/* WiFi Signal Animation for Hero */
.hero-wifi-icon {
  position: relative;
  display: inline-block;
}

.hero-wifi-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 254, 115, 0.4) 0%, transparent 70%);
  animation: heroWifiPulse 2s ease-out infinite;
}

@keyframes heroWifiPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Stats Counter Animation in Hero */
.hero-stat-counter {
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Hero Animations */
@media (max-width: 991px) {
  .hero-image-animated {
    animation: heroImageFloatMobile 4s ease-in-out infinite;
  }
  
  @keyframes heroImageFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }
  
  .hero-video-btn::before,
  .hero-video-btn::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-particle {
    width: 5px;
    height: 5px;
  }
  
  .hero-slide-up {
    transform: translateY(30px);
  }
}

/* Entrance Animation for Full Hero Section */
.hero-entrance {
  opacity: 0;
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
