/* ==========================================================================
   ENTEGRE PAZARIM v11.0 — SILICON VALLEY ULTRA MOTION & ANIMATION ENGINE
   60fps GPU-Accelerated Micro-Interactions, 3D Tilt, Aurora Orbs,
   Kinetic Borders, Staggered Reveals, Ripples & Shimmer Effects
   ========================================================================== */

/* 1. KINETIC GRADIENT FLOW & TEXT SHINE */
@keyframes svGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sv-kinetic-text {
  background: linear-gradient(120deg, #0b1f4b, #1e5eff, #0ea5e9, #38bdf8, #1e5eff);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: svGradientFlow 6s ease infinite;
}

/* 2. FLOATING AURORA ORBS & PARALLAX DRIFT */
@keyframes svOrbFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(28px, -22px, 0) scale(1.07); }
  66% { transform: translate3d(-18px, 16px, 0) scale(0.95); }
}
@keyframes svOrbFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-32px, -26px, 0) scale(1.1); }
}

.sv-orb-a { animation: svOrbFloatA 11s ease-in-out infinite; }
.sv-orb-b { animation: svOrbFloatB 14s ease-in-out infinite; }

/* 3. HERO NEURAL CONSTELLATION CANVAS LAYER */
#sv-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.72;
}

/* 4. STAGGERED SCROLL CHOREOGRAPHY (MULTIPLE ENTRANCE ARCHETYPES) */
.sv-anim-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}
.sv-anim-item.sv-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* 5. 3D PERSPECTIVE TILT & CURSOR SPOTLIGHT ON CARDS */
.sv-tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.25s ease !important;
  overflow: hidden;
}
.sv-tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--sv-mx, 50%) var(--sv-my, 50%), rgba(30, 94, 255, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.sv-tilt-card:hover::before {
  opacity: 1;
}

/* 6. ANIMATED BORDER GLINT / DATA BEAM */
@keyframes svBeamSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}
.sv-beam-top {
  position: relative;
  overflow: hidden;
}
.sv-beam-top::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #1e5eff, #38bdf8, transparent);
  animation: svBeamSlide 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* 7. LIQUID RIPPLE EFFECT ON BUTTON CLICKS */
.sv-ripple-host {
  position: relative;
  overflow: hidden;
}
@keyframes svRippleAnim {
  0% { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(4); opacity: 0; }
}
.sv-ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  pointer-events: none;
  animation: svRippleAnim 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 8. FLOATING ICON PULSE & BREATHING BADGES */
@keyframes svIconBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}
.sv-card:hover .fa-solid,
.sv-card:hover .fa-brands {
  animation: svIconBob 0.7s ease-in-out;
}

@keyframes svPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(30, 94, 255, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(30, 94, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 94, 255, 0); }
}
.sv-pulse-cta {
  animation: svPulseRing 2.6s infinite;
}

/* 9. SCROLL PROGRESS GLOW BAR */
#sv-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #1e5eff, #0ea5e9, #38bdf8, #1e5eff);
  background-size: 200% 100%;
  animation: svGradientFlow 3s linear infinite;
  box-shadow: 0 0 14px rgba(30, 94, 255, 0.75);
  z-index: 99999;
  transition: width 0.08s linear;
}

/* 10. CLICK SPARKLE PARTICLES */
@keyframes svSparkFly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}
.sv-spark {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  animation: svSparkFly 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sv-anim-item { opacity: 1 !important; transform: none !important; filter: none !important; }
  .sv-orb-a, .sv-orb-b, .sv-pulse-cta, .sv-beam-top::after { animation: none !important; }
}
