/* 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;
    }
}
