:root {
    /* Colors */
    --bg-dark: #020617;
    --bg-slate: #0f172a; 
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    /* Light Theme */
    --bg-light: #f8fafc;
    --card-light: #ffffff;
    --text-light-primary: #0f172a;
    --text-light-secondary: #475569;

    --accent-blue: #3b82f6;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- MOUSE GLOW --- */
.mouse-glow { 
    position: fixed; width: 600px; height: 600px; 
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%); 
    top: 0; left: 0; pointer-events: none; 
    transform: translate(-50%, -50%); z-index: 9999; 
    mix-blend-mode: screen; transition: opacity 0.3s; 
}

/* --- NAVBAR --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1000px; padding: 12px 24px;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 100px;
    z-index: 100; transition: transform 0.4s ease;
}
nav.nav-hidden { transform: translate(-50%, -150%); }
.logo { font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: white; }
.btn-small { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.05); color: white; padding: 8px 16px; border-radius: 20px; font-size: 13px; text-decoration: none; transition: 0.2s; }
.btn-small:hover { background: rgba(255,255,255,0.2); }

/* --- FOOTER --- */
#footer {
    background: #020617;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 14px;
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px;
    margin-bottom: 60px;
}
.f-col-brand { display: flex; flex-direction: column; gap: 20px; }
.f-logo { font-size: 24px; font-weight: 700; color: white; }
.f-desc { line-height: 1.6; max-width: 250px; }
.f-socials { display: flex; gap: 15px; }
.f-social-icon { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: 0.2s; }
.f-social-icon:hover { background: #3b82f6; border-color: #3b82f6; }

.f-col-links h4 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.f-col-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.f-col-links a { color: #94a3b8; text-decoration: none; transition: 0.2s; }
.f-col-links a:hover { color: white; }

.f-col-contact h4 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.f-cta-box p { margin-bottom: 15px; }
.f-cta-btn {
    display: inline-block; background: white; color: #020617;
    padding: 12px 24px; border-radius: 50px; font-weight: 600; text-decoration: none;
    transition: transform 0.2s;
}
.f-cta-btn:hover { transform: scale(1.05); }

.f-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .f-bottom { flex-direction: column; align-items: center; text-align: center; }
}


/* ------------------------------------------------------------------------------------- */


@media (max-width: 900px) {
    /* 1. NAVBAR & HAMBURGER */
    nav {
        justify-content: space-between;
        padding: 10px 20px;
        width: 95%;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 75px; right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 25px;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        gap: 20px;
        width: 220px;
        text-align: center;
        z-index: 200;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .nav-links.mobile-active { display: flex; }

    .menu-toggle {
        display: flex; flex-direction: column; gap: 5px; cursor: pointer;
        padding-left: 15px; z-index: 101;
    }
    .menu-toggle span { width: 24px; height: 2px; background: white; transition: 0.3s; }
}