:root {
    --black: #050505;
    --neon-blue: #00f2ff;
    --neon-purple: #bc13fe;
    --text-white: #e0e0e0;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 30px 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo span { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    margin-left: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.4s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    position: relative;
    color: white;
}

/* BOUTONS FUTURISTES */
.btn-primary, .btn-secondary {
    padding: 15px 35px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin: 10px;
    display: inline-block;
    transition: 0.5s;
    border: 1px solid var(--neon-blue);
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--black);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.btn-secondary {
    color: var(--neon-blue);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(0, 242, 255, 0.1);
}

/* GRID PROJECTS & BIO */
.projects-grid, .bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 10%;
}

.project-item, .bio-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-item:hover {
    border-color: var(--neon-purple);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.2);
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-top: 150px;
    color: var(--neon-blue);
}

/* CANVAS & EFFETS */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.fade-in { animation: fadeIn 1.5s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}