/* BASIS */
        html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
        section { scroll-margin-top: 100px; }

        /* ACHTERGROND */
        #bg-layer {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f3e8ff 100%);
            z-index: -2;
        }
        #canvas-container {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: -1; pointer-events: none;
        }
        #content-wrapper { position: relative; z-index: 10; }

        /* STYLING ELEMENTS */
        .cursor {
            display: inline-block; width: 3px; height: 1em;
            background-color: #4f46e5; margin-left: 2px;
            animation: blink 1s infinite; vertical-align: middle;
        }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

        .glass {
            background: rgba(255, 255, 255, 0.70);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            transition: all 0.3s ease;
            height: 100%;
            display: flex; flex-direction: column;
        }
        .glass:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
            background: rgba(255, 255, 255, 0.95);
        }
        
        .quote-card {
            background: white; border-left: 4px solid #4f46e5;
            padding: 1.5rem; border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        /* PAINT MODE */
        .paint-pixel {
            position: fixed; width: 8px; height: 8px; border-radius: 2px;
            pointer-events: none; z-index: 9999; animation: fall 1s linear forwards; user-select: none;
        }
        @keyframes fall {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(150px) rotate(180deg); opacity: 0; }
        }

        /* STATUS DOT */
        .status-dot {
            height: 10px; width: 10px; background-color: #22c55e;
            border-radius: 50%; display: inline-block; margin-right: 8px;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); animation: pulse-green 2s infinite;
        }
        .status-dot.busy { background-color: #eab308; animation: pulse-yellow 2s infinite; }
        .status-dot.sleep { background-color: #6366f1; animation: pulse-indigo 2s infinite; }

        @keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
        @keyframes pulse-yellow { 0% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(234, 179, 8, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); } }
        @keyframes pulse-indigo { 0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); } 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); } }
        
        /* CONTROLS */
        input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
        input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 20px; width: 20px; border-radius: 50%; background: #4f46e5; cursor: pointer; margin-top: -8px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
        input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: #e2e8f0; border-radius: 2px; }
        .btn-loading { opacity: 0.7; cursor: not-allowed; }

        /* WEBAPP CARD ACCENTS */
        .webapp-card { position: relative; overflow: hidden; }
        .webapp-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; opacity: 0; transition: opacity 0.3s; }
        .webapp-card:hover::before { opacity: 1; }

        @keyframes spin-slow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .animate-spin-slow {
            animation: spin-slow 8s linear infinite;
        }


        /* MOBIELE NAVIGATIE */
        #mobile-menu a { display: block; }

        /* Toegankelijkheid: respecteer gebruikers die minder animatie willen */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
            #canvas-container { display: none; }
        }

/* 10/10 production polish */
.force-h-auto { height: auto !important; }
.honeypot-row {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.paint-active { overflow: hidden; }
.pixelit-toast {
    position: fixed;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%) translateY(20px);
    z-index: 10000;
    max-width: min(92vw, 420px);
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.94);
    color: white;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    font-weight: 700;
    text-align: center;
}
.pixelit-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.modal-close-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}
:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.65);
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .glass:hover {
        transform: none;
    }
}


/* Privacy page layout fixes (v10.3)
   Explicit CSS is used here so the privacy page does not depend on
   Tailwind utility classes that may not be present in the compiled build. */
.privacy-page-main {
    padding-top: 9.5rem;
    padding-bottom: 4rem;
}
.privacy-hero {
    margin-bottom: 2.25rem;
}
.privacy-panel {
    overflow: hidden;
}
.privacy-cta {
    margin-top: 2.5rem;
}
@media (max-width: 768px) {
    .privacy-page-main {
        padding-top: 8.75rem;
        padding-bottom: 3rem;
    }
    .privacy-hero {
        margin-bottom: 1.75rem;
    }
    .privacy-cta {
        margin-top: 2rem;
    }
}


/* Privacy page layout hard-fix (v10.4) */
body .privacy-page-main {
    padding-top: 12rem !important;
    padding-bottom: 4.5rem !important;
}
body .privacy-hero {
    margin-bottom: 3rem !important;
}
body .privacy-panel {
    height: auto !important;
    overflow: visible !important;
}
body .privacy-cta {
    margin-top: 3.25rem !important;
}
@media (max-width: 768px) {
    body .privacy-page-main {
        padding-top: 10rem !important;
        padding-bottom: 3.5rem !important;
    }
    body .privacy-hero {
        margin-bottom: 2.25rem !important;
    }
    body .privacy-cta {
        margin-top: 2.5rem !important;
    }
}


/* =========================================================
   PIXELIT — subtiele/premium effect-laag  (v20260816)
   Pure CSS, geen Tailwind-utilities -> veilig bij gecompileerde build.
   ========================================================= */

/* Aurora-achtergrond: rustige, trage kleurblobs achter de content */
.pe-aurora{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.pe-aurora .blob{ position:absolute; border-radius:50%; filter:blur(80px); opacity:.35; mix-blend-mode:multiply; animation:pe-float 26s ease-in-out infinite; }
.pe-aurora .b1{ width:44vw; height:44vw; left:-12vw; top:-12vw; background:radial-gradient(circle at 30% 30%, #a5b4fc, transparent 70%); }
.pe-aurora .b2{ width:40vw; height:40vw; right:-10vw; top:4vw;  background:radial-gradient(circle at 50% 50%, #f0abfc, transparent 70%); animation-delay:-9s; }
.pe-aurora .b3{ width:38vw; height:38vw; left:24vw;  bottom:-14vw; background:radial-gradient(circle at 50% 50%, #bae6fd, transparent 70%); animation-delay:-17s; }
@keyframes pe-float{ 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(3vw,2vh) scale(1.06);} 66%{transform:translate(-2vw,-2vh) scale(.97);} }

/* Fijne grain-textuur voor diepte */
.pe-grain{ position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.22; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"); }

/* Subtiele cursor-glow */
#pe-glow{ position:fixed; width:480px; height:480px; left:0; top:0; margin:-240px 0 0 -240px; z-index:-1; pointer-events:none; border-radius:50%;
  background:radial-gradient(circle, rgba(129,140,248,.14), transparent 60%); opacity:0; transition:opacity .5s; }

/* Dunne scroll-voortgangsbalk bovenaan */
#pe-progress{ position:fixed; top:0; left:0; height:3px; width:0; z-index:60;
  background:linear-gradient(90deg,#4f46e5,#9333ea,#db2777); box-shadow:0 0 12px rgba(147,51,234,.5); transition:width .12s linear; }

/* Geanimeerde gradient in het hero-titelwoord */
#typewriter-text{ background:linear-gradient(90deg,#4f46e5,#9333ea,#db2777,#4f46e5); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; animation:pe-grad 7s linear infinite; }
@keyframes pe-grad{ to{ background-position:300% 0; } }

/* Fail-safe reveal-on-scroll: inhoud blijft ALTIJD zichtbaar.
   JavaScript mag enkel een subtiele beweging toevoegen; nooit opacity:0. */
.pe-reveal{ opacity:1; transform:none; transition:transform .65s cubic-bezier(.22,1,.36,1); }
.pe-js .pe-reveal:not(.pe-in){ opacity:1; transform:translateY(10px); }
.pe-js .pe-reveal.pe-in{ opacity:1; transform:none; }

/* Iets rijkere maar zachte glass-hover glow (transform blijft van jouw bestaande regel) */
.glass{ position:relative; }
.glass:hover{ box-shadow:0 26px 50px -18px rgba(99,102,241,.30), 0 0 0 1px rgba(147,51,234,.10); }

/* Nette gradient-scrollbar */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:linear-gradient(#818cf8,#c084fc); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:linear-gradient(#6366f1,#a855f7); }

/* Respecteer 'reduce motion' */
@media (prefers-reduced-motion: reduce){
  .pe-aurora .blob, #typewriter-text{ animation:none; }
  .pe-reveal{ transition:none; opacity:1; transform:none; }
}
