/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-purple: #b366ff;
  --secondary-purple: #6a00b8;
  --accent-magenta: #ff66ff;
  --dark-bg: #0a0a0f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: #fff;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-purple), var(--secondary-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c47bff, #7a00d8);
}

/* Three.js canvas container */
#network-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Hero section enhancements */
#hero {
  position: relative;
  isolation: isolate;
}

/* Feature cards animation */
.group:hover .w-14 {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Interactive demo styling */
#interactive-demo {
  position: relative;
  background: radial-gradient(circle at center, rgba(179, 102, 255, 0.1) 0%, transparent 70%);
  border: 1px solid rgba(179, 102, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
}

/* Animation keyframes */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(179, 102, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(179, 102, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(179, 102, 255, 0);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}