:root {
    --edgars-blue: #0a2540;
    --edgars-navy-dark: #07182c;
    --edgars-green: #10b981;
    --edgars-green-glow: rgba(16, 185, 129, 0.15);
    --edgars-gray: #4b5563;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Outfit', 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Custom Colors & Utilities */
.bg-edgars-blue { background-color: var(--edgars-blue); }
.text-edgars-blue { color: var(--edgars-blue); }
.bg-edgars-green { background-color: var(--edgars-green); }
.text-edgars-green { color: var(--edgars-green); }
.border-edgars-green { border-color: var(--edgars-green); }
.bg-navy-dark { background-color: var(--edgars-navy-dark); }

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Glow Effects */
.hero-glow-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(10, 37, 64, 0) 70%);
    top: -100px;
    left: -100px;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(10, 37, 64, 0) 70%);
    bottom: -150px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

/* Custom Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #e2e8f0;
    height: 6px;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px; /* Centers thumb on the track */
    background-color: var(--edgars-green);
    height: 16px;
    width: 16px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    transition: var(--transition-smooth);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

/* Hover scales and premium touches */
.premium-card {
    transition: var(--transition-smooth);
    border: 1px solid #f1f5f9;
}
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: var(--transition-smooth);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--edgars-green);
    transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animations */
.loader {
    border: 3px solid #e2e8f0;
    border-top: 3px solid var(--edgars-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
