/* Bundled for homepage: static/css/homepage.css, static/css/pro_showcase.css, static/css/pro_logbook_home.css, static/css/kadaster_onboard.css */

/* Source: static/css/homepage.css */
:root {
    --base: 8px;
    --phi: 1.618;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-control: 18px;

    /* Gelijk aan app dashboard (static/css/variables.css) */
    --color-brand: #CCFF00;
    --color-whatsapp: #CCFF00;
    --color-bg: #121212;
    --color-surface: #1a1a1a;
    --color-bg-card: #1e1e1e;
    --color-border: #2a2a2a;
    --color-text-main: #E5E7EB;
    --color-text-dim: #9CA3AF;
    --color-text-muted: #8B92A0;
    --color-success-bg: rgba(204, 255, 0, 0.1);
    --color-success-border: rgba(204, 255, 0, 0.2);
    --color-warning: #F59E0B;

    /* Transitions.dev — icon swap (homepage mobiele menuknop) */
    --icon-swap-dur: 200ms;
    --icon-swap-blur: 2px;
    --icon-swap-start-scale: 0.25;
    --icon-swap-ease: ease-in-out;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--color-bg);
    color: #E5E7EB;
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    letter-spacing: 0.01em;
    line-height: var(--phi);
}

a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
label[for],
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
summary {
    cursor: pointer;
}

button:disabled,
.btn:disabled,
.btn.disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
}

/*
 * Marketing site shell (homepage #klicbot-marketing-home + SEO #klicbot-marketing-seo):
 * topbar + Pro/Viewer logo-marquee moeten werken ook als Tailwind-build op productie geen
 * utilities zoals md:flex/z-[1000] bevat. Zie tailwind.config content paths + purge.
 */
#klicbot-marketing-home > header .marketing-site-nav,
#klicbot-marketing-seo > header .marketing-site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    min-height: 4rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(20, 20, 20, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
@media (min-width: 640px) {
    #klicbot-marketing-home > header .marketing-site-nav,
    #klicbot-marketing-seo > header .marketing-site-nav {
        padding: 0 1.5rem;
    }
}
#klicbot-marketing-home > header .marketing-site-nav > div:first-of-type,
#klicbot-marketing-seo > header .marketing-site-nav > div:first-of-type {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
#klicbot-marketing-home .marketing-site-nav__menu,
#klicbot-marketing-seo .marketing-site-nav__menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
}
#klicbot-marketing-home .marketing-site-nav__menu a:hover,
#klicbot-marketing-seo .marketing-site-nav__menu a:hover {
    color: #fff;
}
@media (min-width: 768px) {
    #klicbot-marketing-home .marketing-site-nav__menu,
    #klicbot-marketing-seo .marketing-site-nav__menu {
        display: flex !important;
    }
    #klicbot-marketing-home .marketing-site-nav__hamburger,
    #klicbot-marketing-seo .marketing-site-nav__hamburger {
        display: none !important;
    }
}
@media (max-width: 767.98px) {
    #klicbot-marketing-home .marketing-site-nav__menu,
    #klicbot-marketing-seo .marketing-site-nav__menu {
        display: none !important;
    }
    #klicbot-marketing-home .marketing-site-nav__hamburger,
    #klicbot-marketing-seo .marketing-site-nav__hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

#klicbot-marketing-home .marketing-nav-flags,
#klicbot-marketing-seo .marketing-nav-flags {
    max-width: min(46vw, 240px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#klicbot-marketing-home .marketing-nav-flags::-webkit-scrollbar,
#klicbot-marketing-seo .marketing-nav-flags::-webkit-scrollbar {
    display: none;
}
@media (min-width: 640px) {
    #klicbot-marketing-home .marketing-nav-flags,
    #klicbot-marketing-seo .marketing-nav-flags {
        max-width: none;
    }
}

/* Taal-vlaggen: emoji vallen buiten Inter; stack + hover (opacity komt uit inline style op <a>). */
#klicbot-marketing-home .marketing-lang-flag,
#klicbot-marketing-seo .marketing-lang-flag {
    font-family:
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        "EmojiOne Mozilla",
        sans-serif;
    line-height: 1;
    text-decoration: none;
}
#klicbot-marketing-home .marketing-lang-flag:hover,
#klicbot-marketing-seo .marketing-lang-flag:hover {
    opacity: 1 !important;
}

/* Logo-slinger tussen Pro en Viewer: altijd zichtbaar (geen skipped paint / lege viewport) */
#klicbot-marketing-home .homepage-logo-divider,
#klicbot-marketing-seo .homepage-logo-divider {
    content-visibility: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#klicbot-marketing-home .homepage-logo-divider .trustbuilder-marquee,
#klicbot-marketing-home .homepage-logo-divider .trustbuilder-marquee-viewport,
#klicbot-marketing-home .homepage-logo-divider .trustbuilder-marquee-track,
#klicbot-marketing-seo .homepage-logo-divider .trustbuilder-marquee,
#klicbot-marketing-seo .homepage-logo-divider .trustbuilder-marquee-viewport,
#klicbot-marketing-seo .homepage-logo-divider .trustbuilder-marquee-track {
    opacity: 1 !important;
    visibility: visible !important;
}
#klicbot-marketing-home .homepage-logo-divider .trustbuilder-marquee-viewport,
#klicbot-marketing-seo .homepage-logo-divider .trustbuilder-marquee-viewport {
    min-height: 2.75rem;
}

/* Homepage mobile nav: backdrop + right drawer */
.nav-mobile-backdrop {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.32s cubic-bezier(0.33, 1, 0.68, 1),
        visibility 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}
.nav-mobile-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#nav-mobile-panel.nav-mobile-drawer {
    position: fixed;
    top: 4rem;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 380px);
    max-width: 100vw;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    background: #141414;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    pointer-events: none;
}
#nav-mobile-panel.nav-mobile-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    /* Drawer/backdrop blijven kort zichtbaar schuiven (geen 0.01ms — dan oogt het alsof er geen motion is) */
    .nav-mobile-backdrop,
    #nav-mobile-panel.nav-mobile-drawer {
        transition-duration: 0.22s;
    }
}
body.nav-mobile-open {
    overflow: hidden;
}

/* Betrouwbare tap op iOS/Android (homepage menuknop) */
.nav-menu-toggle-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Transitions.dev — Icon swap (bars ↔ close); state via data-state op .t-icon-swap */
.t-icon-swap {
    position: relative;
    display: inline-grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
}
.t-icon-swap .t-icon {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity var(--icon-swap-dur) var(--icon-swap-ease),
        filter var(--icon-swap-dur) var(--icon-swap-ease),
        transform var(--icon-swap-dur) var(--icon-swap-ease);
    will-change: opacity, filter, transform;
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="a"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="b"] {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="b"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="a"] {
    opacity: 0;
    filter: blur(var(--icon-swap-blur));
    transform: scale(var(--icon-swap-start-scale));
}

@media (prefers-reduced-motion: reduce) {
    .t-icon-swap .t-icon {
        transition: none !important;
    }
}

/* Homepage mobile nav drawer */
.nav-mobile-link {
    display: block;
    padding: 14px 6px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
    color: #fff;
    outline: none;
}
.nav-mobile-link:active {
    background: rgba(255, 255, 255, 0.05);
}

/* Primary CTA at top of mobile drawer - readable size, not the tiny header pill */
.nav-mobile-login-cta.btn-launch {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    min-height: 48px;
    margin-bottom: 8px;
    border-radius: 12px;
}

/*
 * Mobiele drawer: lichte stagger (panel reveal / menu-pattern zoals transitions.dev).
 * Gesloten = uit beeld; opacity/transform reset bij sluiten zonder lange delays.
 */
#nav-mobile-panel > div > * {
    opacity: 0;
    transform: translateX(14px);
    transition:
        opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
#nav-mobile-panel:not(.is-open) > div > * {
    transition-delay: 0s !important;
    transition-duration: 0.14s;
}
#nav-mobile-panel.is-open > div > * {
    opacity: 1;
    transform: translateX(0);
}
#nav-mobile-panel.is-open > div > *:nth-child(1) { transition-delay: 0.04s; }
#nav-mobile-panel.is-open > div > *:nth-child(2) { transition-delay: 0.08s; }
#nav-mobile-panel.is-open > div > *:nth-child(3) { transition-delay: 0.12s; }
#nav-mobile-panel.is-open > div > *:nth-child(4) { transition-delay: 0.16s; }
#nav-mobile-panel.is-open > div > *:nth-child(5) { transition-delay: 0.2s; }
#nav-mobile-panel.is-open > div > *:nth-child(6) { transition-delay: 0.24s; }
#nav-mobile-panel.is-open > div > *:nth-child(7) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    #nav-mobile-panel > div > *,
    #nav-mobile-panel.is-open > div > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

h1, h2, h3, h4 { color: #FFFFFF; letter-spacing: -0.02em; text-transform: none; }
.hero-title { font-size: clamp(2.2rem, 7vw, 4.5625rem); line-height: 1.1; font-weight: 800; margin-bottom: 24px; }
.text-dim { color: var(--color-text-dim); }
.font-work { font-family: 'Work Sans', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero-tagline { font-weight: 600; }

/* Hero feature-check rijen: één linkse lijn (geen justify-center per rij op smalle viewports) */
.hero-subtitle-wrap .space-y-4 > div.flex {
  justify-content: flex-start;
  width: 100%;
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

@keyframes logoBubbleReveal {
    0% { transform: translateX(-82%); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes logoTextReveal {
    0% { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); opacity: 0; }
    15% { opacity: 1; }
    100% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); opacity: 1; }
}
.logo-animated-svg { overflow: visible; }
.logo-animated-svg .logo-bubble {
    animation: logoBubbleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: center;
}
.logo-animated-svg .logo-text {
    animation: logoTextReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@media (hover: hover) {
    .logo-animated-svg:hover .logo-bubble {
        animation: logoBubbleReveal 0.96s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .logo-animated-svg:hover .logo-text {
        animation: logoTextReveal 0.96s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

/* Touch / no-hover: alleen bubbel eigen slide; tekst = zelfde clip-path wipe als desktop (geen clip-path uitschakelen). */
@media (hover: none) {
    @keyframes logoBubbleRevealTouch {
        0% { transform: translate3d(-70%, 0, 0); opacity: 0.8; }
        15% { opacity: 1; }
        100% { transform: translate3d(0, 0, 0); opacity: 1; }
    }
    .logo-animated-svg .logo-bubble {
        animation: logoBubbleRevealTouch 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    }
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 12px;
    display: block;
    text-transform: none;
    letter-spacing: 0.1em;
}

/* Home: subregel onder grote productkop (lichtere hiërarchie) */
.klicbot-product-subline {
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* Productnaam: DRIVE / PRO / API — langzaam verschuivende gradient, gemaskeerd op de letters */
.klicbot-tier-mark {
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
@keyframes klicbot-tier-sweep {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.klicbot-tier-mark--drive,
.klicbot-tier-mark--api {
    background-image: linear-gradient(
        105deg,
        #52525b 0%,
        #9ca3af 18%,
        #6b6b6f 40%,
        #a1a1aa 62%,
        #3f3f46 85%,
        #71717a 100%
    );
    background-size: 240% 100%;
    background-position: 0% 50%;
    animation: klicbot-tier-sweep 16s ease-in-out infinite;
}
.klicbot-tier-mark--pro {
    background-image: linear-gradient(
        105deg,
        #8faa00 0%,
        #e8ff80 20%,
        #ccff00 40%,
        #f2ffd4 55%,
        #b3e600 75%,
        #ccff00 100%
    );
    background-size: 240% 100%;
    background-position: 0% 50%;
    animation: klicbot-tier-sweep 12s ease-in-out infinite 0.3s;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}
/* VIEWER — zilver/chroom gradient achter het woord (homepage KLICBOT VIEWER-blok) */
.klicbot-tier-mark--viewer {
    background-image: linear-gradient(
        105deg,
        #52525b 0%,
        #d4d4d8 18%,
        #71717a 36%,
        #f4f4f5 52%,
        #a1a1aa 68%,
        #e4e4e7 84%,
        #52525b 100%
    );
    background-size: 260% 100%;
    background-position: 0% 50%;
    animation: klicbot-tier-sweep 14s ease-in-out infinite 0.15s;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
@media (prefers-reduced-motion: reduce) {
    .klicbot-tier-mark--drive,
    .klicbot-tier-mark--api {
        animation: none;
        background: none;
        -webkit-text-fill-color: #71717a;
        color: #71717a;
        filter: none;
    }
    .klicbot-tier-mark--viewer {
        animation: none;
        background: none;
        -webkit-text-fill-color: #d4d4d8;
        color: #d4d4d8;
        filter: none;
    }
    .klicbot-tier-mark--pro {
        animation: none;
        background: none;
        -webkit-text-fill-color: #ccff00;
        color: #ccff00;
        filter: none;
    }
}

/* Tier neon brand text: plastic → metallic → diamond facets, all #CCFF00 */
@keyframes tier-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
/* Plus: light grey - contrast */
.tier-silver {
    color: rgba(255, 255, 255, 0.55);
    filter: none;
}
/* Pro: strak neon geel met glow */
.tier-gold {
    background: linear-gradient(135deg, #ffffff 0%, #CCFF00 20%, #CCFF00 80%, #e8ff80 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.38));
    animation: tier-shine 4s ease-in-out infinite 0.5s;
}
/* API: light grey - contrast */
.tier-diamond {
    color: rgba(255, 255, 255, 0.55);
    filter: none;
}
@media (prefers-reduced-motion: reduce) {
    .tier-gold { animation: none; }
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawPipe { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { r: 4; opacity: 1; } 100% { r: 12; opacity: 0; } }
@keyframes shine { 0% { left: -100%; top: -100%; } 100% { left: 100%; top: 100%; } }

.reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
    will-change: auto;
}

.desktop-mockup, .api-visual-inner {
    transform: translateZ(0);
}

section { content-visibility: auto; contain-intrinsic-size: 1px 500px; }
.hero-section,
.homepage-logo-divider,
.trustbuilder-section,
#how-it-works, #pricing, #features, #feature-cards, #klicbot-pro, #klic-viewer, #tier-comparison, #wibon, #faq { content-visibility: visible !important; }

.btn-primary {
    background: var(--color-brand);
    color: #000;
    padding: 11px 32px;
    border-radius: var(--radius-control);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.2);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary i,
.btn-primary svg {
    color: #000;
}
@media (hover: hover) {
    .btn-primary:hover {
        box-shadow: 0 15px 40px rgba(204, 255, 0, 0.35);
        filter: brightness(1.12);
    }
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 11px 32px;
    border-radius: var(--radius-control);
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}
@media (hover: hover) {
    .btn-outline:hover { background: rgba(255,255,255,0.05); border-color: #fff; }
}

.btn-launch {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}
@media (hover: hover) {
    .btn-launch:hover { background: rgba(255,255,255,0.1); border-color: var(--color-brand); color: var(--color-brand); }
}

.btn-beta {
    position: relative;
}
.btn-beta::after {
    content: 'BÈTA';
    position: absolute;
    top: -12px;
    right: -18px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 5px;
    letter-spacing: 3px;
    transform: rotate(3deg);
    border: 2px solid var(--color-brand);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    z-index: 10;
    pointer-events: none;
    animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(204, 255, 0, 0.5); }
    50% { box-shadow: 0 4px 28px rgba(204, 255, 0, 0.8); }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 24px;
    flex: 1;
    min-width: 0;
    background: var(--color-brand);
    color: #000;
    border-radius: var(--radius-control);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(204, 255, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
}
@media (hover: hover) {
    .hero-cta-btn:hover {
        box-shadow: 0 16px 48px rgba(204, 255, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
        filter: brightness(1.08);
    }
}
.hero-cta-btn:active { transform: translateY(0) scale(0.99); }
.hero-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}
.hero-cta-text { letter-spacing: -0.01em; }
.hero-cta-arrow {
    font-size: 12px;
    opacity: 0.5;
    transition: all 0.3s ease;
}
@media (hover: hover) {
    .hero-cta-btn:hover .hero-cta-arrow {
        opacity: 1;
        transform: translateX(3px);
    }
}

.hero-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    flex: 1;
    min-width: 0;
    border: 1.5px solid rgba(204, 255, 0, 0.45);
    border-radius: var(--radius-control);
    background: transparent;
    color: rgba(204, 255, 0, 0.85);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
@media (hover: hover) {
    .hero-demo-btn:hover {
        border-color: rgba(204, 255, 0, 0.8);
        color: #ccff00;
        background: rgba(204, 255, 0, 0.06);
        box-shadow: 0 0 16px rgba(204, 255, 0, 0.15);
    }
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Pricing cards: align sections (title / price / features / CTA) at same height across all 4 cards */
@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-rows: auto auto 1fr auto;
        align-items: start;
    }
    .pricing-card-item {
        grid-row: span 4;
        display: grid;
        grid-template-rows: subgrid;
        gap: 0;
    }
    /* margin-top i.p.v. padding-top: bij Basis is last-child de <a> - padding maakte de knop hoger dan Drive/Pro */
    .pricing-card-item > *:last-child {
        align-self: end;
        margin-top: 20px;
    }
}
@media (hover: hover) {
    .feature-card:hover {
        background: rgba(255,255,255,0.035);
        border-color: rgba(204, 255, 0, 0.3);
        box-shadow: 0 0 32px rgba(204, 255, 0, 0.06);
    }
}

/* FAQ (<details>): grid-rows expand + chevron — smooth accordion op homepage */
#faq .faq-details.feature-card {
    gap: 0;
}
#faq .faq-details > summary::-webkit-details-marker {
    display: none;
}
#faq .faq-details > .faq-details__panel {
    display: grid !important;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
#faq .faq-details[open] > .faq-details__panel {
    grid-template-rows: 1fr;
}
#faq .faq-details .faq-details__inner {
    overflow: hidden;
    min-height: 0;
}
#faq .faq-details .faq-details__chevron {
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}
#faq .faq-details[open] .faq-details__chevron {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    #faq .faq-details > .faq-details__panel {
        transition: none;
    }
    #faq .faq-details .faq-details__chevron {
        transition-duration: 0.01ms;
    }
}

.feature-icon {
    width: 48px; height: 48px;
    background: rgba(204, 255, 0, 0.05);
    border: 1px solid rgba(204, 255, 0, 0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--color-brand);
    margin-bottom: 8px;
}

.wa-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--color-brand);
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
    margin-bottom: 6px;
}

.desktop-mockup { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/10; background: #000; border-radius: 12px; box-shadow: 0 40px 100px rgba(0,0,0,0.8); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.desktop-bar { height: 32px; background: #1a1a1b; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.desktop-dot { width: 8px; height: 8px; border-radius: 50%; }
.desktop-dot-red { background: #ff5f56; }
.desktop-dot-yellow { background: #ffbd2e; }
.desktop-dot-green { background: #27c93f; }

.dash-desktop-ui { display: flex; height: calc(100% - 32px); background: #141414; }
.dash-desktop-sidebar { width: 200px; background: #111; border-right: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; padding: 20px 12px; gap: 4px; }
.dash-desktop-nav-item { padding: 8px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #9AA0A6; display: flex; align-items: center; gap: 10px; transition: all 0.2s; }
.dash-desktop-nav-item.active { background: #CCFF00; color: #000; font-weight: 800; }
.dash-desktop-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.dash-desktop-top { height: 50px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.dash-desktop-content { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.dash-desktop-card { background: #1e1e1e; border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 16px; }
.dash-desktop-kpi-val { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.dash-desktop-kpi-label { font-size: 9px; color: #9AA0A6; font-weight: 600; }

.dash-ui { height: 100%; display: flex; flex-direction: column; background: #141414; color: #E5E7EB; position: relative; overflow: hidden; font-family: 'Inter', sans-serif; }
.dash-header { padding: 40px 16px 12px; background: #1a1a1a; border-bottom: 1px solid #2a2a2a; }
.dash-logo { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 18px; color: #E5E7EB; letter-spacing: -0.02em; display: flex; align-items: center; gap: 4px; }
.dash-search { margin-top: 12px; background: #1e1e1e; border: 1px solid #2a2a2a; padding: 10px 12px; border-radius: 8px; font-size: 11px; color: #9CA3AF; display: flex; align-items: center; gap: 8px; }

.dash-list { flex: 1; padding: 0; display: flex; flex-direction: column; background: #141414; }
.dash-item { padding: 12px 16px; border-bottom: 1px solid #2a2a2a; transition: all 0.3s; display: flex; gap: 12px; align-items: flex-start; }
.dash-item-avatar { width: 32px; height: 32px; border-radius: 6px; background: #1e1e1e; border: 1px solid #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; color: #CCFF00; }
.dash-item-main { flex: 1; min-width: 0; }
.dash-item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2px; }
.dash-item-dest { font-weight: 600; font-size: 13px; color: #E5E7EB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-badge { font-size: 8px; font-weight: 600; padding: 2px 6px; border-radius: 3px; text-transform: none; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); color: #9CA3AF; }
.dash-badge-ready { border-color: rgba(204, 255, 0, 0.2); background: rgba(204, 255, 0, 0.05); color: #CCFF00; }
.dash-item-sub { font-size: 11px; color: #9CA3AF; margin-bottom: 2px; }
.dash-item-meta { font-size: 9px; color: #6B7280; }

.dash-detail { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #141414; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 20; }
.dash-detail.active { transform: translateX(0); }
.dash-detail-header { padding: 40px 16px 12px; background: #1a1a1a; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #2a2a2a; }
.dash-detail-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; background: #141414; }

.dash-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: #E5E7EB; background: #1e1e1e; border: 1px solid #2a2a2a; transition: all 0.3s ease; }
.dash-btn-primary { background: #CCFF00 !important; color: #000 !important; border: none !important; }

.dash-viewer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #141414; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 30; }
.dash-viewer.active { transform: translateX(0); }
.dash-map-bg { flex: 1; background-color: #141414; background-image: radial-gradient(circle at 50% 50%, rgba(204, 255, 0, 0.15) 0%, transparent 80%); position: relative; overflow: hidden; }
.mock-sheet { position: absolute; bottom: 0; left: 0; width: 100%; background: #141414; border-top: 1px solid rgba(255,255,255,0.1); border-radius: 24px 24px 0 0; padding: 20px; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 40; }
.mock-sheet.active { transform: translateY(0); }
.map-zoom-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: center; }
.map-btn-mock { width: 32px; height: 32px; background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; cursor: pointer; backdrop-filter: blur(4px); }

.api-visual-container { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; perspective: 1200px; contain: layout paint; }
.api-visual-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: float-complex 12s ease-in-out infinite; }
@keyframes float-complex { 0%, 100% { transform: translate3d(0, 0, 0) rotateX(8deg) rotateY(5deg); } 50% { transform: translate3d(0, -15px, 0) rotateX(-5deg) rotateY(-8deg); } }

.api-node { position: absolute; width: 90px; height: 90px; background: rgba(10, 10, 11, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(8px); z-index: 10; transition: transform 0.4s; }
@media (hover: hover) { .api-node:hover { border-color: var(--color-brand); box-shadow: 0 0 20px rgba(204,255,0,0.15); } }
.node-top { top: 30px; left: 50%; transform: translateX(-50%); }
.node-left { bottom: 70px; left: 30px; }
.node-right { bottom: 70px; right: 30px; }

.cube { width: 30px; height: 30px; position: relative; transform-style: preserve-3d; animation: rotate-cube 8s linear infinite; }
.face { position: absolute; width: 100%; height: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); }
.face.front  { transform: translateZ(15px); }
.face.back   { transform: rotateY(180deg) translateZ(15px); }
.face.left   { transform: rotateY(-90deg) translateZ(15px); }
.face.right  { transform: rotateY(90deg) translateZ(15px); }
.face.top    { transform: rotateX(90deg) translateZ(15px); }
.face.bottom { transform: rotateX(-90deg) translateZ(15px); }
@keyframes rotate-cube { from { transform: rotate3d(0, 0, 0, 0); } to { transform: rotate3d(1, 1, 1, 360deg); } }

.api-core { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; z-index: 5; }
.core-orb { width: 12px; height: 12px; background: var(--color-brand); border-radius: 50%; box-shadow: 0 0 30px var(--color-brand); animation: orb-glow 2s infinite ease-in-out; }
@keyframes orb-glow { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.3); filter: brightness(1.5); } }
.core-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border: 1px solid rgba(204, 255, 0, 0.1); border-radius: 50%; animation: pulse-ring 4s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(2); opacity: 0; } }
.data-point { position: absolute; padding: 2px 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; font-size: 6px; font-weight: 900; color: rgba(255,255,255,0.3); animation: float-point 5s infinite ease-in-out; }
@keyframes float-point { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.iphone-x { position: relative; width: 280px; height: 580px; background: #000; border-radius: 44px; box-shadow: 0 0 0 10px #1a1a1a, 0 0 0 12px #222, 0 2px 4px rgba(0,0,0,0.28), 0 6px 12px rgba(0,0,0,0.22), 0 14px 28px rgba(0,0,0,0.18), 0 28px 52px rgba(0,0,0,0.13), 0 52px 80px rgba(0,0,0,0.09), 0 80px 100px rgba(0,0,0,0.05); margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.iphone-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #0b141a; display: flex; flex-direction: column; }
.iphone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #1a1a1a; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; z-index: 10; }

.chat-header { padding: 40px 15px 12px; background: #202c33; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: #000; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); padding: 8px; }
.chat-name { font-size: 14px; font-weight: 600; color: #e9edef; }
.chat-body { flex: 1; padding: 15px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; background-image: url('/static/wa-bg.webp'); background-color: #0b141a; background-size: 400px; background-position: center; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.4; position: relative; opacity: 1; transform: translateY(0); color: #e9edef; white-space: pre-wrap; box-shadow: 0 1px 0.5px rgba(0,0,0,0.13); }
.msg-anim { opacity: 0; transform: translateY(10px); will-change: transform, opacity; }
.msg-in { background: #202c33; align-self: flex-start; border-top-left-radius: 0; }
.msg-out { background: #dcf8c6; color: #000; align-self: flex-end; border-top-right-radius: 0; }

.price-label {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    padding: 6px 16px;
    border-radius: var(--radius-md);
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.05);
}
.price-label-pro {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: var(--radius-md);
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
}
.price-label-pro-featured {
    background: rgba(204, 255, 0, 0.15);
    color: #CCFF00;
    border: 1px solid rgba(204, 255, 0, 0.3);
}

/* Pricing CTAs: full-width + korte knophoogte - te grote radius oogt als pill/capsule */
#pricing .pricing-card-item .btn-primary {
    border-radius: 12px;
}

/* Basis card: ul + exports share the 1fr subgrid row (was 5 grid children → overlap/clipping) */
.pricing-basis-mid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
}

/* Pro card: stand out */
.pricing-card-pro {
    border: 2px solid rgba(204, 255, 0, 0.5) !important;
    background: rgba(204, 255, 0, 0.08) !important;
    box-shadow: 0 0 40px rgba(204, 255, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}
@media (hover: hover) {
    .pricing-card-pro:hover {
        border-color: rgba(204, 255, 0, 0.8) !important;
        box-shadow: 0 0 80px rgba(204, 255, 0, 0.28), 0 0 160px rgba(204, 255, 0, 0.1), 0 25px 70px rgba(0, 0, 0, 0.45);
    }
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.toggle-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}
.toggle-label.active { color: #fff; }
.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.toggle-switch.annual::after {
    transform: translateX(24px);
    background: #CCFF00;
}
.discount-badge-subtle {
    font-size: 10px;
    font-weight: 800;
    color: #CCFF00;
    background: rgba(204, 255, 0, 0.1);
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 4px;
    letter-spacing: 0.05em;
}

/* Homepage mailing / enterprise overlays — zelfde premium motion als dashboard modal-backdrop */
.home-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(10, 10, 12, 0.42);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.34s,
        backdrop-filter 0.45s ease,
        -webkit-backdrop-filter 0.45s ease;
}

.home-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    backdrop-filter: blur(16px) saturate(1.1);
    transition:
        opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s,
        backdrop-filter 0.48s ease,
        -webkit-backdrop-filter 0.48s ease;
}

.home-modal-backdrop--compact {
    padding: 16px;
}

@media (min-width: 640px) {
    .home-modal-backdrop--compact {
        padding: 24px;
    }
}

@keyframes homepage-modal-pane-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.982);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-modal-backdrop.is-open > .modal-content {
    animation: homepage-modal-pane-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    .home-modal-backdrop,
    .home-modal-backdrop.is-open {
        transition-duration: 0.01ms;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    .home-modal-backdrop.is-open > .modal-content {
        animation: none;
    }
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}
.modal-close:hover { color: #fff; }
.mailing-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    transition: all 0.2s;
}
.mailing-input:focus { border-color: var(--color-brand); background: rgba(255,255,255,0.05); }

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: 0.1em;
}

.shine { position: relative; overflow: hidden; }
.shine::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent); transform: rotate(45deg); animation: shine 6s infinite linear; pointer-events: none; }

/* ===========================================================
   LOGO-DIVIDER — alleen marquee, geen label (homepage: tussen Pro en Viewer).
   =========================================================== */
.homepage-logo-divider {
    padding: 1.125rem 0 1.35rem;
    background: #141414;
    position: relative;
    z-index: 4;
    isolation: isolate;
}
.homepage-logo-divider__caption {
    margin: 0 auto 0.7rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    opacity: 0.42;
}
.homepage-logo-divider .trustbuilder-marquee--pro-viewer-divider {
    margin: 0;
}
.homepage-logo-divider .trustbuilder-marquee-track {
    padding-top: 6px;
    padding-bottom: 2px;
}
/* Zichtbaarder dan footer-marquee: Safari mask + lage icon-opacity maakte de strook soms “weg” */
.homepage-logo-divider .trustbuilder-marquee-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.homepage-logo-divider .trustbuilder-item {
    color: rgba(255, 255, 255, 0.52);
}
.homepage-logo-divider .trustbuilder-icon {
    opacity: 0.78;
}
.homepage-logo-divider .trustbuilder-item:hover .trustbuilder-icon {
    opacity: 1;
}

@media (max-width: 1023px) {
    .homepage-logo-divider {
        padding: 0.875rem 0 1rem;
    }
    .homepage-logo-divider__caption {
        margin-bottom: 0.55rem;
        font-size: 10px;
        letter-spacing: 0.16em;
    }
}

/* ===========================================================
   TRUSTBUILDER — optionele sectie met label + lijnen (niet op index).
   Page-breed R→L marquee. Brands: ChatGPT, Claude, Copilot, Gemini, Grok…
   =========================================================== */
.trustbuilder-section {
    padding: 4rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trustbuilder-section-head {
    margin-bottom: 1.125rem;
}
.trustbuilder-marquee {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 4;
}
.trustbuilder-marquee-label {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    opacity: 0.42;
}
/* Links: korte lijn; rechts: lijn tot content-rand (zelfde max-width als hero) */
.trustbuilder-marquee-label::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    flex-shrink: 0;
    background: currentColor;
    opacity: 0.85;
}
.trustbuilder-marquee-label::after {
    content: "";
    flex: 1;
    min-width: 2rem;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}
.trustbuilder-marquee-viewport {
    overflow: hidden;
    width: 100%;
    /* Soft fade aan beide randen zodat logos elegant in/uit beeld glijden */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.trustbuilder-marquee-track {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: trustbuilder-scroll 50s linear infinite;
    will-change: transform;
}
.trustbuilder-marquee:hover .trustbuilder-marquee-track,
.trustbuilder-marquee:focus-within .trustbuilder-marquee-track {
    animation-play-state: paused;
}

@keyframes trustbuilder-scroll {
    from { transform: translate3d(0, 0, 0); }
    /* -50% = einde van de eerste set; tweede set is daar gelijk → naadloze loop */
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .trustbuilder-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 16px 36px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .trustbuilder-marquee-viewport {
        -webkit-mask-image: none;
                mask-image: none;
    }
}

.trustbuilder-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 24px;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.32);
    transition: color 220ms ease;
    user-select: none;
}
.trustbuilder-item:hover,
.trustbuilder-item:focus-visible {
    color: rgba(255, 255, 255, 0.85);
}
.trustbuilder-icon {
    height: 20px;
    width: auto;
    max-width: 24px;
    object-fit: contain;
    /* Forceer monochroom-wit ongeacht oorspronkelijke fill van het brand-SVG */
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 220ms ease;
}
.trustbuilder-item:hover .trustbuilder-icon {
    opacity: 0.92;
}
.trustbuilder-icon--wide {
    max-width: 72px;
    height: 22px;
}
.trustbuilder-item--logo-only {
    gap: 0;
}
.trustbuilder-name {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1;
    white-space: nowrap;
}
.trustbuilder-item--wordmark {
    height: 24px;
}
.trustbuilder-wordmark {
    font-family: 'Work Sans', 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .trustbuilder-section { padding: 3rem 0 2.5rem; }
    .trustbuilder-section-head { margin-bottom: 1rem; }
    .trustbuilder-marquee-track {
        gap: 44px;
        animation-duration: 42s;
    }
}
@media (max-width: 640px) {
    .trustbuilder-section { padding: 2.5rem 0 2rem; }
    .trustbuilder-marquee-label {
        font-size: 10.5px;
        gap: 12px;
    }
    .trustbuilder-marquee-label::before { width: 2rem; }
    .trustbuilder-marquee-track {
        gap: 36px;
        animation-duration: 38s;
    }
    .trustbuilder-item { height: 22px; gap: 7px; }
    .trustbuilder-icon { height: 18px; }
    .trustbuilder-icon--wide { max-width: 60px; height: 19px; }
    .trustbuilder-name { font-size: 12.5px; }
    .trustbuilder-wordmark { font-size: 15px; }
}

/* Telefoon: compatibel-met-strip horizontaal swipe-baar; marquee-animatie uit */
@media (max-width: 768px) {
    .trustbuilder-marquee-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-width: thin;
    }
    .trustbuilder-marquee-track {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.hiw-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 8px 12px 0;
    min-width: 0;
}
.hiw-step-number {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hiw-step-number span {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 2.2vw + 1rem, 2.55rem);
    line-height: 0.95;
    color: var(--color-brand) !important;
    transition: color 0.35s ease;
}
.hiw-step-number-final span {
    color: var(--color-brand) !important;
}
@media (hover: hover) {
    .hiw-step:hover .hiw-step-number span {
        color: #e8ff5a !important;
    }
}
.hiw-step-pulse {
    display: none;
}
.hiw-step > h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    text-align: left;
}
.hiw-step > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: left;
}
.hiw-step > .hiw-step-tag {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
    justify-self: start;
}
.hiw-step-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.02em;
}
.hiw-step-tag-final {
    background: rgba(204,255,0,0.08) !important;
    border-color: rgba(204,255,0,0.15) !important;
    color: var(--color-brand) !important;
}

/* Prijsregel onder HIW-CTA: hoger contrast i.p.v. grijs+klein+opacity */
.hiw-pricing-trust {
    max-width: 26rem;
    margin: 1.25rem auto 0;
    text-align: center;
}
.hiw-pricing-note__lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(243, 244, 246, 0.95);
    letter-spacing: -0.01em;
}
.hiw-pricing-note__tail {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(209, 213, 219, 0.9);
}
[data-theme="light"] .hiw-pricing-note__lead,
body.light-mode .hiw-pricing-note__lead {
    color: rgba(17, 24, 39, 0.92);
}
[data-theme="light"] .hiw-pricing-note__tail,
body.light-mode .hiw-pricing-note__tail {
    color: rgba(55, 65, 81, 0.92);
}

.hiw-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    max-width: 720px;
    margin: 0 auto;
}
.hiw-proof-item {
    text-align: center;
    flex: 1;
}
.hiw-proof-value {
    font-family: 'Work Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--color-brand);
    line-height: 1;
    margin-bottom: 4px;
}
.hiw-proof-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.hiw-proof-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

@media (max-width: 768px) {
    /* Horizontaal carousel i.p.v. vier blokken onder elkaar (fallback: scroll-snap tot JS laadt) */
    #how-it-works .hiw-step.reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    .hiw-steps-carousel-shell {
        margin-inline: -8px;
    }
    /* JS voegt .hiw-steps-track--paged toe: native scroll-snap (zie hiw_steps_carousel.js) */
    .hiw-steps-shell--paged {
        overflow-x: hidden;
        overflow-y: visible;
        touch-action: auto;
    }
    /* Native scroll + snap: betrouwbaar op iOS (geen transform + touch fights) */
    .hiw-steps-grid.hiw-steps-track--paged {
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: auto;
        scroll-padding-inline: 0;
        padding: 4px 0 10px 0;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scrollbar-width: none;
    }
    .hiw-steps-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px));
        padding: 4px max(12px, env(safe-area-inset-right, 0px)) 10px max(12px, env(safe-area-inset-left, 0px));
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .hiw-steps-grid::-webkit-scrollbar {
        display: none;
    }
    .hiw-step {
        flex: 0 0 min(85vw, 340px);
        max-width: min(85vw, 340px);
        scroll-snap-align: center;
        text-align: left;
        padding: 20px 16px;
        position: relative;
        left: auto;
        top: auto;
        margin: 0;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 16px;
        box-sizing: border-box;
    }
    .hiw-steps-track--paged .hiw-step {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        max-width: none;
        padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    }
    .hiw-steps-track--paged .hiw-step-number span {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }
    .hiw-steps-dots {
        display: none;
    }
    .hiw-steps-dots:not([hidden]) {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 18px;
        padding-bottom: 2px;
    }
    .hiw-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        border: 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.22);
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    .hiw-dot--active {
        background: var(--color-brand);
        transform: scale(1.2);
    }
    .hiw-dot:focus-visible {
        outline: 2px solid rgba(204, 255, 0, 0.55);
        outline-offset: 3px;
    }
    .hiw-proof-bar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .hiw-proof-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .hiw-steps-grid {
        scroll-snap-type: none;
    }
}

@media (max-width: 768px) {
    .shine::after { display: none !important; }
    .api-visual-inner { animation: none !important; transform: rotateX(8deg) rotateY(5deg) !important; }
    .cube { animation-duration: 15s !important; }
    .desktop-mockup { aspect-ratio: auto; height: 380px; }
    .dash-desktop-sidebar { width: 100px !important; padding: 15px 8px !important; }
    .dash-desktop-nav-item { font-size: 8px !important; padding: 4px 6px !important; }
}

/* Mobile hero optimalisatie */
@media (max-width: 768px) {
    .hero-section-mobile-compact {
        padding-top: 5rem !important;
        padding-bottom: 0.75rem !important;
    }

    .hero-text-col {
        text-align: left !important;
    }

    /* Bullets: links uitlijnen, kleinere tekst */
    .hero-subtitle-wrap .flex {
        justify-content: flex-start !important;
        align-items: flex-start;
        gap: 8px;
    }
    .hero-subtitle-wrap span {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
    }
    .hero-subtitle-wrap .space-y-4 {
        margin-bottom: 0 !important;
    }
    .hero-subtitle-wrap .space-y-4 > div {
        margin-bottom: 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Geen globaal transition:none — dat sloeg ook UI-overlays (modal/drawer/kleine motion) plat. */
    *, ::after, ::before { animation: none !important; }

    .logo-animated-svg .logo-bubble {
        animation: logoBubbleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    }
    .logo-animated-svg .logo-text {
        animation: logoTextReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    }
    /* Scroll-reveal uses transitions; without .active, blocks stay opacity:0 - show content. */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Kill expensive 3D/transform animations - these are dead code guards ── */
.api-visual-inner { animation: none !important; transform: rotateX(8deg) rotateY(5deg) !important; }
.cube             { animation: none !important; }
.core-ring        { animation: none !important; }
.core-orb         { animation: none !important; }
.data-point       { animation: none !important; }

@supports not (clip-path: inset(0 0 0 0)) {
    .logo-animated-svg .logo-bubble,
    .logo-animated-svg .logo-text {
        animation: none !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        clip-path: none !important;
    }
}

.no-svg-animations .logo-animated-svg .logo-bubble,
.no-svg-animations .logo-animated-svg .logo-text {
    animation: none !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    clip-path: none !important;
}

/* Native buttons: medium (marketing pages) */
button,
input[type="submit"],
input[type="button"] {
    font-weight: 500;
}

/* Source: static/css/pro_showcase.css */
/**
 * Homepage KLICBOT Pro: grote “browser” rond de live demo-Drive (/user/demo?embed=1).
 * --pro-iframe-scale: 1 = 100% zoom; <1 = uitzoomen (meer UI in beeld).
 */
.pro-browser {
  --pro-iframe-scale: 0.90;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  overflow: hidden;
  /* Apple-achtig: alleen haarring + één zachte lift (geen schaduw-lagen) */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 4px 28px rgba(0, 0, 0, 0.14);
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  /* 16:9 ipv 16:10 = meer breedte per hoogte-eenheid → minder lege ruimte
     links/rechts wanneer max-height clampt op laptops. */
  aspect-ratio: 16 / 9;
  min-height: 360px;
  /* Iets meer vh-ruimte zodat de preview écht groot wordt op laptops */
  max-height: min(85vh, 1100px);
}

.pro-browser * {
  box-sizing: border-box;
}

.pro-browser__titlebar {
  height: 38px;
  min-height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 12px 0 10px;
  gap: 10px;
  background: #1e1e1e;
  border-bottom: 1px solid #0a0a0a;
}

.pro-browser__traffic {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.pro-browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pro-browser__dot--r { background: #ff5f57; }
.pro-browser__dot--y { background: #febc2e; }
.pro-browser__dot--g { background: #28c840; }

.pro-browser__chrome {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.pro-browser__url {
  max-width: 100%;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 0 8px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  font-size: 10px;
  color: #a3a3a3;
  font-weight: 500;
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  font-variant-ligatures: none;
  letter-spacing: 0.01em;
}

.pro-browser__url-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Alleen desktop: terug / menu verborgen */
.pro-browser__mobile-back,
.pro-browser__mobile-menu {
  display: none;
  flex-shrink: 0;
}

.pro-browser__url i {
  font-size: 8px;
  color: #5c7;
  margin-right: 6px;
  flex-shrink: 0;
}

.pro-browser__viewport {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #0b0d0c;
}

.pro-browser__frame-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Desktop: wiel = pagina scrollen totdat gebruiker bewust de demo kiest (pro_showcase_home.js) */
.pro-browser__scroll-guard {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: default;
  background: transparent;
  touch-action: none;
  border: 0;
  padding: 0;
  margin: 0;
  appearance: none;
}
.pro-browser__scroll-guard:focus-visible {
  outline: 2px solid rgba(195, 255, 0, 0.55);
  outline-offset: -2px;
  border-radius: 2px;
}
.pro-browser--iframe-active .pro-browser__scroll-guard {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pro-browser__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / var(--pro-iframe-scale));
  height: calc(100% / var(--pro-iframe-scale));
  border: 0;
  display: block;
  transform: scale(var(--pro-iframe-scale));
  transform-origin: 0 0;
  pointer-events: none;
}
.pro-browser--iframe-active .pro-browser__frame {
  pointer-events: auto;
}
.pro-browser__scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 3;
  margin: 0;
  padding: 0 8px;
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  pointer-events: none;
}
.pro-browser--iframe-active .pro-browser__scroll-hint {
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media (min-width: 641px) and (max-width: 1280px) {
  .pro-browser {
    max-height: min(72vh, 820px);
  }
}

@media (min-width: 1024px) {
  .pro-browser {
    min-height: min(420px, 50vh);
  }
}

@media (max-width: 640px) {
  /*
   * Hoog portrait-kader (10/19) + hogere vh-cap zodat de demo-iframe op mobiel langer is;
   * iets minder zoom = meer app in beeld. overflow-x op sectie voorkomt horizontale scroll.
   * Geen scroll-guard: direct touch op iframe (anders dubbel tikken).
   */
  .pro-browser {
    --pro-iframe-scale: 0.86;
    min-height: min(78vh, 700px);
    max-height: min(92vh, 920px);
    /* Iets hoger dan 9/16 zodat het demo-vlak verticaal meer adem heeft */
    aspect-ratio: 10 / 19;
    border-radius: 12px;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.05),
      0 3px 22px rgba(0, 0, 0, 0.13);
  }
  .pro-browser__scroll-guard {
    display: none;
  }
  .pro-browser__scroll-hint {
    display: none;
  }
  .pro-browser__frame {
    pointer-events: auto;
  }

  /* Mobiele browser-chroom (geen macOS traffic lights) */
  .pro-browser__titlebar {
    height: auto;
    min-height: 44px;
    padding: 6px 8px;
    gap: 6px;
    background: #1c1c1e;
    border-bottom: 1px solid #0a0a0a;
    /* back | URL | menu */
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
  }

  .pro-browser__traffic {
    display: none;
  }

  .pro-browser__mobile-back,
  .pro-browser__mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
    color: #8e8e93;
    user-select: none;
  }

  .pro-browser__mobile-menu {
    font-size: 18px;
    letter-spacing: -2px;
  }

  .pro-browser__chrome {
    justify-content: stretch;
  }

  .pro-browser__url {
    width: 100%;
    max-width: none;
    height: 32px;
    font-size: 9px;
    padding: 0 8px 0 6px;
    border-radius: 8px;
    background: #0a0a0a;
    border: 1px solid #3a3a3c;
    color: #98989d;
    justify-content: flex-start;
  }

  .pro-browser__url i {
    font-size: 7px;
    margin-right: 4px;
  }
}

/* Source: static/css/pro_logbook_home.css */
/**
 * Homepage WIBON-sectie: miniatuur “Logboek”-preview (zelfde eventtypen als productie-logbook).
 * Tokens in lijn met static/css/tabs/compliance.css + variables.css (dashboard donker).
 */
#wibon-logbook-preview {
  --plp-border: #2a2a2a;
  --plp-bg: #121212;
  --plp-row: rgba(255, 255, 255, 0.03);
  --plp-dim: #9ca3af;
  --plp-muted: #6b7280;
  --plp-text: #e5e7eb;
  --plp-brand: #ccff00;
  --plp-rad: 10px; /* --compliance-radius */
  width: 100%;
  max-width: 480px;
  background: var(--plp-bg);
  border: 1px solid var(--plp-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Zelfde mini-lift als .pro-browser */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 3px 22px rgba(0, 0, 0, 0.12);
}
#wibon-logbook-preview .plp-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--plp-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
#wibon-logbook-preview .plp-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-family: "Work Sans", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
#wibon-logbook-preview .plp-head .plp-sub {
  font-size: 11px;
  color: var(--plp-dim);
  line-height: 1.4;
  margin-top: 4px;
  max-width: 280px;
  font-weight: 500;
}
#wibon-logbook-preview .plp-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--plp-brand);
  letter-spacing: 0.04em;
  text-transform: none;
  flex-shrink: 0;
  margin-top: 1px;
}
#wibon-logbook-preview .plp-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plp-brand);
  box-shadow: 0 0 6px rgba(204, 255, 0, 0.1);
  animation: plp-pulse-dot 1.8s ease-in-out infinite;
}
@keyframes plp-pulse-dot {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #wibon-logbook-preview .plp-live i {
    animation: none;
    opacity: 1;
  }
  #wibon-logbook-preview .plp-row {
    animation: none;
  }
}
#wibon-logbook-preview .plp-log {
  padding: 10px 12px 12px;
  height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#wibon-logbook-preview .plp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 11px;
  background: var(--plp-row);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--plp-rad);
  animation: plp-row-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes plp-row-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#wibon-logbook-preview .plp-row.plp-focus {
  box-shadow: inset 3px 0 0 0 rgba(250, 204, 21, 0.75);
}
#wibon-logbook-preview .plp-av {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: var(--plp-brand);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
#wibon-logbook-preview .plp-av.plp-av--sys {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  font-weight: 700;
}
#wibon-logbook-preview .plp-body {
  min-width: 0;
  flex: 1;
}
#wibon-logbook-preview .plp-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--plp-text);
  line-height: 1.25;
}
#wibon-logbook-preview .plp-gps {
  font-size: 7px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--plp-border);
  color: var(--plp-dim);
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0.02em;
}
#wibon-logbook-preview .plp-gps i {
  font-size: 6px;
  margin-right: 2px;
  opacity: 0.8;
}
#wibon-logbook-preview .plp-line {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.45;
  font-weight: 500;
}
#wibon-logbook-preview .plp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 6px;
  margin-top: 6px;
  width: 100%;
  min-width: 0;
}
#wibon-logbook-preview .plp-typelabel {
  font-size: 9px;
  font-weight: 600;
  color: var(--plp-muted);
  letter-spacing: 0.01em;
  min-width: 0;
}
#wibon-logbook-preview .plp-mid {
  color: var(--plp-dim);
  font-size: 9px;
  opacity: 0.85;
  font-weight: 600;
}
#wibon-logbook-preview .plp-time {
  font-size: 10px;
  color: #5c5c5c;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin-left: auto;
}
#wibon-logbook-preview .plp-type-ic {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}
#wibon-logbook-preview .plp-foot {
  padding: 8px 16px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10px;
  color: #5a5a5a;
  text-align: center;
  line-height: 1.35;
  font-weight: 500;
}

/* Source: static/css/kadaster_onboard.css */
/* =========================================================================
   Kadaster onboarding wizard ("Bring Your Own Kadaster")
   Premium dark modal with 6 swipeable slides triggered from the homepage hero.
   Prefix: .koz-* (Kadaster-Onboarding-Wizard)
   ========================================================================= */

.koz-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.koz-modal:not(.hidden) {
    display: flex;
}

.koz-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 0%, rgba(204, 255, 0, 0.10) 0%, rgba(0, 0, 0, 0.92) 60%, #050505 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: koz-fade-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
    cursor: pointer;
}

.koz-shell {
    position: relative;
    margin: auto;
    width: min(960px, calc(100vw - 32px));
    max-height: min(92vh, 760px);
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    background: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: koz-pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes koz-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes koz-pop-in {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----------------------------- Header ----------------------------- */

.koz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.015);
}

.koz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.koz-brand__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #CCFF00;
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.15);
    animation: koz-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes koz-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(204, 255, 0, 0.05); }
}

.koz-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.koz-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: rotate(90deg);
}

/* ----------------------------- Progress ----------------------------- */

.koz-progress {
    padding: 16px 28px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.koz-progress__track {
    position: relative;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.koz-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(90deg, #CCFF00 0%, #b8e600 100%);
    border-radius: inherit;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 18px rgba(204, 255, 0, 0.4);
}

.koz-progress__steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.koz-progress__step {
    flex: 1;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    padding: 4px 0;
    border-top: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.koz-progress__step.is-active {
    color: #CCFF00;
}

.koz-progress__step.is-done {
    color: rgba(204, 255, 0, 0.55);
}

/* ----------------------------- Slides ----------------------------- */

.koz-slides {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.koz-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    padding: 20px 28px 24px;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}

.koz-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.koz-slide.is-prev {
    transform: translateX(-40px);
}

@media (max-width: 760px) {
    .koz-slide {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px 20px 20px;
    }
}

/* ---- Art column (SVG) ---- */

.koz-art {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    aspect-ratio: 480 / 280;
    box-shadow: inset 0 0 0 1px rgba(204, 255, 0, 0.04);
}

.koz-art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.koz-art--intro,
.koz-art--done {
    background: radial-gradient(60% 60% at 50% 30%, rgba(204, 255, 0, 0.08) 0%, transparent 70%), #0a0a0a;
}

/* ---- Body column (text) ---- */

.koz-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: center;
}

.koz-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.koz-eyebrow--brand {
    color: #CCFF00;
}

.koz-title {
    font-family: 'Work Sans', 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.15;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.koz-title--sm {
    font-size: clamp(20px, 2.2vw, 26px);
}

.koz-accent {
    color: #CCFF00;
}

.koz-lead {
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.koz-lead strong {
    color: #fff;
    font-weight: 700;
}

.koz-stepbadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CCFF00;
    background: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: 999px;
    padding: 6px 12px;
}

.koz-stepbadge--final {
    color: #FFB020;
    background: rgba(255, 176, 32, 0.08);
    border-color: rgba(255, 176, 32, 0.25);
}

.koz-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.koz-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.78);
}

.koz-bullets li i {
    color: #CCFF00;
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.koz-bullets--compact li {
    font-size: 13px;
}

.koz-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.koz-tip i {
    color: #CCFF00;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.koz-tip--warn {
    background: rgba(255, 176, 32, 0.06);
    border-color: rgba(255, 176, 32, 0.18);
}

.koz-tip--warn i {
    color: #FFB020;
}

.koz-extlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    color: #CCFF00;
    text-decoration: none;
    border-bottom: 1px dashed rgba(204, 255, 0, 0.3);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.koz-extlink:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.koz-extlink i {
    font-size: 10px;
}

/* ----------------------------- Footer ----------------------------- */

.koz-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.015);
}

.koz-footer__center {
    text-align: center;
}

.koz-counter {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.koz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    white-space: nowrap;
}

.koz-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    justify-self: start;
}

.koz-btn--ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.koz-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.koz-btn--primary {
    background: #CCFF00;
    color: #000;
    box-shadow: 0 8px 24px rgba(204, 255, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    justify-self: end;
}

.koz-btn--primary:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 12px 32px rgba(204, 255, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.koz-btn--launch {
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: koz-launch-pulse 2.6s ease-in-out infinite;
}

@keyframes koz-launch-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(204, 255, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 14px 44px rgba(204, 255, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.koz-btn .fas {
    font-size: 11px;
}

.hidden { display: none !important; }

/* Hidden flag for the alternative button on the last slide */
.koz-modal[data-current="6"] [data-klic-koz-next] {
    display: none;
}

.koz-modal[data-current="6"] [data-klic-koz-launch] {
    display: inline-flex !important;
}

/* ----------------------------- Microhint ----------------------------- */

.koz-microhint {
    text-align: center;
    padding: 8px 24px 16px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

.koz-microhint kbd {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1px 5px;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 1px;
}

@media (max-width: 760px) {
    .koz-microhint { display: none; }
}

/* ----------------------------- Mobile tweaks ----------------------------- */

@media (max-width: 760px) {
    .koz-shell {
        width: 100vw;
        max-height: 100vh;
        height: 100dvh;
        border-radius: 0;
        border: none;
        grid-template-rows: auto auto 1fr auto;
    }

    .koz-header {
        padding: 14px 18px 10px;
    }

    .koz-progress {
        padding: 12px 18px 6px;
    }

    .koz-progress__step {
        font-size: 9px;
    }

    .koz-slides {
        min-height: 0;
    }

    .koz-art {
        max-height: 38dvh;
    }

    .koz-body {
        gap: 12px;
    }

    .koz-footer {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "counter counter"
            "prev next";
        padding: 12px 18px;
    }

    .koz-footer__center { grid-area: counter; padding-bottom: 4px; }
    .koz-btn--ghost { grid-area: prev; justify-self: stretch; }
    .koz-btn--primary { grid-area: next; justify-self: stretch; }

    .koz-btn { padding: 14px 16px; font-size: 13px; }
}

/* Hide demo-btn icon on smallest screens to keep label visible */
.hero-demo-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.12);
    color: rgba(204, 255, 0, 0.95);
    font-size: 10px;
    flex-shrink: 0;
}

/* ----------------------------- Reduced motion ----------------------------- */

@media (prefers-reduced-motion: reduce) {
    .koz-backdrop,
    .koz-shell,
    .koz-slide,
    .koz-progress__fill,
    .koz-btn--launch,
    .koz-brand__dot {
        animation: none !important;
        transition: none !important;
    }
}

/* Body scroll lock helper applied via JS */
body.koz-locked {
    overflow: hidden;
}

