/* ============================================
   SYVIONA — ANIMATIONS
   syv-animations.css
   ============================================ */

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 100% 0); }
  20% { clip-path: inset(25% 0 50% 0); transform: translate(2px, 0); }
  40% { clip-path: inset(50% 0 25% 0); transform: translate(-2px, 0); }
  60% { clip-path: inset(75% 0 0 0); transform: translate(2px, 0); }
  80% { clip-path: inset(0 0 75% 0); transform: translate(-2px, 0); }
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px) rotate(360deg); opacity: 0; }
}

/* ============================================
   SCROLL REVEAL CLASSES
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO ENTRANCE ANIMATIONS
   ============================================ */

.hero-animate-1 {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-animate-2 {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-animate-3 {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-animate-4 {
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-animate-right {
  animation: fadeInRight 1s ease 0.5s both;
}

/* ============================================
   FLOATING SHAPES
   ============================================ */

.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  top: 15%;
  right: 10%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: orbFloat 7s ease-in-out infinite;
}

.shape-2 {
  top: 60%;
  right: 5%;
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 8px;
  animation: orbFloat 5s ease-in-out infinite reverse;
  transform: rotate(45deg);
}

.shape-3 {
  top: 30%;
  left: 5%;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(0, 245, 160, 0.15);
  border-radius: 12px;
  animation: orbFloat 9s ease-in-out infinite;
  transform: rotate(20deg);
}

.shape-4 {
  bottom: 20%;
  right: 20%;
  width: 20px;
  height: 20px;
  background: rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 100%
  );
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */

.counter {
  display: inline-block;
}

/* ============================================
   NEON GLOW TEXT
   ============================================ */

.neon-text {
  text-shadow:
    0 0 7px rgba(0, 212, 255, 0.4),
    0 0 14px rgba(0, 212, 255, 0.2),
    0 0 21px rgba(0, 212, 255, 0.1);
}

/* ============================================
   PROGRESS BARS
   ============================================ */

.syv-progress {
  background: var(--bg-card);
  border-radius: 50px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.syv-progress-bar {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 50px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

.page-transition {
  animation: fadeInUp 0.6s ease;
}

/* ============================================
   MOBILE MENU ANIMATION
   ============================================ */

.navbar-collapse.collapsing {
  transition: height 0.3s ease;
}
