@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Manrope:wght@400;500;600&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --surface: #0e0e0e;
  --surface-container-lowest: #000000;
  --surface-container-low: #131313;
  --surface-container: #1a1a1a;
  --surface-container-high: #1f1f1f;
  --surface-container-highest: #262626;

  --primary: #81ecff;
  --secondary: #ac89ff;
  --tertiary: #759aff;

  --on-surface: #ffffff;
  --on-surface-variant: #adaaaa;
  
  --outline-variant: rgba(72, 72, 71, 0.15);
}

body {
  background-color: var(--surface) !important;
  color: var(--on-surface-variant) !important;
  font-family: 'Manrope', sans-serif !important;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Space Grotesk', sans-serif !important;
  color: var(--on-surface) !important;
}

.label-font {
  font-family: 'Inter', sans-serif !important;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Neon Button */
.btn-neon {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  border-radius: 9999px !important;
  color: #000 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(129, 236, 255, 0.3) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-neon:hover {
  box-shadow: 0 0 25px rgba(129, 236, 255, 0.6) !important;
  transform: translateY(-2px);
  color: #000 !important;
  text-decoration: none;
}

/* Ghost Button */
.btn-ghost {
  background-color: transparent !important;
  border: 1px solid var(--outline-variant) !important;
  color: var(--primary) !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-ghost:hover {
  background-color: rgba(129, 236, 255, 0.1) !important;
  color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(129, 236, 255, 0.15) !important;
  text-decoration: none;
}

/* Data Cell / Card */
.data-cell {
  background-color: var(--surface-container) !important;
  border-radius: 0.5rem !important;
  border: none !important;
  padding: 2rem !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
  height: 100%;
}
.data-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 0 -2px 15px var(--primary);
}
.data-cell:hover {
  background-color: var(--surface-container-high) !important;
  transform: translateY(-5px);
}
.data-cell:hover::after {
  opacity: 1;
}

/* Logo filtering */
.project-logo {
  filter: grayscale(100%) opacity(60%) drop-shadow(0 0 0 transparent);
  transition: all 0.5s ease;
  max-width: 100%;
}
.data-cell:hover .project-logo {
  filter: grayscale(0%) opacity(100%) drop-shadow(0 0 10px rgba(129, 236, 255, 0.3));
}

/* Input Command Line */
.command-line-input {
  background-color: var(--surface-container-lowest) !important;
  border: 1px solid var(--outline-variant) !important;
  color: var(--on-surface) !important;
  border-radius: 0.5rem !important;
  padding: 1rem !important;
  font-family: 'Inter', monospace !important;
  transition: all 0.3s ease;
  width: 100%;
}
.command-line-input:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(129, 236, 255, 0.2) !important;
}

/* Glassmorphism nav */
.glass-nav {
  background-color: rgba(38, 38, 38, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--outline-variant) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Sleek continuous text animation for hero */
@keyframes color-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-text-shift {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary), var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: color-shift 5s ease infinite;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(129, 236, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(129, 236, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(129, 236, 255, 0); }
}
.animate-pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* Layout Utilities to override some legacy issues se le teniamo */
.no-border { border: none !important; }
