.hero-gradient {
  background: linear-gradient(135deg, #551a8b 0%, #7b2cbf 100%);
  position: relative;
  overflow: hidden;
}

/* Full-screen hero */
.hero-fullscreen {
  height: 100svh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background animations */
.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(139, 69, 19, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(75, 0, 130, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(218, 112, 214, 0.2) 0%,
      transparent 50%
    );
  animation: backgroundPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Floating particles */
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 20px;
  height: 20px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 15px;
  height: 15px;
  top: 60%;
  left: 85%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  width: 25px;
  height: 25px;
  top: 80%;
  left: 15%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  width: 12px;
  height: 12px;
  top: 15%;
  left: 70%;
  animation-delay: 3s;
}
.particle:nth-child(5) {
  width: 18px;
  height: 18px;
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Page loader styles */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #551a8b 0%, #7b2cbf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: white;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  animation: pulse 2s ease-in-out infinite;
}

.loader-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode styles */
.dark .bg-white {
  background-color: #1f2937;
}
.dark .text-gray-900 {
  color: #f9fafb;
}
.dark .text-gray-700 {
  color: #d1d5db;
}
.dark .text-gray-600 {
  color: #9ca3af;
}
.dark .border-gray-300 {
  border-color: #4b5563;
}
.dark .shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.dark .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
