/* ==========================================================================
   123webpage.nl — marketing site
   Own visual language (NOT shared with 123webshop): warm "paper & ink"
   editorial look, electric iris + coral accents, grain texture, dotted
   backgrounds, hand-drawn underlines, oversized numerals, light + dark.
   Custom layer on top of Tailwind v4 (browser build). Theme tokens that
   Tailwind can't express live here as CSS custom properties and flip on .dark
   ========================================================================== */

:root {
    --bg:           #f6f4ef;
    --bg-2:         #efebe2;
    --surface:      #ffffff;
    --surface-2:    #faf8f3;
    --text:         #1a1622;
    --text-soft:    #57506a;
    --text-muted:   #8b8499;
    --border:       rgba(26, 22, 34, .10);
    --border-strong:rgba(26, 22, 34, .18);
    --iris:         #334155;
    --iris-soft:    rgba(51, 65, 85, .12);
    --coral:        #ff6a4d;
    --coral-soft:   rgba(255, 106, 77, .14);
    --ink-shadow:   rgba(26, 22, 34, .9);
    --soft-shadow:  0 22px 50px -28px rgba(26, 22, 34, .45);
    --grain:        .045;
    color-scheme: light;
}
.dark {
    --bg:           #0b1120;
    --bg-2:         #111a2e;
    --surface:      #16203a;
    --surface-2:    #1d2942;
    --text:         #f1f5f9;
    --text-soft:    #cbd5e1;
    --text-muted:   #94a3b8;
    --border:       rgba(255, 255, 255, .10);
    --border-strong:rgba(255, 255, 255, .20);
    --iris:         #cbd5e1;
    --iris-soft:    rgba(203, 213, 225, .16);
    --coral:        #ff7d63;
    --coral-soft:   rgba(255, 125, 99, .18);
    --ink-shadow:   rgba(0, 0, 0, .85);
    --soft-shadow:  0 26px 64px -30px rgba(0, 0, 0, .75);
    --grain:        .06;
    color-scheme: dark;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); }

/* Smooth, deliberate theme transition (skipped for reduced-motion) */
body, .surface, .surface-2, .ui-card, .browser, .price-card, .step-card,
.q-item, .pill, .footer-x {
    transition: background-color .4s ease, border-color .4s ease, color .4s ease;
}
[x-collapse] {
    transition-timing-function: cubic-bezier(.4,0,.2,1) !important;
    transition-duration: 380ms !important;
    will-change: height;
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* ---- Film grain: one fixed overlay, premium "printed paper" feel ---- */
.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: var(--grain);
    mix-blend-mode: var(--grain-blend, multiply);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark .grain::before { --grain-blend: screen; }

/* ---- Surfaces driven by theme tokens ---- */
.surface   { background: var(--surface); }
.surface-2 { background: var(--surface-2); }
.bg-app    { background: var(--bg); }
.bg-app-2  { background: var(--bg-2); }
.t-ink     { color: var(--text); }
.t-soft    { color: var(--text-soft); }
.t-muted   { color: var(--text-muted); }
.bdr       { border-color: var(--border); }
.bdr-strong{ border-color: var(--border-strong); }

/* ---- Soft aura background (signature wash — replaces the old dot grid) ---- */
.aura {
    background:
        radial-gradient(58% 48% at 14% -4%, color-mix(in srgb, var(--coral) 15%, transparent), transparent 70%),
        radial-gradient(52% 46% at 90% 4%, color-mix(in srgb, var(--iris) 16%, transparent), transparent 72%),
        radial-gradient(80% 60% at 50% 120%, color-mix(in srgb, var(--iris) 8%, transparent), transparent 70%);
}

/* ---- Ambient color blobs (soft, behind hero / dark bands) ---- */
.blobs { position: relative; isolation: isolate; overflow: hidden; }
.blob {
    position: absolute; z-index: -1; border-radius: 9999px;
    filter: blur(80px); pointer-events: none; opacity: .55;
}
.dark .blob { opacity: .5; }
.blob-iris  { background: radial-gradient(circle at center, var(--iris), transparent 66%); }
.blob-coral { background: radial-gradient(circle at center, var(--coral), transparent 66%); }

/* ---- Gradient & marker text ---- */
.grad-iris {
    background: linear-gradient(100deg, #475569 0%, #f74e30 76%, #ff6a4d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dark .grad-iris {
    background: linear-gradient(100deg, #cbd5e1 0%, #ff8a72 80%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hand-drawn marker underline under a key word (SVG stroke, drawn on reveal) */
.marker { position: relative; white-space: nowrap; }
.marker svg {
    position: absolute; left: -.06em; right: -.06em; bottom: -.12em; width: calc(100% + .12em); height: .42em;
    overflow: visible; pointer-events: none;
}
.marker svg path {
    fill: none; stroke: var(--coral); stroke-width: 8; stroke-linecap: round;
    stroke-dasharray: var(--len, 420); stroke-dashoffset: var(--len, 420);
    transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1) .25s;
}
.in-view .marker svg path, .marker.in-view svg path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .marker svg path { stroke-dashoffset: 0; } }

/* ---- Logo wordmark ---- */
.logo-num {
    background: linear-gradient(120deg, #334155 0%, #475569 45%, #ff6a4d 125%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dark .logo-num {
    background: linear-gradient(120deg, #e2e8f0 0%, #cbd5e1 45%, #ff8a72 125%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Pills / tags ---- */
.pill {
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-soft);
}

/* ---- Primary CTA: modern, minimalist solid with a soft accent glow ---- */
.btn-iris {
    position: relative; isolation: isolate;
    background: var(--iris); color: #fff;
    box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--iris) 65%, transparent);
    transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, filter .2s ease;
}
.btn-iris:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--iris) 80%, transparent); }
.btn-iris:active { transform: translateY(0); filter: brightness(.97); }
.dark .btn-iris { color: #0b1120; }   /* dark text on the light-slate button used in dark mode */

/* Attention pulse for the key CTAs — an expanding accent ring (opt-in) */
.btn-pulse::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--iris) 55%, transparent);
    animation: cta-pulse 2.6s cubic-bezier(.66, 0, 0, 1) infinite;
}
.btn-pulse:hover::after { animation-play-state: paused; }
@keyframes cta-pulse {
    0%        { box-shadow: 0 0 0 0   color-mix(in srgb, var(--iris) 50%, transparent); }
    70%, 100% { box-shadow: 0 0 0 15px color-mix(in srgb, var(--iris) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .btn-pulse::after { animation: none; } }

/* Ghost / ink button */
.btn-ink {
    background: var(--text); color: var(--bg);
    transition: transform .16s ease, opacity .16s ease;
}
.btn-ink:hover { transform: translateY(-2px); opacity: .92; }

/* ---- Cards ---- */
.ui-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 1.5rem;
}
.lift { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1), border-color .3s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--soft-shadow); border-color: var(--border-strong); }

/* ---- Oversized editorial step numeral ---- */
.numeral {
    font-family: var(--font-display, "Bricolage Grotesque"), sans-serif;
    font-weight: 800; line-height: .8; letter-spacing: -.04em;
    background: linear-gradient(160deg, var(--iris), var(--coral));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.numeral-ghost {
    font-family: var(--font-display, "Bricolage Grotesque"), sans-serif;
    font-weight: 800; line-height: .8; letter-spacing: -.05em;
    color: color-mix(in srgb, var(--coral) 80%, var(--text-muted));
}

/* ==========================================================================
   Browser frame (own chrome — pill tab + dots, distinct from siblings)
   ========================================================================== */
.browser {
    border-radius: 1.1rem; overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--soft-shadow);
}
.browser-bar {
    display: flex; align-items: center; gap: .5rem;
    padding: .6rem .85rem; border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.browser-dots { display: flex; gap: .35rem; }
.browser-dots i { width: .62rem; height: .62rem; border-radius: 9999px; display: block; }
.browser-url {
    flex: 1; display: flex; align-items: center; gap: .4rem;
    font-family: var(--font-mono, "JetBrains Mono"), monospace;
    font-size: .72rem; color: var(--text-muted);
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 9999px; padding: .28rem .7rem; min-width: 0;
}
.browser-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================================
   BEFORE / AFTER drag reveal — the "wtf" moment
   Two stacked mini-sites; the top (BEFORE) is clipped to the handle position.
   ========================================================================== */
.ba {
    position: relative; user-select: none; overflow: hidden;
    border-radius: .85rem; isolation: isolate;
    touch-action: pan-y;
}
.ba-pane { position: relative; }
.ba-after { position: relative; z-index: 1; }
.ba-before {
    position: absolute; inset: 0; z-index: 2;
    width: 100%;
    clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
    will-change: clip-path;
}
.ba-tag {
    flex-shrink: 0;
    font-family: var(--font-mono, monospace); font-size: .62rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    padding: .2rem .55rem; border-radius: 9999px; color: #fff;
}
.ba-tag-before { background: #b4282f; }
.ba-tag-after  { background: #16a34a; }
.ba-handle {
    position: absolute; top: 0; bottom: 0; z-index: 4;
    left: var(--pos, 50%); width: 0; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center;
    cursor: ew-resize;
}
.ba-handle::before {
    content: ""; position: absolute; top: 0; bottom: 0; width: 3px;
    background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 0 22px rgba(0,0,0,.35);
}
.ba-knob {
    position: relative; width: 2.85rem; height: 2.85rem; border-radius: 9999px;
    background: #fff; color: #1a1622; display: grid; place-items: center;
    box-shadow: 0 8px 26px rgba(0,0,0,.32); border: 1px solid rgba(0,0,0,.06);
}
.ba-knob i { width: 1.15rem; height: 1.15rem; }
.ba:focus-within .ba-knob { outline: 3px solid var(--iris); outline-offset: 2px; }

/* The two mini fake websites used inside the slider (self-contained styling) */
.mini { height: 100%; min-height: 320px; font-family: Arial, Helvetica, sans-serif; }
/* BEFORE: deliberately dated 2009 look */
.mini-old { background: #e9e6da; color: #222; }
.mini-old .m-top { background: #1d4f8b; background: linear-gradient(#2a66ad, #163e6e); color: #fff; padding: 10px 14px; border-bottom: 3px solid #c9a227; }
.mini-old .m-logo { font-family: "Times New Roman", serif; font-weight: 700; font-size: 18px; text-shadow: 1px 1px 0 #0c2747; }
.mini-old .m-nav { display: flex; gap: 2px; margin-top: 8px; flex-wrap: wrap; }
.mini-old .m-nav b { background: #c9a227; color: #3a2d00; font-size: 10px; padding: 3px 8px; border: 1px solid #fff; }
.mini-old .m-hero { background: #b9d0e8; border: 2px ridge #98b6d6; margin: 10px; padding: 12px; }
.mini-old .m-h1 { font-size: 16px; color: #b4282f; font-weight: 700; }
.mini-old .m-body { padding: 0 12px 12px; font-size: 11px; color: #444; line-height: 1.5; }
.mini-old .m-btn { display: inline-block; margin-top: 8px; background: linear-gradient(#f6d365,#d99e1a); border: 1px solid #9c6f00; color: #3a2d00; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; }
.mini-old .m-blink { color: #b4282f; font-weight: 700; }
/* AFTER: clean modern look (echoes our brand) */
.mini-new { background: #ffffff; color: #1a1622; font-family: "Inter", Arial, sans-serif; }
.mini-new .m-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.mini-new .m-logo { font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.mini-new .m-logo span { color: #334155; }
.mini-new .m-nav { display: flex; gap: 12px; font-size: 10px; color: #6b6478; font-weight: 600; }
.mini-new .m-cta { background: #334155; color: #fff; font-size: 10px; font-weight: 700; padding: 6px 12px; border-radius: 9999px; }
.mini-new .m-hero { padding: 18px 16px 8px; }
.mini-new .m-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #334155; }
.mini-new .m-h1 { font-family: "Bricolage Grotesque", "Inter", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.mini-new .m-sub { font-size: 10.5px; color: #57506a; margin-top: 7px; line-height: 1.5; }
.mini-new .m-row { display: flex; gap: 8px; margin-top: 12px; }
.mini-new .m-chip { font-size: 9px; font-weight: 600; color: #1a1622; background: #f1f5f9; border: 1px solid #e2e8f0; padding: 4px 9px; border-radius: 9999px; }
.mini-new .m-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 14px 16px 18px; }
.mini-new .m-card { background: #faf8f3; border: 1px solid #eee6f5; border-radius: 10px; padding: 9px; }
.mini-new .m-card .d { width: 16px; height: 16px; border-radius: 6px; background: linear-gradient(135deg,#334155,#ff6a4d); }
.mini-new .m-card p { font-size: 8.5px; color: #57506a; margin-top: 6px; line-height: 1.4; }

/* ==========================================================================
   Revision demo — point & click comment pin
   ========================================================================== */
.pin {
    position: absolute; z-index: 5; width: 1.9rem; height: 1.9rem;
    border-radius: 9999px 9999px 9999px 2px; transform: rotate(-2deg);
    background: var(--coral); color: #fff; display: grid; place-items: center;
    box-shadow: 0 8px 20px -6px rgba(255,106,77,.7); font-weight: 800; font-size: .8rem;
    animation: pin-pop .5s cubic-bezier(.18,.9,.32,1.4) both;
}
@keyframes pin-pop { 0% { transform: scale(0) rotate(-2deg); } 100% { transform: scale(1) rotate(-2deg); } }
.cursor-ghost {
    position: absolute; top: 0; left: 0; z-index: 6; pointer-events: none;
    width: 1.25rem; height: 1.25rem; color: var(--text);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

/* ==========================================================================
   Animations / utilities
   ========================================================================== */
[data-animate] {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--d, 0s);
}
[data-animate].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-animate] { opacity: 1; transform: none; } }

/* SVG flow lines drawn on scroll */
.draw-path {
    stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600);
    transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) var(--d, 0s);
}
.in-view .draw-path, .draw-path.in-view { stroke-dashoffset: 0; }
.flow-dash { stroke-dasharray: 5 9; animation: flow-dash 1.1s linear infinite; }
@keyframes flow-dash { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .flow-dash { animation: none; } .draw-path { stroke-dashoffset: 0; transition: none; } }

/* Auto-advancing step spotlight (hoe-het-werkt) */
.step-tile { box-shadow: var(--soft-shadow); }
.step-tile-on {
    background: linear-gradient(150deg, var(--iris), var(--coral));
    transform: scale(1.06);
    box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--iris) 60%, transparent);
}
.step-tile-on svg { animation: step-bob 1.5s ease-in-out infinite; }
@keyframes step-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Horizontal stepper nodes */
.step-node-done { background: var(--iris); }
.step-node-on {
    background: linear-gradient(150deg, var(--iris), var(--coral));
    transform: scale(1.12);
    box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--iris) 55%, transparent);
}
.step-node-on svg { animation: step-bob 1.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .step-tile-on, .step-node-on { transform: none; }
    .step-tile-on svg, .step-node-on svg { animation: none; }
}

/* ==========================================================================
   "Movie" stage — animated scene per step (hoe-het-werkt)
   ========================================================================== */
.movie-screen {
    position: relative; height: 23rem; overflow: hidden;
    background: var(--surface-2);
}
@media (min-width: 640px) { .movie-screen { height: 26rem; } }
.scene { position: absolute; inset: 0; }
.scene .mini { height: 100%; }
.scene-pad { display: grid; place-items: center; padding: 1.25rem; }
.scene-center { width: 100%; max-width: 22rem; }
.scene-label { text-align: center; font-size: .8rem; font-weight: 600; color: var(--text-soft); margin-bottom: .8rem; }

@keyframes fly-in  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop-in  { from { opacity: 0; transform: scale(.7); }        to { opacity: 1; transform: none; } }
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* 1 · address typing */
.addr-field {
    display: flex; align-items: center; gap: .55rem; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: .8rem; padding: .75rem .9rem; box-shadow: var(--soft-shadow);
}
.addr-type {
    font-family: var(--font-mono, "JetBrains Mono"), monospace; font-size: .85rem; color: var(--text);
    white-space: nowrap; overflow: hidden; display: inline-block; max-width: 0;
    animation: addr-type 1.3s steps(14) .4s forwards;
}
@keyframes addr-type { to { max-width: 8.6rem; } }
.addr-caret { width: 2px; height: 1.05rem; background: var(--iris); animation: caret-blink .8s steps(1) infinite; }
.addr-btn {
    margin-top: .9rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    background: var(--iris); color: #fff; font-size: .8rem; font-weight: 700;
    border-radius: .8rem; padding: .75rem 1rem; opacity: 0;
    animation: fly-in .45s 1.9s both, addr-press .4s 2.6s 1;
}
.dark .addr-btn { color: #0b1120; }
@keyframes addr-press { 0%, 100% { transform: none; } 50% { transform: scale(.95); } }

/* 2 · build: blocks + images fly in, then optimize chips pop */
.scene-build .bx  { opacity: 0; animation: fly-in .55s both;  animation-delay: calc(var(--i, 0) * .16s); }
.scene-build .img { opacity: 0; animation: img-fly .65s cubic-bezier(.2,.8,.3,1.2) both; animation-delay: calc(var(--i, 0) * .16s); }
@keyframes img-fly { from { opacity: 0; transform: translate(26px, -22px) scale(.3) rotate(8deg); } to { opacity: 1; transform: none; } }
.build-status {
    position: absolute; left: 0; right: 0; bottom: .8rem; z-index: 4;
    display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: 0 .9rem;
}
.bchip {
    display: inline-flex; align-items: center; gap: .28rem; opacity: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: 9999px;
    padding: .28rem .6rem; font-size: .64rem; font-weight: 700; color: var(--text);
    box-shadow: var(--soft-shadow); animation: pop-in .45s both; animation-delay: calc(var(--i, 0) * .16s);
}

/* 3 · notifications */
.scene-notify { display: flex; flex-direction: column; gap: .75rem; max-width: 20rem; }
.toast {
    display: flex; align-items: center; gap: .7rem; opacity: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 1rem; padding: .8rem .9rem; box-shadow: var(--soft-shadow);
    animation: toast-in .6s var(--t, 0s) both;
}
.toast-ico { display: grid; place-items: center; height: 2.4rem; width: 2.4rem; border-radius: 9999px; flex: none; }
.toast-t { font-size: .82rem; font-weight: 700; color: var(--text); }
.toast-s { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }

/* 4 · point & click */
.scene-click .mini { position: relative; }
.rev-cursor {
    position: absolute; top: 0; left: 0; width: 1.3rem; height: 1.3rem; color: var(--text); z-index: 6;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); transform: translate(240px, 168px);
    animation: rev-move 1.3s .3s forwards;
}
@keyframes rev-move { to { transform: translate(64px, 92px); } }
.rev-ripple {
    position: absolute; left: 58px; top: 92px; width: 14px; height: 14px; border-radius: 9999px;
    background: var(--iris); opacity: 0; z-index: 5; animation: ripple 1s 1.5s;
}
@keyframes ripple { 0% { opacity: .5; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.4); } }
.rev-bubble {
    position: absolute; left: 78px; top: 60px; z-index: 7; white-space: nowrap; opacity: 0;
    background: var(--iris); color: #fff; font-size: 11px; font-weight: 600;
    padding: .4rem .6rem; border-radius: .6rem; box-shadow: var(--soft-shadow);
    transform-origin: left bottom; animation: bubble-pop .4s 1.7s both;
}
.dark .rev-bubble { color: #0b1120; }
@keyframes bubble-pop { from { opacity: 0; transform: translateY(6px) scale(.8); } to { opacity: 1; transform: none; } }
.click-target { border-radius: 4px; animation: target-flash 1.3s 1.9s; }
@keyframes target-flash { 0%, 100% { background: transparent; box-shadow: none; } 30%, 70% { background: var(--iris-soft); box-shadow: 0 0 0 2px var(--iris); } }

/* 5 · choose a plan */
.pick-card {
    position: relative; text-align: center; opacity: 0;
    background: var(--surface); border: 2px solid var(--iris); border-radius: 1.1rem;
    padding: 1.4rem 1.7rem; box-shadow: var(--soft-shadow); animation: fly-in .5s .2s both;
}
.pick-name { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.pick-price { font-family: var(--font-display, "Bricolage Grotesque"), sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--text); margin-top: .15rem; }
.pick-price span { font-size: .8rem; font-weight: 600; color: var(--text-soft); }
.pick-stamp {
    display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem; opacity: 0;
    background: var(--iris); color: #fff; font-size: .78rem; font-weight: 700;
    padding: .4rem .85rem; border-radius: 9999px; animation: stamp .5s 1s both;
}
.dark .pick-stamp { color: #0b1120; }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.7) rotate(-10deg); } 60% { opacity: 1; transform: scale(.9) rotate(-6deg); } 100% { opacity: 1; transform: scale(1) rotate(-4deg); } }

/* 6 · live + confetti */
.scene-live .mini { position: relative; }
.live-badge {
    position: absolute; left: 1rem; bottom: 1rem; z-index: 5; opacity: 0;
    display: inline-flex; align-items: center; gap: .35rem;
    background: #059669; color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .03em;
    padding: .35rem .7rem; border-radius: 9999px; box-shadow: 0 10px 22px -8px rgba(5,150,105,.6);
    animation: stamp .5s .3s both;
}
.live-dot { width: .4rem; height: .4rem; border-radius: 9999px; background: #fff; animation: caret-blink 1s infinite; }
.confetti {
    position: absolute; top: -8%; left: var(--x, 50%); width: .5rem; height: .7rem; border-radius: 1px;
    background: var(--cc, var(--iris)); opacity: 0; animation: confetti-fall 1.7s var(--delay, 0s) ease-in forwards;
}
@keyframes confetti-fall {
    0% { opacity: 0; transform: translateY(0) rotate(0); }
    12% { opacity: 1; }
    100% { opacity: 0; transform: translateY(380px) rotate(560deg); }
}

/* 7 · grows with you */
.grow-banner {
    display: flex; align-items: center; justify-content: center; gap: .4rem; overflow: hidden;
    background: linear-gradient(90deg, var(--iris), var(--coral)); color: #fff;
    font-size: .66rem; font-weight: 700; max-height: 0; opacity: 0;
    animation: banner-grow .5s .4s forwards;
}
.dark .grow-banner { color: #0b1120; }
@keyframes banner-grow { to { max-height: 2rem; opacity: 1; padding: .4rem; } }
.scene-grow .grow-new { opacity: 0; box-shadow: 0 0 0 2px var(--iris); animation: pop-in .5s 1s both; }

@media (prefers-reduced-motion: reduce) {
    .scene, .scene * { animation: none !important; }
    .addr-type { max-width: 8.6rem !important; }
    .grow-banner { max-height: 2rem !important; opacity: 1 !important; padding: .4rem !important; }
    .addr-btn, .toast, .pick-card, .pick-stamp, .scene-build .bx, .scene-build .img,
    .bchip, .live-badge, .grow-new, .rev-bubble { opacity: 1 !important; }
    .rev-cursor, .rev-ripple, .confetti { display: none !important; }
}

/* Animated progress / score bars */
.bar-fill { width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1) var(--d, .2s); }
.in-view .bar-fill { width: var(--w, 60%); }

/* Floating ornaments */
.float-a { animation: float-y 7s ease-in-out infinite; }
.float-b { animation: float-y 9s ease-in-out 1.1s infinite; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .float-a,.float-b { animation: none; } }

/* Looping benefit badges around the hero browser.
   Each deck stacks N cards in one spot; they fade in/out one at a time. */
.badge-deck {
    position: absolute; z-index: 5; width: 17rem; height: 4.9rem;
    pointer-events: none; filter: drop-shadow(var(--soft-shadow));
}
.badge-deck--tl { left: -1.5rem;  top: -1.75rem; }
.badge-deck--tr { right: -1.25rem; top: -1.75rem; }
.badge-deck--bl { left: -1.5rem;  bottom: 2.25rem; }
.badge-deck--br { right: -1.25rem; bottom: 2.25rem; }
.badge-card {
    position: absolute; inset: 0;
    display: flex; align-items: center; gap: .8rem;
    padding: .9rem 1.05rem;
    /* Dark ink card (both themes) so the badges pop against the light hero */
    background: #211a31; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.15rem;
    opacity: 0; will-change: opacity, transform;
    /* 4.6s per card → ~37s full loop (8 cards, one at a time): slow, calm rotation */
    animation: badge-cycle calc(var(--n, 8) * 4.6s) ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 4.6s);
}
.badge-ico {
    display: grid; place-items: center; flex: none;
    height: 2.5rem; width: 2.5rem; border-radius: 9999px;
}
.badge-t { font-size: .8rem; font-weight: 600; line-height: 1.2; }
.badge-s { font-size: .72rem; line-height: 1.25; margin-top: .1rem; }
/* Light text + bright accents on the dark card (override the t-ink/t-muted utilities) */
.badge-card .badge-t { color: #ffffff; }
.badge-card .badge-s { color: rgba(255, 255, 255, .64); }
.badge-deck--emerald .badge-ico { background: rgba(52, 211, 153, .16); color: #34d399; }
.badge-deck--coral   .badge-ico { background: rgba(255, 125, 99, .18); color: #ff8a73; }
/* 8 cards share one timeline (--n:8), each owning a 12.5% slot so exactly one badge
   is visible at any moment. Each rests at its own (--ox,--oy) and drifts THROUGH that
   spot: fades in from (+dx,+dy), holds, fades out the opposite way (-dx,-dy). */
@keyframes badge-cycle {
    0%    { opacity: 0; transform: translate(calc(var(--ox, 0px) + var(--dx, 0px)), calc(var(--oy, 0px) + var(--dy, 0px))) scale(.95); }
    2%    { opacity: 1; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(1); }
    10%   { opacity: 1; transform: translate(var(--ox, 0px), var(--oy, 0px)) scale(1); }
    12.5% { opacity: 0; transform: translate(calc(var(--ox, 0px) - var(--dx, 0px)), calc(var(--oy, 0px) - var(--dy, 0px))) scale(.97); }
    100%  { opacity: 0; transform: translate(calc(var(--ox, 0px) - var(--dx, 0px)), calc(var(--oy, 0px) - var(--dy, 0px))) scale(.97); }
}
/* Reduced motion: keep the rotation, but as a plain opacity cross-fade with no
   drift or scale (gentle opacity change is reduced-motion-safe). */
@keyframes badge-fade {
    0%, 12.5%, 100% { opacity: 0; }
    2%, 10%         { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    /* Inherit duration/delay/stagger from the base rule; only swap the keyframe
       to the no-drift fade and pin each card at its resting offset. */
    .badge-card {
        transform: translate(var(--ox, 0px), var(--oy, 0px));
        animation-name: badge-fade;
    }
}

/* Pulsing status dot */
.pulse-dot { position: relative; }
.pulse-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 9999px;
    border: 2px solid currentColor; opacity: .5;
    animation: pulse-ring 2s cubic-bezier(.2,.6,.4,1) infinite;
}
@keyframes pulse-ring { 0% { transform: scale(.6); opacity: .6; } 80%,100% { transform: scale(1.4); opacity: 0; } }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.hero-stage .t-muted { color: var(--iris); }
.hero-stage .marquee-track [data-lucide] { color: var(--color-iris-600, #475569); }

/* Mono caret for live URL preview */
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: text-bottom; background: var(--coral); animation: caret-blink 1.05s steps(2,start) infinite; }
@keyframes caret-blink { to { visibility: hidden; } }

/* Confetti */
.confetti-piece { position: absolute; width: 8px; height: 13px; top: -14px; border-radius: 2px; animation: confetti-fall var(--dur, 2.6s) cubic-bezier(.25,.8,.5,1) forwards; pointer-events: none; }
@keyframes confetti-fall { to { transform: translateY(var(--fall, 380px)) rotate(var(--spin, 540deg)); opacity: 0; } }

/* Sticky mobile CTA */
#mobile-cta { transform: translateY(130%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
#mobile-cta.visible { transform: translateY(0); }

/* Theme toggle knob */
.theme-toggle i { transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s ease; }

[x-cloak] { display: none !important; }

/* Tab underline (segmented control) */
.seg-active { position: relative; }

/* ── Rich "after" mockup (real-site look: nav + image hero + checklist + CTA) ── */
.mini-pro{ background:#fff; color:#1e293b; font-family:"Inter",Arial,sans-serif; display:flex; flex-direction:column; }
.mini-pro .mp-top{ display:flex; align-items:center; justify-content:space-between; padding:12px 28px; border-bottom:1px solid #eef1f4; }
.mini-pro .mp-logo{ display:flex; align-items:center; gap:7px; }
.mini-pro .mp-logo i{ width:15px; height:15px; border-radius:5px; background:linear-gradient(135deg,#334155,#f74e30); display:block; }
.mini-pro .mp-logo b{ width:48px; height:7px; border-radius:4px; background:#cbd5e1; display:block; }
.mini-pro .mp-nav{ display:flex; gap:13px; font-size:9.5px; color:#64748b; font-weight:600; }
.mini-pro .mp-cta{ background:#f74e30; color:#fff; font-size:9.5px; font-weight:700; padding:6px 13px; border-radius:9999px; }
.mini-pro .mp-hero{ display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:20px 28px; align-items:center; align-content:center; flex:1 1 auto; }
.mini-pro .mp-photo{ height:132px; border-radius:12px; background-size:cover; background-position:center; border:1px solid #e2e8f0; }
.mini-pro .mp-thumbs{ display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:6px; }
.mini-pro .mp-thumbs div{ height:36px; border-radius:8px; background-size:cover; background-position:center; border:1px solid #e8eaee; }
.mini-pro .mp-eyebrow{ display:inline-block; font-size:8.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#475569; background:#eef2f6; padding:3px 9px; border-radius:999px; }
.mini-pro .mp-h{ font-family:"Bricolage Grotesque","Inter",sans-serif; font-size:19px; font-weight:800; letter-spacing:-.03em; line-height:1.08; margin-top:9px; color:#0f172a; }
.mini-pro .mp-h em{ font-style:normal; color:#f74e30; }
.mini-pro .mp-p{ font-size:9.5px; color:#57606e; margin-top:7px; line-height:1.5; }
.mini-pro .mp-check{ margin-top:10px; display:flex; flex-direction:column; gap:5px; }
.mini-pro .mp-check span{ display:flex; align-items:center; gap:7px; font-size:9px; color:#334155; font-weight:500; }
.mini-pro .mp-check span::before{ content:"✓"; display:grid; place-items:center; width:13px; height:13px; border-radius:4px; background:#e7f3ec; color:#16a34a; font-size:8px; font-weight:800; flex:none; }
.mini-pro .mp-btn{ display:inline-block; margin-top:12px; background:#f74e30; color:#fff; font-size:9.5px; font-weight:700; padding:7px 14px; border-radius:9999px; }
@media (max-width:520px){ .mini-pro .mp-top{ padding:11px 18px } .mini-pro .mp-hero{ grid-template-columns:1fr; padding:16px 18px; } .mini-pro .mp-photo{ height:96px } }
/* Desktop only: center the mockup content as a block (wider equal margins) */
@media (min-width:1024px){ .mini-pro .mp-top{ padding:12px 8% } .mini-pro .mp-hero{ padding:20px 8% } }

/* ── Rotating sector hero: crossfade café → flower shop → salon → bistro (12s each) ── */
.hero-stage{ position:relative; isolation:isolate; }
.hero-slides{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-slides .hslide{ position:absolute; inset:0; overflow:hidden; opacity:0; animation:heroCf 96s infinite; will-change:opacity; }
.hero-slides .hslide picture{ position:absolute; inset:0; display:block; }
.hero-slides .hslide img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
@media (max-width:767px){ .hero-slides .hslide img{ object-position:right bottom; } }
.hero-slides .hslide:nth-child(2){ animation-delay:12s }
.hero-slides .hslide:nth-child(3){ animation-delay:24s }
.hero-slides .hslide:nth-child(4){ animation-delay:36s }
.hero-slides .hslide:nth-child(5){ animation-delay:48s }
.hero-slides .hslide:nth-child(6){ animation-delay:60s }
.hero-slides .hslide:nth-child(7){ animation-delay:72s }
.hero-slides .hslide:nth-child(8){ animation-delay:84s }
@keyframes heroCf{ 0%{opacity:0} 1.7%{opacity:1} 12.5%{opacity:1} 14.5%{opacity:0} 100%{opacity:0} }
.hero-scrim{ position:absolute; inset:0; background:linear-gradient(100deg, rgba(246,244,239,.95) 0%, rgba(246,244,239,.82) 40%, rgba(246,244,239,.58) 72%, rgba(246,244,239,.44) 100%); }
.dark .hero-scrim{ background:linear-gradient(100deg, rgba(16,13,24,.95) 0%, rgba(16,13,24,.82) 42%, rgba(16,13,24,.55) 100%); }
.hero-stage > *:not(.hero-slides){ position:relative; z-index:2; }
.hero-stage .blob, .hero-stage .aura{ display:none; }
@media (prefers-reduced-motion: reduce){ .hero-slides .hslide{ animation:none } .hero-slides .hslide:nth-child(1){ opacity:1 } }

/* ── Hero trust badges: glassy pill so they read over the rotating photos ── */
.hero-badge{ display:inline-flex; align-items:center; gap:.5rem; padding:.45rem .9rem; border-radius:9999px; font-size:.875rem; font-weight:600; color:#334155; background:rgba(255,255,255,.74); border:1px solid rgba(255,255,255,.9); box-shadow:0 6px 22px rgba(100,116,139,.22), 0 0 0 1px rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.7); -webkit-backdrop-filter:blur(8px) saturate(1.1); backdrop-filter:blur(8px) saturate(1.1); }
.hero-badge i{ color:#64748b; }
.dark .hero-badge{ color:#e6eaf0; background:rgba(24,30,46,.55); border-color:rgba(255,255,255,.14); box-shadow:0 6px 22px rgba(0,0,0,.40), 0 0 18px rgba(148,163,184,.10), inset 0 1px 0 rgba(255,255,255,.06); }
.dark .hero-badge i{ color:#a7b2c4; }

/* ============================================================================
   Ad landing pages (/lp/{sector}) — focused, self-contained layout.
   Custom classes (NOT Tailwind-purged) so the lander renders regardless of the
   precompiled utility set.
   ========================================================================== */
.lp-section{ padding-block:3.5rem; }
@media (min-width:768px){ .lp-section{ padding-block:5rem; } }
.lp-wrap{ max-width:72rem; margin-inline:auto; padding-inline:1rem; }
@media (min-width:640px){ .lp-wrap{ padding-inline:1.5rem; } }

/* hero: form-first on mobile, two columns on desktop */
.lp-hero{ display:grid; gap:2.25rem; align-items:center; }
@media (min-width:960px){ .lp-hero{ grid-template-columns:1.05fr .95fr; gap:3rem; } }
.lp-eyebrow{ display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase; color:var(--iris-600,#6c47ff); }
.lp-h1{ margin-top:.75rem; font-family:var(--font-display,'Bricolage Grotesque',sans-serif);
  font-weight:800; line-height:1.06; letter-spacing:-.02em; font-size:clamp(1.9rem,4.6vw,3rem); }
.lp-sub{ margin-top:1rem; font-size:1.075rem; line-height:1.6; max-width:34rem; }
.lp-chips{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.25rem; }
.lp-chip{ display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .8rem; border-radius:9999px;
  font-size:.8rem; font-weight:600; }
.lp-chip i{ width:1rem; height:1rem; color:#16a34a; }

/* lead-form card */
.lp-card{ border-radius:1.25rem; padding:1.5rem; }
@media (min-width:640px){ .lp-card{ padding:1.75rem; } }
.lp-card h2{ font-family:var(--font-display,'Bricolage Grotesque',sans-serif); font-weight:800;
  font-size:1.35rem; line-height:1.2; }
.lp-field{ width:100%; border-radius:9999px; padding:.85rem 1.15rem; font-size:.95rem;
  border:1px solid var(--bdr,#e2e8f0); background:var(--surface,#fff); color:inherit; outline:none;
  transition:border-color .15s, box-shadow .15s; }
.lp-field:focus{ border-color:var(--iris-400,#9d7bff); box-shadow:0 0 0 4px rgba(108,71,255,.18); }
.lp-field.mono{ font-family:var(--font-mono,'JetBrains Mono',monospace); }
.lp-paynote{ margin-top:.85rem; font-size:.78rem; text-align:center; }

/* hero visual: a browser-framed modern mockup (reuses .browser + .mini-pro) */
.lp-visual{ position:relative; }
.lp-visual .browser{ box-shadow:var(--soft-shadow); }
.lp-visual .lp-cap{ margin-top:.75rem; text-align:center; font-size:.75rem; }

/* responsive auto card grids (benefits / steps / reviews) */
.lp-grid{ display:grid; gap:1rem; grid-template-columns:1fr; margin-top:2.25rem; }
@media (min-width:760px){ .lp-grid{ grid-template-columns:repeat(3,1fr); } }
.lp-tile{ border-radius:1rem; padding:1.25rem; height:100%; }
.lp-tile .ic{ display:grid; place-items:center; width:2.5rem; height:2.5rem; border-radius:.75rem;
  background:rgba(108,71,255,.12); color:var(--iris-600,#6c47ff); margin-bottom:.85rem; }
.lp-tile .ic i{ width:1.25rem; height:1.25rem; }
.lp-tile h3{ font-weight:700; font-size:1rem; }
.lp-tile p{ margin-top:.3rem; font-size:.9rem; line-height:1.55; }
.lp-step-n{ font-family:var(--font-mono,monospace); font-weight:700; font-size:.8rem;
  color:var(--iris-600,#6c47ff); }
.lp-review p{ font-size:.95rem; line-height:1.6; }
.lp-review cite{ display:block; margin-top:.75rem; font-style:normal; font-weight:600; font-size:.82rem; }
.lp-review .stars{ color:#f59e0b; font-size:.85rem; letter-spacing:.1em; }

/* section heads */
.lp-head{ text-align:center; max-width:40rem; margin-inline:auto; }
.lp-head h2{ font-family:var(--font-display,'Bricolage Grotesque',sans-serif); font-weight:800;
  font-size:clamp(1.5rem,3vw,2rem); line-height:1.15; letter-spacing:-.01em; }

/* FAQ (native details/summary) */
.lp-faq{ max-width:44rem; margin:2rem auto 0; }
.lp-faq details{ border:1px solid var(--bdr,#e2e8f0); border-radius:.9rem; padding:.25rem .25rem;
  margin-bottom:.6rem; background:var(--surface,#fff); }
.lp-faq summary{ list-style:none; cursor:pointer; padding:.95rem 1.1rem; font-weight:600;
  display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.lp-faq summary::-webkit-details-marker{ display:none; }
.lp-faq summary::after{ content:'+'; font-size:1.2rem; color:var(--iris-600,#6c47ff); line-height:1; }
.lp-faq details[open] summary::after{ content:'\2212'; }
.lp-faq .a{ padding:0 1.1rem 1.05rem; font-size:.92rem; line-height:1.6; }

/* final CTA band */
.lp-final{ text-align:center; }
.lp-final h2{ font-family:var(--font-display,'Bricolage Grotesque',sans-serif); font-weight:800;
  font-size:clamp(1.6rem,3.4vw,2.25rem); line-height:1.12; }
