/* Text Animation Effects */

/* 1. Glowing text effect for hero heading */
@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(75, 91, 123, 0.8),
                 0 0 10px rgba(75, 91, 123, 0.5),
                 0 0 15px rgba(75, 91, 123, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(75, 91, 123, 0.8),
                 0 0 30px rgba(75, 91, 123, 0.5),
                 0 0 40px rgba(75, 91, 123, 0.3);
  }
}

.glow-text {
  animation: glow 3s ease-in-out infinite;
}

/* Bold style for AI text */
.highlight-text {
  font-weight: 700;
  color: var(--white);
}

/* Text with outline for better visibility */
.text-with-outline {
  color: white;
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.5),
    1px -1px 0 rgba(0, 0, 0, 0.5),
    -1px 1px 0 rgba(0, 0, 0, 0.5),
    1px 1px 0 rgba(0, 0, 0, 0.5);
}

/* 5. Hover split effect for nav links */
.split-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.split-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  color: var(--white);
  transition: width 0.4s ease;
}

.split-text:hover::before {
  width: 100%;
}

/* AI-Themed Background Elements */

/* Circuit board pattern for background */
.circuit-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--accent-blue) 1px, transparent 1px),
    linear-gradient(to right, var(--gray-300) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gray-300) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  background-position: 0 0, 10px 10px, 10px 10px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Data flow animation in hero section */
@keyframes dataFlow {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(100%); opacity: 0; }
}

.data-flow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.data-stream {
  position: absolute;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--light-blue), transparent);
  animation: dataFlow 8s linear infinite;
}

/* Particle background for sections */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  animation: float 15s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .highlight-text {
    background: linear-gradient(90deg, #F0F5FF 0%, #FFFFFF 50%, #F0F5FF 100%);
    color: rgba(0, 42, 103, 0.9);
    text-shadow: 
      0px 0px 6px rgba(255, 255, 255, 0.9),
      0px 0px 10px rgba(255, 255, 255, 0.6);
  }
} 