/* Antigravity Fluid Design Tokens */
:root {
    --cobalt: #002D62;
    --emerald: #50C878;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

@layer base {
    html {
        font-family: 'Inter', system-ui, sans-serif;
    }
    h1, h2, h3, .font-display {
        font-family: 'Outfit', sans-serif;
    }
}

/* Custom Utilities */
.glass-morphism {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Hero Animation Background Gradient */
#hero-canvas {
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    opacity: 0.6;
}

/* Soft Animations */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

/* Range Input Styling */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: rgba(80, 200, 120, 0.2);
    border-radius: 4px;
}

input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #50C878;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: 0 4px 10px rgba(80, 200, 120, 0.4);
    transition: all 0.2s ease;
}

input[type=range]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(80, 200, 120, 0.6);
}

/* Dark Mode Transitions */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Selection */
::selection {
    background: #50C878;
    color: white;
}

/* Responsiveness adjustments for wide screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 1600px;
    }
}
