/* Basis Reset & Lettertype */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-main: #060609;
    --bg-darker: #020203;
    --text-main: #f0f0f5;
    --text-muted: #8b8b99;
    --accent-cyan: #00f2fe;
    --accent-purple: #5a22ff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px; 
}

/* Scroll-fix: Alleen overflow-x op de body, houdt verticaal scrollen soepel */
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1250px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 10; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.bg-pitch-black { background-color: var(--bg-darker); }
.w-100 { width: 100%; }

/* --- AMBIENT GLOWS & PARTICLES --- */
.ambient-orb {
    position: absolute; border-radius: 50%; filter: blur(160px);
    opacity: 0.12; z-index: 0; pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}
.orb-purple { width: 600px; height: 600px; background-color: var(--accent-purple); top: 25%; left: -10%; }
.orb-cyan { width: 500px; height: 500px; background-color: var(--accent-cyan); top: 65%; right: -5%; }
@keyframes drift { 0% { transform: translate(0, 0); } 100% { transform: translate(100px, -100px); } }

.particles-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
    overflow: hidden; z-index: 1; pointer-events: none;
}
.particle {
    position: absolute; width: 4px; height: 4px; background: var(--accent-cyan);
    border-radius: 50%; box-shadow: 0 0 10px var(--accent-cyan);
    animation: rise infinite linear; opacity: 0;
}
.p1 { left: 15%; animation-duration: 8s; animation-delay: 0s; }
.p2 { left: 45%; animation-duration: 12s; animation-delay: 2s; width: 3px; height: 3px; background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple);}
.p3 { left: 75%; animation-duration: 10s; animation-delay: 4s; }
.p4 { left: 25%; animation-duration: 14s; animation-delay: 1s; }
.p5 { left: 85%; animation-duration: 9s; animation-delay: 3s; width: 5px; height: 5px; }
.p6 { left: 55%; animation-duration: 11s; animation-delay: 5s; background: var(--accent-purple); }

@keyframes rise {
    0% { bottom: -10px; opacity: 0; transform: translateX(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { bottom: 100%; opacity: 0; transform: translateX(-20px); }
}

/* --- NAVIGATIE --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; position: fixed; width: 100%; top: 0;
    background: rgba(6, 6, 9, 0.85); backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img { 
    height: 75px; 
    width: auto; 
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-accent { font-size: 0.75rem; color: var(--accent-cyan); display: block; margin-top: -3px; letter-spacing: 2px;}

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a:not(.btn) { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:not(.btn):hover { color: #fff; }

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* --- KNOPPEN --- */
.btn {
    padding: 14px 30px; border-radius: 6px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: #fff; position: relative; z-index: 1; overflow: hidden;
    box-shadow: 0 10px 20px rgba(90, 34, 255, 0.2);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0; transition: opacity 0.4s; z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(0, 242, 254, 0.3); }

.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent-cyan); }

.btn-neon {
    background: var(--accent-cyan); color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6), 0 0 30px rgba(0, 242, 254, 0.2);
    border-radius: 50px; padding: 10px 26px; border: none;
}
.btn-neon:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.8), 0 0 50px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px); background: #fff;
}

/* --- HERO SECTIE --- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: 140px; padding-bottom: 80px; overflow: hidden;
}

.cyber-grid {
    position: absolute; bottom: -20%; left: -50%; width: 200%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 34, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(600px) rotateX(75deg);
    animation: gridMove 15s linear infinite;
    z-index: 0; pointer-events: none;
}
@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(75deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(75deg) translateY(60px); }
}

.hero-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }

.tech-badge {
    position: relative; z-index: 10; display: inline-block; 
    padding: 8px 16px; background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3); color: var(--accent-cyan);
    border-radius: 50px; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 25px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.1; letter-spacing: -1.5px;
    margin-bottom: 25px; color: #ffffff;
}

.typing-container { display: inline-block; min-height: 1.2em; }

.accent-text {
    font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.cursor {
    display: inline-block; width: 3px; height: 1em; background-color: var(--accent-cyan);
    vertical-align: middle; margin-left: 5px; animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }
.cta-buttons { display: flex; gap: 20px; }

.hero-visual { position: relative; height: 500px; display: flex; justify-content: center; align-items: center; }
.node-system { position: relative; width: 100%; max-width: 400px; height: 100%; }

.node {
    position: absolute; width: 60px; height: 60px; background: rgba(6, 6, 9, 0.8);
    border: 2px solid var(--accent-cyan); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; color: #fff; box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    animation: floatNode 6s ease-in-out infinite; z-index: 5;
}
.n1 { top: 20%; left: 10%; border-color: var(--accent-purple); box-shadow: 0 0 20px rgba(90, 34, 255, 0.4);}
.n2 { top: 10%; right: 10%; animation-delay: 1.5s; }
.n3 { bottom: 20%; right: 20%; animation-delay: 3s; }
.n4 { bottom: 30%; left: 20%; animation-delay: 4.5s; border-color: var(--accent-purple);}

.line {
    position: absolute; background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.3; z-index: 1;
}
.horizontal { width: 80%; height: 1px; top: 50%; left: 10%; animation: pulseOpacity 3s infinite;}
.vertical { width: 1px; height: 80%; top: 10%; left: 50%; animation: pulseOpacity 4s infinite;}
.diagonal { width: 60%; height: 1px; top: 40%; left: 20%; transform: rotate(45deg); animation: pulseOpacity 2.5s infinite; background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);}

.pulse-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 200px; height: 200px; border: 1px solid var(--accent-purple); border-radius: 50%;
    animation: radarPulse 4s linear infinite;
}

@keyframes floatNode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulseOpacity { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.8; } }
@keyframes radarPulse { 0% { width: 50px; height: 50px; opacity: 1; } 100% { width: 350px; height: 350px; opacity: 0; } }

/* --- AI TOOLS MARQUEE --- */
.tech-stack-marquee {
    width: 100%; overflow: hidden; padding: 40px 0;
    background: linear-gradient(90deg, var(--bg-main) 0%, rgba(6,6,9,0) 15%, rgba(6,6,9,0) 85%, var(--bg-main) 100%);
    position: relative; z-index: 20;
    border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03);
}
.tech-stack-marquee::before, .tech-stack-marquee::after {
    content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2;
}
.tech-stack-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-main), transparent); }
.tech-stack-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-main), transparent); }

.marquee-track {
    display: flex; width: max-content;
    animation: scrollMarquee 45s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.tech-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.15rem; font-weight: 600; color: var(--text-muted);
    margin: 0 40px; transition: all 0.3s; cursor: default;
}

.tech-item img {
    height: 30px; width: 30px;
    display: block; transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-item:hover { color: #fff; transform: translateY(-3px); }
.tech-item:hover img { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }

@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- SECTIES ALGEMEEN --- */
.section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.02); position: relative; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; letter-spacing: -1px; }
.section-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* --- OPLOSSINGEN --- */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.animated-border {
    position: relative; background: #000; padding: 2px;
    border-radius: 16px; overflow: hidden; z-index: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.15);
}

.animated-border::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent-cyan), var(--accent-purple));
    animation: rotateBorder 4s linear infinite; z-index: -2;
}
.animated-border::after {
    content: ''; position: absolute; inset: 2px;
    background: rgba(10, 10, 15, 0.95); border-radius: 14px; z-index: -1;
}
@keyframes rotateBorder { 100% { transform: rotate(360deg); } }

.card-content { padding: 40px 30px; position: relative; z-index: 2; height: 100%; }
.icon-wrap {
    width: 50px; height: 50px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 25px;
}
.card-content h3 { font-size: 1.3rem; margin-bottom: 15px; color: #fff; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; }

/* --- WERKWIJZE --- */
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.align-center { align-items: center; }
.flow-section .split-text h2 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 20px; }

.steps-container { position: relative; padding-left: 40px; }
.step { position: relative; display: flex; gap: 25px; margin-bottom: 45px; z-index: 2; }
.step:last-child { margin-bottom: 0; }
.step-number {
    font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; font-style: italic;
    color: var(--accent-cyan); line-height: 1; margin-top: -5px;
}
.step h4 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); }
.step-tracker {
    position: absolute; top: 10px; bottom: 10px; left: 15px; width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple), transparent);
    z-index: 1; opacity: 0.5;
}

/* --- FAQ --- */
.faq-accordion { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-item summary {
    padding: 25px 0; font-size: 1.15rem; font-weight: 500; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
    transition: color 0.3s;
}
.faq-item summary:hover { color: var(--accent-cyan); }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-purple); transition: transform 0.3s; }
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-content { padding-bottom: 25px; color: var(--text-muted); line-height: 1.8; }

/* --- CONTACT --- */
.contact-direct .contact-link {
    font-size: 1.2rem; color: var(--accent-cyan); text-decoration: none; font-weight: 600; display: inline-block; margin-top: 5px;
}
.contact-direct .contact-link:hover { text-decoration: underline; }

.cyber-form {
    background: rgba(255,255,255,0.02); padding: 45px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative; overflow: hidden;
}
.cyber-form::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: var(--accent-purple); filter: blur(100px); opacity: 0.3; z-index: 0; pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-group { position: relative; margin-bottom: 35px; z-index: 1; }
.input-group input, .input-group textarea {
    width: 100%; background: transparent; border: none;
    border-bottom: 2px solid rgba(255,255,255,0.15); padding: 12px 0;
    color: #fff; font-size: 1rem; outline: none; transition: border-color 0.3s;
}
.input-group textarea { resize: vertical; min-height: 120px; font-family: 'Inter', sans-serif;}

.input-group label {
    position: absolute; top: 12px; left: 0; color: var(--text-muted);
    pointer-events: none; transition: 0.3s ease all; font-size: 1rem;
}
.input-group input:focus, .input-group textarea:focus { border-bottom-color: var(--accent-cyan); }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -20px; font-size: 0.8rem; color: var(--accent-cyan); font-weight: 500;
}

/* --- FOOTER & SOCIALS --- */
.site-footer {
    background-color: #030305; padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.brand-col .logo { color: #fff; margin-bottom: 15px; }
.footer-col h4 { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 25px; }
.footer-col p { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-cyan); }

/* Gewapend Beton Social Media Icons Styling */
.social-links { 
    display: flex; 
    flex-direction: row; 
    gap: 15px; 
    margin-top: 25px; 
}
.social-icon {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 42px !important; 
    height: 42px !important; 
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05); 
    color: var(--text-muted);
    transition: all 0.3s ease; 
    text-decoration: none;
    overflow: hidden;
}
.social-icon:hover {
    background: var(--accent-cyan); color: #000; transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}
.social-icon svg { 
    width: 20px !important; 
    height: 20px !important; 
    max-width: 20px;
    max-height: 20px;
    fill: currentColor; 
    display: block;
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-links { display: flex; gap: 30px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(3, 3, 5, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 9999;
    transform: translateY(120%); 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.6);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
}
.cookie-text strong { color: #fff; font-weight: 600;}
.cookie-text a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: 0.3s;
}
.cookie-text a:hover { text-decoration: underline; color: #fff; }

/* --- SCROLL ANIMATIES --- */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.solutions-grid .solution-card:nth-child(1) { transition-delay: 0.1s; }
.solutions-grid .solution-card:nth-child(2) { transition-delay: 0.2s; }
.solutions-grid .solution-card:nth-child(3) { transition-delay: 0.3s; }

/* --- JURIDISCHE PAGINA'S OPMAAK --- */
.legal-page { padding: 180px 20px 100px; max-width: 800px; margin: 0 auto; color: var(--text-muted); }
.legal-page h1 { font-size: 3rem; color: #fff; margin-bottom: 20px; letter-spacing: -1px; }
.legal-page h2 { font-size: 1.8rem; color: #fff; margin: 50px 0 20px; }
.legal-page h3 { font-size: 1.3rem; color: #e0e0e0; margin: 30px 0 15px; }
.legal-page p, .legal-page li { font-size: 1.05rem; line-height: 1.8; margin-bottom: 15px; }
.legal-page ul { padding-left: 20px; margin-bottom: 25px; }
.legal-page a { color: var(--accent-cyan); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }

/* Responsiviteit & Mobiele optimalisatie (HIER IS DE PERFORMANCE FIX VOOR MOBIEL) */
@media (max-width: 950px) {
    /* Schakel extreem zware visuele effecten uit om scroll-lag op telefoons te voorkomen */
    .ambient-orb { display: none; }
    .cyber-grid { animation: none; opacity: 0.5; }

    .menu-toggle { display: block; }
    
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: rgba(6, 6, 9, 0.98); 
        flex-direction: column; 
        padding: 30px 20px; 
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active { display: flex; }
    
    .hero-layout, .layout-split, .form-row { grid-template-columns: 1fr; gap: 40px; }
    .hero-layout { text-align: center; }
    .hero-text p { margin: 0 auto 40px; }
    .cta-buttons { justify-content: center; flex-direction: column; gap: 15px; }
    .hero-visual { display: none; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .brand-col .logo { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; align-items: center; }
    .footer-links { flex-direction: column; gap: 15px; align-items: center; }
    
    .hero { padding-top: 130px; padding-bottom: 60px; min-height: auto; }
    .section-header h2, .flow-section .split-text h2 { font-size: 2.2rem; }
    
    .cyber-form { padding: 25px 20px; }
    .steps-container { padding-left: 20px; }
    .legal-page { padding: 140px 20px 60px; }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
}

/* Extra Trust Center Styles */
.security-badge-grid .animated-border:hover::before {
    animation-duration: 1.5s; /* Versnel de rand-animatie bij hover voor actie-gevoel */
}

.detailed-content ul li strong {
    color: var(--accent-cyan);
}

.detailed-content .card-content {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
}