/* ==========================================================================
   Marketing site — modern, trust-first visual layer.
   Scoped to the public marketing pages (classes are all prefixed .mkt-).
   Builds on the shared design tokens (tokens.css); adds none of its own colors.
   ========================================================================== */

:root {
    --mkt-max: 1180px;
    --mkt-section-y: clamp(3.5rem, 7vw, 6rem);
}

.mkt {
    color: var(--pos-ink);
}

.mkt-container {
    max-width: var(--mkt-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

/* ---- Eyebrow + section headings ---------------------------------------- */
.mkt-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pos-primary);
    margin-bottom: .75rem;
}

.mkt-section {
    padding-block: var(--mkt-section-y);
}

.mkt-section--tint {
    background:
        radial-gradient(120% 120% at 100% 0%, var(--pos-primary-subtle) 0%, transparent 45%),
        var(--pos-body-bg);
}

.mkt-section__head {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 3rem;
}

.mkt-h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    color: var(--pos-ink);
}

.mkt-lead {
    font-size: 1.075rem;
    line-height: 1.6;
    color: var(--pos-muted);
}

.mkt-accent { color: var(--pos-accent); }

/* ---- Hero -------------------------------------------------------------- */
.mkt-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(70% 60% at 85% -10%, rgba(79, 70, 229, .16) 0%, transparent 55%),
        radial-gradient(50% 50% at 5% 110%, rgba(13, 148, 136, .12) 0%, transparent 55%);
}

.mkt-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.mkt-hero__title {
    font-size: clamp(2.35rem, 4.6vw, 3.65rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.025em;
    color: var(--pos-ink);
    margin-bottom: 1.15rem;
}

.mkt-hero__title .mkt-grad {
    background: linear-gradient(100deg, var(--pos-primary) 10%, var(--pos-accent) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mkt-hero__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--pos-ink-secondary);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.mkt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.mkt-hero__reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: .9rem;
    color: var(--pos-muted);
}

.mkt-hero__reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.mkt-hero__reassure i { color: var(--pos-accent); }

.mkt-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.35rem; }

.mkt-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 999px;
    background: var(--pos-glass-bg-heavy);
    border: 1px solid var(--pos-border);
    color: var(--pos-ink-secondary);
    box-shadow: var(--pos-shadow-xs);
    flex-shrink: 0;
    white-space: nowrap;
}

.mkt-pill i { color: var(--pos-primary); }

/* Country/region flags (flag-icons library, App.razor) — sized to sit on the text baseline
   inside a pill instead of the library's default block sizing, with a subtle edge so a
   light-colored flag (e.g. the EU's) doesn't disappear into a light pill background.
   ".fi.mkt-flag" (not just ".mkt-flag") to out-specificity the library's own ".fi.fis" width
   rule, which would otherwise win and leave the square variant non-square. */
.fi.mkt-flag {
    width: 1.2em; height: 1.2em; border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    flex-shrink: 0;
}

.mkt-pill--muted { background: var(--pos-surface); color: var(--pos-muted); border-color: var(--pos-border); }

/* ---- Product showcase panel ------------------------------------------- */
.mkt-showcase {
    border-radius: var(--pos-radius-xl);
    background: #fff;
    border: 1px solid var(--pos-border);
    box-shadow: var(--pos-shadow-2xl);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.mkt-showcase:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.mkt-showcase__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    background: var(--pos-surface);
    border-bottom: 1px solid var(--pos-border);
}

.mkt-showcase__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd3e1; }
.mkt-showcase__bar .dot:nth-child(1) { background: #f87171; }
.mkt-showcase__bar .dot:nth-child(2) { background: #fbbf24; }
.mkt-showcase__bar .dot:nth-child(3) { background: #34d399; }
.mkt-showcase__addr {
    margin-left: .5rem; font-size: .72rem; color: var(--pos-muted);
    background: #fff; border: 1px solid var(--pos-border); border-radius: 999px;
    padding: .12rem .7rem;
}

.mkt-showcase__body { padding: 1.1rem; display: grid; gap: .9rem; }

.mkt-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mkt-stat {
    padding: .8rem .9rem; border-radius: var(--pos-radius-md);
    background: var(--pos-surface); border: 1px solid var(--pos-border);
}
.mkt-stat__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pos-muted); }
.mkt-stat__value { font-size: 1.35rem; font-weight: 800; color: var(--pos-ink); line-height: 1.1; margin-top: .15rem; }
.mkt-stat__value.pos { color: var(--pos-accent); }

.mkt-chart {
    display: flex; align-items: flex-end; gap: .5rem; height: 116px;
    padding: .9rem; border-radius: var(--pos-radius-md);
    background: var(--pos-surface); border: 1px solid var(--pos-border);
}
.mkt-chart .bar { flex: 1; border-radius: 5px 5px 0 0; background: var(--pos-primary-light); opacity: .55; }
.mkt-chart .bar.active { background: var(--pos-gradient-primary); opacity: 1; }

.mkt-rows { display: grid; gap: .5rem; }
.mkt-rows .row {
    display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--pos-ink-secondary);
    padding: .55rem .7rem; border-radius: var(--pos-radius-sm);
    background: var(--pos-surface); border: 1px solid var(--pos-border);
}
.mkt-rows .row i.text-success, .mkt-rows .row i.pos { color: var(--pos-accent); }
.mkt-rows .row i.text-primary { color: var(--pos-primary); }
.mkt-rows .row i.text-warning { color: #d97706; }

/* ---- Trust band (stats / logos substitute) ---------------------------- */
.mkt-trust {
    border-top: 1px solid var(--pos-border);
    border-bottom: 1px solid var(--pos-border);
    background: var(--pos-glass-bg-heavy);
}
.mkt-trust__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    padding-block: 2rem; text-align: center;
}
.mkt-trust__num { font-size: 1.9rem; font-weight: 800; color: var(--pos-ink); line-height: 1; }
.mkt-trust__num .mkt-grad {
    background: linear-gradient(100deg, var(--pos-primary), var(--pos-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mkt-trust__label { font-size: .85rem; color: var(--pos-muted); margin-top: .35rem; }

/* ---- Feature cards ----------------------------------------------------- */
.mkt-features-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.mkt-feature {
    position: relative;
    padding: 1.6rem;
    border-radius: var(--pos-radius-lg);
    background: #fff;
    border: 1px solid var(--pos-border);
    box-shadow: var(--pos-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mkt-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--pos-shadow-lg);
    border-color: var(--pos-primary-light);
}
.mkt-feature--wide { grid-column: span 1; }

.mkt-feature__icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.4rem; color: #fff;
    background: var(--pos-gradient-primary);
    box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
    margin-bottom: 1rem;
}
.mkt-feature--accent .mkt-feature__icon { background: var(--pos-gradient-accent); box-shadow: 0 6px 16px rgba(13, 148, 136, .28); }
.mkt-feature__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; color: var(--pos-ink); }
.mkt-feature__body { color: var(--pos-muted); font-size: .95rem; line-height: 1.55; margin: 0; }

.mkt-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mkt-feature-sm {
    display: flex; gap: .9rem; padding: 1.1rem;
    border-radius: var(--pos-radius-md); background: #fff;
    border: 1px solid var(--pos-border);
}
.mkt-feature-sm__icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--pos-primary-subtle); color: var(--pos-primary); font-size: 1.1rem; }
.mkt-feature-sm h3 { font-size: .98rem; font-weight: 700; margin: 0 0 .2rem; color: var(--pos-ink); }
.mkt-feature-sm p { font-size: .85rem; color: var(--pos-muted); margin: 0; line-height: 1.5; }

/* ---- How it works ------------------------------------------------------ */
.mkt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.mkt-step {
    padding: 1.4rem; border-radius: var(--pos-radius-lg);
    background: #fff; border: 1px solid var(--pos-border); box-shadow: var(--pos-shadow-xs);
}
.mkt-step__num {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    font-weight: 800; color: #fff; background: var(--pos-gradient-primary); margin-bottom: .9rem;
}
.mkt-step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; }
.mkt-step p { font-size: .875rem; color: var(--pos-muted); margin: 0; line-height: 1.5; }

/* ---- Security / trust reassurance -------------------------------------- */
.mkt-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mkt-assure__item { display: flex; gap: .75rem; align-items: flex-start; }
.mkt-assure__item i { font-size: 1.25rem; color: var(--pos-accent); margin-top: .1rem; }
.mkt-assure__item h3 { font-size: .95rem; font-weight: 700; margin: 0 0 .15rem; }
.mkt-assure__item p { font-size: .84rem; color: var(--pos-muted); margin: 0; line-height: 1.45; }

/* ---- FAQ (cleaner) ----------------------------------------------------- */
.mkt-faq { max-width: 760px; margin-inline: auto; }
.mkt-faq .accordion-item { border: 1px solid var(--pos-border); border-radius: var(--pos-radius-md) !important; margin-bottom: .6rem; overflow: hidden; background: #fff; }
.mkt-faq .accordion-button { font-weight: 600; background: #fff; color: var(--pos-ink); }
.mkt-faq .accordion-button:not(.collapsed) { background: var(--pos-primary-subtle); color: var(--pos-primary-dark); box-shadow: none; }
.mkt-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem var(--pos-primary-subtle); }

/* ---- CTA band ---------------------------------------------------------- */
.mkt-cta-band {
    border-radius: var(--pos-radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(80% 140% at 10% 0%, rgba(255,255,255,.14) 0%, transparent 40%),
        var(--pos-gradient-primary);
    box-shadow: var(--pos-shadow-xl);
}
.mkt-cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: .75rem; }
.mkt-cta-band p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.5rem; }
/* High-contrast buttons on the indigo band: solid white primary, outlined-white secondary.
   !important is needed to beat AppButton's higher-specificity CSS-isolation (scoped [b-xxx]) styles. */
.mkt-cta-band .app-btn--secondary { background: #fff !important; color: var(--pos-primary-dark) !important; border-color: #fff !important; box-shadow: var(--pos-shadow-md); }
.mkt-cta-band .app-btn--secondary:hover { background: #f2f2ff !important; color: var(--pos-primary) !important; transform: translateY(-1px); }
.mkt-cta-band .app-btn--ghost { color: #fff !important; background: transparent !important; border: 1px solid rgba(255,255,255,.6) !important; }
.mkt-cta-band .app-btn--ghost:hover { background: rgba(255,255,255,.14) !important; color: #fff !important; }

/* ---- Features page category groups ------------------------------------ */
.mkt-cat { margin-bottom: 2.75rem; }
.mkt-cat__head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.mkt-cat__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--pos-gradient-primary); font-size: 1.15rem; }
.mkt-cat__title { font-size: 1.35rem; font-weight: 800; margin: 0; }

/* ---- Centered hero header (pages without a product panel) -------------- */
.mkt-hero--center { text-align: center; }
.mkt-hero--center .mkt-hero__title,
.mkt-hero--center .mkt-hero__lead { margin-inline: auto; }
.mkt-hero--center .mkt-hero__cta { justify-content: center; }
.mkt-hero--center .mkt-badges { justify-content: center; }

/* ---- Decorative art panel (persona pages) ------------------------------ */
.mkt-hero__art {
    aspect-ratio: 4 / 3;
    border-radius: var(--pos-radius-xl);
    display: grid; place-items: center;
    background:
        radial-gradient(70% 70% at 28% 18%, rgba(129, 140, 248, .38), transparent 60%),
        var(--pos-gradient-primary);
    box-shadow: var(--pos-shadow-2xl);
    color: #fff;
}
.mkt-hero__art i { font-size: clamp(4.5rem, 11vw, 8rem); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .3)); }
.mkt-hero__art--accent { background: radial-gradient(70% 70% at 28% 18%, rgba(45, 212, 191, .4), transparent 60%), var(--pos-gradient-accent); }

/* ---- Pricing ----------------------------------------------------------- */
.mkt-pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.mkt-price {
    display: flex; flex-direction: column; padding: 1.7rem 1.5rem;
    border-radius: var(--pos-radius-lg); background: #fff;
    border: 1px solid var(--pos-border); box-shadow: var(--pos-shadow-sm);
}
.mkt-price--featured { border: 1.5px solid var(--pos-primary); box-shadow: var(--pos-shadow-lg); position: relative; }
.mkt-price__badge {
    position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); z-index: 2;
    background: var(--pos-gradient-primary); color: #fff; font-size: .68rem; font-weight: 700;
    padding: .28rem .8rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase;
    white-space: nowrap;
}
.mkt-price__name { font-weight: 700; font-size: 1.1rem; color: var(--pos-ink); }
.mkt-price__amount { font-size: 2.4rem; font-weight: 800; color: var(--pos-ink); line-height: 1; margin: .6rem 0 1rem; }
.mkt-price__amount span { font-size: .9rem; font-weight: 500; color: var(--pos-muted); }
.mkt-price__list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; font-size: .9rem; color: var(--pos-ink-secondary); }
.mkt-price__list i { color: var(--pos-accent); margin-right: .35rem; }
.mkt-price__note { font-size: .82rem; color: var(--pos-muted); margin-bottom: 1rem; }
.mkt-price__cta { margin-top: auto; }

/* Locked (paid, not-yet-launched) tier — beta (docs §12): blur the real price/feature list to
   illegibility, show only a "coming soon" overlay with a mailto notify-me CTA (this is a static,
   anonymous page — no in-app interest capture here, see Client's own /pricing page for that). */
.mkt-price--locked { position: relative; }
.mkt-price--locked .mkt-price__blur { filter: blur(6px); opacity: 0.55; pointer-events: none; user-select: none; }
.mkt-price__lock-overlay {
    position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .6rem;
    padding: 1.5rem; text-align: center;
    background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(2px);
}
[data-bs-theme="dark"] .mkt-price__lock-overlay { background: rgba(15, 23, 42, 0.55); }
.mkt-price__lock-badge {
    background: var(--pos-gradient-primary); color: #fff; font-weight: 700;
    font-size: .78rem; padding: .3rem .85rem; border-radius: 999px;
}
.mkt-enterprise {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.5rem 1.75rem; border-radius: var(--pos-radius-lg);
    background: var(--pos-surface); border: 1px solid var(--pos-border); margin-top: 1.25rem;
}
.mkt-enterprise__price { font-size: 1.5rem; font-weight: 800; color: var(--pos-ink); }

/* ---- Code block (developers) ------------------------------------------ */
.mkt-code {
    background: #0f172a; color: #e2e8f0; border-radius: var(--pos-radius-md);
    padding: 1.1rem 1.25rem; overflow-x: auto; font-size: .85rem;
    border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--pos-shadow-md);
}
.mkt-code code { color: inherit; white-space: pre; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---- Country landing highlights panel ---------------------------------- */
.mkt-highlights {
    padding: 1.5rem; border-radius: var(--pos-radius-lg);
    background: #fff; border: 1px solid var(--pos-border); box-shadow: var(--pos-shadow-lg);
}
.mkt-highlights h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--pos-primary); margin-bottom: 1rem; }
.mkt-highlights ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.mkt-highlights li { display: flex; gap: .6rem; align-items: flex-start; color: var(--pos-ink-secondary); font-size: .95rem; }
.mkt-highlights li i { color: var(--pos-accent); margin-top: .15rem; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 991px) {
    .mkt-hero__grid { grid-template-columns: 1fr; }
    .mkt-showcase { transform: none; order: -1; }
    .mkt-hero__art { aspect-ratio: 16 / 9; order: -1; }
    .mkt-features-top, .mkt-feature-grid, .mkt-steps, .mkt-assure, .mkt-pricing { grid-template-columns: 1fr 1fr; }
    .mkt-trust__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
}

@media (max-width: 575px) {
    .mkt-features-top, .mkt-feature-grid, .mkt-steps, .mkt-assure, .mkt-pricing { grid-template-columns: 1fr; }
    .mkt-stat-row { grid-template-columns: 1fr 1fr 1fr; }
    .mkt-hero__title { font-size: 2.15rem; }
}

/* ---- Dark theme tweaks ------------------------------------------------- */
[data-bs-theme="dark"] .mkt-feature,
[data-bs-theme="dark"] .mkt-feature-sm,
[data-bs-theme="dark"] .mkt-step,
[data-bs-theme="dark"] .mkt-price,
[data-bs-theme="dark"] .mkt-highlights,
[data-bs-theme="dark"] .mkt-showcase { background: var(--pos-card-bg); }
[data-bs-theme="dark"] .mkt-enterprise { background: var(--pos-card-bg); }
[data-bs-theme="dark"] .mkt-showcase__addr { background: transparent; }
[data-bs-theme="dark"] .mkt-faq .accordion-item,
[data-bs-theme="dark"] .mkt-faq .accordion-button { background: var(--pos-card-bg); }

/* ==========================================================================
   Premium visual layer — depth, motion and glow (tasteful, brand-hued only).
   ========================================================================== */

/* ---- Animated hero mesh + dot-grid texture ---------------------------- */
.mkt-hero { isolation: isolate; }
.mkt-hero::before {
    content: ""; position: absolute; inset: -10%; z-index: 0; pointer-events: none;
    background:
        radial-gradient(38% 46% at 82% -4%, rgba(79, 70, 229, .22), transparent 60%),
        radial-gradient(34% 42% at 6% 106%, rgba(13, 148, 136, .18), transparent 60%);
    animation: mktDrift 20s ease-in-out infinite alternate;
}
.mkt-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .6;
    background-image: radial-gradient(rgba(79, 70, 229, .11) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 65% at 50% -5%, #000, transparent 72%);
    mask-image: radial-gradient(70% 65% at 50% -5%, #000, transparent 72%);
}
.mkt-hero > .mkt-container { position: relative; z-index: 1; }
@keyframes mktDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 1.5%, 0) scale(1.06); } }

/* ---- Glow behind the product panel / art ------------------------------ */
.mkt-showcase, .mkt-hero__art { position: relative; }
.mkt-showcase::after, .mkt-hero__art::after {
    content: ""; position: absolute; inset: -16% -12% -20%; z-index: -1; border-radius: 40px;
    background: radial-gradient(closest-side, rgba(79, 70, 229, .3), transparent 78%);
    filter: blur(8px);
}
.mkt-hero__art--accent::after { background: radial-gradient(closest-side, rgba(13, 148, 136, .3), transparent 78%); }

/* ---- Floating glass chips (home hero) --------------------------------- */
.mkt-hero__stage { position: relative; }
.mkt-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: .5rem;
    padding: .6rem .85rem; border-radius: 14px; font-size: .82rem; font-weight: 600;
    color: var(--pos-ink);
    background: var(--pos-glass-bg-ultra); border: 1px solid var(--pos-glass-border);
    box-shadow: var(--pos-shadow-lg); backdrop-filter: blur(12px);
}
.mkt-float small { display: block; font-weight: 500; color: var(--pos-muted); font-size: .7rem; }
.mkt-float__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: .95rem; }
.mkt-float__ico--pos { background: var(--pos-gradient-accent); }
.mkt-float__ico--pri { background: var(--pos-gradient-primary); }
.mkt-float--tl { top: -1.1rem; left: -1.4rem; animation: mktFloat 6s ease-in-out infinite; }
.mkt-float--br { bottom: 1.2rem; right: -1.3rem; animation: mktFloat 7.5s ease-in-out infinite reverse; }
@keyframes mktFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- Feature cards: glass + gradient hover border + lift -------------- */
.mkt-feature { background: var(--pos-glass-bg-heavy); backdrop-filter: blur(6px); overflow: hidden; }
.mkt-feature::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: linear-gradient(135deg, rgba(79, 70, 229, .6), rgba(13, 148, 136, .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .3s ease;
}
.mkt-feature:hover::before { opacity: 1; }
.mkt-feature:hover { box-shadow: var(--pos-shadow-xl); }
.mkt-feature--accent::before { background: linear-gradient(135deg, rgba(13, 148, 136, .6), rgba(79, 70, 229, .4)); }
.mkt-feature__icon { box-shadow: 0 8px 20px rgba(79, 70, 229, .32); transition: transform .25s ease; }
.mkt-feature:hover .mkt-feature__icon { transform: scale(1.06) rotate(-3deg); }
.mkt-feature-sm { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mkt-feature-sm:hover { transform: translateY(-3px); box-shadow: var(--pos-shadow-md); border-color: var(--pos-primary-light); }

/* ---- Marketing CTAs: gradient + glow primary -------------------------- */
.mkt .app-btn--primary,
.mkt .app-btn--secondary.mkt-cta-solid {
    background: var(--pos-gradient-primary) !important; border: none !important;
    box-shadow: 0 8px 22px rgba(79, 70, 229, .34) !important;
}
.mkt .app-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(79, 70, 229, .44) !important; }

/* ---- CTA band: shimmer sweep ------------------------------------------ */
.mkt-cta-band { position: relative; overflow: hidden; isolation: isolate; }
.mkt-cta-band::after {
    content: ""; position: absolute; top: 0; left: -35%; width: 35%; height: 100%; z-index: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .16), transparent);
    animation: mktShimmer 7s ease-in-out infinite;
}
.mkt-cta-band > * { position: relative; z-index: 1; }
@keyframes mktShimmer { 0% { left: -35%; } 55%, 100% { left: 135%; } }

/* ---- Trust band: column dividers -------------------------------------- */
.mkt-trust__grid > div { position: relative; }
.mkt-trust__grid > div + div::before {
    content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--pos-border);
}

/* ---- Scroll reveal (class toggled by site.js) ------------------------- */
.mkt-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.mkt-reveal.is-visible { opacity: 1; transform: none; }

/* ---- Page transition (site.js retriggers this on every enhanced-nav
   page change — otherwise pages just snap in instantly). Two phases: a quick dim-and-settle
   the instant a cross-page link is clicked (site.js adds .mkt-page-leaving immediately, covering
   fetch latency), then a slower rise-and-settle once the new content has actually swapped in. ---- */
.mkt-page-leaving {
    opacity: .45;
    transform: translateY(-4px) scale(.992);
    transition: opacity .18s cubic-bezier(.4, 0, .2, 1), transform .18s cubic-bezier(.4, 0, .2, 1);
}
@keyframes mktPageEnter {
    from { opacity: 0; transform: translateY(16px) scale(.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mkt-page-enter { animation: mktPageEnter .5s cubic-bezier(.16, 1, .3, 1) both; }

@media (max-width: 991px) {
    .mkt-float--tl { left: .5rem; top: -.8rem; }
    .mkt-float--br { right: .5rem; }
    .mkt-trust__grid > div:nth-child(3)::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mkt-hero::before, .mkt-float, .mkt-cta-band::after { animation: none; }
    .mkt-reveal { opacity: 1; transform: none; transition: none; }
    .mkt-page-enter { animation: none; }
    .mkt-page-leaving { opacity: 1; transform: none; transition: none; }
}

/* Print layout for checklist tools (plaatsbeschrijving etc.): drop the site chrome and
   marketing sections so a printed sheet is just the heading + the checklist itself. */
@media print {
    .public-navbar, .public-footer, .mkt-cta-band, .mkt-faq, .mkt-hero__lead,
    .mkt-badges, .mkt-eyebrow, .d-print-none, .skip-link { display: none !important; }
    .mkt-hero { padding-block: 0 !important; }
    .app-card { border: 1px solid #999 !important; box-shadow: none !important; break-inside: avoid; }
    body { background: #fff !important; }
}

/* ---- Free-tool date/month picker (progressive enhancement over a native input) --------- */
.tool-datepicker { position: relative; display: block; }
.tool-datepicker__input { cursor: pointer; padding-right: 2.4rem !important; }
.tool-datepicker__input::-webkit-calendar-picker-indicator { display: none; }
.tool-datepicker__icon {
    position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
    color: var(--pos-muted); pointer-events: none; display: inline-flex;
}
.tool-datepicker--open .tool-datepicker__icon { color: var(--pos-primary); }

.tool-datepicker__panel {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 2101;
    width: min(300px, calc(100vw - 2rem));
    padding: .75rem;
    border: 1px solid var(--pos-glass-border);
    border-radius: var(--pos-radius-lg);
    background: var(--pos-glass-bg-heavy);
    backdrop-filter: blur(32px) saturate(2.2);
    -webkit-backdrop-filter: blur(32px) saturate(2.2);
    box-shadow: var(--pos-glass-shadow);
}
.tool-datepicker__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.tool-datepicker__title { font-weight: 700; font-size: .9rem; color: var(--pos-ink); text-transform: capitalize; }
.tool-datepicker__nav {
    width: 32px; height: 32px; border: none; border-radius: var(--pos-radius-md);
    background: transparent; color: var(--pos-muted);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.tool-datepicker__nav:hover { background: var(--pos-primary-subtle); color: var(--pos-primary); }
.tool-datepicker__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: .35rem; }
.tool-datepicker__weekdays span {
    text-align: center; font-size: .6875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: var(--pos-muted); padding: .25rem 0;
}
.tool-datepicker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tool-datepicker__grid--months { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.tool-datepicker__day {
    aspect-ratio: 1; border: none; border-radius: var(--pos-radius-md); background: transparent;
    color: var(--pos-ink); font-size: .8125rem; font-weight: 500; cursor: pointer;
    transition: background var(--pos-duration-fast) var(--pos-ease-out), color var(--pos-duration-fast) var(--pos-ease-out);
}
.tool-datepicker__day:hover:not(.tool-datepicker__day--selected) { background: var(--pos-primary-subtle); color: var(--pos-primary); }
.tool-datepicker__day--muted { opacity: .35; }
.tool-datepicker__day--today:not(.tool-datepicker__day--selected) { box-shadow: inset 0 0 0 1.5px var(--pos-primary); color: var(--pos-primary); font-weight: 700; }
.tool-datepicker__day--selected { background: var(--pos-gradient-primary); color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(29, 110, 249, .35); }
.tool-datepicker__month {
    padding: .55rem 0; border: none; border-radius: var(--pos-radius-md); background: transparent;
    color: var(--pos-ink); font-size: .8125rem; font-weight: 500; cursor: pointer; text-transform: capitalize;
    transition: background var(--pos-duration-fast) var(--pos-ease-out), color var(--pos-duration-fast) var(--pos-ease-out);
}
.tool-datepicker__month:hover:not(.tool-datepicker__month--selected) { background: var(--pos-primary-subtle); color: var(--pos-primary); }
.tool-datepicker__month--today:not(.tool-datepicker__month--selected) { box-shadow: inset 0 0 0 1.5px var(--pos-primary); color: var(--pos-primary); font-weight: 700; }
.tool-datepicker__month--selected { background: var(--pos-gradient-primary); color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(29, 110, 249, .35); }
.tool-datepicker__footer { display: flex; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--pos-border); }
.tool-datepicker__footer-btn { border: none; background: transparent; color: var(--pos-primary); font-size: .8125rem; font-weight: 600; padding: .25rem .5rem; border-radius: var(--pos-radius-md); cursor: pointer; }
.tool-datepicker__footer-btn:hover { background: var(--pos-primary-subtle); }
