/* ============================================================
   SAIMBISOFT — Animations & Keyframes (Light Theme)
   ============================================================
   All animation keyframes and transition effects.
   Colors use purple (Num 7) and gold (Num 1) accents.
   ============================================================ */

/* ---------- Floating / Idle Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* ---------- Glow Effects ---------- */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2),
                0 0 60px rgba(245, 158, 11, 0.08);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.15);
  }
  50% {
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.25),
                 0 0 40px rgba(245, 158, 11, 0.1);
  }
}

/* ---------- Entry Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

/* ---------- Particles / Floating Bubbles (Hero Section) ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-1);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(1px);
  animation: particleFloat 12s linear infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 14s; width: 16px; height: 16px; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: -3s; animation-duration: 11s; background: var(--accent-2); width: 10px; height: 10px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: -5s; animation-duration: 16s; width: 14px; height: 14px; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: -2s; animation-duration: 13s; background: var(--accent-2); width: 18px; height: 18px; }
.particle:nth-child(5) { left: 80%; top: 15%; animation-delay: -7s; animation-duration: 15s; width: 10px; height: 10px; }
.particle:nth-child(6) { left: 90%; top: 50%; animation-delay: -4s; animation-duration: 12s; background: var(--accent-2); width: 14px; height: 14px; }
.particle:nth-child(7) { left: 35%; top: 80%; animation-delay: -8s; animation-duration: 17s; width: 20px; height: 20px; }
.particle:nth-child(8) { left: 55%; top: 10%; animation-delay: -1s; animation-duration: 14s; background: var(--accent-2); width: 12px; height: 12px; }

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.22;
  }
  80% {
    opacity: 0.18;
  }
  100% {
    transform: translateY(-120vh) translateX(30px) scale(0.5);
    opacity: 0;
  }
}

/* Dark mode: brighter particles */
[data-theme="dark"] .particle {
  opacity: 0.2;
  filter: blur(2px);
}

/* ---------- Button Ripple ---------- */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s;
  border-radius: inherit;
}

.btn:active::after {
  transform: scale(2.5);
  transition: transform 0s;
}

/* ---------- Hero-Specific Entry ---------- */
.hero-content .hero-badge {
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.2s;
}

.hero-content h1 {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-content p {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.6s;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.8s;
}
