/* Font Definitions */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-light-webfont.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

/* Header altijd wit */
.header {
    background-color: #ffffff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    /* Adjusted for bottom shadow */
    /*padding: 20px 0;*/
    position: relative;
    z-index: 100;
    position: sticky;
    top: 0;
    width: 100%;
}

.header>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
}

.logo img {
    display: block;
    height: auto;
}

/* Hero sectie */
.hero {
    padding: 60px 0 75px 0;
    background-color: var(--background-color-light);
}

.hero>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1 {
    font-size: 28px;
    font-family: 'Poppins';
    font-weight: 300;
    color: #333333;
    margin: 0;
    line-height: 1.5;
    max-width: 90%;
}

.hero h1 strong {
    font-weight: 700;
}

.hero-subtitle {
    font-size: 16px;
    color: #333333;
    margin: 0;
    line-height: 1.7;
    max-width: 70%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero-bullets {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.hero-bullets .bullet-icon {
    flex-shrink: 0;
    margin-top: 0.2em;
    font-size: 1.2em;
    color: #D8DB54;
}

.hero-bullets .bullet-text {
    display: block;
    word-break: break-word;
}

.hero-bullets .bullet-text strong {
    font-weight: 700;
}

.bullet-icon {
    color: #D8DB54;
    font-size: 1.2em;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Features sectie */
.features-section {
    padding: 60px 0 75px 0;
    background-color: var(--background-color-light);
}

.features-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.feature-content {
    flex: 1;
    min-width: 55%;
}

.feature-content h2 {
    font-size: 28px;
    font-family: 'Poppins';
    font-weight: 300;
    color: #333333;
    margin: 0;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 20px;
}

.feature-content h2 strong {
    font-weight: 700;
}

.feature-subtitle {
    font-size: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 15px;
    margin-top: 15px;
    color: #333333;
}

.feature-body-text {
    margin-bottom: 25px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #333333;
    font-size: 16px;
}

.feature-image {
    /*flex: 1;*/
    justify-content: center;
    align-items: end;
}

.feature-image img {
    max-width: 100%;
    height: auto;
}

/* Testimonial sectie */
.testimonial-section {
    padding: 60px 0;
    background-color: var(--background-color-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.testimonial {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    max-width: 900px;
    gap: 40px;
}

.testimonial-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    margin-top: 8px;
}

.testimonial-text {
    max-width: 650px;
}

.testimonial-text h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}

.testimonial-text p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Sectie */
.cta-section {
    padding: 60px 0 60px 0;
    background-color: var(--background-color-dark);
}

.cta-section .feature-content h2,
.cta-section .feature-subtitle,
.cta-section .feature-body-text {
    color: #ffffff;
}

/* Knoppen */
.cta-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 32px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    width: max-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 44px;
}

/* .cta-button:focus {
    outline: 2px solid var(--primary-color, #2563EB);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
} */

.cta-button:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-micro-text {
    font-size: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-top: 4px;
    opacity: 0.9;
    font-weight: 400;
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    margin-bottom: 25px;
    color: #1a202c;
    font-size: 24px;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-button:hover {
    color: #333;
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* Toggle via JS */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup box */
.popup-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Close button */
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

/* Progress bar */
.progress-container {
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background: #10B981;
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

/* Header + subtitle */
.popup-header {
    font-size: 1.75rem;
    margin: 1rem 0 0.5rem;
    text-align: center;
}

.popup-subtitle {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Body layout */
.popup-body {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.popup-image {
    flex: 1 1 250px;
    text-align: center;
}

.popup-image img {
    max-width: 100%;
    border-radius: 4px;
}

.popup-form {
    flex: 1 1 250px;
}

/* Security note */
.security-note {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    margin-top: 10px;
}

.lock-icon {
    margin-right: 0.25rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .desktop-image {
        display: none;
    }

    .popup-content {
        width: 95%;
        /* Maak popup breder op kleine schermen */
        padding: 1rem;
        /* Minder padding */
        max-width: none;
        /* Verwijder desktop max-width */
    }

    .popup-header {
        font-size: 22px;
        /* Kleinere header */
    }

    .popup-subtitle {
        font-size: 0.9rem;
        /* Kleinere subtitel */
        margin-bottom: 1rem;
        /* Iets minder marge */
    }

    .popup-body {
        flex-direction: column;
        gap: 1rem;
        /* Minder ruimte tussen afbeelding en formulier */
    }

    .popup-image,
    .popup-form {
        flex: 1 1 auto;
        width: 100%;
        /* Zorg dat ze volledige breedte innemen */
    }

    .popup-image img {
        max-width: 70%;
        /* Maak afbeelding iets kleiner */
        height: auto;
    }

    .popup-form-footer .cta-button {
        width: 100% !important;
    }

    .form-group {
        margin-bottom: 5px;
    }
}

/* Popup Form Footer Button Layout */
.popup-form-footer {
    text-align: center;
    margin-top: 20px;
}

.popup-form-footer .cta-button {
    width: auto;
    display: inline-block;
    margin-bottom: 0;
}

/* Utility classes */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .header>.container {
        min-height: 64px;
    }

    .hero {
        padding: 40px 0;
    }

    .header .logo img {
        max-width: 150px;
        height: auto;
    }

    .hero>.container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        order: 1;
        margin-bottom: 30px;
        display: flex;
        align-items: center;
    }

    .hero-image img {
        max-width: 80%;
        height: auto;
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 22px;
        max-width: 90%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-bullets {
        text-align: left;
        max-width: 80%;
        margin: 0 auto 30px auto;
    }

    .hero-bullets li {
        text-align: left;
        display: inline-flex;
        width: 100%;
        justify-content: flex-start;
    }

    .hero-bullets li .bullet-icon {
        margin-top: 0.25em;
    }

    .testimonial-section {
        padding: 40px 0;
    }

    .testimonial {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        gap: 25px;
    }

    .testimonial-image-wrapper {
        margin-bottom: 5px;
    }

    .testimonial img {
        width: 120px;
        height: 120px;
    }

    .testimonial-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .testimonial-text h2 {
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .testimonial-text p {
        font-size: 16px;
        line-height: 1.7;
        max-width: 90%;
        margin: 0 auto;
    }

    .features-section {
        padding: 40px 0;
    }

    .features-inner {
        flex-direction: column;
        gap: 30px;
    }

    .feature-content {
        order: 1;
        text-align: left;
        min-width: 100%;
    }

    .feature-image {
        display: flex;
        /* Alleen zichtbaar op mobiel */
        order: 2;
    }

    .feature-image img {
        max-width: 80%;
        height: auto;
        margin-bottom: 30px;
    }

    .feature-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
        text-align: center;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
        margin-top: 12px;
    }

    .feature-body-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero .cta-button,
    .feature-content .cta-button,
    .cta-section .cta-button {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        width: 80%;
    }

    .cta-section {
        padding: 40px 0 75px 0;
    }

    .cta-section .features-inner {
        flex-direction: column;
        gap: 30px;
    }

    .cta-section .feature-content {
        order: 1;
        text-align: left;
        min-width: 100%;
    }

    .cta-section .feature-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
        text-align: center;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section .feature-body-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section .feature-image {
        order: 2;
    }

    .cta-section .feature-image img {
        max-width: 80%;
        height: auto;
        margin-bottom: 0;
        padding: 20px 0;
    }

    .cta-section .cta-button {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 90%;
    }

}

.bonus-section {
    width: 1140px;
    margin: 0 auto;
    margin-top: 2rem;
    padding: 2rem;
    color: #333333;
    text-align: center;
}

@media (max-width: 768px) {
    .bonus-section {
        width: 100%;
        margin-top: 2rem;
        padding: 20px 30px 50px 30px;
        background-color: #ffffff;
        text-align: left;
    }

    .bonus-section h2 {
        font-size: 22px;
        text-align: center;
    }
}

.bonus-section h2 {
    color: #333333;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.bonus-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bonus-section .bonus-cta {
    background: white;
    color: var(--primary-color, #2563EB);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.bonus-section .bonus-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}