/* Landing Page Studio — shared landing/preview design. Rendered by lsRenderLanding().
   4 selectable presets via [data-ls-style], brand colors via --ls-primary/--ls-secondary
   (set inline from organisation settings). Used by the studio preview AND the public page. */

.ls-landing {
    --ls-bg: #ffffff;
    --ls-surface: #f6f8fc;
    --ls-text: #161b26;
    --ls-muted: #5c6474;
    --ls-border: rgba(20, 25, 40, .10);
    --ls-primary: #f5a623;
    --ls-secondary: #c07d10;
    background: var(--ls-bg);
    color: var(--ls-text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

/* Dark theme for the light presets (dark/editorial define their own look). */
html[data-theme="dark"] .ls-landing:not([data-ls-style="dark"]):not([data-ls-style="editorial"]) {
    --ls-bg: #101218;
    --ls-surface: #1a1d25;
    --ls-text: #e9ebf1;
    --ls-muted: #99a1ad;
    --ls-border: rgba(255, 255, 255, .10);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.ls-hero { position: relative; padding: 74px 44px 56px; text-align: center; }
.ls-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(620px 320px at 18% -5%, color-mix(in srgb, var(--ls-primary) 26%, transparent), transparent),
        radial-gradient(520px 320px at 92% 15%, color-mix(in srgb, var(--ls-secondary) 22%, transparent), transparent);
}
.ls-hero__in { position: relative; z-index: 1; }
.ls-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    color: var(--ls-primary); background: color-mix(in srgb, var(--ls-primary) 13%, transparent);
    padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.ls-hero h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.08; margin: 0 auto 14px; max-width: 15ch; }
.ls-hero__sub { font-size: 18px; color: var(--ls-muted); max-width: 620px; margin: 0 auto; }
.ls-cta-row { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ls-cta { display: inline-block; text-decoration: none; padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--ls-primary); color: #fff; cursor: pointer; border: none; }
.ls-cta--ghost { background: transparent; border: 1px solid var(--ls-border); color: var(--ls-text); }
.ls-hero__shot { margin: 36px auto 0; max-width: 880px; }
.ls-hero__logo { height: 30px; margin-bottom: 22px; }

/* ── Browser-frame mockup around screenshots ─────────────────────────────── */
.ls-frame {
    border-radius: 14px; overflow: hidden; border: 1px solid var(--ls-border);
    box-shadow: 0 34px 70px -26px rgba(18, 22, 50, .45); background: var(--ls-surface);
}
.ls-frame__bar {
    height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px;
    background: color-mix(in srgb, var(--ls-text) 6%, var(--ls-surface)); border-bottom: 1px solid var(--ls-border);
}
.ls-frame__dot { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--ls-text) 20%, transparent); }
.ls-frame img { display: block; width: 100%; }

/* ── Stats band ───────────────────────────────────────────────────────────── */
.ls-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px;
    padding: 34px 44px; border-top: 1px solid var(--ls-border); border-bottom: 1px solid var(--ls-border);
    background: color-mix(in srgb, var(--ls-primary) 6%, var(--ls-bg)); text-align: center;
}
.ls-stat__v { font-size: 32px; font-weight: 800; color: var(--ls-primary); line-height: 1; }
.ls-stat__l { font-size: 13px; color: var(--ls-muted); margin-top: 6px; }

/* ── Feature sections ─────────────────────────────────────────────────────── */
.ls-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; padding: 58px 44px; border-top: 1px solid var(--ls-border); }
.ls-feat.rev .ls-feat__txt { order: 2; }
.ls-feat.full { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.ls-feat.full .ls-icon { margin-left: auto; margin-right: auto; }
.ls-kind { font-size: 12px; text-transform: uppercase; letter-spacing: .7px; color: var(--ls-primary); font-weight: 700; margin-bottom: 8px; }
.ls-feat__num { display: none; font-size: 52px; font-weight: 800; color: var(--ls-primary); line-height: 1; margin-bottom: 8px; }
.ls-feat__txt h2 { font-size: 26px; margin: 0 0 12px; }
.ls-feat__txt p { color: var(--ls-muted); font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
/* Benefit pills — bullets are self-contained chips (flex badge + text), so they
   align correctly in BOTH layouts: stacked in two-column sections, and flowing
   as a centered wrapped row in centered .full sections (the old absolute-left
   check floated to the card edge there). */
.ls-feat ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ls-feat li {
    position: relative; display: flex; align-items: center; gap: 10px;
    max-width: 100%; padding: 8px 16px 8px 9px; font-size: 14.5px; font-weight: 550; line-height: 1.35;
    border: 1px solid color-mix(in srgb, var(--ls-primary) 24%, var(--ls-border));
    background: color-mix(in srgb, var(--ls-primary) 7%, var(--ls-surface));
    border-radius: 999px;
}
.ls-feat li::before {
    content: ""; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%;
    background: var(--ls-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ls-primary) 16%, transparent);
}
.ls-feat li::after {
    content: ""; position: absolute; left: 16.5px; top: 50%; width: 5px; height: 9px;
    margin-top: -6px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
    transform: rotate(45deg);
}
/* Centered sections: pills flow as a centered, wrapped row. */
.ls-feat.full ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 620px; margin: 8px auto 0; }
.ls-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ls-primary) 15%, transparent); color: var(--ls-primary); margin-bottom: 15px; }
.ls-icon svg { width: 23px; height: 23px; }

/* ── Closing CTA band + footer ────────────────────────────────────────────── */
.ls-ctaband { padding: 60px 44px; text-align: center; background: linear-gradient(135deg, var(--ls-primary), var(--ls-secondary)); color: #fff; }
.ls-ctaband h2 { font-size: 30px; margin: 0 0 10px; color: #fff; }
.ls-ctaband p { margin: 0 auto 22px; max-width: 520px; opacity: .92; font-size: 16px; }
.ls-ctaband .ls-cta { background: #fff; color: var(--ls-primary); }
/* ── "Wellicht ook interessant?" related-page tiles ───────────────────────── */
.ls-related { padding: 54px 44px 60px; border-top: 1px solid var(--ls-border); }
.ls-related h2 { text-align: center; font-size: clamp(20px, 3vw, 28px); margin: 0 0 26px; }
.ls-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.ls-related__tile {
    position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ls-text);
    border: 1px solid var(--ls-border); border-radius: 16px; overflow: hidden; background: var(--ls-surface);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ls-related__tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ls-primary) 45%, var(--ls-border)); box-shadow: 0 14px 34px rgba(0,0,0,.14); }
.ls-related__img { display: block; width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; }
.ls-related__img--empty { background: linear-gradient(135deg, color-mix(in srgb, var(--ls-primary) 30%, var(--ls-surface)), color-mix(in srgb, var(--ls-secondary) 30%, var(--ls-surface))); }
.ls-related__body { display: flex; flex-direction: column; gap: 3px; padding: 13px 40px 15px 15px; }
.ls-related__t { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ls-related__s { font-size: 12.5px; color: var(--ls-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-related__arrow { position: absolute; right: 13px; bottom: 13px; color: var(--ls-primary); font-size: 17px; font-weight: 700; transition: transform .18s ease; }
.ls-related__tile:hover .ls-related__arrow { transform: translateX(3px); }

.ls-foot { padding: 26px 44px; display: flex; align-items: center; gap: 12px; color: var(--ls-muted); font-size: 13px; border-top: 1px solid var(--ls-border); }
.ls-foot img { height: 22px; }

/* ── Scroll reveal (public mode) ──────────────────────────────────────────── */
.ls-landing.reveal-on .ls-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.ls-landing.reveal-on .ls-reveal.is-in { opacity: 1; transform: none; }

/* ── Preset: Dark Cinematic ───────────────────────────────────────────────── */
.ls-landing[data-ls-style="dark"] { --ls-bg: #0c0e14; --ls-surface: #161a24; --ls-text: #eef0f7; --ls-muted: #98a0b0; --ls-border: rgba(255,255,255,.10); }
.ls-landing[data-ls-style="dark"] .ls-hero h1 { text-shadow: 0 0 44px color-mix(in srgb, var(--ls-primary) 40%, transparent); }
.ls-landing[data-ls-style="dark"] .ls-frame { box-shadow: 0 0 0 1px color-mix(in srgb, var(--ls-primary) 30%, transparent), 0 40px 90px -30px color-mix(in srgb, var(--ls-primary) 45%, black); }

/* ── Preset: Bold Editorial ───────────────────────────────────────────────── */
.ls-landing[data-ls-style="editorial"] .ls-hero { text-align: left; padding-top: 60px; }
.ls-landing[data-ls-style="editorial"] .ls-hero h1 { font-size: clamp(38px, 7.4vw, 74px); max-width: none; font-weight: 800; letter-spacing: -1.5px; margin-left: 0; }
.ls-landing[data-ls-style="editorial"] .ls-hero__sub { margin-left: 0; }
.ls-landing[data-ls-style="editorial"] .ls-cta-row { justify-content: flex-start; }
.ls-landing[data-ls-style="editorial"] .ls-feat__txt h2 { font-size: 32px; }
.ls-landing[data-ls-style="editorial"] .ls-feat__num { display: block; }
.ls-landing[data-ls-style="editorial"] .ls-icon { display: none; }

/* ── Preset: Glass ────────────────────────────────────────────────────────── */
.ls-landing[data-ls-style="glass"] .ls-feat { border-top: none; margin: 14px 22px; padding: 34px; border-radius: 20px; border: 1px solid var(--ls-border); background: color-mix(in srgb, var(--ls-surface) 55%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ls-landing[data-ls-style="glass"] .ls-hero__bg { background: radial-gradient(700px 380px at 30% 0%, color-mix(in srgb, var(--ls-primary) 30%, transparent), transparent), radial-gradient(600px 380px at 80% 30%, color-mix(in srgb, var(--ls-secondary) 26%, transparent), transparent); }

@media (max-width: 760px) {
    .ls-feat { grid-template-columns: 1fr; }
    .ls-feat.rev .ls-feat__txt { order: 0; }
    .ls-hero, .ls-stats, .ls-ctaband, .ls-foot { padding-left: 22px; padding-right: 22px; }
}
