/* Deferred, non-critical styles loaded after first paint */

/* Glassmorphism container */
.glassmorphism-bg {
  background: rgba(15, 15, 25, 1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.glassmorphism-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      135deg,
      rgba(151, 107, 242, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(45deg, transparent 30%, rgba(159, 122, 234, 0.07) 70%);
  z-index: -1;
}

/* Animated gradient border */
.gradient-border {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.gradient-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #6B44C2, #8B64E2, #6B44C2, #8B64E2);
  z-index: -1;
  border-radius: 0.75rem;
  animation: border-animation 6s linear infinite;
}

.gradient-border::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #0a0a0a;
  border-radius: 0.5rem;
  z-index: -1;
}

@keyframes border-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Radial gradient on hover */
.radial-shine {
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.35) 0%,
    transparent 40%
  );
}

/* Fancy hover animation for cards */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #2c1d4f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6B44C2;
}

/* Shimmer animation (pseudo-element sweep) */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer-pseudo 2s infinite;
}

@keyframes shimmer-pseudo {
  100% {
    left: 100%;
  }
}

/* Alternate shimmer using background movement */
.shimmer {
  background-size: 400% 100%;
  animation: shimmer-bg 1.5s infinite linear;
  background-image: linear-gradient(
    90deg,
    rgba(25, 25, 30, 0.1) 0%,
    rgba(50, 50, 60, 0.2) 50%,
    rgba(25, 25, 30, 0.1) 100%
  );
}

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

/* FAQ animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Custom button styles */
.custom-button-rounded {
  border-radius: 0.75rem !important;
  overflow: hidden;
}

.highlight-pulse {
  animation: pulse 1.5s ease-in-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 68, 194, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(107, 68, 194, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 68, 194, 0);
  }
}

