/* XION MASTER STYLESHEET */

/* --- 1. DASHBOARD IMPORTS --- */
@import 'themes.css';    
@import 'base.css';       
@import 'layout.css';     
@import 'components.css'; 
@import 'chat.css';       
@import 'search.css';
@import 'auth.css'; /* Bevat de 'lock', dus die moeten we hieronder overschrijven */

/* --- 2. LANDING PAGE & ALGEMENE STYLING --- */
:root {
    --primary: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --gradient: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    --text-muted: #6b7280;
    --border-color: #e5e7eb;

    /* Body / contrast tokens — WCAG AA compliant */
    --text-body: #475569;            /* slate-600, 7.46:1 op wit */
    --text-secondary: #64748b;       /* slate-500, 5.34:1 op wit */
    --text-on-dark: #cbd5e1;         /* slate-300, 10.5:1 op var(--dark) */
    --text-on-dark-muted: #94a3b8;   /* slate-400, 7.86:1 op var(--dark) */

    /* Accent kleuren */
    --accent-green: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --primary-tint: rgba(79, 70, 229, 0.08);
    --primary-tint-border: rgba(79, 70, 229, 0.18);

    /* --- Xion brand design tokens --- */
    /* Gebruikt door Tailwind utilities op de landingspagina, bv. bg-[var(--xion-primary-500)]. */
    /* Ankerwaarden vastgelegd; tussenstappen zijn een gelijkmatige ramp. */
    --xion-primary-50:  #f6f0fd;
    --xion-primary-100: #eaddfb;
    --xion-primary-200: #d7bef6;
    --xion-primary-300: #bf96ee;
    --xion-primary-400: #a66ee7;
    --xion-primary-500: #8c44e0;
    --xion-primary-600: #722bc4;
    --xion-primary-700: #5c239e;
    --xion-primary-800: #461b78;
    --xion-primary-900: #301252;
    --xion-primary-950: #1f0938;

    --xion-family-50:  #fdf1f6;
    --xion-family-100: #fbe0ec;
    --xion-family-200: #f7c1d9;
    --xion-family-300: #f297bd;
    --xion-family-400: #f06fa4;
    --xion-family-500: #ed4b8e;
    --xion-family-600: #d32c71;
    --xion-family-700: #b01f5c;
    --xion-family-800: #8c1a4a;
    --xion-family-900: #6f183d;
    --xion-family-950: #410a22;

    --xion-neutral-50:  #f8fafc;
    --xion-neutral-100: #f1f5f9;
    --xion-neutral-200: #e2e8f0;
    --xion-neutral-300: #cbd5e1;
    --xion-neutral-400: #94a3b8;
    --xion-neutral-500: #64748b;
    --xion-neutral-600: #475569;
    --xion-neutral-700: #334155;
    --xion-neutral-800: #1e293b;
    --xion-neutral-900: #0f172a;
    --xion-neutral-950: #020617;

    --xion-success-50:  #ecfdf5;
    --xion-success-100: #d1fae5;
    --xion-success-200: #a7f3d0;
    --xion-success-300: #6ee7b7;
    --xion-success-400: #34d399;
    --xion-success-500: #16a37a;
    --xion-success-600: #0f8a66;
    --xion-success-700: #0c6f52;
    --xion-success-800: #0a573f;
    --xion-success-900: #073b2d;
    --xion-success-950: #022c1d;
}

/* Algemene reset — bewust in @layer base zodat Tailwind utilities (padding/margin,
   die in @layer utilities zitten) deze op de landingspagina nog kunnen overschrijven.
   Zonder de @layer-wrap won een kale `* { padding:0 }` van élke Tailwind p-*/m-* utility
   (un-layered slaat layered). Op pagina's zónder Tailwind blijft de reset gewoon werken.
   font-family staat op body i.p.v. op * — directe font-utilities overschrijven dat dan nog;
   form-controls erven font-family standaard niet, vandaar de expliciete inherit. */
@layer base {
    * { margin: 0; padding: 0; box-sizing: border-box; }
}
input, button, textarea, select { font-family: inherit; }

/* FIX: OVERSCHRIJF DE AUTH LOCK */
body {
    background-color: #f3f4f6;
    color: var(--dark);
    line-height: 1.6;
    font-family: 'Outfit', sans-serif;

    /* BELANGRIJKE FIX VOOR SCROLLEN: */
    overflow-x: hidden;      /* Geen horizontale balk */
    overflow-y: auto;        /* WEL verticaal scrollen */
    height: auto !important; /* Laat de pagina groeien, niet vastzetten op 100vh */
}

/* --- NAVIGATIE (HOMEPAGE) --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 20px 5%; 
    background: var(--glass); 
    backdrop-filter: blur(15px);
    position: sticky; 
    top: 0; 
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    background: var(--gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    text-decoration: none; 
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-login { 
    background: var(--dark); 
    color: white; 
    padding: 10px 25px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.3s; 
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- HERO SECTIE --- */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 10% 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.1), transparent 40%);
}

.hero-text { max-width: 600px; z-index: 2; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-text p { font-size: 1.2rem; color: var(--text-body); margin-bottom: 30px; }

/* Hero eyebrow / badge boven h1 */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-tint);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--primary-tint-border);
}
.hero-eyebrow .material-symbols-outlined {
    font-size: 16px;
}

.hero-visual { position: relative; z-index: 2; perspective: 1000px; }
.hero-img {
    width: 650px; 
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 8px solid rgba(255,255,255,0.5);
}
.hero-img:hover { transform: rotateY(0) rotateX(0); }

.cta-buttons { display: flex; gap: 15px; }

/* Knoppen op landingspagina */
.btn-primary { 
    background: var(--gradient); 
    color: white; 
    padding: 15px 35px; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 700; 
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4); 
    transition: 0.3s; 
    border: none; 
    cursor: pointer; 
    display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5); }

.btn-outline {
    border: 2px solid #cbd5e1;
    color: var(--text-body);
    background: transparent;
    padding: 13px 35px; /* iets minder padding om te compenseren voor border */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255,255,255,0.5);
}

/* --- TYPEWRITER CURSOR --- */
.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--xion-primary-500);
    animation: blink 1s infinite;
    margin-left: 5px;
    vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }

/* Hero-titel: vloeiende fontschaal voor de hero-kop. */
.hero-title { font-size: clamp(2rem, 6.5vw, 4.5rem); }
/* De wisselende typewriter-zin krijgt een vaste hoogte (2 regels) zodat de
   langste zin ("Behaal deadlines.") naar 2 regels mag breken zonder dat de
   pagina verspringt. De cursor blijft in dezelfde regel als de tekst. */
.typewriter-line { display: block; min-height: 1.9em; }

/* --- NIEUWE LANDING PAGE STYLING (SCROLLYTELLING) --- */

/* Zwevende animatie voor Hero Image */
@keyframes float {
    0% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-10deg) rotateX(5deg); }
    100% { transform: translateY(0px) rotateY(-10deg) rotateX(5deg); }
}
.floating-img .hero-img {
    animation: float 6s ease-in-out infinite;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.9;
    z-index: 5;
}
.scroll-down .material-symbols-outlined {
    display: block;
    font-size: 30px;
    margin-top: 5px;
    color: var(--primary);
}
.bounce { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Probleem Banner (Zwart balkje) */
.problem-banner {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 100px 10%;
    margin-top: -50px; /* Overlapt de hero een beetje */
    position: relative;
    z-index: 10;
    border-radius: 30px 30px 0 0; /* Rond van boven */
}
.problem-banner h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.problem-banner p { color: #94a3b8; font-size: 1.2rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* Feature Rows (Het Monday/Apple effect) */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10%;
    gap: 80px;
    background: white;
}
.feature-row.reverse {
    flex-direction: row-reverse; /* Draait beeld en tekst om */
    background: #f8fafc; /* Lichte afwisseling in achtergrond */
}

.feature-text { flex: 1; }
.feature-text h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.feature-text p { font-size: 1.2rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px;}

.feature-img-box { flex: 1; perspective: 1000px; }
.feature-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s;
    border: 1px solid #e2e8f0;
}
.feature-img:hover { transform: scale(1.02); }

/* Labels boven de tekst */
.tag-label {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 10px; font-size: 1.1rem; font-weight: 500; }
.feature-list li .material-symbols-outlined { color: #22c55e; }

.price-list li .material-symbols-outlined { color: #22c55e; }

.text-link { color: var(--primary); font-weight: bold; text-decoration: none; font-size: 1.1rem; }
.text-link:hover { text-decoration: underline; }

/* About / Missie Sectie */
.about-section {
    padding: 100px 10%;
    background: white;
    text-align: center;
}
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 20px; margin-top: 10px; }
.about-content p { font-size: 1.2rem; color: var(--text-body); line-height: 1.8; }

/* --- FEATURES & BENTO GRID --- */
.features { padding: 100px 10%; background: white; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    overflow: hidden;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }

@media (min-width: 768px) {
    .span-2 { grid-column: span 2; }
    .span-3 { grid-column: span 3; }
}

.icon-box-small {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; margin-bottom: 20px;
}
.icon-box-small.icon-box-success { background: var(--accent-green); }
.icon-box-small.icon-box-secondary { background: var(--secondary); }

/* Bento card body-tekst — consistent met andere body-tekst */
.bento-card p { color: var(--text-body); }

/* --- PRICING SECTION UPDATED (GRID) --- */
.pricing-section { padding: 100px 5%; background: white; }

/* Tab-switcher boven de prijskaarten */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto 40px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}
.pricing-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}
.pricing-tab:hover { color: var(--dark); }
.pricing-tab.active {
    background: var(--primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* CSS Grid voor 3 prijskaarten naast elkaar */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 520px;
    animation: pricingFade 0.2s ease;
}
@keyframes pricingFade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pricing-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    transition: 0.3s;
    position: relative;
    display: flex;           /* Zorgt dat footer beneden staat */
    flex-direction: column;
}
.pricing-card ul { flex-grow: 1; } /* Duwt de knop naar beneden */

.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* PRO CARD STYLING */
.pricing-card.pro {
    background: var(--dark);
    color: white;
    border: none;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}
.pricing-card.pro h3, .pricing-card.pro p { color: white; }
.pricing-card.pro .price { color: white; }
.pricing-card.pro .price-list li { color: rgba(255, 255, 255, 0.9); }
.pricing-card.pro .price-list li .ms-icon,
.pricing-card.pro .price-list li .material-symbols-outlined { color: #a5f3fc; }
.pricing-card.pro .btn-primary {
    background: #ffffff !important;
    color: var(--primary) !important;
    font-weight: 700;
}

/* AGENCY CARD STYLING (NIEUW) */
.pricing-card.agency {
    border: 2px solid var(--secondary); /* Roze rand */
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
    transform: scale(1.02); /* Iets groter om op te vallen */
}
.pricing-card.agency:hover {
    border-color: var(--secondary);
    box-shadow: 0 25px 50px rgba(236, 72, 153, 0.2);
    transform: translateY(-10px) scale(1.02);
}

/* FAMILY CARD STYLING */
.pricing-card.family {
    border: 2px solid var(--accent-green);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}
.pricing-card.family:hover {
    border-color: var(--accent-green);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
}

/* BADGES */
.popular-badge {
    position: absolute;
    top: -15px; right: 20px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

.popular-badge.agency {
    background: var(--secondary); /* Roze achtergrond */
}

.popular-badge.family {
    background: var(--accent-green);
}

.popular-badge.dark {
    background: var(--dark);
}

.price-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px; }
.pricing-card.pro .price-header { border-bottom: 1px solid rgba(255,255,255,0.2); }
.price-header h3 { font-size: 1.5rem; margin-bottom: 10px; }
.price { font-size: 3rem; font-weight: 800; color: var(--dark); }
.price-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.9;
    margin-left: 2px;
}
.price-list { list-style: none; margin-bottom: 30px; }
.price-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

/* Family-knop — gebruikt accent-green, consistent met card-rand */
.btn-family {
    background: var(--accent-green) !important;
    color: white !important;
    border: none;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}
.btn-family:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.45);
}

/* Call to Action Blok */
.cta-block {
    text-align: center;
    padding: 64px 10%;
    background: var(--gradient);
    color: white;
    margin: 50px 20px;
    border-radius: 40px;
}
.cta-block h1 { color: white; font-size: 2.5rem; margin-bottom: 10px; }
.cta-block p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.big-btn {
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    font-size: 1.05rem;
    display: inline-block;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
}
.big-btn:hover { background: #f8fafc; transform: translateY(-5px); color: var(--primary); }
.small-note { margin-top: 15px; font-size: 0.9rem; opacity: 0.7; }

/* FAQ Section */
.faq-section { padding: 80px 10%; background: #f8fafc; text-align: center; }

/* Footer */
footer { background: var(--dark); padding: 80px 10%; color: var(--text-on-dark); margin-top: 0; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col p { color: var(--text-on-dark); }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-on-dark); text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: white; }
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-on-dark-muted);
}

html { scroll-behavior: smooth; }

/* Brede schermen — schaal hero proportioneel zodat de ruimte beter benut wordt */
@media (min-width: 1440px) {
    .hero { padding: 30px 12% 0; }
    .hero-text h1 { font-size: 4.5rem; }
    .hero-text p { font-size: 1.3rem; }
    .hero-text { max-width: 680px; }
}

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* --- HOW IT WORKS SECTION --- */
.how-it-works {
    padding: 100px 10%;
    background: white;
    text-align: center;
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.step-card {
    flex: 1;
    text-align: center;
    padding: 40px 25px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.step-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }
.step-connector {
    display: flex;
    align-items: center;
}
.step-connector .material-symbols-outlined {
    color: #cbd5e1;
    font-size: 28px;
}

/* --- CHAT MOCKUP (Communicatie section) --- */
.chat-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    max-width: 420px;
    width: 100%;
}
.chat-header {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}
.chat-badge {
    margin-left: auto;
    background: var(--secondary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
}
.chat-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 18px;
}
.chat-msg--self {
    justify-content: flex-end;
}
.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.chat-bubble {
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 14px 14px 14px 4px;
    font-size: 0.85rem;
    color: #334155;
    max-width: 260px;
    line-height: 1.4;
}
.chat-bubble--self {
    background: var(--primary);
    color: #fff;
    border-radius: 14px 14px 4px 14px;
}
.chat-input-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 14px 14px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* --- HERO DASHBOARD MOCKUP --- */
/* border-radius / box-shadow / max-width worden op het element zelf gezet via
   Tailwind utilities (rounded-2xl, shadow-[…], max-w-[680px]) — niet hier. */
.hero-dashboard-mockup {
    background: white;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    width: 100%;
}
.hero-mock-header {
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-mock-logo {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}
.hero-mock-dots {
    display: flex;
    gap: 5px;
}
.hero-mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.hero-mock-dots span:first-child { background: #ef4444; }
.hero-mock-dots span:nth-child(2) { background: #f59e0b; }
.hero-mock-dots span:last-child { background: #10b981; }
.hero-mock-body {
    display: flex;
    gap: 12px;
    padding: 16px;
}
.hero-mock-col {
    flex: 1;
    min-width: 0;
}
.hero-mock-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
    padding: 0 2px;
}
.hero-mock-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: #334155;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* --- VAULT MOCKUP --- */
.vault-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.vault-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 25px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 1.1rem;
}
.vault-badge {
    margin-left: auto;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.vault-file {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}
.vault-file:hover { background: #fafbfc; }
.vault-file:last-child { border-bottom: none; }
.vault-file .material-symbols-outlined { color: #94a3b8; font-size: 28px; }
.vault-file-info { flex: 1; text-align: left; }
.vault-file-name { display: block; font-weight: 600; font-size: 0.95rem; }
.vault-file-meta { display: block; font-size: 0.75rem; color: #94a3b8; margin-top: 2px; }

/* --- ENHANCED REVIEW CARDS --- */
.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.review-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-author b { display: block; font-size: 0.9rem; font-style: normal; }
.review-role { display: block; font-size: 0.8rem; color: #94a3b8; font-style: normal; }

/* --- ABOUT VALUES GRID --- */
.about-values {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}
.about-value-item {
    flex: 1;
    max-width: 250px;
    text-align: center;
}
.about-value-item .material-symbols-outlined {
    font-size: 32px;
    margin-bottom: 10px;
}
.about-value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.about-value-item p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* --- FAQ CONTAINER (LANDING PAGE) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Mobiel aanpassingen */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid #e2e8f0;
    }
    .nav-links.active { display: flex; }
    .btn-login { display: none; }
    .scroll-down { display: none; }
    .hero { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-img { width: 100%; transform: none !important; }
    .cta-buttons { justify-content: center; flex-wrap: wrap; }
    .steps-grid { flex-direction: column; gap: 15px; }
    .step-connector { transform: rotate(90deg); justify-content: center; }
    .about-values { flex-direction: column; align-items: center; }
    .feature-row, .feature-row.reverse { flex-direction: column; padding: 60px 5%; text-align: center; gap: 40px; }
    .feature-text h2 { font-size: 2rem; }
    .cta-block { padding: 60px 5%; margin: 20px; }
    .cta-block h1 { font-size: 2rem; }
    .footer-content { flex-direction: column; gap: 20px; }
    .pricing-tabs { max-width: 100%; margin-left: 16px; margin-right: 16px; }
    .pricing-tab { padding: 10px 12px; font-size: 0.9rem; }
}
/* --- NIEUW: PRELOADER STYLES --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: white;
    z-index: 9999; /* Altijd bovenaan */
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-content { text-align: center; }
.loader-logo {
    font-size: 3rem; font-weight: 800;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.loader-spinner {
    width: 40px; height: 40px;
    border: 4px solid rgba(79, 70, 229, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- NIEUW: REVIEWS SCROLLER STYLES --- */
.reviews-section { padding: 100px 0; background: #f8fafc; overflow: hidden; }

.scroller-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); /* Vervaagt zijkanten */
}

.scroller-track {
    display: flex;
    gap: 30px;
    width: max-content; /* Zorgt dat de baan zo breed is als de inhoud */
    animation: scrollLeft 40s linear infinite; /* Oneindig scrollen */
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    font-style: italic;
    min-width: 350px;
    max-width: 350px;
    border: 1px solid #e2e8f0;
}
.review-card b { display: block; margin-top: 15px; font-style: normal; font-size: 0.9rem; color: var(--primary); }

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 8 - 30px * 8)); } /* Scrollt de breedte van 8 kaarten + gaps */
}

/* Mobiel aanpassing reviews */
@media (max-width: 768px) {
    .scroller-track { animation-duration: 20s; /* Sneller op mobiel */ }
}
/* --- CONTACT PAGINA & FAQ STYLES --- */

.contact-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: #f8fafc;
}
.contact-hero h1 { font-size: 3rem; margin-bottom: 10px; }
.contact-hero p { font-size: 1.2rem; color: var(--text-body); }

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-left { flex: 1; min-width: 300px; }
.contact-right { flex: 1; min-width: 300px; }

/* FAQ Accordion Styles */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-item:hover { border-color: var(--primary); }

.faq-question {
    padding: 20px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}
.faq-question .material-symbols-outlined { transition: transform 0.3s; color: var(--text-secondary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #f8fafc;
    padding: 0 20px; /* start dicht */
}
.faq-answer p { color: var(--text-body); margin: 0; }

/* Contact Form Card */
.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-info-small { margin-top: 30px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; border-top: 1px solid var(--border-color); padding-top: 20px; }
.contact-info-small a { color: var(--primary); text-decoration: none; }
.contact-info-small a:hover { text-decoration: underline; }

/* ============================================================
   DARK MODE — publieke pagina's (homepage + contact).
   Append-only override: alle regels hierboven blijven ongewijzigd,
   dus light mode en pagina's zonder de thema-toggle (checkout.php,
   regels/*) renderen exact zoals voorheen. De --pt-*-tokens komen
   uit css/tailwind.css (:root / html.dark).
   ============================================================ */
html.dark {
    /* Bestaande style.css-tokens herdefiniëren voor dark mode.
       --dark blijft bewust ongewijzigd: die wordt zowel als tekst-
       als als achtergrondkleur gebruikt en wordt per element
       hieronder overschreven. */
    --primary: #a66ee7;
    --secondary: #f06fa4;
    --gradient: linear-gradient(135deg, #a66ee7 0%, #f06fa4 100%);
    --glass: rgba(20, 16, 34, 0.72);
    --glass-border: rgba(70, 59, 107, 0.55);
    /* --text-main stuurt de h1-h6/p/span/label-regel uit components.css aan;
       zonder dark-waarde valt die terug op de lichte :root-kleur (#1f2937)
       en worden koppen onleesbaar. --bg-input hoort erbij: components.css
       forceert input-tekst op --text-main, dus de inputs moeten donker zijn. */
    --text-main: #ffffff;
    --bg-input: #241d3c;
    --text-muted: #c4bfdb;
    --border-color: #322a4f;
    --text-body: #e8e4f0;
    --text-secondary: #c4bfdb;
    --text-on-dark: #e8e4f0;
    --text-on-dark-muted: #c4bfdb;
    --accent-green: #34d399;
    --primary-tint: rgba(166, 110, 231, 0.14);
    --primary-tint-border: rgba(166, 110, 231, 0.28);
    --success-bg: rgba(52, 211, 153, 0.12);

    /* Xion-ramp omgekeerd: lage indexen worden donkere vlakken,
       hoge indexen worden lichte tekst. */
    --xion-primary-50:  #241d3c;
    --xion-primary-100: #2a2046;
    --xion-primary-200: #463b6b;
    --xion-primary-300: #bf96ee;
    --xion-primary-500: #a66ee7;
    --xion-primary-600: #c6a3f0;
    --xion-family-50:   #2a1626;
    --xion-family-500:  #f06fa4;
    --xion-neutral-200: #322a4f;
    --xion-neutral-400: #6b6088;
    --xion-neutral-500: #a99fc0;
    --xion-neutral-700: #c4bcd9;
    --xion-neutral-900: #f3f0fa;
    --xion-neutral-950: #ffffff;
    --xion-success-500: #34d399;
}

/* Pagina-achtergrond + basistekst */
html.dark body { background-color: var(--pt-page-bg); color: var(--pt-text-1); }

/* Volle secties */
html.dark .feature-row,
html.dark .about-section,
html.dark .features,
html.dark .pricing-section,
html.dark .how-it-works { background: var(--pt-page-bg); }
html.dark .feature-row.reverse,
html.dark .faq-section,
html.dark .reviews-section,
html.dark .contact-hero { background: var(--pt-page-bg-soft); }

/* Kaarten / panelen */
html.dark .bento-card,
html.dark .pricing-card,
html.dark .chat-mockup,
html.dark .hero-dashboard-mockup,
html.dark .vault-mockup,
html.dark .review-card,
html.dark .faq-item,
html.dark .contact-card,
html.dark .step-card,
html.dark .big-btn { background: var(--pt-surface-1); border-color: var(--pt-border); }

/* Ingezonken vlakken */
html.dark .pricing-tabs,
html.dark .faq-answer,
html.dark .hero-mock-card,
html.dark .chat-input-bar,
html.dark .chat-bubble,
html.dark .vault-header { background: var(--pt-surface-2); }
html.dark .vault-file:hover,
html.dark .big-btn:hover,
html.dark .btn-outline:hover { background: var(--pt-surface-2); }

/* Randen */
html.dark .feature-img,
html.dark .chat-header,
html.dark .hero-mock-header,
html.dark .price-header,
html.dark .vault-file,
html.dark .chat-input-bar,
html.dark .vault-header { border-color: var(--pt-border); }
html.dark .btn-outline { border-color: var(--pt-border-strong); }
html.dark .hero-mock-dots span { background: var(--pt-surface-3); }

/* Tekstkleuren die voorheen hardcoded waren */
html.dark .chat-bubble,
html.dark .hero-mock-card,
html.dark .review-text { color: var(--pt-text-2); }
html.dark .chat-input-bar,
html.dark .hero-mock-col-title,
html.dark .vault-file-meta,
html.dark .review-role,
html.dark .vault-file .material-symbols-outlined,
html.dark .step-connector .material-symbols-outlined { color: var(--pt-text-3); }

/* var(--dark) dat als tekstkleur dient → lichte tekst in dark mode */
html.dark .nav-links a,
html.dark .pricing-tab:hover,
html.dark .chat-header,
html.dark .faq-question,
html.dark .price { color: var(--pt-text-1); }

/* var(--dark) dat als achtergrond dient */
html.dark .problem-banner,
html.dark .pricing-card.pro { background: var(--pt-section-dark-bg); }
html.dark .btn-login { background: var(--pt-accent); }
html.dark .hamburger span { background: var(--pt-text-1); }

/* Footer + preloader */
html.dark footer { background: var(--pt-footer-bg); }
html.dark #preloader { background: var(--pt-page-bg); }

/* Mobiel uitklapmenu (alleen onder 768px relevant) */
@media (max-width: 768px) {
    html.dark .nav-links { background: var(--pt-surface-1); border-bottom-color: var(--pt-border); }
}