:root {
    --bg-color: #080c14; /* Deep rich professional navy black */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #2563eb; /* SaaS Trust Royal Blue */
    --accent-secondary: #0d9488; /* Calming Teal Green */
    --surface-bg: rgba(15, 23, 42, 0.6); /* Premium slate card bg */
    --surface-border: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --error: #ef4444;
    --input-bg: rgba(8, 12, 20, 0.7);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.75; /* Premium line spacing */
}

/* Background animated blobs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 150px) scale(0.9); }
}

/* Main App Container */
.app-container {
    width: 100%;
    max-width: 600px;
    background: var(--surface-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Header & Progress */
.app-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    max-height: 80px;
    object-fit: contain;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: var(--input-bg);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 25%; /* updated via JS */
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 10px;
    transition: width var(--transition-smooth);
}

.step-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Form Sections with Motion */
.form-wrapper {
    position: relative;
    min-height: 400px; /* Base height to prevent bouncing */
}

/* Base state for all steps */
.step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.98);
    transition: all var(--transition-smooth);
    pointer-events: none;
}

/* Active state for visible step */
.step.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    position: relative; 
}

/* State for exiting step (going back) */
.step.exit-left {
    transform: translateX(-40px);
    opacity: 0;
}

/* State for exiting step (going forward) */
.step.exit-right {
    transform: translateX(40px);
    opacity: 0;
}


/* Typography */
h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

input[type="text"],
input[type="number"],
input[type="date"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Checkbox */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

/* Currency Input */
.currency-input {
    display: flex;
    align-items: center;
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.currency-input input {
    padding-left: 36px;
}

/* Alerts */
.info-alert {
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--accent-secondary);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.info-alert i {
    color: var(--accent-secondary);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 14px 24px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #818cf8);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    flex: 1; /* Make next button larger */
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--input-bg);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #34d399);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    width: 100%;
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

/* Checkout */
.checkout-summary {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--surface-border);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-item strong {
    color: var(--text-main);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--surface-border);
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-simulator {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-title i {
    color: #6366f1;
    font-size: 1.5rem;
}

.card-element {
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 6px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.download-btn {
    margin-top: 20px;
    width: 100%;
}

.small-text {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .app-container {
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 30px 20px;
        margin: 0;
        min-height: 100vh;
        max-width: 100%;
    }
    
    .blob { display: none; }
    
    body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.75; /* Premium line spacing */
}
    
    .input-row { flex-direction: column; gap: 0; }
}


/* ========================================= */
/* LANDING PAGE STYLES (Motion & 3D SaaS)    */
/* ========================================= */

.landing-page {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    display: block !important;
}

/* Typography & Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary), #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar - Premium Glassmorphism (Inspired by ClickToWork.nl) */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.25rem 0;
    background: rgba(8, 12, 20, 0.85); /* Matches deep dark theme */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(8, 12, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25),
                0 1px 0 rgba(255, 255, 255, 0.03);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 3rem;
    margin: 0 auto;
    width: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}
.nav-logo img {
    max-height: 110px;
    margin-top: -20px;
    margin-bottom: -20px;
    width: auto;
    object-fit: contain;
}
.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    letter-spacing: 0.01em;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    margin: 0; /* reset margin from old style */
}
.nav-links a:hover {
    color: #fff;
    background: rgba(37, 99, 235, 0.10); /* var(--accent-primary) tint */
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.nav-links a.active {
    color: #080c14 !important; /* var(--bg-color) */
    background: #fff !important;
    border-color: transparent !important;
    font-weight: 600 !important;
}
.nav-links a.active:hover {
    background: #fff !important;
    border-color: transparent !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15) !important;
    color: #080c14 !important;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}
.nav-cta:hover {
    background: #1d4ed8 !important; /* var(--accent-primary) dark */
    border-color: #1d4ed8 !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 5% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.hero-content { flex: 1.2; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-primary), #a855f7);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}
.btn-glow.large { font-size: 1.3rem; padding: 22px 45px; }

.hero-trust { font-size: 0.9rem; color: #64748b; }
.hero-trust i { color: var(--success); }

/* 3D Glass Cards */
.tilt-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
}
.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    transform: translateZ(30px);
}

/* Background Blobs */
.floating-globs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}
.glob {
    position: absolute; filter: blur(100px); border-radius: 50%;
    opacity: 0.5; animation: float 10s infinite alternate ease-in-out;
}
.glob-purple { right: -10%; top: 10%; width: 600px; height: 600px; background: rgba(168, 85, 247, 0.4); }
.glob-blue { left: -10%; bottom: 10%; width: 500px; height: 500px; background: rgba(6, 182, 212, 0.3); animation-delay: -5s; }

/* Sections */
.features-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 70px; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 20px; color: #fff; }
.section-header p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}
.feature-card:hover { background: rgba(30, 41, 59, 0.8); border-color: rgba(99, 102, 241, 0.3); }
.feature-img-wrapper {
    height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
}
.feature-img-wrapper img { max-height: 100%; width: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); transform: translateZ(20px); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.feature-card p { color: var(--text-muted); line-height: 1.6; }

/* Testimonial */
.testimonial-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background: linear-gradient(0deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.8) 50%, rgba(15,23,42,0) 100%);
}
.testimonial-card {
    max-width: 800px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
    text-align: center;
}
.quote-icon { font-size: 3rem; color: rgba(99, 102, 241, 0.3); margin-bottom: 25px; }
.testimonial-card blockquote { font-size: 1.4rem; font-style: italic; color: #f8fafc; margin-bottom: 40px; line-height: 1.6; }
.author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.author-info { text-align: left; }
.author-info strong { display: block; color: #fff; }
.author-info span { color: var(--text-muted); font-size: 0.9rem; }

/* Bottom CTA */
.bottom-cta { padding: 100px 5%; text-align: center; }
.cta-container { max-width: 800px; margin: 0 auto; }
.cta-container h2 { font-size: 2.5rem; color: #fff; margin-bottom: 20px; }
.cta-container p { color: var(--text-muted); margin-bottom: 40px; font-size: 1.2rem; }
footer {
    background: rgba(11, 15, 25, 0.95);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
footer .logo img {
    max-height: 50px;
    object-fit: contain;
}
.footer-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    width: 100%;
}
.footer-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-details i {
    color: var(--accent-primary);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}
.footer-trust-badges span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.footer-trust-badges i {
    color: #34d399; /* Success green checkmarks */
}
.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-buttons { align-items: center; margin: 0 auto; }
    .hero-content h1 { font-size: 2.8rem; }
    
    /* Vaste mobiele navigatiebalk layout - COMPACT */
    .navbar { padding: 10px 5%; }
    .nav-logo img {
        max-height: 85px;
        margin-top: -12px;
        margin-bottom: -12px;
    }
    .nav-container { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .nav-links { display: flex; gap: 10px; width: 100%; justify-content: center; font-size: 0.85rem; order: 3; }
    .nav-links a { margin: 0; }
    .nav-cta { padding: 8px 15px; font-size: 0.85rem; order: 2; }
}




/* ========================================= */
/* HOE WERKT HET PAGE STYLES (Motion & 3D)   */
/* ========================================= */

.page-header {
    padding: 150px 5% 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.page-header h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
}
.step-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s;
}
.step-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
}
.step-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 25px;
    transform: translateZ(20px);
}
.step-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.text-image-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}
.text-image-section.reverse {
    flex-direction: row-reverse;
}
.text-content {
    flex: 1;
}
.text-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}
.text-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}
.image-content img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
    .text-image-section, .text-image-section.reverse {
        flex-direction: column;
        text-align: center;
    }
}



/* ========================================= */
/* FIX FOR MOBILE PHONES / KLEINE SCHERMEN   */
/* ========================================= */

@media (max-width: 600px) {
    /* Hero Schermen */
    .hero-content h1 { font-size: 2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    .hero-section { padding-top: 120px; padding-bottom: 50px; }
    
    /* Grote pagina headers (Voordelen/Hoe Werkt Het) */
    .page-header { padding-top: 100px; padding-left: 15px; padding-right: 15px; }
    .page-header h1 { font-size: 2rem; line-height: 1.2; }
    .page-header p { font-size: 1rem; }
    
    /* Reguliere sectie headers */
    .section-header h2 { font-size: 1.8rem; }
    .text-content h2 { font-size: 1.8rem; line-height: 1.2; }
    .text-content p { font-size: 1rem; }
    
    /* Marges tussen blokken verkleinen */
    .text-image-section { padding: 40px 15px; gap: 30px; }
    .features-section { padding: 50px 15px; }
    .step-grid { padding: 20px 15px 50px; gap: 20px; }
    .testimonial-section { padding: 50px 15px; }
    .bottom-cta { padding: 60px 15px; }
    
    /* Knoppen over de volle breedte op mobiel */
    .hero-buttons { width: 100%; }
    .btn-glow, .btn-glow.large { 
        width: 100%; 
        font-size: 1.1rem; 
        padding: 16px 20px; 
        justify-content: center; 
    }
    .hero-trust { text-align: center; width: 100%; }
    
    /* Zorg dat teksten nooit over de rand breken */
    body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.75; /* Premium line spacing */
}
}


.navbar { transition: transform 0.3s ease-in-out, background 0.3s; }
.navbar.nav-hidden { transform: translateY(-100%); }


.navbar.nav-hidden { transform: translateY(-100%) !important; }

/* ========================================= */
/* APPLE-STYLE HORIZONTAL SCROLL             */
/* ========================================= */
.apple-scroll-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.apple-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5%;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: stretch;
}

.apple-scroll-container::-webkit-scrollbar {
    display: none;
}

.apple-scroll-card {
    scroll-snap-align: center;
    flex: 0 0 85%;
    max-width: 400px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    /* Reset tilt styles for horizontal scroll */
    transform-style: flat;
    display: flex;
    flex-direction: column;
    height: auto;
}

.apple-scroll-card p {
    flex-grow: 1;
}

.apple-scroll-card .btn-glow {
    margin-top: auto !important;
}

@media (min-width: 768px) {
    .apple-scroll-card {
        flex: 0 0 45%;
        max-width: 380px;
    }
}

@media (min-width: 1024px) {
    .apple-scroll-card {
        flex: 0 0 30%;
        max-width: 350px;
        scroll-snap-align: start;
    }
}

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

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left { left: 10px; }
.scroll-btn.right { right: 10px; }

@media (max-width: 768px) {
    .scroll-btn { display: none; } /* Hide buttons on mobile, swipe is natural */
}



/* ========================================= */
/* BRAND PATTERN & UPGRADED CARDS            */
/* ========================================= */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.75; /* Premium line spacing */
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    width: 100%;
}

.card-top i {
    font-size: 2.5rem;
}

.card-price {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0;
    text-align: left;
}

.card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-bullets li i {
    margin-top: 4px;
    font-size: 0.8rem;
}

.apple-scroll-card h3 {
    text-align: left;
    margin-top: 0;
}

/* ========================================= */
/* TESTIMONIAL GRID & TRUSTPILOT BADGE       */
/* ========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    width: 100%;
}
.trustpilot-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}
.trustpilot-badge i.fa-star {
    color: #00b67a;
}
.testimonial-mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-mini-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
}
.testimonial-mini-card .stars {
    color: #00b67a; /* Trustpilot green star styling */
    margin-bottom: 15px;
    font-size: 1rem;
}
.testimonial-mini-card p {
    color: #f8fafc;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.testimonial-mini-card .author {
    justify-content: flex-start;
}

/* ========================================= */
/* CHECKOUT UPSELL CARD                      */
/* ========================================= */
.upsell-card {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}
.upsell-card:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}
.upsell-card.active {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}
.upsell-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}




/* Subtiel Premium Dot Grid Patroon voor B2B SaaS uitstraling */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: -2;
    pointer-events: none;
}
/* Premium Serif Koppen voor Hoge Autoriteit */
h1, h2, h3, h4, h5, h6, .glitch-text, .text-gradient {
    font-family: 'Lora', serif !important;
    font-weight: 600;
}
/* Rebuild documenten horizontaal scrollen naar premium responsive Vertical Grid */
.landing-page .apple-scroll-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    overflow-x: visible !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px 5% !important;
}

.landing-page .apple-scroll-card {
    flex: unset !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: 380px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.landing-page .scroll-btn {
    display: none !important; /* Verberg scroll-knoppen op grid-pagina's */
}

/* Subtle micro-interactions */
.step-card, .feature-card, .testimonial-mini-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.step-card:hover, .feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
}

/* In-site Checkout Modal Styles */
.checkout-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.checkout-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.checkout-modal {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    width: 95%;
    max-width: 480px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #f8fafc;
}
.checkout-modal-overlay.active .checkout-modal {
    transform: scale(1) translateY(0);
}
.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 15px;
}
.checkout-modal-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}
.checkout-modal-close:hover {
    color: white;
}
.payment-method-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.payment-method-option {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.payment-method-option:hover {
    background: rgba(255,255,255,0.05);
}
.payment-method-option.active {
    border-color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.1);
    color: white;
}
.payment-method-option i {
    font-size: 1.5rem;
}
.ideal-bank-select {
    width: 100%;
    padding: 12px;
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    margin-bottom: 20px;
}
.card-details-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.card-row {
    display: flex;
    gap: 15px;
}
/* Custom Category Choice Bento layout under hero */
#kies-categorie .feature-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    background: rgba(15, 23, 42, 0.4);
}
#kies-categorie .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--accent-primary);
}

/* Subscription card glowing effects */
.subscription-card {
    box-shadow: 0 10px 30px rgba(168,85,247,0.1) !important;
}
.subscription-card:hover {
    box-shadow: 0 20px 40px rgba(168,85,247,0.25) !important;
    border-color: rgba(168,85,247,0.8) !important;
}