@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loader-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes loader-logo-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 14px rgba(60, 138, 184, 0.22));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 22px rgba(60, 138, 184, 0.38));
  }
}
@keyframes loader-glow-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}
@keyframes loader-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
@keyframes loader-ellipsis {
  0%,
  20% {
    opacity: 0.15;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.15;
  }
}
#app-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #f8fbff 0%, #fff 42%, #f3f8fc 100%);
  overflow: hidden;
  font-family: Poppins, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#app-loader .boot-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
#app-loader .boot-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  top: 50%;
  left: 50%;
  margin: -8rem 0 0 -8rem;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(60, 138, 184, 0.28) 0%,
    transparent 70%
  );
  filter: blur(48px);
  animation: loader-glow-pulse 4s ease-in-out infinite;
}
#app-loader .boot-orbit-wrap {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
#app-loader .boot-ring-track {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid rgba(60, 138, 184, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
#app-loader .boot-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(60, 138, 184, 0.08) 40deg,
    #3c8ab8 120deg,
    #133b53 220deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    #000 calc(100% - 2px)
  );
  animation: loader-spin 1.4s linear infinite;
}
#app-loader .boot-ring-inner {
  inset: 0.55rem;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    #133b53 160deg,
    #3c8ab8 260deg,
    transparent 360deg
  );
  animation: loader-spin-reverse 2s linear infinite;
}
#app-loader .boot-logo-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.08);
  animation: loader-logo-breathe 2.4s ease-in-out infinite;
}
#app-loader .boot-logo {
  width: 3.25rem;
  height: auto;
}
#app-loader .boot-progress {
  position: relative;
  z-index: 1;
  width: 9rem;
  height: 3px;
  border-radius: 9999px;
  background: rgba(60, 138, 184, 0.12);
  overflow: hidden;
}
#app-loader .boot-progress-fill {
  position: absolute;
  inset: 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    #3c8ab8 35%,
    #133b53 65%,
    transparent
  );
  animation: loader-progress 1.35s ease-in-out infinite;
}
#app-loader .boot-status {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #475467;
}
#app-loader .boot-ellipsis span {
  animation: loader-ellipsis 1.4s ease-in-out infinite;
}
#app-loader .boot-ellipsis span:nth-child(2) {
  animation-delay: 0.2s;
}
#app-loader .boot-ellipsis span:nth-child(3) {
  animation-delay: 0.4s;
}
#static-hero {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0a2540;
}
#static-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
#static-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
html.is-home #static-hero {
  display: block;
}
@media (max-width: 767px) {
  #app-loader {
    display: none !important;
  }
  html.is-home #static-hero {
    z-index: 1;
  }
}
#app-loader.boot-exit {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
html.has-static-seo #static-seo {
  position: relative;
  z-index: 1;
  background: #fff;
  min-height: 40vh;
}
html.app-ready #static-seo {
  display: none !important;
}
