.ai-nav-button {
  position: relative;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.1) 0%, rgba(25, 25, 112, 0.15) 100%);
  color: #191970;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #191970;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  white-space: nowrap;
}

.ai-nav-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(25, 25, 112, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ai-nav-button:hover::after {
  width: 300px;
  height: 300px;
}

.ai-nav-button:hover {
  border-color: #4a90e2;
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.15) 0%, rgba(25, 25, 112, 0.2) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 25, 112, 0.3);
}

.ai-nav-button:active {
  transform: translateY(0);
}

.ai-nav-button svg {
  width: 18px;
  height: 18px;
  animation: aiSparkle 2s ease-in-out infinite;
}

@keyframes aiSparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  75% {
    opacity: 0.8;
    transform: scale(1.1) rotate(-5deg);
  }
}

@media (max-width: 1023px) {
  .ai-nav-button {
    margin-right: 4px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .ai-nav-button svg {
    width: 16px;
    height: 16px;
  }
}
