/* Custom styles beyond Tailwind */

/* Cloak for Alpine.js */
[x-cloak] { display: none !important; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Hero background animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }

/* DNA helix decorative pattern */
.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

/* Node network dots */
.node-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(20, 184, 166, 0.5);
  border-radius: 50%;
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #14B8A6, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border */
.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #14B8A6, #6366F1);
  border-radius: 3px 3px 0 0;
}

/* Publication card */
.pub-card {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.pub-card:hover {
  border-left-color: #14B8A6;
  background-color: rgba(240, 253, 250, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Tool status badges */
.badge-active { background-color: #DCFCE7; color: #166534; }
.badge-development { background-color: #FEF3C7; color: #92400E; }

/* Selection color */
::selection {
  background: rgba(20, 184, 166, 0.3);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #14B8A6;
  outline-offset: 2px;
  border-radius: 2px;
}
