/* =============================================================
   VECTIVO — additions.css
   Aanvulling op main.css: scroll animaties, nieuwe blokken,
   hero self-drawing + drift loop.
   ============================================================= */


/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
[data-animate],
[data-animate-child] {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-animate].is-revealed,
[data-animate-child].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section-level reveals: section komt op tijdelijk leeg, children animeren erna */
[data-animate]:not(.is-revealed) [data-animate-child] {
    /* niks — children blijven hidden tot section is-revealed */
}

@media (prefers-reduced-motion: reduce) {
    [data-animate],
    [data-animate-child] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ── HERO — SELF-DRAW + DRIFT LOOP ──────────────────────────── */
.hero-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: hero-draw 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero-line-1 { animation-delay: 0.2s; }
.hero-line-2 { animation-delay: 0.5s; }
.hero-line-3 { animation-delay: 0.8s; }
.hero-line-4 { animation-delay: 1.0s; }

@keyframes hero-draw {
    to { stroke-dashoffset: 0; }
}

.hero-dot {
    transform-origin: center;
    transform-box: fill-box;
    animation: hero-pulse 3s ease-in-out infinite;
    opacity: 0;
    animation-fill-mode: backwards;
}
.hero-dot-1 { animation-delay: 1.6s; }
.hero-dot-2 { animation-delay: 2.0s; }
.hero-dot-3 { animation-delay: 2.4s; }

@keyframes hero-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1.0; transform: scale(1.4); }
}

.hero-vectors-drift {
    animation: hero-drift 12s ease-in-out infinite;
    transform-origin: 50% 100%;
}
@keyframes hero-drift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-6px, -8px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-line { stroke-dashoffset: 0; animation: none; }
    .hero-dot { animation: none; opacity: 0.7; }
    .hero-vectors-drift { animation: none; }
}


/* ── CENTER eyebrow variant ─────────────────────────────────── */
.eyebrow-center {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.faq-list {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--hemelgrijs);
    letter-spacing: -0.01em;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--aqua); }
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--staal-mid);
    transition: transform 0.25s, color 0.2s;
    flex-shrink: 0;
}
.faq-chevron svg { width: 100%; height: 100%; }
.faq-item[open] .faq-chevron {
    transform: rotate(-180deg);
    color: var(--aqua);
}
.faq-answer {
    padding: 0 4px 24px;
    font-size: 15px;
    color: var(--staal-mid);
    line-height: 1.75;
    max-width: 680px;
}
.faq-answer p { margin-bottom: 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--aqua); border-bottom: 1px solid rgba(0, 229, 204, 0.3); }


/* ── CONTACT FORM ───────────────────────────────────────────── */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.contact-form {
    margin-top: 32px;
    background: var(--diep);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .contact-form { padding: 40px; }
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
    display: block;
    margin-bottom: 20px;
}
.form-field:last-of-type { margin-bottom: 24px; }
.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--staal-mid);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--leisteen);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--hemelgrijs);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-feedback {
    min-height: 24px;
    margin-bottom: 16px;
    font-size: 14px;
}
.form-feedback-error { color: var(--error); }
.form-feedback-success { color: var(--success); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }


/* ── PRICING ────────────────────────────────────────────────── */
.pricing {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .pricing-grid.pricing-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid.pricing-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid.pricing-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .pricing-grid.pricing-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.pricing-card {
    background: var(--diep);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
    border-color: rgba(56, 174, 255, 0.25);
    transform: translateY(-2px);
}
.pricing-card-highlight {
    border-color: var(--aqua);
    background: linear-gradient(180deg, rgba(0, 229, 204, 0.04), var(--diep) 50%);
}
.pricing-card-highlight:hover { border-color: var(--aqua); }
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aqua);
    color: var(--leisteen);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}
.pricing-header {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}
.pricing-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--hemelgrijs);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.pricing-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hemelgrijs);
    line-height: 1;
}
.pricing-card-highlight .pricing-price { color: var(--aqua); }
.pricing-price-note {
    font-size: 13px;
    color: var(--staal-mid);
    margin-top: 6px;
}
.pricing-desc {
    font-size: 14px;
    color: var(--staal-mid);
    margin-top: 12px;
    line-height: 1.6;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hemelgrijs);
    padding: 8px 0;
}
.pricing-check {
    width: 18px;
    height: 18px;
    color: var(--aqua);
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-feature-out {
    color: var(--staal);
}
.pricing-feature-out .pricing-check { color: var(--staal); }
.pricing-cta {
    width: 100%;
}
.btn-ghost-bordered {
    background: transparent;
    color: var(--hemelgrijs);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-bordered:hover {
    border-color: var(--aqua);
    background: rgba(0, 229, 204, 0.05);
}


/* ── IMAGE + TEXT ───────────────────────────────────────────── */
.image-text {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.image-text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 768px) {
    .image-text-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    .image-pos-right .image-text-grid {
        direction: rtl;
    }
    .image-pos-right .image-text-grid > * {
        direction: ltr;
    }
}
.image-text-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.image-text-body .btn { margin-top: 24px; }


/* ── LOGO WALL ──────────────────────────────────────────────── */
.logo-wall {
    padding: 64px 0;
    background: var(--leisteen);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo-wall-heading {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--staal-mid);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}
.logo-wall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
    align-items: center;
    justify-items: center;
}
@media (min-width: 640px) { .logo-wall-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-wall-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .logo-wall-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 60px;
    opacity: 0.6;
    filter: grayscale(0.4);
    transition: opacity 0.2s, filter 0.2s;
}
.logo-item:hover {
    opacity: 1;
    filter: grayscale(0);
}
.logo-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}


/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    position: relative;
}
.timeline-step {
    position: relative;
    padding-left: 64px;
    padding-bottom: 32px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(180deg, rgba(0, 229, 204, 0.3), rgba(56, 174, 255, 0.1));
}
.timeline-step:last-child::before { display: none; }
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--diep);
    border: 1.5px solid var(--aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.timeline-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--aqua);
    letter-spacing: -0.02em;
}
.timeline-content {
    padding-top: 6px;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--hemelgrijs);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.timeline-body {
    font-size: 15px;
    color: var(--staal-mid);
    line-height: 1.7;
}


/* ── CODE BLOCK ─────────────────────────────────────────────── */
.code-section {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.code-figure {
    margin: 32px 0 0;
    background: #0A0E14;
    border: 1px solid rgba(56, 174, 255, 0.18);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--diep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-dots {
    display: flex;
    gap: 6px;
}
.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.code-dots span:first-child { background: rgba(248, 113, 113, 0.6); }
.code-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.code-dots span:last-child { background: rgba(74, 222, 128, 0.6); }
.code-lang {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--staal-mid);
}
.code-pre {
    padding: 20px 24px;
    overflow-x: auto;
    margin: 0;
}
.code-block {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #B6C4D6;
    white-space: pre;
}
.code-caption {
    padding: 12px 24px;
    background: var(--diep);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: var(--staal-mid);
    font-style: italic;
}


/* ── FEATURES ───────────────────────────────────────────────── */
.features {
    padding: var(--section-py) 0;
    background: var(--leisteen);
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
}
@media (min-width: 640px) {
    .features-grid.features-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .features-grid.features-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .features-grid.features-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .features-grid.features-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .features-grid.features-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.feature-item {
    /* No card-bg, lichter dan service-card */
}
.feature-icon {
    width: 36px;
    height: 36px;
    color: var(--aqua);
    margin-bottom: 16px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--hemelgrijs);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.feature-body {
    font-size: 14px;
    color: var(--staal-mid);
    line-height: 1.7;
}

/* ── FOOTER (multi-column) ─────────────────────────────────── */
.site-footer {
    background: var(--leisteen);
    border-top: 1px solid rgba(56, 174, 255, 0.12);
    padding: 64px 0 24px;
    margin-top: 64px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 640px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}
@media (min-width: 1024px) {
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-col-h {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hemelgrijs);
    margin-bottom: 16px;
}
.footer-col-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-tagline {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--staal-mid);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.footer-tagline em {
    font-style: normal;
    color: var(--aqua);
}
.footer-blurb {
    font-size: 14px;
    color: var(--staal-mid);
    line-height: 1.6;
    max-width: 340px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col li {
    font-size: 14px;
    color: var(--staal-mid);
    line-height: 1.55;
}
.footer-col a {
    color: var(--staal-mid);
    transition: color 0.15s;
}
.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--aqua);
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    font-size: 12px;
    color: var(--staal);
}
@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.footer-cookie-btn {
    color: var(--staal-mid);
    font-size: 12px;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 1px dotted rgba(126, 148, 180, 0.4);
    padding: 0;
    transition: color 0.15s, border-color 0.15s;
    font-family: inherit;
}
.footer-cookie-btn:hover,
.footer-cookie-btn:focus-visible {
    color: var(--aqua);
    border-bottom-color: var(--aqua);
}