:root {
    --bg0: #070812;
    --bg1: #0b1022;
    --card: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .12);
    --text: #eef1ff;
    --muted: #b7c0e7;
    --a: #6ee7ff;
    --b: #a78bfa;
    --c: #34d399;
    --shadow: 0 18px 60px rgba(0, 0, 0, .42);
    --r: 18px;
}

/* ✅ LIGHT MODE (toegevoegd) */
html[data-theme="light"] {
    --bg0: #f4f6ff;
    --bg1: #e9edff;
    --text: #0f172a;
    --muted: #475569;
    --stroke: rgba(0, 0, 0, .12);
    --shadow: 0 18px 60px rgba(0, 0, 0, .15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background:
        radial-gradient(800px 520px at 20% 10%, rgba(110, 231, 255, .18), transparent 55%),
        radial-gradient(900px 520px at 90% 18%, rgba(167, 139, 250, .16), transparent 55%),
        radial-gradient(700px 420px at 60% 90%, rgba(52, 211, 153, .10), transparent 60%),
        linear-gradient(180deg, var(--bg0), var(--bg1) 55%, var(--bg0));
    overflow-x: hidden;
}

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

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
    padding: 28px 0 70px;
}

/* Top */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 8px 0 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .2px;
}

.logo {
    height: 40px;
    /* pas aan naar wens */
    width: auto;
}

/* .logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 25%, var(--a), transparent 55%),
        radial-gradient(circle at 75% 65%, var(--b), transparent 60%),
        radial-gradient(circle at 40% 75%, var(--c), transparent 55%),
        rgba(255, 255, 255, .08);
    border: 1px solid var(--stroke);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
} */

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: .2s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--stroke);
    color: var(--text);
    transform: translateY(-1px);
}

/* ✅ Toggle knop styling (toegevoegd) */
.theme-toggle {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    cursor: pointer;
    transition: .2s ease;
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .09);
}

/* Hero */
.hero {
    position: relative;
    border-radius: calc(var(--r) + 10px);
    border: 1px solid rgba(255, 255, 255, .10);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 34px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(620px 260px at 18% 18%, rgba(110, 231, 255, .22), transparent 60%),
        radial-gradient(520px 260px at 88% 28%, rgba(167, 139, 250, .20), transparent 62%);
    filter: blur(0px);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 35%, rgba(255, 255, 255, .04));
    opacity: .25;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: stretch;
}

.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    border: 1px solid var(--stroke);
    background: rgba(0, 0, 0, .12);
    padding: 8px 12px;
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.spark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--a), var(--b));
    box-shadow: 0 0 0 6px rgba(110, 231, 255, .10);
}

h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.1;
    letter-spacing: -.6px;
}

.lead {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transition: .2s ease;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .09);
}

.btn.primary {
    border-color: rgba(110, 231, 255, .30);
    background: linear-gradient(135deg, rgba(110, 231, 255, .18), rgba(167, 139, 250, .14));
}

.btn .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--a);
}

.summary {
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(10, 14, 28, .35);
    backdrop-filter: blur(12px);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.summary::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(200px 140px at 20% 20%, rgba(52, 211, 153, .16), transparent 60%),
        radial-gradient(220px 160px at 80% 50%, rgba(110, 231, 255, .16), transparent 60%);
    pointer-events: none;
    opacity: .9;
}

.summary h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: .2px;
}

.summary ul {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
}

.summary li {
    margin: 8px 0;
}

/* Section */
section {
    margin-top: 26px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 12px;
}

.section-head h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .2px;
}

.section-head p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: .06s;
}

.delay-2 {
    transition-delay: .12s;
}

.delay-3 {
    transition-delay: .18s;
}

.delay-4 {
    transition-delay: .24s;
}

.delay-5 {
    transition-delay: .30s;
}

/* Team cards with slide overlay */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.person {
    position: relative;
    overflow: hidden;
    /* border-radius: 18px; */
}

.person .imgwrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide overlay */
/* .person .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .35) 55%,
            rgba(0, 0, 0, 0) 100%);

    z-index: 2;
} */
.person .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 14px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.4),
            transparent);

    transform: translateY(100%);
    /* volledig onder beeld */
    transition: transform 0.4s ease;

    max-height: 70%;
    /* voorkomt dat lange tekst alles bedekt */
    overflow-y: auto;
    /* scroll als tekst te lang is */
}

/* ✅ overlay voor light mode (toegevoegd) */
html[data-theme="light"] .person .overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255, .85) 0%,
            rgba(255, 255, 255, .40) 55%,
            rgba(255, 255, 255, 0) 100%);
}

/* ✅ rol kleur in light mode (toegevoegd) */
html[data-theme="light"] .person .role {
    color: rgba(0, 0, 0, .75);
}

.person .name {
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}

.person .role {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.25;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
}

.person:hover .role {
    opacity: 1;
    transform: translateY(0);
}

.person::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--r);
    box-shadow: 0 0 0 1px rgba(110, 231, 255, .20) inset;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.person:hover img {
    transform: scale(1.08) rotate(-0.3deg);
}

.person:hover .overlay {
    transform: translateY(0);
}

.person:hover::after {
    opacity: 1;
}

/* Situations */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.card {
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    box-shadow: var(--shadow);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(260px 160px at 20% 15%, rgba(110, 231, 255, .16), transparent 60%),
        radial-gradient(260px 160px at 80% 70%, rgba(167, 139, 250, .14), transparent 60%);
    opacity: .75;
    pointer-events: none;
}

.tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .14);
    color: var(--muted);
    width: fit-content;
}

.tag .pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--a);
    box-shadow: 0 0 0 6px rgba(110, 231, 255, .10);
}

.tag.goal .pin {
    background: var(--b);
    box-shadow: 0 0 0 6px rgba(167, 139, 250, .10);
}

.card h3 {
    position: relative;
    margin: 10px 0 8px;
    font-size: 16px;
}

.card ul {
    position: relative;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.card li {
    margin: 8px 0;
}

/* Timeline */
.timeline-container {
    max-width: 896px;
    /* max-w-4xl */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
}

.timeline-date {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--muted);
    font-size: 13px;
    padding-top: 4px;
}

.timeline-date span {
    display: block;
    font-weight: 700;
    color: var(--a);
    font-size: 15px;
    margin-bottom: 4px;
}

.timeline-content {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--stroke);
}

.timeline-item:last-child .timeline-content {
    border-bottom: none;
}

.timeline-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    transition: color .2s ease;
}

.timeline-title:hover {
    color: var(--a);
}

.timeline-desc {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(52, 211, 153, .10);
    color: var(--c);
    border: 1px solid rgba(52, 211, 153, .20);
    font-weight: 500;
}

footer {
    margin-top: 26px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    opacity: .95;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 22px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .person img,
    .person .overlay,
    .btn {
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Company names slider */
#companynames {
    overflow: hidden;
    padding: 40px 0;
}

#companynames .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

#companynames .names {
    overflow: hidden;
    white-space: nowrap;
}

#companynames .scrolling-list {
    display: inline-flex;
    gap: 80px;
    list-style: none;
    padding: 0;
    margin: 0;

    min-width: 200%;
    animation: scroll-left 30s linear infinite;
}

#companynames .scrolling-list li {
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
}

/* Animatie */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

#demo {
    margin-top: 40px;
}

#demo .section-head {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.scrolling-list img {
    height: 122px;
    width: auto;
}

.scrolling-list img.logo-small {
    height: 80px; 
    width: auto; 
    margin-top: 20px;
}