/* ===============================================================
   Ajeer — Shared Page Transition Loader (heartbeat)
   =============================================================== */

.aj-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.aj-loader.aj-visible {
  opacity: 1;
  pointer-events: auto;
}

.aj-loader-wrap {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}

.aj-loader-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 3;
  animation: ajLoaderBeat 1.4s cubic-bezier(.45,0,.55,1) infinite;
  filter: drop-shadow(0 4px 12px rgba(3, 93, 252, .25));
}

.aj-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #035DFC;
  opacity: 0;
  z-index: 1;
  animation: ajLoaderRing 1.4s cubic-bezier(.25,1,.5,1) infinite;
}
.aj-loader-ring.aj-delay { animation-delay: .55s; }

@keyframes ajLoaderBeat {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(.92); }
  60%      { transform: scale(1.06); }
}
@keyframes ajLoaderRing {
  0%   { transform: scale(.55); opacity: .65; }
  100% { transform: scale(1.9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .aj-loader-logo { animation: none !important; }
  .aj-loader-ring { animation: none !important; opacity: 0 !important; }
}
