
/* ========================= */
/* BASE ANIMATION STATES    */
/* ========================= */

.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* ========================= */
/* FADE IN                 */
/* ========================= */

.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================= */
/* SLIDE UP               */
/* ========================= */

.slide-up {
  animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================= */
/* ZOOM IN                */
/* ========================= */

.zoom-in {
  animation: zoomIn 0.8s ease forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================= */
/* FLOATING EFFECT         */
/* ========================= */

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* ========================= */
/* GLOW PULSE             */
/* ========================= */

.glow {
  animation: glow 2.5s ease-in-out infinite;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(0,168,255,0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0,168,255,0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(0,168,255,0.2);
  }
}

/* ========================= */
/* TEXT GRADIENT ANIMATED   */
/* ========================= */

.text-glow {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textMove 4s linear infinite;
}

@keyframes textMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* ========================= */
/* SCROLL REVEAL BASE      */
/* ========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* PARALLAX LAYERS (BASE)   */
/* ========================= */

.parallax {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ========================= */
/* HOVER CINEMATIC EFFECTS  */
/* ========================= */

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* ========================= */
/* BORDER LIGHT SWEEP       */
/* ========================= */

.border-sweep {
  position: relative;
  overflow: hidden;
}

.border-sweep::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,168,255,0.3),
    transparent
  );
  transition: 0.6s;
}

.border-sweep:hover::before {
  left: 100%;
}

/* ========================= */
/* BACKGROUND PULSE         */
/* ========================= */

.bg-pulse {
  animation: bgPulse 6s ease-in-out infinite;
}

@keyframes bgPulse {
  0% { background-color: rgba(0,168,255,0.02); }
  50% { background-color: rgba(0,168,255,0.08); }
  100% { background-color: rgba(0,168,255,0.02); }
}