:root {
    --base: 8px;
    --phi: 1.618;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-control: 18px;

    --color-brand: #CCFF00;
    --color-whatsapp: #CCFF00;
    --color-bg: #141414;
    --color-surface: #1a1a1a;
    --color-border: #2a2a2a;
    --color-text-dim: #9CA3AF;
}

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);
}

/* 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: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
    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;
}
#nav-mobile-panel.nav-mobile-drawer.is-open {
    transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
    .nav-mobile-backdrop,
    #nav-mobile-panel.nav-mobile-drawer {
        transition-duration: 0.01ms;
    }
}
body.nav-mobile-open {
    overflow: hidden;
}

/* 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;
}

h1, h2, h3, h4 { color: #FFFFFF; letter-spacing: -0.02em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.2rem, 7vw, 4rem); 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; }

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% { clip-path: inset(0 100% 0 0); opacity: 0; }
    15% { opacity: 1; }
    100% { 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;
    }
}

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

/* 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 0 10px rgba(204, 255, 0, 0.5)) drop-shadow(0 0 4px rgba(204, 255, 0, 0.3));
    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; }
#how-it-works, #pricing, #features, #feature-cards, #feature-overview, #klicbot-drive, #klicbot-pro, #klicbot-api, #tier-comparison, #wibon, #faq, #security { 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: 10px;
    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);
    }
}
.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: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-brand);
    background: rgba(204, 255, 0, 0.1);
    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: uppercase; 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;
}

#mailingModal, #enterpriseModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 20, 20, 0.98);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#mailingModal.flex, #enterpriseModal.flex { display: flex; }
.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 25px 50px -12px rgba(0, 0, 0, 0.5);
    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: uppercase;
    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; }

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.hiw-connector {
    display: none;
}
@media (min-width: 769px) {
    .hiw-connector {
        display: block;
        position: absolute;
        top: 40px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        z-index: 0;
    }
    .hiw-connector-line {
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(204,255,0,0.2) 15%, rgba(204,255,0,0.2) 85%, transparent);
        position: relative;
    }
    .hiw-connector-line::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 40%;
        background: linear-gradient(90deg, var(--color-brand), transparent);
        animation: hiw-flow 3s ease-in-out infinite;
        opacity: 0.6;
    }
    @keyframes hiw-flow {
        0% { left: -10%; opacity: 0; }
        20% { opacity: 0.6; }
        80% { opacity: 0.6; }
        100% { left: 70%; opacity: 0; }
    }
}
.hiw-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}
.hiw-step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 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: 14px;
    color: rgba(255,255,255,0.4);
    transition: color 0.4s;
}
@media (hover: hover) {
    .hiw-step:hover .hiw-step-number {
        border-color: var(--color-brand);
        background: rgba(204,255,0,0.05);
    }
    .hiw-step:hover .hiw-step-number span {
        color: var(--color-brand);
    }
}
.hiw-step-number-final {
    border-color: rgba(204,255,0,0.3) !important;
    background: rgba(204,255,0,0.05) !important;
}
.hiw-step-number-final span {
    color: var(--color-brand) !important;
}
.hiw-step-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(204,255,0,0.1);
    opacity: 0;
    transition: opacity 0.4s;
}
@media (hover: hover) {
    .hiw-step:hover .hiw-step-pulse {
        opacity: 1;
        animation: hiw-ring 1.5s ease-out infinite;
    }
}
.hiw-step-pulse-final {
    opacity: 1 !important;
    animation: hiw-ring 2s ease-out infinite !important;
}
@keyframes hiw-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}
.hiw-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(204,255,0,0.04);
    border: 1px solid rgba(204,255,0,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-brand);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) {
    .hiw-step:hover .hiw-step-icon {
        background: rgba(204,255,0,0.08);
        border-color: rgba(204,255,0,0.2);
        box-shadow: 0 0 28px rgba(204,255,0,0.15);
    }
}
.hiw-step-icon-final {
    background: rgba(204,255,0,0.08) !important;
    border-color: rgba(204,255,0,0.2) !important;
    box-shadow: 0 8px 24px rgba(204,255,0,0.08);
}
.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;
}

.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) {
    .hiw-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hiw-step {
        text-align: left;
        padding: 0 0 0 80px;
        position: relative;
    }
    .hiw-step-number {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        width: 40px;
        height: 40px;
    }
    .hiw-step-icon {
        margin: 0 0 12px 0;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .hiw-proof-bar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .hiw-proof-divider {
        width: 60px;
        height: 1px;
    }
}

@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: 2rem !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) {
    *, ::after, ::before { animation: none !important; transition: 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;
    }
}

/* ── 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;
}
