:root {
    --primary: #0a0a0a;
    --accent: #4f46e5;
    --bg: #ffffff;
    --card-bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --transition-fast: 0.18s ease-out;
    --radius-premium: 24px;
}

.dark-mode {
    --primary: #f8fafc;
    --accent: #818cf8;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --white: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Inter', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; transition: background 0.4s; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* CONFETTI CONTAINER */
#tsparticles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999; /* Boven alles */
    pointer-events: none; /* Je kunt er doorheen klikken */
}

section { padding: 10rem 0; }
.features { padding-bottom: 5rem; }
.demo-section { padding-top: 5rem; }

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 3rem; color: var(--primary); }
.accent { color: var(--accent); }

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: var(--transition-fast); }
.btn-primary { background: var(--accent); color: white; padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3); }

/* DISABLED BUTTON STATE (Grijs) */
.btn-primary:disabled {
    background-color: #94a3b8; /* Grijs */
    color: #f1f5f9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.main-header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(var(--bg), 0.75); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
nav { height: 80px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.nav-right { display: flex; gap: 1.5rem; align-items: center; }
#theme-toggle { background: none; border: none; cursor: pointer; color: var(--text); padding: 5px; }
.dark-mode .sun-icon { display: block; } .dark-mode .moon-icon { display: none; }
.light-mode .sun-icon { display: none; } .light-mode .moon-icon { display: block; }
svg { width: 22px; height: 22px; }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; }
.hero-content { max-width: 800px; z-index: 10; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.bg-motion { position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: radial-gradient(circle at 70% 30%, var(--accent), transparent 70%); opacity: 0.04; filter: blur(100px); pointer-events: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.card { background: var(--card-bg); padding: 3rem; border-radius: var(--radius-premium); border: 1px solid var(--border); transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast); }
.card:hover { transform: scale(1.02); border-color: var(--accent); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05); }
.card .icon { font-size: 2.5rem; margin-bottom: 1.5rem; }

.demo-subtext { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.1rem; }
.demo-wrapper { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.comparison-container { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 16/10; 
    border-radius: var(--radius-premium); 
    overflow: hidden; 
    border: 1px solid var(--border); 
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12); 
    cursor: ew-resize; 
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.img-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    pointer-events: none; 
    user-select: none;
    -webkit-user-drag: none;
}
.label-old { right: 2rem; }
.label-new { left: 2rem; }
.new { width: 100%; clip-path: inset(0 50% 0 0); z-index: 2; }
.img-label { position: absolute; bottom: 2rem; padding: 0.6rem 1.2rem; background: rgba(0,0,0,0.75); color: white; border-radius: 12px; font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(8px); z-index: 5; transition: opacity 0.3s ease; }

.slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,0.8); transform: translateX(-50%); z-index: 10; pointer-events: none; }
.handle-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(255,255,255,0.15); }

.performance-indicator { display: flex; align-items: center; justify-content: center; }
.perf-circle { position: relative; width: 140px; height: 140px; }
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 100%; }
.circle-bg { fill: none; stroke: var(--border); stroke-width: 2.2; }
.circle { fill: none; stroke: #10b981; stroke-width: 2.2; stroke-linecap: round; }
.perf-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; }
#perf-score { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }

.timeline-v2 { display: flex; flex-direction: column; gap: 4rem; max-width: 800px; margin: 0 auto; }
.step-v2 { background: var(--card-bg); padding: 3rem; border-radius: var(--radius-premium); border: 1px solid var(--border); transition: transform 0.3s ease; }
.step-v2:hover { transform: translateX(10px); border-color: var(--accent); }
.step-info { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.step-count { font-size: 0.9rem; font-weight: 800; color: var(--accent); padding: 0.5rem 1rem; background: rgba(79, 70, 229, 0.1); border-radius: 100px; letter-spacing: 0.1em; }
.step-v2 h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.step-v2 p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }

.positioning { background: var(--bg); }
.pos-card { text-align: center; max-width: 850px; margin: 0 auto; padding: 5rem 2rem; background: var(--card-bg); border-radius: 40px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.pos-main { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 2rem; }
.pos-divider { width: 60px; height: 4px; background: var(--accent); margin: 0 auto 2.5rem; border-radius: 10px; }
.bold { color: var(--accent); }
.pos-sub { font-size: 1.3rem; color: var(--text-muted); font-weight: 500; }
.highlight { color: var(--primary); font-weight: 700; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }

.contact-card { background: var(--card-bg); border-radius: 32px; padding: 4.5rem; border: 1px solid var(--border); max-width: 780px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.6rem; font-weight: 600; font-size: 0.9rem; color: var(--primary); }
input, textarea { width: 100%; padding: 1.1rem; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: inherit; font-size: 1rem; transition: border-color 0.2s; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
#form-btn { width: 100%; margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; }

#cursor-dot { position: fixed; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; z-index: 10001; pointer-events: none; opacity: 0; }
#cursor-ring { position: fixed; width: 34px; height: 34px; border: 1.5px solid var(--accent); border-radius: 50%; z-index: 10000; pointer-events: none; opacity: 0; }
.stagger { opacity: 0; transform: translateY(20px); }
.hidden { display: none; }
.loader { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.main-footer { padding: 4rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    #cursor-dot, #cursor-ring { display: none; }
    section { padding: 6rem 0; }
    .hero { text-align: center; padding-top: 80px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 2.5rem 1.5rem; }
}