/* Reset & Basis Variabelen */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary-glow: rgba(139, 92, 246, 0.3);
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    --gradient-light: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::selection {
    background-color: var(--primary-glow);
    color: var(--dark-bg);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    color: var(--dark-bg);
}

a {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    background-image: var(--gradient);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    text-align: center;
}

.btn-primary:hover,
.hover-glow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px var(--primary-glow);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-bg);
    padding: 14px 28px;
    border-radius: 12px;
    border: 2px solid var(--dark-bg);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--dark-bg);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-full {
    width: 100%;
    display: block;
}

/* Navigatie */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo a {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-bg);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Sectie */
.hero {
    background-color: var(--light-bg);
    padding: 120px 0 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: blob-float 15s infinite alternate ease-in-out;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
}

.blob-2 {
    bottom: -50px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--secondary-glow);
    animation-delay: -5s;
}

.blob-3 {
    top: 20%;
    left: 30%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.05);
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 30px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--dark-bg);
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.blue-letter {
    color: var(--primary-color);
}

.slogan {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 50px;
}

.hero-sub {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text-light {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-main);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Diensten Sectie */
.services {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-weight: 800;
}

.section-title.left-align {
    text-align: left;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-card .icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.floating-icon {
    animation: float 6s ease-in-out infinite;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

/* Over Mij */
.about {
    padding: 120px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-stats {
    display: flex;
    gap: 30px;
}

.stat-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease;
}

.stat-box.custom-hover:hover {
    transform: translateY(-10px);
}

.stat-box h3 {
    font-size: 56px;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-box p {
    font-weight: 600;
    color: var(--text-light);
}

/* Werkwijze */
.process {
    padding: 120px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: var(--light-bg);
    z-index: 0;
    border-radius: 2px;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    width: 0%;
    height: 4px;
    background: var(--gradient);
    z-index: 0;
    border-radius: 2px;
    animation: fillLine 3s ease-in-out infinite alternate;
}

@keyframes fillLine {
    0% {
        width: 0%;
    }

    100% {
        width: calc(100% - 100px);
    }
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--white);
    padding-top: 10px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 auto 25px auto;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.step h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Pakketten Pricing */
.pricing {
    padding: 120px 0;
    background-color: var(--light-bg);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.pricing-card.theme-dark {
    background: var(--dark-bg);
    color: var(--white);
    transform: scale(1.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.pricing-card.theme-dark:hover {
    transform: scale(1.08);
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.3);
}

.pricing-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
}

.theme-dark .pricing-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.theme-dark .package-title {
    color: var(--white);
}

.package-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
    min-height: 65px;
}

.theme-dark .package-desc {
    color: rgba(255, 255, 255, 0.7);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--dark-bg);
    line-height: 1;
}

.theme-dark .price-currency,
.theme-dark .price-amount {
    color: var(--white);
}

.price-suffix {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.theme-dark .price-suffix {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-body {
    flex-grow: 1;
    margin-bottom: 40px;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 15px;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.theme-dark .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features li:hover {
    transform: translateX(5px);
}

.check-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    padding: 3px;
}

.theme-dark .check-icon {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
    white-space: nowrap;
    z-index: 2;
    animation: bounce-tag 3s infinite ease-in-out;
}

@keyframes bounce-tag {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.highlight-border {
    position: relative;
    background-clip: padding-box;
}

.highlight-border::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #8b5cf6, #2563eb, #8b5cf6, #2563eb);
    background-size: 300% 300%;
    animation: gradientBorder 4s linear infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Viral CTA */
.viral-cta {
    padding: 80px 0 120px 0;
    position: relative;
    z-index: 2;
    background: var(--light-bg);
}

.cta-box {
    background: var(--dark-bg);
    border-radius: 32px;
    padding: 80px 40px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.4);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 0;
}

.cta-box>* {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.btn-large {
    padding: 20px 46px;
    font-size: 18px;
    border-radius: 16px;
}

.pulse-btn {
    animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 100px 0 30px 0;
    text-align: center;
    position: relative;
}

.footer-info h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 36px;
}

.footer-info p {
    margin-bottom: 45px;
    color: var(--text-light);
    font-size: 18px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 14px;
}

.footer-cta {
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 10px;
}

/* Chatbot Styling */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 25px var(--primary-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chat-icon {
    width: 30px;
    height: 30px;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chatbot-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--gradient);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chatbot-header h4 {
    margin: 0;
    font-size: 16px;
}

.chatbot-header .status {
    font-size: 12px;
    opacity: 0.8;
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.close-chat:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.bot-message {
    background: var(--white);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.user-message {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.chatbot-input {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    border: none;
    background: var(--light-bg);
    padding: 12px 15px;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
}

.chatbot-input input:focus {
    box-shadow: inset 0 0 0 2px var(--primary-glow);
}

.send-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content h4 {
    color: var(--dark-bg);
    margin-bottom: 10px;
    font-size: 18px;
}

.cookie-content p {
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Animaties & Utilities */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE HORIZONTAL SCROLL/SWIPE
   ========================================================================= */

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 56px;
    }

    .cta-box h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Hero Optimalisatie */
    .hero {
        padding: 100px 0 80px 0;
    }

    .main-title {
        font-size: 38px;
    }

    .hero-sub {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ---------------------------------------------------------------------
       Horizontale Swipe Functionaliteit voor Mobiel (Voorkomt verticaal scrollen)
       --------------------------------------------------------------------- */
    .services-grid,
    .process-steps,
    .pricing-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        gap: 15px;

        /* Subtiele pull-in voor de scroll edge */
        padding-left: 10px;
        padding-right: 10px;
        margin-left: -10px;
        margin-right: -10px;

        /* Verberg lelijke scrollbars voor clean app design */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .services-grid::-webkit-scrollbar,
    .process-steps::-webkit-scrollbar,
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    /* Forceer de kaarten om een vast formaat te houden op mobiel */
    .service-card,
    .step,
    .pricing-card {
        flex: 0 0 85%;
        /* Laat 15% van de volgende kaart zien, nodigt uit tot swipen */
        min-width: 85%;
        scroll-snap-align: center;
    }

    /* Specifieke correcties voor Process-steps om lijnen te verbergen */
    .process-steps::before,
    .process-steps::after {
        display: none;
    }

    .process-steps {
        padding-top: 10px;
    }

    /* Specifieke correcties voor de Pricing-cards op mobiel */
    .pricing-grid {
        align-items: stretch;
    }

    .pricing-card.theme-dark {
        transform: scale(1);
        /* Reset desktop scale */
    }

    .pricing-card.theme-dark:hover {
        transform: translateY(-5px);
    }

    /* ---------------------------------------------------------------------
       Rest van de Mobiele CSS
       --------------------------------------------------------------------- */

    .cta-box {
        padding: 50px 20px;
    }

    /* Zorgt dat footer minder lange scroll heeft */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
        height: 450px;
    }

    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    /* Op extreem smalle schermen mag de footer gewoon weer 1 kolom worden */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}