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

:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #2dd4bf;
    
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(59, 130, 246, 0.3);
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--slate-950);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-800);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-700);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--slate-950);
    color: var(--slate-50);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.05) 0%, transparent 40%);
}

h1, h2, h3, h4, .font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* --- WOW COMPONENTS --- */

.glass-card {
    position: relative;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: 0.5s;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card:hover::before {
    left: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #94a3b8 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(2, 6, 23, 0.4) 0%,
        rgba(2, 6, 23, 0.8) 70%,
        var(--slate-950) 100%
    );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 0;
}

/* --- UTILITIES & LAYOUT --- */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 8rem 0;
    position: relative;
}

.grid-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- TYPOGRAPHY --- */

h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--slate-400);
    max-width: 60ch;
    margin-bottom: 2.5rem;
}

/* --- INTERACTIVE --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
    background: #4f8ff7;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- NAVIGATION --- */

.nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav.scrolled {
    padding: 1.25rem 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

/* --- FORMS --- */

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--slate-300);
}

input, select {
    width: 100%;
    padding: 1.125rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: rgba(30, 41, 59, 0.8);
}

/* --- DECORATIVE --- */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
    font-variant-numeric: tabular-nums;
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(45, 212, 191, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .glass-card {
        padding: 1.75rem;
    }

    h1 {
        font-size: 3rem;
    }
}