:root {
    --neon-green: #38bdf8;
    --dark-bg: #0f172a;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    margin: 0; padding: 0;
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

#network-canvas {
    position: fixed; top: 0; left: 0; z-index: 0;
}

main.scroll-container {
    width: 100%; height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative; z-index: 1;
}

section {
    min-height: 85vh;
    display: flex; justify-content: center; align-items: center;
    padding: 20px; box-sizing: border-box;
    scroll-snap-align: center;
}
section:first-child { min-height: 100vh; }

/* --- HET VLIEGTUIG (DE TILE) --- */
.tile {
    /* Design (ongewijzigd) */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    border-bottom: 5px solid var(--glass-border);
    padding: 60px 50px;
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    
    /* --- FASE 1: STARTPOSITIE --- */
    opacity: 0;
    
    /* We starten op 40vh (diep beneden) */
    transform: translateY(40vh); 
    
    /* DE FIX VOOR JE OGEN: */
    transition: 
        opacity 1s ease-out,                    /* Fade-in duurt 1s */
        transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), /* Vliegen duurt 1s */
        filter 0.4s ease-out;                   /* <--- FIX: Scherpstellen duurt maar 0.4s! */
    
    /* Minder zware blur (was 8px, nu 3px) */
    filter: blur(3px);
}

/* --- FASE 2: GELAND (Center) --- */
.tile.show {
    opacity: 1;
    transform: translateY(0); 
    filter: blur(0px);
}

/* --- FASE 3: VERTREK (Exit) --- */
.tile.exiting-top {
    opacity: 0;
    /* Vliegt door naar boven */
    transform: translateY(-40vh);
    /* Directe respons */
    transition: all 0.8s ease-in 0s !important;
    filter: blur(10px);
}

/* --- OVERIGE STYLING --- */
.hero-content { margin-top: 30px; margin-bottom: 50px; }
.lead { font-size: 24px; font-weight: 300; letter-spacing: 1px; color: var(--text-main); margin-bottom: 10px;}
.description { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.6; }

.scroll-indicator { display: flex; flex-direction: column; align-items: center; font-size: 10px; letter-spacing: 3px; color: var(--neon-green); opacity: 0.7; }
.scroll-indicator .line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--neon-green), transparent); margin-top: 10px; }

h2 { color: var(--neon-green); font-size: 14px; letter-spacing: 4px; margin-bottom: 40px; text-transform: uppercase; opacity: 0.9; }
.split-layout { display: flex; justify-content: space-between; gap: 40px; text-align: left; }
.column { flex: 1; }
.divider-vertical { width: 1px; background: var(--glass-border); margin: 0 10px; }
.role-title { font-size: 18px; font-weight: 800; color: #fff; margin: 0 0 5px 0; }
.role-subtitle { display: block; font-size: 12px; color: var(--neon-green); margin-bottom: 20px; font-weight: 600; text-transform: uppercase;}
.column p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.skill-list { list-style: none; padding: 0; margin: 0; }
.skill-list li { font-size: 13px; color: var(--text-main); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 8px 0; }
.skill-list li::before { content: "› "; color: var(--neon-green); font-weight: bold;}
.project-grid { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.project-item { background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s; }
.project-item:hover { transform: translateX(10px); border-color: var(--neon-green); }
.project-item h4 { margin: 0 0 10px 0; color: #fff; }
.project-item p { font-size: 13px; color: var(--text-muted); margin: 0 0 15px 0; }
.tags span { font-size: 10px; background: rgba(56, 189, 248, 0.1); color: var(--neon-green); padding: 4px 8px; border-radius: 4px; margin-right: 5px;}
.contact-methods { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.method { display: flex; flex-direction: column; gap: 5px; }
.label { font-size: 10px; color: var(--neon-green); letter-spacing: 2px; }
.value { font-size: 18px; color: #fff; font-family: monospace; }
.status-indicator { display: inline-flex; align-items: center; background: rgba(56, 189, 248, 0.1); padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(56, 189, 248, 0.2); }
.status-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; margin-right: 8px; }
.status-text { font-size: 12px; font-weight: 600; color: #10b981; letter-spacing: 1px; }
.pulse { animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background-color: var(--neon-green); color: #0f172a; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.2s ease; width: 100%; box-sizing: border-box; }
.btn-primary:hover { background-color: #7dd3fc; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3); }
.arrow { margin-left: 8px; font-weight: bold; }
footer { margin-top: 40px; border-top: 1px solid var(--glass-border); padding-top: 20px; }
footer p { color: rgba(148, 163, 184, 0.6); font-size: 11px; margin: 4px 0; }
.small-id { font-family: monospace; letter-spacing: 1px; opacity: 0.5; }
.logo-wrapper { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.logo-scale-container { transform: scale(1.1); display: flex; flex-direction: column; align-items: center; margin-bottom: 0px; }
.icon-container { position: relative; height: 60px; width: 120px; display: flex; justify-content: center; align-items: center; }
.castle { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; margin-top: 20px; }
.battlements { display: flex; gap: 8px; }
.battlements span { width: 10px; height: 10px; background-color: var(--neon-green); box-shadow: 0 0 5px var(--neon-green); }
.base { width: 38px; height: 22px; background-color: var(--neon-green); box-shadow: 0 0 5px var(--neon-green); }
.shield-arc { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 100px; height: 50px; border: 2px solid var(--neon-green); border-bottom: none; border-radius: 50px 50px 0 0; z-index: 0; box-shadow: 0 -2px 10px rgba(0, 255, 0, 0.3); }
.scanner-arm { position: absolute; left: -2px; top: 0; width: 104px; height: 100px; transform-origin: 50% 50px; animation: ubs-scan 4.5s ease-in-out infinite; }
.scanner-dot { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background-color: #fff; border-radius: 50%; box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.9); }
@keyframes ubs-scan { 0% { transform: rotate(-90deg); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 80% { transform: rotate(90deg); opacity: 0; } 100% { transform: rotate(90deg); opacity: 0; } }
.ricochet-group { position: absolute; top: 34px; left: 12px; width: 100%; height: 100%; pointer-events: none; }
.rico-line { position: absolute; height: 1px; background-color: var(--neon-green); opacity: 0.7; }
.rico-line .dot { position: absolute; right: 0; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background-color: var(--neon-green); box-shadow: 0 0 5px var(--neon-green); }
.in-1 { width: 32px; top: 0px; left: -18px; transform: rotate(36deg); transform-origin: right center; }
.out-1 { width: 40px; top: 11px; left: -64px; transform: rotate(164deg); transform-origin: right center; }
.in-2 { width: 27px; top: 1px; left: 80px; transform: rotate(-60deg); transform-origin: left center; }
.out-2 { width: 45px; top: 1px; left: 80px; transform: rotate(20deg); transform-origin: left center; }
.text-container { text-align: center; margin-top: 10px; }
.brand-name { color: var(--text-main); font-size: 24px; font-weight: bold; font-family: 'Inter', sans-serif; letter-spacing: 2px; margin: 0; line-height: 1; }
.sub-text { color: var(--neon-green); font-size: 14px; font-family: 'Inter', monospace; letter-spacing: 7px; opacity: 0.8; display: block; margin-top: 5px; text-transform: uppercase; }
@media (max-width: 768px) { .split-layout { flex-direction: column; gap: 30px; } .divider-vertical { display: none; } .tile { padding: 40px 20px; width: 90%; } }