/* =============================================================
   VECTIVO — main.css
   Slate-palet · Syne (display) · Figtree (body) · Mobile first
   ============================================================= */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
    /* Brand colors */
    --leisteen:  #0D1117;
    --diep:      #161B22;
    --paneel:    #1C2330;
    --blauw:     #38AEFF;
    --aqua:      #00E5CC;
    --aqua-hover:#00C4B0;
    --hemelgrijs:#EEF2F7;
    --staal:     #5E7A9A;
    --staal-mid: #7E94B4;

    /* Functional */
    --error:   #F87171;
    --success: #4ADE80;

    /* Type */
    --font-display: 'Sora', system-ui, -apple-system, sans-serif;
    --font-logo: 'Syne', system-ui, -apple-system, sans-serif;
    --font-body:    'Figtree', system-ui, -apple-system, sans-serif;

    /* Sizing — mobile first */
    --container-px: 20px;
    --section-py:   64px;

    /* Radii */
    --radius:    4px;
    --radius-lg: 8px;
}

/* Tablet+ */
@media (min-width: 768px) {
    :root {
        --container-px: 32px;
        --section-py:   88px;
    }
}

/* Desktop+ */
@media (min-width: 1024px) {
    :root {
        --container-px: 48px;
        --section-py:   112px;
    }
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--leisteen);
    color: var(--hemelgrijs);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}
.container-narrow {
    max-width: 760px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled {
    border-bottom-color: rgba(56, 174, 255, 0.12);
    background: rgba(13, 17, 23, 0.92);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-text {
    font-family: var(--font-logo);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hemelgrijs);
}
.logo-v { color: var(--aqua); }

/* Mobile nav: hidden by default, slides down */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    padding: 0 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--hemelgrijs);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list {
    list-style: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--leisteen);
    border-bottom: 1px solid rgba(56, 174, 255, 0.12);
    padding: 20px var(--container-px) 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--hemelgrijs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-list .nav-cta {
    margin-top: 12px;
    background: var(--aqua);
    color: var(--leisteen);
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius);
    border-bottom: none;
    padding: 14px 20px;
}

/* Desktop nav */
@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav-list {
        position: static;
        flex-direction: row;
        gap: 32px;
        align-items: center;
        background: transparent;
        border: none;
        padding: 0;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list a {
        padding: 8px 0;
        font-size: 14px;
        color: var(--staal-mid);
        border: none;
        transition: color 0.2s;
    }
    .nav-list a:hover { color: var(--hemelgrijs); }
    .nav-list .nav-cta {
        margin: 0;
        background: var(--aqua);
        color: var(--leisteen);
        padding: 10px 20px;
        font-size: 14px;
    }
    .nav-list .nav-cta:hover { background: var(--aqua-hover); color: var(--leisteen); }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: background 0.2s, color 0.2s, transform 0.1s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--aqua);
    color: var(--leisteen);
    font-weight: 700;
}
.btn-primary:hover { background: var(--aqua-hover); }
.btn-ghost {
    color: var(--hemelgrijs);
    padding-left: 4px;
    padding-right: 4px;
}
.btn-ghost:hover { color: var(--aqua); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: var(--leisteen);
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(56, 174, 255, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 100%, rgba(0, 229, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-vectors {
    position: absolute;
    right: -80px;
    bottom: -40px;
    width: 280px;
    height: 280px;
    opacity: 0.5;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 24px;
}
.hero-badge-line {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--aqua);
}
.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--hemelgrijs);
    margin-bottom: 20px;
    max-width: 640px;
}
.hero-heading em {
    font-style: normal;
    color: var(--aqua);
}
.hero-body {
    font-size: 17px;
    color: var(--staal-mid);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero { padding: 120px 0 140px; }
    .hero-vectors {
        right: -40px;
        bottom: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 360px;
        height: 360px;
        opacity: 0.6;
    }
    .hero-heading { font-size: clamp(48px, 6vw, 72px); }
    .hero-body { font-size: 18px; }
}

@media (min-width: 1024px) {
    .hero-vectors { width: 480px; height: 480px; right: 0; }
    .hero-heading { font-size: 80px; }
}

/* ── SECTION COMMONS ────────────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 16px;
}
.eyebrow-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--aqua);
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--hemelgrijs);
    margin-bottom: 16px;
    max-width: 720px;
}
.section-intro {
    font-size: 17px;
    color: var(--staal-mid);
    max-width: 540px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.service-card {
    background: var(--diep);
    border: 1px solid rgba(56, 174, 255, 0.15);
    border-radius: var(--radius);
    padding: 28px 24px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 40px;
    background: var(--aqua);
    border-radius: 0 0 3px 0;
}
.service-card:hover {
    border-color: rgba(56, 174, 255, 0.3);
    transform: translateY(-2px);
}
.service-icon {
    width: 40px;
    height: 40px;
    color: var(--aqua);
    margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hemelgrijs);
    margin-bottom: 10px;
}
.service-body {
    font-size: 14.5px;
    color: var(--staal-mid);
    line-height: 1.7;
    margin-bottom: 18px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aqua);
    border-bottom: 1px solid rgba(0, 229, 204, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}
.service-link:hover { border-bottom-color: var(--aqua); }

/* ── STATS ──────────────────────────────────────────────────── */
.stats-section {
    padding: 48px 0;
    background: var(--leisteen);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
    .stats-grid.stats-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .stats-grid.stats-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--hemelgrijs);
    margin-bottom: 8px;
}
.stat-value-accent { color: var(--aqua); }
.stat-label {
    font-size: 13px;
    color: var(--staal-mid);
    letter-spacing: 0.04em;
}

/* ── TEXT SECTION ───────────────────────────────────────────── */
.text-section {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.text-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--hemelgrijs);
}
.text-body p { margin-bottom: 1.2em; }
.text-body a { color: var(--aqua); border-bottom: 1px solid rgba(0, 229, 204, 0.3); }
.text-body a:hover { border-bottom-color: var(--aqua); }
.text-body ul, .text-body ol { padding-left: 24px; margin-bottom: 1.2em; }
.text-body li { margin-bottom: 0.4em; }
.text-body strong { color: var(--hemelgrijs); font-weight: 600; }

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.testimonial-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
.testimonial-card {
    background: var(--diep);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
}
.testimonial-card:nth-child(2n) {
    background: linear-gradient(135deg, rgba(56, 174, 255, 0.06), rgba(0, 229, 204, 0.04));
    border-color: rgba(56, 174, 255, 0.2);
}
.testimonial-quotemark {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1;
    color: var(--aqua);
    opacity: 0.5;
    margin-bottom: 8px;
}
.testimonial-quote {
    font-size: 15px;
    line-height: 1.75;
    font-style: italic;
    color: var(--hemelgrijs);
    margin-bottom: 24px;
}
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blauw), var(--aqua));
    flex-shrink: 0;
}
.testimonial-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--hemelgrijs);
}
.testimonial-role {
    font-size: 12px;
    color: var(--staal-mid);
}

/* ── CTA STRIP ──────────────────────────────────────────────── */
.cta-strip {
    padding: var(--section-py) 0;
    background: var(--diep);
    border-top: 1px solid rgba(56, 174, 255, 0.15);
}
.cta-inner {
    text-align: center;
}
.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--hemelgrijs);
    margin-bottom: 16px;
}
.cta-body {
    font-size: 16px;
    color: var(--staal-mid);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--leisteen);
    border-top: 1px solid rgba(56, 174, 255, 0.12);
    padding: 48px 0 32px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-tagline {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--staal-mid);
}
.footer-tagline em {
    font-style: normal;
    color: var(--aqua);
}
.footer-meta {
    font-size: 13px;
    color: var(--staal);
    line-height: 1.8;
}
.footer-meta a {
    color: var(--aqua);
    border-bottom: 1px solid rgba(0, 229, 204, 0.3);
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    .footer-meta { text-align: right; }
}

/* ── ACCESSIBILITY ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 3px;
    border-radius: 2px;
}
