/* AI 미래지향적 디자인 - 사이버 네온 스타일 */

/* 모바일 반응형 개선 */
@media (max-width: 768px) {
  .hero-gradient h1 {
    font-size: 2.5rem !important;
  }
  
  .hero-gradient p {
    font-size: 1rem !important;
  }
  
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  nav .hidden.md\\:block {
    display: none !important;
  }
}

/* 스크롤 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scroll-animate {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.scroll-animate-delay-1 {
  animation-delay: 0.1s;
}

.scroll-animate-delay-2 {
  animation-delay: 0.2s;
}

.scroll-animate-delay-3 {
  animation-delay: 0.3s;
}

/* 호버 효과 개선 */
.card-hover-enhanced {
  position: relative;
  overflow: hidden;
}

.card-hover-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-hover-enhanced:hover::before {
  opacity: 1;
}

.hero-gradient {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(59, 130, 246, 0.03) 2px,
    rgba(59, 130, 246, 0.03) 4px
  );
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4), 0 0 20px rgba(168, 85, 247, 0.3);
}
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}
.nav-gradient {
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}
.text-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.5);
  border-color: #3b82f6;
}
.btn-secondary {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5), 0 0 30px rgba(168, 85, 247, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(168, 85, 247, 0.5);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.7), 0 0 40px rgba(168, 85, 247, 0.5);
  border-color: #a855f7;
}

/* AI 디지털 VH 로고 */
.ai-logo {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 12px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.ai-logo::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-glow 3s ease infinite;
}
.ai-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #06b6d4 100%);
  opacity: 0.1;
  filter: blur(10px);
}
.ai-logo-text {
  position: relative;
  z-index: 10;
  font-size: 22px;
  font-weight: 900;
  font-family: 'Arial Black', sans-serif;
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  animation: text-glow 2s ease-in-out infinite;
  letter-spacing: -2px;
}
@keyframes border-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes text-glow {
  0%, 100% { 
    filter: brightness(1) drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
  }
  50% { 
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
  }
}
