body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* Sta verticaal scrollen toe */
    scroll-behavior: smooth;
    /* Zorgt voor een zachte glijdende animatie bij het klikken op interne links */
}

/* Mobiele layout helper */
.mobile-only {
    display: none !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    /* Fallback achtergrondkleur */
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    /* Optional: Adding a very subtle zoom effect to keep it dynamic */
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    z-index: 99999 !important; /* Voorkomt dat scherminhoud over de navbar scrollt */
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo {
    position: absolute;
    top: 7rem;
    left: 50%;
    transform: translateX(-50%);
    width: 275px;
    height: auto;
    z-index: 10;
    filter: brightness(0) invert(1);
}

@media (min-width: 1150px) {
    .logo {
        left: auto;
        transform: none;
        right: 4rem;
        width: 450px;
    }
}

@media (min-width: 768px) {
    body:not(.page-home) .logo {
        display: none;
    }
}


.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d4ff;
}

.nav-links a.active-nav-link {
    color: #00d4ff;
    position: relative;
}

.nav-links a.active-nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00f2fe, #0088ff);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        top: 1rem;
        width: 90%;
        box-sizing: border-box;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .logo {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 275px;
    }
}

.hero-content {
    position: relative;
    margin-top: 10rem;
    margin-left: 2rem;
    margin-bottom: 5rem;
    max-width: 700px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    z-index: 5;
    padding: 2rem;
    /* Extra doorzichtig gemaakt zodat je de achtergrond er prachtig doorheen ziet */
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 60%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cta-group {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: #0088ff;
    /* Opvallend blauw */
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

.btn-primary:hover {
    background-color: #00d4ff;
    /* Lichter en helderder bij hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.btn-secondary:hover {
    color: #ffffff;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.btn-secondary:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



@media (max-width: 768px) {
    .hero-content {
        margin-top: 22rem;
        margin-left: 5%;
        margin-right: 5%;
        max-width: none;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: #ffffff !important;
        color: #ffffff !important;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Styling voor de 3 kolommen / features */
.features-section {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 2rem 4rem 2rem;
    z-index: 5;
    font-family: 'Inter', sans-serif;
}

.feature-card {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem 2rem 4.5rem 2rem;
    /* Extra ruimte onderaan voor de link */
    color: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    /* Nodig voor absolute positionering van de link */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 136, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.project-link {
    color: #00d4ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 2rem;
    /* Altijd op exact dezelfde afstand van de onderkant */
    left: 2rem;
}

.project-link span {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
}

.project-link:hover span {
    transform: translateX(10px) scale(1.2);
    /* Schuift verder op en wordt iets groter */
}

@media (max-width: 992px) {
    .features-section {
        grid-template-columns: 1fr;
        margin: 0 5% 4rem 5%;
    }
}

/* Footer Styling */
.glass-footer {
    margin: 4rem 2rem 2rem 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    z-index: 5;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-legal,
.footer-contact,
.footer-menu {
    flex: 1;
    min-width: 250px;
}

.footer-legal,
.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-legal {
    font-weight: bold;
}

.footer-contact {
    text-align: right;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
}

.footer-menu p {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: block;
}

.footer-menu a:hover {
    color: #00d4ff;
}

.glass-footer h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #00d4ff;
}

.glass-footer p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.glass-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glass-footer a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #00d4ff;
}

@media (max-width: 768px) {
    .glass-footer {
        margin: 4rem 5% 2rem 5%;
        padding: 1.5rem;
        width: 90%;
        box-sizing: border-box;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .footer-legal,
    .footer-contact,
    .footer-menu {
        width: 100%;
        text-align: center;
        color: #ffffff;
    }

    .glass-footer p,
    .glass-footer a,
    .glass-footer b {
        color: #ffffff !important;
    }
}

/* Strategic CTAs and Conversion Banner Styles */

/* Hero Promo Badge & Lichtkrant (News Ticker) */
.hero-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.9rem;
    padding-right: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 380px; /* Vaste breedte voor een consistente lichtkrant look */
    max-width: 90vw;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-promo-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.hero-promo-badge .promo-new {
    background: linear-gradient(135deg, #00f2fe 0%, #0088ff 100%);
    color: #0b0f19;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 242, 254, 0.3);
    flex-shrink: 0; /* Zorgt dat de badge niet verkleint */
    z-index: 2;
}

.promo-ticker-window {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.promo-ticker-text {
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    animation: ticker 12s linear infinite;
}

.hero-promo-badge:hover .promo-ticker-text {
    color: #00f2fe;
    animation-play-state: paused; /* Pauzeert de lichtkrant bij hover voor optimale leesbaarheid */
}

@keyframes ticker {
    0% {
        transform: translateX(270px);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Primary Hero CTA Button */
.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #00f2fe 0%, #0088ff 100%);
    color: #0b0f19 !important;
    text-decoration: none;
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4), 0 0 30px rgba(0, 136, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.45), 0 0 30px rgba(0, 136, 255, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 242, 254, 0.95), 0 0 50px rgba(0, 136, 255, 0.55);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.45), 0 0 30px rgba(0, 136, 255, 0.25);
    }
}

.btn-cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00d4ff 0%, #0077ee 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-cta-main:hover {
    color: #0b0f19 !important;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.95), 0 0 60px rgba(0, 136, 255, 0.6);
    animation-play-state: paused; /* Pauses the animation so the hover glow is fully stable and solid */
}

.btn-cta-main:hover::before {
    opacity: 1;
}

/* Secondary Glass Outline Button */
.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    text-decoration: none;
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
}

/* Subtle Text Link */
.btn-text-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.btn-text-link:hover {
    color: #00f2fe !important;
}

.btn-text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #00f2fe;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Conversion Banner Section */
.conversion-banner {
    position: relative;
    margin: 4rem 2rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border-radius: 24px;
    color: #0b0f19;
    font-family: 'Inter', sans-serif;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35);
    overflow: hidden;
    animation: bannerAmbientGlow 4s infinite ease-in-out;
}

@keyframes bannerAmbientGlow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35), 0 0 20px rgba(79, 172, 254, 0.2);
    }
    50% {
        box-shadow: 0 25px 65px rgba(0, 242, 254, 0.85), 0 0 50px rgba(79, 172, 254, 0.6);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35), 0 0 20px rgba(79, 172, 254, 0.2);
    }
}

/* Subtle decorative glow and grid patterns inside the banner */
.conversion-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.conversion-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 2;
    max-width: 700px;
}

.banner-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #0b0f19;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.banner-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(11, 15, 25, 0.85);
    font-weight: 500;
}

.banner-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 280px;
}

.btn-banner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #0b0f19;
    color: #ffffff;
    text-decoration: none;
    padding: 1.2rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(11, 15, 25, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    animation: bannerBtnPulseGlow 2s infinite ease-in-out;
}

@keyframes bannerBtnPulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(11, 15, 25, 0.4), 0 0 20px rgba(0, 242, 254, 0.25);
    }
    50% {
        box-shadow: 0 0 35px rgba(11, 15, 25, 0.6), 0 0 45px rgba(0, 242, 254, 0.95);
    }
    100% {
        box-shadow: 0 0 15px rgba(11, 15, 25, 0.4), 0 0 20px rgba(0, 242, 254, 0.25);
    }
}

.btn-banner-cta:hover {
    background-color: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(11, 15, 25, 0.7), 0 0 65px rgba(0, 242, 254, 1);
    animation-play-state: paused; /* Pauses the pulsing animation on hover for stable state */
}

.btn-banner-cta:active {
    transform: translateY(-1px);
}

.btn-banner-cta .icon {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s;
}

.btn-banner-cta:hover .icon {
    transform: scale(1.2) rotate(-5deg);
}

@media (max-width: 992px) {
    .conversion-banner {
        margin: 3rem 5%;
        padding: 2.5rem 2rem;
        border-radius: 20px;
        width: 90%;
        box-sizing: border-box;
    }
    
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .banner-text h2 {
        font-size: 1.8rem;
    }
    
    .banner-action {
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn-banner-cta {
        width: 100%;
        white-space: normal !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cta-group {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        gap: 1rem !important;
    }
    .btn-cta-main,
    .btn-secondary-outline {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .btn-text-link {
        justify-content: center;
    }
    .hero-promo-badge {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-only {
        display: block !important;
    }
}