/* Custom styles for AI Innovator website */

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  overflow-x: hidden;
}

/* Particles background */
#particles {
  z-index: 1;
}

/* Text gradient animations */
.text-gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Code block styling */
pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

code {
  font-family: 'Fira Code', 'Courier New', monospace;
}

/* Custom glow effects */
.glow-on-hover:hover {
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.glow-text {
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

/* Enhance card hover effects */
.card-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1f1f1f;
}

::-webkit-scrollbar-thumb {
  background: #6d28d9;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5b21b6;
}

/* Additional animations */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-responsive {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
}

/* Enhance accessibility */
.focus-visible:focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 2px;
}