@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0891b2, #2563eb);
}
/* Quantum Particle Canvas */
#quantum-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 70%);
}

/* Text contrast improvements */
.text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.text-gray-300 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Enhanced section backgrounds */
section {
    position: relative;
    z-index: 10;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Improved card backgrounds */
.bg-gray-900\/50 {
    background: rgba(17, 24, 39, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Better border visibility */
.border-cyan-500\/20 {
    border-color: rgba(6, 182, 212, 0.4) !important;
}

.border-orange-500\/20 {
    border-color: rgba(249, 115, 22, 0.4) !important;
}

.border-purple-500\/20 {
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.border-gray-700 {
    border-color: rgba(55, 65, 81, 0.8) !important;
}

/* Enhanced hover effects */
.hover\:border-cyan-500\/40:hover {
    border-color: rgba(6, 182, 212, 0.8) !important;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.hover\:border-orange-500\/40:hover {
    border-color: rgba(249, 115, 22, 0.8) !important;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.hover\:border-purple-500\/40:hover {
    border-color: rgba(139, 92, 246, 0.8) !important;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Improved connection line visibility */
.bg-gradient-to-r.from-cyan-500.via-orange-500.to-purple-500 {
    height: 4px !important;
    opacity: 0.8 !important;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/* Better step indicators */
.bg-cyan-500, .bg-orange-500, .bg-purple-500 {
    box-shadow: 0 0 20px currentColor;
}

/* Enhanced particle connections */
#quantum-canvas {
    mix-blend-mode: screen;
}
/* Quantum particle animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes connect {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 20%, transparent 70%);
    animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite;
}

/* Bokeh effect for depth */
.bokeh-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bokeh-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    filter: blur(2px);
}
/* Gradient text animation */
.gradient-text {
    background: linear-gradient(45deg, #06b6d4, #3b82f6, #8b5cf6, #ec4899);
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-lg {
        backdrop-filter: blur(16px);
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .backdrop-blur-lg {
        background-color: rgba(17, 24, 39, 0.95);
    }

/* Improved text readability */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

p, span {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Better contrast for gradient text */
.bg-clip-text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Enhanced section spacing */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Improved mobile readability */
@media (max-width: 768px) {
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .text-white, .text-gray-300 {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    }
}
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Custom border gradients */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(45deg, #000, #000) padding-box,
                linear-gradient(45deg, #06b6d4, #3b82f6) border-box;
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .text-responsive {
        font-size: 2.5rem;
    }
}

/* Loading animation */
.loading-dots {
    display: inline