/* ── Inter — self-hosted (latin) ─────────────────────────────
   Files live in fonts/inter-v20-latin/. Download the NORMAL style in
   weights 300, 400, 600 and 800 from google-webfonts-helper and place
   them here so the filenames below match. No Google CDN = no visitor IP
   sent to Google = no GDPR cookie/transfer issue from fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-v20-latin/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v20-latin/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-v20-latin/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-v20-latin/inter-v20-latin-800.woff2') format('woff2');
}

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

html { scroll-padding-top: 80px; }

body {
    font-family: 'Inter', sans-serif;
    color: #0a192f;
    background: #ffffff;
    line-height: 1.7;
    scrollbar-gutter: stable;
    /* Sticky footer: keep <footer> pinned to the bottom on short pages */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* ── Layout ─────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(100deg, #dce8f7 0%, #eef4fc 50%, #f5f9ff 100%);
    box-shadow: 0 1px 0 rgba(0, 47, 108, 0.1), 0 4px 24px rgba(0, 47, 108, 0.06);
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0a192f;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}

nav ul li a {
    color: #2d4a70;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 13px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

nav ul li a:hover { color: #002f6c; background: rgba(0, 47, 108, 0.07); }

.btn-nav {
    background: #002f6c !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(0, 47, 108, 0.25) !important;
}

.btn-nav:hover { background: #003f8f !important; box-shadow: 0 4px 14px rgba(0, 47, 108, 0.35) !important; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.btn.primary {
    background: #002f6c;
    color: #ffffff;
}

.btn.primary:hover { background: #004099; }

.btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn.secondary:hover { background: rgba(255,255,255,0.1); border-color: #ffffff; }

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ── ScrollFloat ─────────────────────────────────────────── */
.scroll-float {
    overflow: hidden;
}

.scroll-float-text {
    display: inline-block;
}

.scroll-float-text .char {
    display: inline-block;
}

/* ── Producten cursor spotlight ─────────────────────────── */
.producten-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,166,255,0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-9999px, -9999px);
    transition: transform 0.45s ease;
    will-change: transform;
}

/* ── Aurora ──────────────────────────────────────────────── */
.aurora-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: #020d1a;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    /* Pull hero up so aurora also shows behind the sticky header */
    margin-top: -72px;
    padding-top: calc(100px + 72px);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 620px;
    margin: 0 auto;
}

/* ── Sections ────────────────────────────────────────────── */
/* Offset anchor scroll by header height + small buffer */
.section-light,
.section-dark,
.stats-bar {
    scroll-margin-top: 80px;
}

.section-light {
    background: #f4f7fb;
    padding: 80px 0;
}

.section-dark {
    background: #0a192f;
    color: #ffffff;
    padding: 80px 0;
}

.section-light h2, .section-dark h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark h2 { color: #ffffff; }

.lead-text {
    font-size: 1.1rem;
    color: #3a5a8a;
    margin-bottom: 40px;
}

/* ── Grids ───────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}


/* ── Info Box ────────────────────────────────────────────── */
.info-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    border-top: 4px solid #002f6c;
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #002f6c;
}

.phase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phase-list li {
    padding-left: 16px;
    border-left: 3px solid #4da6ff;
    font-size: 0.95rem;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 28px;
    transition: background 0.2s, transform 0.2s;
}

.card:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #4da6ff;
    margin-bottom: 10px;
}

.card p { font-size: 0.92rem; color: rgba(255,255,255,0.75); }

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 9px 16px;
    border-radius: 7px;
    background: #4da6ff;
    color: #0a192f;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
}
.card-cta:hover { background: #73b9ff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(77,166,255,0.3); }
.card-cta .arr { transition: transform 0.15s; }
.card-cta:hover .arr { transform: translateX(3px); }

/* ── Contact (stats-bar) ─────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, #002f6c 0%, #0a192f 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.stats-bar h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.stats-bar p { color: rgba(255,255,255,0.78); margin-bottom: 0; }

.contact-wrapper { max-width: 700px; margin: 0 auto; }

.contact-info {
    margin-top: 40px;
    font-size: 1.1rem;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #4da6ff;
    text-align: center; /* Changed from left to center */
    display: inline-block;
    min-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-info p, .contact-info strong { color: #0a192f !important; }

/* NEW ADDITION: Email link styling */
.contact-info a {
    color: #002f6c; 
    text-decoration: none; 
    font-weight: bold; 
}

.contact-info a:hover {
    text-decoration: underline; 
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
    background: #060f1c;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    margin-top: auto; /* push footer to the bottom when content is short */
}

/* ── Mobile Nav (CSS-only hamburger) ────────────────────── */
.nav-toggle {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover { background: rgba(0, 47, 108, 0.07); }

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0a192f;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-toggle:checked + .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked + .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle:checked + .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive: Tablet (≤ 900px) ───────────────────────── */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .section-light, .section-dark, .stats-bar { padding: 64px 0; }
    .hero { padding: 80px 0; padding-top: calc(80px + 72px); }
}

/* ── Responsive: Mobile (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {

    /* Nav: show hamburger, hide inline nav */
    .nav-hamburger { display: flex; }

    nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: linear-gradient(160deg, #dce8f7 0%, #eef4fc 60%, #f5f9ff 100%);
        box-shadow: 0 8px 24px rgba(0, 47, 108, 0.12);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.32s ease, box-shadow 0.2s;
        z-index: 99;
    }

    .nav-toggle:checked ~ nav {
        max-height: 480px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 16px 20px;
        align-items: stretch;
    }

    nav ul li a {
        display: block;
        padding: 11px 16px;
        font-size: 0.93rem;
        border-radius: 8px;
    }

    .btn-nav {
        text-align: center;
        margin-top: 6px;
        display: block !important;
    }

    /* Sections */
    .section-light, .section-dark, .stats-bar { padding: 52px 0; }
    .hero { padding: 64px 0; padding-top: calc(64px + 72px); }

    /* Hero buttons stack */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-buttons .btn { text-align: center; width: 100%; }

    /* Grids collapse */
    .grid-2 { grid-template-columns: 1fr; gap: 20px; }
    .grid-3 { grid-template-columns: 1fr; gap: 16px; }

    /* Info box: override any inline max-width */
    .info-box { max-width: 100% !important; padding: 24px 20px; }

    /* Pricing section inline-styled paragraph */
    #pricing .container > p[style] { max-width: 100% !important; }

    /* Contact box */
    .contact-info {
        display: block;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }

    /* Lead text */
    .lead-text { font-size: 1rem; }

    /* Glossary cards */
    .glossary-item summary { padding: 16px 18px; }
    .glossary-body { padding: 16px 18px; }
}

/* ── Responsive: Small phones (≤ 480px) ─────────────────── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .logo { font-size: 1.25rem; }

    .hero { padding: 48px 0; padding-top: calc(48px + 72px); }
    .section-light, .section-dark, .stats-bar { padding: 40px 0; }

    .hero h1 { font-size: clamp(1.65rem, 8vw, 2rem); }
    .hero p  { font-size: 0.97rem; }

    .btn { padding: 13px 20px; font-size: 0.9rem; }

    .section-light h2, .section-dark h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }

    .info-box { padding: 20px 16px; }
    .phase-list li { font-size: 0.9rem; }

    .contact-info { padding: 22px 18px; font-size: 1rem; }

    .stats-bar h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
}