/* =========================================
   GLOBAL RESET & BASE
========================================= */

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

html {
    scroll-behavior: smooth;
}

:root {
    --brand-yellow: #F7D54A;
    --brand-blue: #3DBAFD;
    --brand-black: #111111;
    --brand-dark: #0b1120;
    --hero-teal: #16c1c4;
    --hero-teal-deep: #0fb3b8;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   LAYOUT
========================================= */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    scroll-margin-top: 80px;
}

/* =========================================
   TYPOGRAFIE
========================================= */

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    text-align: center;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: var(--hero-teal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

/* <<< AANGEPAST: logo wat ronder gemaakt >>> */
.logo img {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 16px; /* hoeken ronder */
    overflow: hidden;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
}
/* <<< EINDE AANPASSING >>> */

nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

nav a {
    color: #e5f9ff;
    font-weight: 500;
    transition: color 0.2s ease-out, opacity 0.2s ease-out;
}

nav a:hover {
    color: #ffffff;
    opacity: 0.9;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.nav-demo-link {
    color: #e5f9ff;
    font-weight: 500;
    transition: color 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-demo-link:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-secondary,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background-color 0.15s ease-out,
        border-color 0.15s ease-out,
        color 0.15s ease-out;
}

/* primair: geel uit je logo */
.btn-primary {
    background: var(--brand-yellow);
    color: var(--brand-black);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    background: #f5c82b;
}

/* wit met zwarte rand */
.btn-secondary {
    background-color: #ffffff;
    color: var(--brand-black);
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: rgba(0, 0, 0, 0.35);
}

.nav-cta {
    background-color: var(--brand-yellow);
    color: var(--brand-black);
    padding-inline: 1.2rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.nav-cta:hover {
    background-color: #f5c82b;
}

.hero-primary {
    font-size: 1rem;
}

.hero-secondary {
    background-color: #ffffff;
    color: var(--brand-black);
}

.btn-primary.big {
    padding: 0.95rem 2.1rem;
    font-size: 1rem;
}

.text-link-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-blue);
}

.text-link-cta:hover {
    color: #1595da;
}

/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    padding: 0;
    background: var(--hero-teal);
    color: #ffffff;
}

.hero-wave-bg {
    position: relative;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

/* wave onderkant */
.hero-wave-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3rem;
    height: 6rem;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.05);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
}

.hero-text {
    max-width: 34rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 3vw + 1.2rem, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1rem;
    color: #e6fcff;
    margin-bottom: 1.1rem;
}

.hero-bullets {
    margin-bottom: 1.4rem;
}

.hero-bullets li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    color: #e0f7fa;
}

.hero-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0, var(--brand-yellow) 40%, var(--brand-blue) 100%);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.hero-subtext {
    font-size: 0.85rem;
    color: #d1f4ff;
}

/* HERO MEDIA / VIDEO */

.hero-media {
    display: flex;
    justify-content: flex-end;
}

.hero-video-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 0.9rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    max-width: 480px;
    width: 100%;
}

.hero-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 18px;
}

.hero-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
}

.hero-video-caption {
    margin-top: 0.7rem;
    font-size: 0.88rem;
    color: #111827;
}

.hero-video-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.3rem;
    border-radius: 999px;
    background-color: rgba(22, 193, 196, 0.12);
    color: #0f766e;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* =========================================
   CLIENTS / LOGOBAR
========================================= */

.clients {
    padding: 3.2rem 0 2.4rem;
    text-align: center;
    background-color: #ffffff;
}

.clients p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.2rem;
}

.client-logo-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    align-items: center;
}

.client-logo {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    border: 1px solid #e5e7eb;
}

.client-logo img {
    height: 28px;
    width: auto;
    display: block;
}

/* =========================================
   GENERIC SECTION INTRO
========================================= */

.section-intro {
    max-width: 34rem;
    margin: 0.35rem auto 2rem;
    text-align: center;
    font-size: 0.98rem;
    color: #4b5563;
}

/* =========================================
   BENEFITS
========================================= */

.benefits {
    padding: 3rem 0 2.5rem;
    background-color: #f9fafb;
    text-align: center;
}

.benefits h2 {
    margin-bottom: 0.5rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 2.1rem;
}

.benefit-card {
    background: #ffffff;
    padding: 1.6rem 1.4rem;
    border-radius: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
    text-align: left;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.benefit-card p {
    font-size: 0.93rem;
    color: #4b5563;
}

.numbered-card {
    position: relative;
    padding-top: 2.2rem;
}

.number-tag {
    position: absolute;
    top: 1.1rem;
    left: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    background-color: #E8F7FF;
    color: var(--brand-blue);
}

/* =========================================
   FEATURE SPLIT SECTIONS + FICTIEVE DATA
========================================= */

.feature-split {
    padding: 3.5rem 0;
    background-color: #f9fafb;
}

.feature-split:nth-of-type(even) {
    background-color: #ffffff;
}

.feature-split-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.feature-split.reverse .feature-split-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.feature-text h2 {
    text-align: left;
    margin-bottom: 0.7rem;
}

.feature-text p {
    font-size: 0.96rem;
    color: #4b5563;
    margin-bottom: 0.9rem;
    max-width: 32rem;
}

.feature-text ul {
    margin-bottom: 0.5rem;
}

.feature-text ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    color: #374151;
}

.feature-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-size: 1.1rem;
    color: var(--brand-blue);
}

.feature-image {
    border-radius: 1.5rem;
    padding: 0.7rem;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 60%);
}

/* FICTIEVE SAMPLE BOXEN */

.feature-sample {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
}

.feature-sample-title {
    font-weight: 600;
    margin-bottom: 0.55rem;
    color: #111827;
}

.feature-sample-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sample-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
}

.sample-name {
    font-weight: 600;
    color: #111827;
}

.sample-platform {
    color: #4b5563;
}

.sample-metric {
    justify-self: end;
    font-weight: 600;
    color: var(--brand-blue);
}

/* statussen voor campagne management */

.sample-status {
    justify-self: end;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
}

.status-done {
    background-color: #dcfce7;
    color: #166534;
}

.status-progress {
    background-color: #fef9c3;
    color: #92400e;
}

.status-pending {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* metric cards voor analytics */

.feature-sample.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric-card {
    padding: 0.8rem 0.9rem;
    border-radius: 0.9rem;
    background-color: #0f172a;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.metric-value {
    font-size: 1.15rem;
    font-weight: 700;
}

.metric-sub {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* =========================================
   TESTIMONIAL
========================================= */

.testimonial {
    padding: 3rem 0;
    background-color: #ffffff;
}

.testimonial-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.testimonial-text h2 {
    text-align: left;
    margin-bottom: 0.8rem;
}

.testimonial .quote {
    font-size: 0.98rem;
    color: #374151;
    margin-bottom: 0.8rem;
}

.quote-author {
    font-size: 0.9rem;
    color: #6b7280;
}

/* =========================================
   KNOWLEDGE / DEMO
========================================= */

.knowledge {
    padding: 3.3rem 0;
    background-color: #f3f4f6;
}

.knowledge-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.knowledge-text h2 {
    text-align: left;
    margin-bottom: 0.7rem;
}

.knowledge-text p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.8rem;
}

.knowledge-text ul li {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.2rem;
}

.knowledge-links h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.knowledge-links ul li {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.knowledge-links a {
    color: var(--brand-blue);
}

.knowledge-links a:hover {
    color: #1d4ed8;
}

/* =========================================
   CTA BLOCK
========================================= */

.cta-block {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-blue) 50%, #0f172a 100%);
    color: #ffffff;
    text-align: center;
}

.cta-block h2 {
    text-align: center;
    margin-bottom: 0.6rem;
    font-size: 2rem;
}

.cta-block p {
    max-width: 34rem;
    margin: 0 auto 1.6rem;
    font-size: 0.98rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.cta-block .btn-primary.big {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.cta-block .btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.cta-block .btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.3);
    border-color: #ffffff;
}

.cta-subtext {
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: #0b1120;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
    margin-bottom: 1.8rem;
}

.footer h3,
.footer h4 {
    color: #f3f4f6;
    margin-bottom: 0.6rem;
}

.footer-column ul li {
    margin-bottom: 0.35rem;
}

.footer-column a {
    color: #9ca3af;
    transition: color 0.15s ease-out;
}

.footer-column a:hover {
    color: #e5e7eb;
}

.footer .copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

/* =========================================
   HELPERS
========================================= */

.demo-anchor {
    height: 1px;
    width: 1px;
}

/* =========================================
   VIDEO POP (NEW) - klik op video => modal groter
========================================= */

/* Zorgt dat overlay boven de iframe kan liggen */
.video-pop {
    position: relative;
}

/* Overlay button die "play" klikt */
.video-pop__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.28));
    cursor: pointer;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease-out, background 0.15s ease-out;
}

.video-pop__overlay:hover {
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.34));
}

.video-pop__overlay:active {
    transform: scale(0.99);
}

.video-pop__overlay:focus-visible {
    outline: 3px solid rgba(247, 213, 74, 0.9);
    outline-offset: 4px;
}

/* Play button (cirkel + triangle) */
.video-pop__play {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    position: relative;
    transition: transform 0.15s ease-out;
}

.video-pop__overlay:hover .video-pop__play {
    transform: scale(1.04);
}

/* Triangle */
.video-pop__play::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid var(--hero-teal-deep);
}

/* Modal container */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.video-modal.is-open {
    display: block;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
}

.video-modal__panel {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(1080px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    transform: translateY(6px);
    animation: videoPopIn 140ms ease-out forwards;
}

@keyframes videoPopIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.video-modal__panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 18px;
    line-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease-out, transform 0.15s ease-out;
}

.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.20);
}

.video-modal__close:active {
    transform: scale(0.98);
}

.video-modal__close:focus-visible {
    outline: 3px solid rgba(247, 213, 74, 0.9);
    outline-offset: 3px;
}

/* Mobiel: playknop iets kleiner */
@media (max-width: 540px) {
    .video-pop__play {
        width: 62px;
        height: 62px;
    }

    .video-pop__play::before {
        left: 26px;
        top: 18px;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
        border-left: 20px solid var(--hero-teal-deep);
    }

    .video-modal__panel {
        width: min(1080px, calc(100% - 18px));
        max-height: calc(100% - 18px);
        border-radius: 14px;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 960px) {
    .nav-content nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-wave-bg {
        padding-top: 3.5rem;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
        gap: 2.5rem;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-content,
    .feature-split-content,
    .knowledge-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-image {
        max-width: 460px;
    }

    .feature-sample.metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-content nav {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 0.5rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .hero-wave-bg {
        padding-bottom: 3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .benefit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-sample.metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .sample-row {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    }

    .sample-metric,
    .sample-status {
        justify-self: start;
    }
}

@media (max-width: 540px) {
    .nav-actions {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }

    .client-logo-row {
        gap: 0.9rem;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }
}
