* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Liquid Glass Base Styles */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Animated Gradient Background */
body {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Network Grid Animation */
.network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(100, 200, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: networkMove 20s linear infinite;
}

@keyframes networkMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.8) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.6; 
    }
    33% { 
        transform: translate(100px, -100px) scale(1.2); 
        opacity: 0.8; 
    }
    66% { 
        transform: translate(-50px, 100px) scale(0.9); 
        opacity: 0.7; 
    }
}

/* Text Glow Effect */
.text-glow {
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5),
                 0 0 40px rgba(100, 200, 255, 0.3);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Feature Card Animation */
.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Pulse */
.icon-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Button Glow */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

/* Navigation Glass */
nav {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 12, 41, 0.8);
}

/* Mobile Menu Animation */
@media (max-width: 768px) {
    nav .hidden {
        display: none;
    }
    
    .feature-card {
        animation-delay: 0s !important;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .particle {
        width: 4px !important;
        height: 4px !important;
    }
    
    .text-glow {
        text-shadow: 0 0 10px rgba(100, 200, 255, 0.4);
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid rgba(100, 200, 255, 0.5);
    outline-offset: 2px;
}

/* Input Glass Effect */
input.glass {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

input.glass::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input.glass:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(100, 200, 255, 0.5);
}

/* Ensure all rounded elements use consistent radii */
.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}
