/*
 * SEO Premium — typografie & layout upgrade voor /static/templates/seo/*
 *
 * Geinspireerd op X.com / business.x.com en stripe.com landing pages:
 *   - Veel grotere display headlines
 *   - Big showcase blocks: massive text + frame visual
 *   - Genereuze verticale ritme
 *   - HTML/CSS UI frames (zelfde patroon als homepage .desktop-mockup)
 *
 * Alles is gescoped onder body#klicbot-marketing-seo zodat dashboard,
 * homepage en marketing-home niet beinvloed worden.
 *
 * Tokens komen uit static/css/homepage/tokens.css (--color-brand,
 * --color-bg, --color-surface, --color-border, --radius-*).
 */

/* ============================================================
 * 1. Hero upgrade (balanced big: clamp tot 5.5rem op desktop)
 * ============================================================ */
#klicbot-marketing-seo .hero-section {
    padding-top: clamp(7rem, 14vh, 11rem);
    padding-bottom: clamp(4rem, 8vh, 7rem);
}
#klicbot-marketing-seo .hero-section .hero-title,
#klicbot-marketing-seo h1.hero-title {
    font-size: clamp(2.4rem, 8.4vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 700;
    max-width: 18ch;
}
#klicbot-marketing-seo .hero-section p.text-sm,
#klicbot-marketing-seo .hero-section p.text-xl,
#klicbot-marketing-seo .hero-section p[class*="text-gray-400"] {
    font-size: clamp(1rem, 1.6vw, 1.375rem);
    line-height: 1.55;
    max-width: 56ch;
}
#klicbot-marketing-seo .hero-section .hero-cta-btn,
#klicbot-marketing-seo .hero-section .hero-demo-btn {
    padding: 16px 28px;
    font-size: 14px;
}

/* Hero split-layout: text links, visual rechts (X.com / Stripe stijl)
 * Op desktop krijgt de visual ~58% van de breedte. Op brede schermen ~62%. */
.seo-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}
.seo-hero-grid--has-visual .seo-hero-text {
    max-width: 32rem;
}
@media (min-width: 1024px) {
    .seo-hero-grid--has-visual {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    }
    /* Wanneer er een visual is, mag de hero-title compacter blijven (anders te dominant) */
    .seo-hero-grid--has-visual #klicbot-marketing-seo .hero-title,
    .seo-hero-grid--has-visual h1.hero-title {
        font-size: clamp(2.4rem, 4.5vw, 4rem);
    }
}
@media (min-width: 1440px) {
    .seo-hero-grid--has-visual {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    }
}
.seo-hero-visual {
    position: relative;
    width: 100%;
}
/* Op desktop een hogere aspect ratio zodat de iframe meer dashboard-UI toont
 * (16/9 wordt te kort in een hero — 4/3 voelt monumentaler en groter) */
@media (min-width: 1024px) {
    .seo-hero-visual .pro-browser {
        aspect-ratio: 4 / 3;
        max-height: min(80vh, 780px);
        min-height: 480px;
    }
}
@media (min-width: 1440px) {
    .seo-hero-visual .pro-browser {
        max-height: min(82vh, 900px);
        min-height: 560px;
    }
}

/* Default hero tile — abstracte KLIC-viewer met kabels & pin
 * Universeel: werkt op elke SEO-page die geen eigen hero visual zet. */
.seo-hero-tile {
    aspect-ratio: 5 / 4;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 20%, rgba(204,255,0,0.12), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(204,255,0,0.06), transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(204,255,0,0.04) inset;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.seo-hero-tile::before {
    /* map grid */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
    -webkit-mask: linear-gradient(180deg, #000 30%, transparent 100%);
            mask: linear-gradient(180deg, #000 30%, transparent 100%);
}
.seo-hero-tile__cables {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.seo-hero-tile__pin {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 3;
    color: var(--color-brand);
    font-size: 36px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) drop-shadow(0 0 16px rgba(204,255,0,0.4));
}
.seo-hero-tile__pin::after {
    /* pulsing ring */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -10%);
    border: 2px solid rgba(204, 255, 0, 0.4);
    border-radius: 50%;
    animation: seo-hero-pulse 2.6s ease-out infinite;
}
@keyframes seo-hero-pulse {
    0%   { transform: translate(-50%, -10%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(-50%, -10%) scale(2.2); opacity: 0; }
}
.seo-hero-tile__chip {
    position: absolute;
    z-index: 4;
    background: rgba(20, 20, 20, 0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(204, 255, 0, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6);
}
.seo-hero-tile__chip--top {
    top: 16px;
    left: 16px;
}
.seo-hero-tile__chip--bottom {
    bottom: 16px;
    right: 16px;
    background: rgba(20, 20, 20, 0.95);
}
.seo-hero-tile__chip i {
    color: var(--color-brand);
    font-size: 12px;
}
.seo-hero-tile__legend {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(20, 20, 20, 0.85);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 10px;
}
.seo-hero-tile__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
}
.seo-hero-tile__legend-dot {
    width: 8px; height: 2px;
    border-radius: 1px;
}
.seo-hero-tile__legend-dot--gas      { background: #fbbf24; }
.seo-hero-tile__legend-dot--electric { background: #ef4444; }
.seo-hero-tile__legend-dot--water    { background: #38bdf8; }
.seo-hero-tile__legend-dot--telecom  { background: #a78bfa; }

@media (prefers-reduced-motion: reduce) {
    .seo-hero-tile__pin::after { animation: none; opacity: 0.3; }
}

/* ============================================================
 * 2. Article body — grotere H2/H3 voor premium gevoel
 * ============================================================ */
#klicbot-marketing-seo article h2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.75rem;
    max-width: 22ch;
}
#klicbot-marketing-seo article h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
#klicbot-marketing-seo article p {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
}
#klicbot-marketing-seo article ul,
#klicbot-marketing-seo article ol {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.7;
}

/* Section eyebrow boven elke H2 — iets prominenter */
#klicbot-marketing-seo article .section-label,
#klicbot-marketing-seo .seo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
#klicbot-marketing-seo .seo-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-brand);
    opacity: 0.6;
}

/* ============================================================
 * 3. Premium section spacing
 * ============================================================ */
#klicbot-marketing-seo .seo-section {
    padding-top: clamp(5rem, 10vh, 9rem);
    padding-bottom: clamp(5rem, 10vh, 9rem);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
#klicbot-marketing-seo .seo-section--surface {
    background: var(--color-surface);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
 * 4. Showcase block — split layout (text + frame)
 *    Het signature element van X / Stripe / business.x.com
 * ============================================================ */
.seo-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
}
.seo-showcase__copy {
    max-width: 36rem;
}
.seo-showcase__copy h2 {
    /* Override default article H2 max-width: showcase headlines mogen breder */
    max-width: none !important;
}
.seo-showcase__lede {
    font-size: clamp(1.05rem, 1.5vw, 1.375rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2rem;
    max-width: 38ch;
}
.seo-showcase__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-brand);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(204, 255, 0, 0.3);
    padding-bottom: 4px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.seo-showcase__cta:hover {
    border-color: var(--color-brand);
    color: #ddff4d;
}
.seo-showcase__cta i { font-size: 12px; transition: transform 0.2s ease; }
.seo-showcase__cta:hover i { transform: translateX(3px); }

@media (min-width: 900px) {
    .seo-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }
    .seo-showcase--reverse {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
    .seo-showcase--reverse .seo-showcase__copy {
        order: 2;
    }
    .seo-showcase--reverse .seo-showcase__visual {
        order: 1;
    }
}

/* ============================================================
 * 5. Frame primitives — universele "browser/device" mockup-shells
 * ============================================================ */
.seo-frame {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(160deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.02) inset;
    overflow: hidden;
    isolation: isolate;
}
.seo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 80% -10%, rgba(204,255,0,0.06), transparent 60%),
        radial-gradient(600px 300px at -10% 110%, rgba(204,255,0,0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.seo-frame > * { position: relative; z-index: 1; }

/* Ambient ring rond visual: subtiel premium */
.seo-showcase__visual {
    position: relative;
}
.seo-showcase__visual::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(204,255,0,0.18), transparent 40%, transparent 60%, rgba(204,255,0,0.08));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

/* ============================================================
 * 6. WhatsApp chat frame
 * ============================================================ */
.seo-wa-frame {
    aspect-ratio: 9 / 16;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 36px;
    background: #0a0a0a;
    border: 9px solid #1c1c1c;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.7),
        inset 0 0 0 2px rgba(255,255,255,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.seo-wa-frame__header {
    background: #1f2c33;
    color: #e9edef;
    padding: 14px 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.seo-wa-frame__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.seo-wa-frame__name { flex: 1; min-width: 0; }
.seo-wa-frame__name strong { font-size: 14px; display: block; }
.seo-wa-frame__name span { font-size: 11px; color: #8696a0; }
.seo-wa-frame__icons { display: flex; gap: 16px; color: #8696a0; font-size: 14px; }

.seo-wa-frame__body {
    flex: 1;
    padding: 14px 12px;
    background: #0b141a;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.015), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(204,255,0,0.025), transparent 50%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seo-wa-bubble {
    max-width: 78%;
    padding: 8px 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #e9edef;
    position: relative;
}
.seo-wa-bubble--in  { background: #202c33; align-self: flex-start; border-top-left-radius: 0; }
.seo-wa-bubble--out { background: #005c4b; align-self: flex-end; border-top-right-radius: 0; }
.seo-wa-bubble__time {
    position: absolute;
    bottom: 3px; right: 8px;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
}
.seo-wa-bubble__time i { color: #53bdeb; margin-left: 2px; }

.seo-wa-bubble__map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    margin-bottom: 6px;
    background:
        linear-gradient(135deg, rgba(204,255,0,0.18), transparent 50%),
        linear-gradient(45deg, #1f3a4d 0%, #2a4a5f 100%);
    position: relative;
    overflow: hidden;
}
.seo-wa-bubble__map::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 16px 16px;
}
.seo-wa-bubble__map::after {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    color: var(--color-brand);
    font-size: 24px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.seo-wa-frame__input {
    background: #1f2c33;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.seo-wa-frame__input-pill {
    flex: 1;
    background: #2a3942;
    border-radius: 24px;
    padding: 8px 14px;
    color: #8696a0;
    font-size: 12px;
}
.seo-wa-frame__input-send {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ============================================================
 * 7. Dashboard overview frame
 * ============================================================ */
.seo-dash-frame {
    aspect-ratio: 16 / 10;
    background: #0e0e0e;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 36px 1fr;
}
.seo-dash-frame__chrome {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
}
.seo-dash-frame__chrome-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.seo-dash-frame__chrome-dot:nth-child(1) { background: #ff5f57; }
.seo-dash-frame__chrome-dot:nth-child(2) { background: #ffbd2e; }
.seo-dash-frame__chrome-dot:nth-child(3) { background: #28c840; }
.seo-dash-frame__chrome-url {
    margin-left: 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-family: ui-monospace, monospace;
    flex: 1;
    max-width: 300px;
}
.seo-dash-frame__body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 0;
}
.seo-dash-frame__sidebar {
    background: #141414;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.seo-dash-frame__brand {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 12px;
}
.seo-dash-frame__brand-bubble {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--color-brand);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 11px;
}
.seo-dash-frame__brand-text { font-weight: 700; font-size: 13px; color: #fff; letter-spacing: -0.01em; }
.seo-dash-frame__nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}
.seo-dash-frame__nav-item i { font-size: 11px; width: 14px; }
.seo-dash-frame__nav-item.is-active {
    background: rgba(204,255,0,0.08);
    color: #fff;
}
.seo-dash-frame__nav-item.is-active i { color: var(--color-brand); }

.seo-dash-frame__main {
    padding: 18px 22px;
    overflow: hidden;
}
.seo-dash-frame__main-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.seo-dash-frame__main-title { font-weight: 700; font-size: 14px; color: #fff; }
.seo-dash-frame__main-cta {
    background: var(--color-brand);
    color: #000;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.seo-dash-frame__projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.seo-dash-frame__project {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.seo-dash-frame__project-row {
    display: flex; align-items: center; justify-content: space-between;
}
.seo-dash-frame__project-name {
    font-size: 12px; font-weight: 600; color: #fff;
}
.seo-dash-frame__project-status {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(204,255,0,0.12);
    color: var(--color-brand);
    font-weight: 700;
}
.seo-dash-frame__project-status--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}
.seo-dash-frame__project-meta {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    display: flex; gap: 10px;
}
.seo-dash-frame__map-thumb {
    height: 50px;
    border-radius: 5px;
    background:
        linear-gradient(135deg, rgba(204,255,0,0.12), transparent 60%),
        linear-gradient(45deg, #1f3a4d, #2a4a5f);
    position: relative;
    overflow: hidden;
}
.seo-dash-frame__map-thumb::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 12px 12px;
}

/* Floating AI-chat widget binnen Pro dashboard mockup
 * Toont dat Pro een eigen ingebouwde AI-chat heeft (geen WhatsApp-only flow). */
.seo-dash-frame__main { position: relative; }
.seo-dash-frame__ai {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: clamp(180px, 38%, 230px);
    background: rgba(20, 20, 20, 0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(204, 255, 0, 0.18);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow:
        0 12px 28px -8px rgba(0,0,0,0.6),
        0 0 0 1px rgba(204,255,0,0.04) inset,
        0 0 24px rgba(204,255,0,0.08);
}
.seo-dash-frame__ai-header {
    display: flex; align-items: center; gap: 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.seo-dash-frame__ai-bubble {
    width: 18px; height: 18px;
    border-radius: 5px;
    background: var(--color-brand);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 9px;
    flex-shrink: 0;
}
.seo-dash-frame__ai-title {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    display: inline-flex; align-items: center; gap: 5px;
}
.seo-dash-frame__ai-pill {
    background: rgba(204,255,0,0.12);
    color: var(--color-brand);
    font-size: 8px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}
.seo-dash-frame__ai-msg {
    font-size: 10px;
    line-height: 1.4;
    padding: 6px 8px;
    border-radius: 6px;
    max-width: 92%;
}
.seo-dash-frame__ai-msg--user {
    align-self: flex-end;
    background: rgba(204,255,0,0.14);
    color: #f5ffa8;
    border-top-right-radius: 2px;
}
.seo-dash-frame__ai-msg--bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    border-top-left-radius: 2px;
}
.seo-dash-frame__ai-input {
    margin-top: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 6px 8px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px;
}
.seo-dash-frame__ai-placeholder {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    flex: 1; min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seo-dash-frame__ai-input i {
    font-size: 9px;
    color: var(--color-brand);
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .seo-dash-frame__ai {
        right: 10px;
        bottom: 10px;
        width: 50%;
        padding: 7px;
    }
    .seo-dash-frame__ai-msg { font-size: 9px; }
    .seo-dash-frame__ai-placeholder { font-size: 8px; }
}

/* ============================================================
 * 8. Premium feature grid (impact: bestaande grids hoeven niet te wijzigen)
 *    Alleen .seo-features-premium opt-in.
 * ============================================================ */
.seo-features-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.seo-features-premium .feature-card {
    padding: 28px;
}
.seo-features-premium .feature-card__media {
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(204,255,0,0.08), rgba(204,255,0,0.02));
    border: 1px solid rgba(204,255,0,0.1);
    margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-brand);
    font-size: 32px;
}

/* ============================================================
 * 9. Bottom CTA upgrade
 * ============================================================ */
#klicbot-marketing-seo section.py-32 h2.font-work,
#klicbot-marketing-seo .seo-bottom-cta h2 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
 * 10. Premium related grid: 1 featured card + rest
 * ============================================================ */
#klicbot-marketing-seo .seo-related-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    #klicbot-marketing-seo .seo-related-premium {
        grid-template-columns: repeat(3, 1fr);
    }
    #klicbot-marketing-seo .seo-related-premium > a:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    #klicbot-marketing-seo .seo-related-premium > a:first-child .feature-card__media {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
 * 11. KLIC Viewer map frame
 * ============================================================ */
.seo-viewer-frame {
    aspect-ratio: 4 / 3;
    background: #0e0e0e;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 44px 1fr;
}
.seo-viewer-frame__toolbar {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.seo-viewer-frame__brand {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 12px; color: #fff;
    letter-spacing: 0.04em;
}
.seo-viewer-frame__brand-bubble {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: var(--color-brand);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 11px;
}
.seo-viewer-frame__address {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    display: flex; align-items: center; gap: 8px;
    max-width: 280px;
}
.seo-viewer-frame__address i { color: var(--color-brand); font-size: 10px; }
.seo-viewer-frame__action {
    background: var(--color-brand);
    color: #000;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: flex; align-items: center; gap: 6px;
}

.seo-viewer-frame__map {
    position: relative;
    background:
        radial-gradient(circle at 30% 30%, rgba(204,255,0,0.04), transparent 60%),
        linear-gradient(135deg, #0c1620 0%, #0a0e14 100%);
    overflow: hidden;
}
.seo-viewer-frame__map::before {
    /* map grid */
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
.seo-viewer-frame__cables {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.seo-viewer-frame__pin {
    position: absolute;
    top: 48%;
    left: 45%;
    transform: translate(-50%, -100%);
    z-index: 5;
    color: var(--color-brand);
    font-size: 32px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) drop-shadow(0 0 12px rgba(204,255,0,0.4));
}
.seo-viewer-frame__pin i { display: block; }
.seo-viewer-frame__polygon {
    position: absolute;
    top: 35%;
    left: 33%;
    width: 26%;
    height: 30%;
    border: 1.5px dashed var(--color-brand);
    background: rgba(204, 255, 0, 0.08);
    border-radius: 6px;
    z-index: 2;
}

.seo-viewer-frame__layers {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 6;
    background: rgba(20,20,20,0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 110px;
}
.seo-viewer-frame__layers-title {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.seo-viewer-frame__layer {
    display: flex; align-items: center; gap: 7px;
    font-size: 10px;
    color: rgba(255,255,255,0.55);
}
.seo-viewer-frame__layer.is-on { color: rgba(255,255,255,0.92); }
.seo-viewer-frame__layer-dot {
    width: 10px; height: 2px;
    border-radius: 1px;
    flex-shrink: 0;
}

.seo-viewer-frame__info {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;
    background: rgba(20,20,20,0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(204,255,0,0.18);
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 160px;
}
.seo-viewer-frame__info-title { font-weight: 700; font-size: 11px; color: #fff; margin-bottom: 4px; }
.seo-viewer-frame__info-meta {
    display: flex; gap: 12px;
    font-size: 9px; color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}
.seo-viewer-frame__info-meta i { color: var(--color-brand); margin-right: 3px; }
.seo-viewer-frame__info-tag {
    font-size: 9px;
    color: rgba(255,255,255,0.85);
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 5px;
}

.seo-viewer-frame__zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    background: rgba(20,20,20,0.92);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}
.seo-viewer-frame__zoom button {
    width: 28px; height: 28px;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    cursor: pointer;
}
.seo-viewer-frame__zoom button + button {
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 600px) {
    .seo-viewer-frame__address { display: none; }
    .seo-viewer-frame__layers { padding: 8px 10px; }
    .seo-viewer-frame__info { display: none; }
}

/* ============================================================
 * 12. Pricing comparison frame
 * ============================================================ */
.seo-pricing-frame {
    background: linear-gradient(160deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}
.seo-pricing-frame__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.05);
}
.seo-pricing-frame__col {
    background: #141414;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.seo-pricing-frame__col--featured {
    background:
        linear-gradient(180deg, rgba(204,255,0,0.08), transparent 60%),
        #141414;
}
.seo-pricing-frame__badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--color-brand);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}
.seo-pricing-frame__tier {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.seo-pricing-frame__price {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-top: 2px;
}
.seo-pricing-frame__price span {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0;
    margin-left: 5px;
}
.seo-pricing-frame__sub {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}
.seo-pricing-frame__rows {
    list-style: none;
    margin: 0;
    padding: 0;
}
.seo-pricing-frame__rows li {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0;
    padding: 11px 18px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
}
.seo-pricing-frame__label {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.seo-pricing-frame__cell {
    text-align: center;
    color: var(--color-brand);
    font-size: 13px;
}
.seo-pricing-frame__cell--off {
    color: rgba(255,255,255,0.25);
}
.seo-pricing-frame__cell--limited {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-style: italic;
}
.seo-pricing-frame__foot {
    padding: 12px 18px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ============================================================
 * 13. Export panel frame
 * ============================================================ */
.seo-export-frame {
    background: linear-gradient(160deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 22px;
}
.seo-export-frame__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}
.seo-export-frame__title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    letter-spacing: -0.01em;
}
.seo-export-frame__meta {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}
.seo-export-frame__btn {
    background: var(--color-brand);
    color: #000;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.seo-export-frame__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}
.seo-export-frame__card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.seo-export-frame__card:hover {
    background: rgba(204,255,0,0.04);
    border-color: rgba(204,255,0,0.2);
}
.seo-export-frame__ext {
    align-self: flex-start;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.seo-export-frame__ext--cad    { background: rgba(204,255,0,0.12); color: var(--color-brand); }
.seo-export-frame__ext--gis    { background: rgba(56,189,248,0.12); color: #38bdf8; }
.seo-export-frame__ext--web    { background: rgba(167,139,250,0.12); color: #a78bfa; }
.seo-export-frame__ext--bim    { background: rgba(251,191,36,0.12); color: #fbbf24; }
.seo-export-frame__ext--report { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.seo-export-frame__name {
    font-weight: 700;
    font-size: 12px;
    color: #fff;
}
.seo-export-frame__desc {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    line-height: 1.45;
}

/* ============================================================
 * 14. Mobile mockup frame (iPhone met dashboard AI-chat)
 * ============================================================ */
.seo-mobile-frame {
    aspect-ratio: 9 / 19.5;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 42px;
    background: #0a0a0a;
    border: 9px solid #1c1c1c;
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.7),
        inset 0 0 0 2px rgba(255,255,255,0.04),
        0 0 24px rgba(204,255,0,0.06);
    overflow: hidden;
    display: grid;
    grid-template-rows: 24px 28px 50px 1fr 50px 4px;
    position: relative;
}
.seo-mobile-frame__notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 22px;
    background: #1c1c1c;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}
.seo-mobile-frame__statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #0a0a0a;
}
.seo-mobile-frame__icons { display: flex; gap: 5px; font-size: 8px; color: rgba(255,255,255,0.85); }
.seo-mobile-frame__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #141414;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    font-size: 11px;
}
.seo-mobile-frame__header-title {
    display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-start; padding-left: 8px;
}
.seo-mobile-frame__header-title strong { display: block; font-size: 13px; color: #fff; line-height: 1.1; }
.seo-mobile-frame__header-title span { display: block; font-size: 10px; color: rgba(255,255,255,0.5); }
.seo-mobile-frame__brand-bubble {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--color-brand);
    color: #000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px;
}
.seo-mobile-frame__body {
    padding: 12px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.seo-mobile-frame__time-divider {
    align-self: center;
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.04);
    padding: 3px 10px;
    border-radius: 10px;
    margin: 4px 0;
}
.seo-mobile-frame__msg {
    max-width: 85%;
    padding: 8px 11px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1.45;
}
.seo-mobile-frame__msg--user {
    align-self: flex-end;
    background: var(--color-brand);
    color: #000;
    font-weight: 600;
    border-bottom-right-radius: 3px;
}
.seo-mobile-frame__msg--bot {
    align-self: flex-start;
    background: #1f1f1f;
    color: rgba(255,255,255,0.92);
    border-bottom-left-radius: 3px;
}
.seo-mobile-frame__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}
.seo-mobile-frame__chip {
    background: rgba(204,255,0,0.1);
    color: var(--color-brand);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 12px;
}
.seo-mobile-frame__input {
    background: #141414;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
}
.seo-mobile-frame__input-pill {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seo-mobile-frame__input i {
    color: var(--color-brand);
    font-size: 13px;
}
.seo-mobile-frame__home {
    background: rgba(255,255,255,0.4);
    width: 100px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto;
}

/* ============================================================
 * 15. Reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .seo-frame::before,
    .seo-showcase__visual::after { animation: none; }
}
