/* =============================================================================
   USA Lab Image — Futuristic public landing + pricing styles
   Self-contained. Loaded only on landing/pricing pages.
   ============================================================================= */

:root {
    --lx-bg: #05060b;
    --lx-bg-soft: #0a0b14;
    --lx-panel: rgba(255, 255, 255, 0.04);
    --lx-border: rgba(255, 255, 255, 0.09);
    --lx-text: #eef0f8;
    --lx-muted: #9aa0b5;
    --lx-primary: #6366f1;
    --lx-cyan: #22d3ee;
    --lx-violet: #a855f7;
    --lx-grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
    --lx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent; }
.lx-body::-webkit-scrollbar { width: 8px; }
.lx-body::-webkit-scrollbar-track { background: transparent; }
.lx-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
.lx-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

.lx-body {
    margin: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.28), transparent 38%),
        var(--lx-bg);
    color: var(--lx-text);
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

/* Ambient animated background */
.lx-aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.lx-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    animation: lx-float 18s var(--lx-ease) infinite alternate;
}
.lx-aurora span:nth-child(1) { width: 520px; height: 520px; top: -160px; left: -120px; background: #6366f1; }
.lx-aurora span:nth-child(2) { width: 460px; height: 460px; top: 10%; right: -140px; background: #a855f7; animation-delay: -4s; }
.lx-aurora span:nth-child(3) { width: 420px; height: 420px; bottom: -160px; left: 30%; background: #22d3ee; animation-delay: -9s; }

@keyframes lx-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(40px, 60px, 0) scale(1.15); }
}

/* Grid overlay */
.lx-grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.lx-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Nav -------------------------------------------------------------- */
.lx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}
.lx-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    max-width: none;
}
.lx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    color: var(--lx-text);
    text-decoration: none;
}
.lx-nav .lx-brand,
.lx-nav-links {
    position: relative;
    padding: 14px 26px;
}
.lx-nav .lx-brand::before,
.lx-nav-links::before {
    content: "";
    position: absolute;
    inset: -6px -10px;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}
.lx-brand img {
    height: 46px;
    width: auto;
    border-radius: 8px;
}
.lx-footer .lx-brand img {
    height: 40px;
    border-radius: 10px;
}
.lx-drawer .lx-brand img {
    background: transparent;
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
}
.lx-brand b {
    background: var(--lx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lx-nav-links { display: flex; align-items: center; gap: 12px; }
.lx-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 760;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    transition: color 180ms var(--lx-ease), background 180ms var(--lx-ease);
}
.lx-nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.lx-nav .lx-btn { border-radius: 999px; padding: 10px 18px; }
.lx-nav .lx-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(14px); }
.lx-nav .lx-btn-ghost:hover { background: rgba(255, 255, 255, 0.13); }
.lx-nav .lx-btn-primary { color: #111827; background: #fff; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12); }
.lx-nav .lx-btn-primary:hover { background: #f8fafc; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18); }
/* Hamburger toggle (mobile only) */
.lx-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: background 180ms var(--lx-ease);
}
.lx-nav-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.lx-nav-toggle .material-symbols-outlined { font-size: 26px; }

/* Mobile drawer */
.lx-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(3, 4, 9, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms var(--lx-ease), visibility 260ms var(--lx-ease);
}
.lx-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    height: 100dvh;
    width: min(88vw, 340px);
    background: #0a0b12;
    border-left: 1px solid var(--lx-border);
    box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 320ms var(--lx-ease);
    display: flex;
    flex-direction: column;
    padding: 18px;
}
.lx-drawer.is-open { transform: translateX(0); }
.lx-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.lx-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--lx-border);
}
.lx-drawer-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--lx-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--lx-text);
    cursor: pointer;
}
.lx-drawer-close:hover { background: rgba(255, 255, 255, 0.1); }
.lx-drawer-links { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.lx-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 11px;
    color: var(--lx-text);
    text-decoration: none;
    font-weight: 650;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-drawer-link:last-child { border-bottom: none; }
.lx-drawer-link .material-symbols-outlined { color: var(--lx-primary); font-size: 22px; }
.lx-drawer-link:hover { background: rgba(255, 255, 255, 0.05); color: var(--lx-cyan); }
.lx-drawer-link:hover .material-symbols-outlined { color: var(--lx-cyan); }
.lx-drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.lx-drawer-actions .lx-btn { width: 100%; }

/* ---- Buttons ---------------------------------------------------------- */
.lx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 180ms var(--lx-ease), box-shadow 220ms var(--lx-ease), background 220ms var(--lx-ease), border-color 180ms var(--lx-ease);
    white-space: nowrap;
}
.lx-btn-ghost {
    color: var(--lx-text);
    border-color: var(--lx-border);
    background: rgba(255, 255, 255, 0.03);
}
.lx-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.lx-btn-primary {
    color: #fff;
    background: var(--lx-grad);
    background-size: 160% 160%;
    background-position: 0% 50%;
    box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.7);
}
.lx-btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(139, 92, 246, 0.85);
}
.lx-btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 14px; }

/* ---- Hero ------------------------------------------------------------- */
.lx-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    padding: 116px 0 70px;
    background:
        radial-gradient(circle at 48% 8%, rgba(168, 85, 247, 0.45), transparent 30%),
        radial-gradient(circle at 20% 8%, rgba(99, 102, 241, 0.45), transparent 32%),
        radial-gradient(circle at 82% 26%, rgba(34, 211, 238, 0.3), transparent 30%),
        linear-gradient(180deg, rgba(7, 8, 18, 0.05) 0%, rgba(5, 6, 11, 0.55) 58%, #05060b 100%),
        linear-gradient(120deg, #151036 0%, #531f79 42%, #0d6b85 100%);
}
.lx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
        linear-gradient(to bottom, transparent 0%, rgba(5, 6, 11, 0.25) 62%, #05060b 100%);
    background-size: 3px 3px, auto;
    opacity: 0.3;
    pointer-events: none;
}
.lx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.32;
    mix-blend-mode: overlay;
    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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}
.lx-hero-inner { max-width: min(820px, 100%); min-width: 0; position: relative; z-index: 1; }
.lx-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--lx-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--lx-muted);
    font-size: 12.5px;
    font-weight: 650;
    margin-bottom: 26px;
}
.lx-badge b { color: var(--lx-cyan); font-weight: 800; }
.lx-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 0 18px;
    text-wrap: balance;
    max-width: 100%;
    overflow-wrap: normal;
    min-height: calc(2 * 1.08em);
}
.lx-hero h1 .lx-grad-text {
    background: var(--lx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lx-type-caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    margin-left: 6px;
    background: #fff;
    border-radius: 1px;
    vertical-align: -0.08em;
    animation: lx-caret-blink 1s steps(1) infinite;
}
@keyframes lx-caret-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
.lx-hero p.lx-sub {
    max-width: 520px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 650;
}
.lx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.lx-hero-note { margin-top: 18px; color: var(--lx-muted); font-size: 13px; }
.lx-prompt-box {
    position: relative;
    width: min(100%, 720px);
    max-width: 100%;
    min-height: 106px;
    margin: 64px auto 0;
    padding: 22px;
    border-radius: 18px;
    background: rgba(9, 10, 18, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 90px rgba(99, 102, 241, 0.35), 0 0 140px rgba(168, 85, 247, 0.22);
    backdrop-filter: blur(18px);
    text-align: left;
    animation: lx-prompt-glow 1.6s ease-in-out infinite;
}
/* Live rotating conic-gradient border ring */
@property --lx-border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.lx-prompt-box::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    padding: 1.5px;
    pointer-events: none;
    z-index: 1;
    background: conic-gradient(
        from var(--lx-border-angle),
        transparent 0%,
        #6366f1 3%,
        #a855f7 6%,
        transparent 12%,
        transparent 50%,
        #22d3ee 53%,
        #6366f1 56%,
        transparent 62%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: lx-border-spin 4s linear infinite;
}
@keyframes lx-border-spin {
    to { --lx-border-angle: 360deg; }
}
@keyframes lx-prompt-glow {
    0% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 70px rgba(99, 102, 241, 0.25), 0 0 120px rgba(168, 85, 247, 0.16); }
    14% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 120px rgba(99, 102, 241, 0.55), 0 0 175px rgba(168, 85, 247, 0.4); }
    28% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 80px rgba(99, 102, 241, 0.3), 0 0 130px rgba(168, 85, 247, 0.2); }
    42% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 110px rgba(99, 102, 241, 0.5), 0 0 165px rgba(168, 85, 247, 0.34); }
    60%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24), 0 0 70px rgba(99, 102, 241, 0.25), 0 0 120px rgba(168, 85, 247, 0.16); }
}
.lx-prompt-box textarea {
    display: block;
    width: 100%;
    min-height: 28px;
    max-height: 220px;
    overflow-y: auto;
    resize: none;
    border: 0;
    outline: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15.5px;
    font-weight: 500;
    margin-bottom: 18px;
    font-family: inherit;
    line-height: 1.55;
}
.lx-prompt-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.48);
    font-weight: 500;
}
/* Textarea wrap: clear button on first row far right + minimal scrollbar */
.lx-textarea-wrap { position: relative; }
.lx-textarea-wrap textarea {
    width: calc(100% + 14px);
    margin-right: -14px;
    padding-right: 44px;
}
.lx-clear-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: color 140ms ease, background 140ms ease;
}
.lx-clear-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.lx-clear-btn .material-symbols-outlined { font-size: 18px; }
.lx-clear-btn[hidden] { display: none !important; }
.lx-prompt-box textarea::-webkit-scrollbar { width: 3px; height: 3px; }
.lx-prompt-box textarea::-webkit-scrollbar-button { display: none; width: 0; height: 0; background: transparent; }
.lx-prompt-box textarea::-webkit-scrollbar-track { background: transparent; }
.lx-prompt-box textarea::-webkit-scrollbar-corner { background: transparent; }
.lx-prompt-box textarea::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}
@supports not selector(::-webkit-scrollbar) {
    .lx-prompt-box textarea {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
    }
}
.lx-prompt-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.lx-prompt-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lx-prompt-submit { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lx-char-count { font-size: 12px; font-weight: 700; color: var(--lx-muted); white-space: nowrap; }
.lx-prompt-tools button:not(.lx-popover button),
.lx-prompt-create {
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}
.lx-prompt-tools button:not(.lx-popover button) { height: 34px; }
.lx-prompt-mic {
    width: 34px;
    background: rgba(255, 255, 255, 0.1);
}
.lx-prompt-mic:hover { background: rgba(255, 255, 255, 0.18); }
.lx-prompt-advanced { padding: 0 13px; background: rgba(255, 255, 255, 0.1); }
.lx-prompt-advanced:hover { background: rgba(255, 255, 255, 0.18); }
.lx-prompt-toggle,
.lx-prompt-surprise { width: 34px; background: rgba(255, 255, 255, 0.1); }
.lx-prompt-surprise:hover { background: rgba(255, 255, 255, 0.18); }
.lx-prompt-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: var(--lx-muted);
}
.lx-prompt-toggle[aria-checked="true"] {
    background: var(--lx-grad);
    border-color: transparent !important;
    color: #fff;
}
.lx-prompt-create {
    padding: 0 18px;
    min-width: max-content;
    background: var(--lx-grad);
    box-shadow: 0 14px 34px -16px rgba(99, 102, 241, 0.9);
}
.lx-prompt-actions .material-symbols-outlined { font-size: 19px; }
.lx-prompt-tools .material-symbols-outlined:not(.lx-popover *) { font-size: 18px; }
.lx-prompt-mic.is-listening {
    background: #ef4444 !important;
    color: #fff;
    animation: lx-mic-pulse 1.4s ease-in-out infinite;
}
@keyframes lx-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}
.lx-mic-hint {
    margin: 10px 2px 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--lx-muted);
}
.lx-mic-hint.is-error { color: #f87171; }

/* ---- Advanced popover ------------------------------------------------- */
.lx-advanced-wrap { position: relative; }
.lx-popover {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    z-index: 40;
    width: 300px;
    max-width: calc(100vw - 40px);
    padding: 12px;
    border-radius: 16px;
    background: #121121;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
    text-align: left;
    animation: lx-pop-in 160ms var(--lx-ease);
}
.lx-popover[hidden] { display: none; }
.lx-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 28px;
    border: 7px solid transparent;
    border-top-color: #121121;
}
@keyframes lx-pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lx-pop-tabs {
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}
.lx-pop-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lx-muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-pop-tab .material-symbols-outlined { font-size: 18px; }
.lx-pop-tab.is-active { background: #fff; color: #111; }
.lx-ratio-group {
    display: flex;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.lx-ratio {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 55px;
    padding: 10px 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lx-muted);
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-ratio-ico {
    flex: 0 0 auto;
    display: block;
    border: 2px solid currentColor;
    border-radius: 3px;
}
.lx-ratio-label { font-size: 11.5px; line-height: 1; }
.lx-ratio:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 12px; }
.lx-ratio.is-active { background: rgba(255, 255, 255, 0.16); color: #fff; border-radius: 12px; }

/* Per-button hooks — customize individually without affecting others */
.lx-ratio--169 {}
.lx-ratio--43 {}
.lx-ratio--11 {}
.lx-ratio--34 {}
.lx-ratio--916 {}
.lx-pop-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 12px 0; }
.lx-pop-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lx-pop-row:last-child { margin-bottom: 0; }
.lx-pop-row-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #cdd2e6; }
.lx-pop-row-label[data-tip] {
    position: relative;
    cursor: help;
}
.lx-pop-row-label[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    transform: translateY(4px);
    width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #05060b;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e5e7eb;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms var(--lx-ease), transform 160ms var(--lx-ease);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.lx-pop-row-label[data-tip]:hover::after, .lx-pop-row-label[data-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(0); }
.lx-pop-row-full { display: block; }
.lx-select { position: relative; width: 100%; }
.lx-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 160ms var(--lx-ease), border-color 160ms var(--lx-ease);
}
.lx-select-btn:hover { background: rgba(255, 255, 255, 0.1); }
.lx-select.is-open .lx-select-btn { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); }
.lx-select-value { flex: 1 1 auto; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-select-arrow { flex: 0 0 auto; margin-left: auto; font-size: 20px; color: #cdd2e6; }
.lx-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 12px;
    background: #1a1930;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.lx-select-opt {
    padding: 9px 12px;
    border-radius: 12px;
    color: #cdd2e6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 140ms var(--lx-ease), color 140ms var(--lx-ease);
}
.lx-select-opt:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lx-select-opt.is-active { background: var(--lx-grad); color: #fff; }
.lx-pop-seg {
    display: inline-flex;
    padding: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    gap: 2px;
}
.lx-pop-seg-item {
    border: 0;
    padding: 5px 10px;
    border-radius: 9px;
    background: transparent;
    color: var(--lx-muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-pop-seg-item.is-active { background: var(--lx-grad); color: #fff; }
@media (max-width: 560px) {
    .lx-popover { width: 280px; }
}

/* ---- Advanced modal --------------------------------------------------- */
.lx-scroll-locked, .lx-scroll-locked body { overflow: hidden !important; }

/* ---- Image skeleton loading ------------------------------------------ */
img.lx-skel:not(.is-loaded) {
    /* A transparent pixel is set as src until preloaded, so only the shimmer shows. */
    background-color: #14161d;
    background-image: linear-gradient(100deg, #14161d 20%, #242733 40%, #242733 60%, #14161d 80%);
    background-size: 220% 100%;
    background-repeat: no-repeat;
    animation: lx-skel-shimmer 1.3s ease-in-out infinite;
}
img.lx-skel.is-loaded {
    background-image: none;
    animation: lx-skel-reveal 420ms var(--lx-ease);
}
@keyframes lx-skel-shimmer {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}
@keyframes lx-skel-reveal {
    from { opacity: 0.35; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    img.lx-skel:not(.is-loaded), img.lx-skel.is-loaded { animation: none; }
}

/* ---- Hero inline generation ------------------------------------------- */
.lx-generation-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: min(960px, 92vw);
    max-width: 100%;
    margin: 0 auto;
}
.lx-hero.is-generating .lx-generation-stage {
    display: flex;
    animation: lx-gen-stage-in 620ms var(--lx-ease) 120ms both;
}
@keyframes lx-gen-stage-in {
    from { opacity: 0; transform: translateY(80px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
/* While generating, let the side-art columns overflow the hero's bottom edge so
   the lowest cards can spill over the next section instead of being clipped.
   The clip-path keeps the TOP (and sides) cut exactly as before, while the
   negative bottom inset frees ~800px below the hero. A raised z-index makes the
   overflowing art paint above the following section. */
.lx-hero.is-generating {
    overflow: visible;
    /* Neutralize the asymmetric nav padding so the generation frame centers in
       the true vertical middle of the viewport instead of sitting low. */
    padding-top: 70px;
    /* Keep the TOP cut (0), but allow the sides and bottom to overflow so the
       side-art cards can slide off-screen horizontally and the lowest cards can
       spill over the next section instead of being clipped. */
    clip-path: inset(0 -100vw -800px -100vw);
    z-index: 5;
}
.lx-gen-image[hidden],
.lx-gen-error[hidden],
.lx-gen-actions[hidden] { display: none !important; }
.lx-hero.is-generating .lx-hero-art {
    pointer-events: none;
}
.lx-hero.is-generating .lx-hero-art-left,
.lx-hero.is-generating .lx-hero-art-left-back {
    animation: lx-slide-out-left 620ms var(--lx-ease) forwards;
}
.lx-hero.is-generating .lx-hero-art-right,
.lx-hero.is-generating .lx-hero-art-right-back {
    animation: lx-slide-out-right 620ms var(--lx-ease) forwards;
}
@keyframes lx-slide-out-left {
    from { transform: translateX(0) rotate(-8deg); }
    to { transform: translateX(-135vw) rotate(-12deg); }
}
@keyframes lx-slide-out-right {
    from { transform: translateX(0) rotate(7deg); }
    to { transform: translateX(135vw) rotate(12deg); }
}
.lx-gen-side {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    pointer-events: none;
    transition: transform 700ms var(--lx-ease) 560ms;
}
.lx-gen-side-left { left: 2vw; transform: translateX(-160%); }
.lx-gen-side-right { right: 2vw; transform: translateX(160%); }
.lx-hero.is-generating .lx-gen-side-left,
.lx-hero.is-generating .lx-gen-side-right { transform: translateX(0); }
.lx-gen-art {
    filter: blur(2px);
    transition: filter 300ms var(--lx-ease);
}
.lx-gen-side-left .lx-gen-art { transform: rotate(-8deg); animation: lx-float-left 6.5s ease-in-out infinite; }
.lx-gen-side-right .lx-gen-art { transform: rotate(7deg); animation: lx-float-right 7.5s ease-in-out infinite; }
.lx-gen-side-left .lx-gen-art:nth-child(2) { animation: lx-float-left-back 8s ease-in-out infinite; }
.lx-gen-side-right .lx-gen-art:nth-child(2) { animation: lx-float-right-back 7s ease-in-out infinite; }
.lx-gen-side-left .lx-gen-art:nth-child(3) { animation: lx-float-left 7.2s ease-in-out infinite; animation-delay: 0.4s; }
.lx-gen-side-right .lx-gen-art:nth-child(3) { animation: lx-float-right 6.8s ease-in-out infinite; animation-delay: 0.4s; }
.lx-gen-art:hover { filter: blur(0); z-index: 3; }
.lx-gen-side .lx-hero-art-media {
    position: relative;
    display: block;
    width: clamp(120px, 12vw, 176px);
    pointer-events: auto;
    transition: transform 300ms var(--lx-ease);
}
.lx-gen-art:hover .lx-hero-art-media { transform: scale(1.08); }
.lx-gen-side .lx-hero-art-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    object-fit: cover;
    border-radius: 12px;
    background: #0a0b14;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.lx-gen-side .lx-image-play { top: 8px; left: 8px; font-size: 15px; }
.lx-gen-side .lx-image-stats { left: 8px; bottom: 8px; gap: 5px; }
.lx-gen-side .lx-image-stats > span { height: 20px; padding: 0 6px; border-radius: 5px; font-size: 9px; gap: 3px; }
.lx-gen-side .lx-image-stats .material-symbols-outlined { font-size: 11px; }
.lx-hero.is-generating .lx-hero-inner { width: min(960px, 92vw); max-width: 92vw; }
.lx-hero.is-generating .lx-hero-inner > :not(.lx-generation-stage) { display: none; }
.lx-gen-frame {
    position: relative;
    /* Width follows the chosen aspect ratio: capped by both the container
       width and 82svh of height, so portrait ratios (e.g. 9:16) shrink the
       frame horizontally instead of letterboxing inside a wide box. */
    width: min(100%, calc(82svh * (var(--gen-ratio, 1))));
    max-width: min(960px, 92vw);
    aspect-ratio: var(--gen-ratio, 1 / 1);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
    background: #2b2f36;
}
.lx-gen-loader {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #14171c;
    overflow: hidden;
}
.lx-gen-loader::before,
.lx-gen-loader::after {
    content: "";
    position: absolute;
    inset: -30%;
}
.lx-gen-loader::before {
    background:
        radial-gradient(circle at 30% 25%, rgba(150, 158, 170, 0.42), transparent 42%),
        radial-gradient(circle at 78% 60%, rgba(95, 104, 116, 0.4), transparent 44%),
        radial-gradient(circle at 20% 82%, rgba(185, 191, 200, 0.4), transparent 42%);
    animation: lx-gen-drift-a 3.5s ease-in-out infinite alternate;
}
.lx-gen-loader::after {
    background:
        radial-gradient(circle at 60% 28%, rgba(0, 0, 0, 0.85), transparent 46%),
        radial-gradient(circle at 15% 48%, rgba(0, 0, 0, 0.7), transparent 42%),
        radial-gradient(circle at 85% 88%, rgba(70, 78, 90, 0.4), transparent 44%);
    mix-blend-mode: normal;
    animation: lx-gen-drift-b 4.5s ease-in-out infinite alternate;
}
@keyframes lx-gen-drift-a {
    0%   { transform: translate(-8%, -6%) scale(1.15); }
    33%  { transform: translate(6%, 4%) scale(1.25); }
    66%  { transform: translate(-4%, 8%) scale(1.2); }
    100% { transform: translate(7%, -5%) scale(1.3); }
}
@keyframes lx-gen-drift-b {
    0%   { transform: translate(6%, 5%) scale(1.2); }
    40%  { transform: translate(-7%, -4%) scale(1.3); }
    75%  { transform: translate(4%, -7%) scale(1.15); }
    100% { transform: translate(-6%, 6%) scale(1.25); }
}
.lx-gen-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(5, 6, 11, 0.5);
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    backdrop-filter: blur(6px);
}
.lx-gen-frame:has(.lx-gen-error:not([hidden])) .lx-gen-icon { display: none; }
.lx-gen-percent {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.lx-gen-bottom {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}
.lx-gen-bottom > * { pointer-events: auto; }
.lx-gen-prompt[hidden] { display: none !important; }
.lx-gen-prompt {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px 7px 12px;
    border-radius: 9px;
    background: rgba(5, 6, 11, 0.55);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 200ms var(--lx-ease), transform 200ms var(--lx-ease);
}
.lx-gen-frame:hover .lx-gen-prompt,
.lx-gen-prompt.is-expanded { opacity: 1; transform: translateY(0); }
.lx-gen-prompt-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lx-gen-prompt.is-expanded .lx-gen-prompt-text {
    white-space: normal;
    overflow: visible;
    max-height: 40svh;
    overflow-y: auto;
}
.lx-gen-prompt-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 160ms var(--lx-ease);
}
.lx-gen-prompt-toggle:hover { opacity: 1; background: none; }
.lx-gen-prompt-toggle .material-symbols-outlined { font-size: 16px; transition: transform 200ms var(--lx-ease); }
.lx-gen-prompt.is-expanded .lx-gen-prompt-toggle .material-symbols-outlined { transform: rotate(180deg); }
.lx-gen-image {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a0b14;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 640ms var(--lx-ease), transform 640ms var(--lx-ease);
}
.lx-gen-image.is-loaded {
    opacity: 1;
    transform: scale(1);
}
.lx-gen-error {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 20px 22px;
    text-align: left;
    background: #191b1f;
    color: #e5e7eb;
}
.lx-gen-error-icon { font-size: 26px; color: #e5e7eb; }
.lx-gen-error-title { font-size: 15px; font-weight: 800; color: #fff; }
.lx-gen-error p { margin: 2px 0 0; max-width: min(560px, 92%); font-size: 14px; font-weight: 600; color: #c7ccd4; line-height: 1.5; }
.lx-gen-frame-actions {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    gap: 10px;
}
.lx-gen-frame-actions[hidden] { display: none !important; }
.lx-gen-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: rgba(5, 6, 11, 0.5);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-gen-fab:hover { background: rgba(5, 6, 11, 0.7); color: #fff; }
.lx-gen-fab .material-symbols-outlined { font-size: 20px; }
.lx-gen-fab[hidden] { display: none !important; }

.lx-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 4, 9, 0.72);
    backdrop-filter: blur(6px);
    animation: lx-modal-fade 180ms var(--lx-ease);
}
.lx-modal-backdrop[hidden] { display: none; }
@keyframes lx-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.lx-modal {
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 20px;
    background: #0c0d16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    text-align: left;
    animation: lx-modal-pop 200ms var(--lx-ease);
}
@keyframes lx-modal-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.lx-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lx-modal-head h2 { font-size: 18px; font-weight: 850; margin: 0; }
.lx-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 8px;
}
.lx-modal-body::-webkit-scrollbar { width: 8px; }
.lx-modal-body::-webkit-scrollbar-track { background: transparent; }
.lx-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}
.lx-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }
.lx-modal-body { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.14) transparent; }
.lx-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}
.lx-modal-close:hover { background: rgba(255, 255, 255, 0.16); }
.lx-modal-section { margin-bottom: 20px; }
.lx-modal-label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lx-muted); margin: 0 0 10px; }
.lx-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
}
.lx-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #cdd2e6;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: border-color 160ms var(--lx-ease), background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-chip-grid .lx-chip { padding: 9px 8px; border-radius: 10px; }
.lx-chip .material-symbols-outlined { font-size: 18px; }
.lx-chip:hover { border-color: rgba(255, 255, 255, 0.3); }
.lx-chip.is-active { border-color: transparent; background: var(--lx-grad); color: #fff; }
.lx-label-row { display: flex; align-items: center; gap: 6px; }
.lx-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 800;
    cursor: help;
    text-transform: none;
    letter-spacing: 0;
}
.lx-help::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #05060b;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e5e7eb;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms var(--lx-ease), transform 160ms var(--lx-ease);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.lx-help:hover::after, .lx-help:focus-visible::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.lx-soon-tag {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    color: #f59e0b;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}
.lx-modal-sliders { display: flex; flex-direction: column; gap: 16px; }
.lx-slider-field { display: block; }
.lx-slider-field .lx-modal-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lx-slider-field .lx-modal-label b { color: #fff; font-size: 13px; }
.lx-slider-field input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}
.lx-slider-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lx-primary);
    border: 2px solid #fff;
}
.lx-slider-field input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lx-primary);
    border: 2px solid #fff;
}
.lx-upload-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 26px 16px;
    border-radius: 14px;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    color: var(--lx-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.lx-upload-drop .material-symbols-outlined { font-size: 30px; }
.lx-upload-drop.is-disabled { opacity: 0.55; cursor: not-allowed; }
.lx-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lx-hero-art {
    position: absolute;
    z-index: 1;
    width: clamp(160px, 16vw, 232px);
    text-align: left;
    color: #fff;
}
.lx-hero-art img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    object-fit: cover;
    border-radius: 12px;
    background: #0a0b14;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}
.lx-hero-art h3 {
    margin: 12px 4px 4px;
    font-size: 14px;
    font-weight: 850;
}
.lx-hero-art p {
    margin: 0 4px 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11.5px;
    font-weight: 760;
}
.lx-hero-art .lx-image-play { top: 12px; left: 12px; }
.lx-hero-art .lx-image-play { top: 12px; left: 12px; }
.lx-hero-art .lx-image-stats { left: 12px; bottom: 12px; }
.lx-hero-art-left { left: 4vw; top: 24%; transform: rotate(-8deg); filter: blur(2.5px); }
.lx-hero-art-right { right: 4vw; top: 25%; transform: rotate(7deg); filter: blur(2.5px); }
.lx-hero-art-left-back { left: -2vw; top: 34%; transform: rotate(-13deg); z-index: 0; opacity: 0.9; filter: blur(2.5px) brightness(0.82); }
.lx-hero-art-right-back { right: -2vw; top: 35%; transform: rotate(12deg); z-index: 0; opacity: 0.9; filter: blur(2.5px) brightness(0.82); }
.lx-hero-art { transition: transform 640ms var(--lx-ease), filter 300ms var(--lx-ease), opacity 300ms var(--lx-ease); }
.lx-hero-art:hover {
    filter: none;
    opacity: 1;
    z-index: 3;
}
.lx-hero-art-media { position: relative; display: block; transition: transform 300ms var(--lx-ease); }
.lx-hero-art:hover .lx-hero-art-media { transform: scale(1.08); }
.lx-hero-art-left { animation: lx-card-in-left 950ms var(--lx-ease) 180ms both, lx-float-left 6.5s ease-in-out 1200ms infinite; }
.lx-hero-art-right { animation: lx-card-in-right 950ms var(--lx-ease) 260ms both, lx-float-right 7.5s ease-in-out 1300ms infinite; }
.lx-hero-art-left-back { animation: lx-card-in-left-back 950ms var(--lx-ease) 80ms both, lx-float-left-back 8s ease-in-out 1400ms infinite; }
.lx-hero-art-right-back { animation: lx-card-in-right-back 950ms var(--lx-ease) 160ms both, lx-float-right-back 7s ease-in-out 1500ms infinite; }
@keyframes lx-card-in-left {
    from { opacity: 0; transform: translateX(-120vw) rotate(-18deg) scale(0.92); }
    to { opacity: 1; transform: translateX(0) rotate(-8deg) scale(1); }
}
@keyframes lx-card-in-right {
    from { opacity: 0; transform: translateX(120vw) rotate(18deg) scale(0.92); }
    to { opacity: 1; transform: translateX(0) rotate(7deg) scale(1); }
}
@keyframes lx-card-in-left-back {
    from { opacity: 0; transform: translateX(-120vw) rotate(-22deg) scale(0.9); }
    to { opacity: 0.9; transform: translateX(0) rotate(-13deg) scale(1); }
}
@keyframes lx-card-in-right-back {
    from { opacity: 0; transform: translateX(120vw) rotate(22deg) scale(0.9); }
    to { opacity: 0.9; transform: translateX(0) rotate(12deg) scale(1); }
}
@keyframes lx-float-left {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-16px) rotate(-5.5deg); }
}
@keyframes lx-float-right {
    0%, 100% { transform: translateY(0) rotate(7deg); }
    50% { transform: translateY(-14px) rotate(4.5deg); }
}
@keyframes lx-float-left-back {
    0%, 100% { transform: translateY(0) rotate(-13deg); }
    50% { transform: translateY(-12px) rotate(-11deg); }
}
@keyframes lx-float-right-back {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(10deg); }
}
.lx-art-thumb {
    display: grid;
    place-items: center;
    height: 72%;
    border-radius: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.45), transparent 8%),
        radial-gradient(circle at 58% 45%, rgba(34, 211, 238, 0.45), transparent 22%),
        radial-gradient(circle at 35% 70%, rgba(168, 85, 247, 0.65), transparent 32%),
        linear-gradient(145deg, rgba(99, 102, 241, 0.9), rgba(8, 145, 178, 0.72));
}
.lx-hero-art-right .lx-art-thumb {
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.5), transparent 8%),
        radial-gradient(circle at 62% 34%, rgba(168, 85, 247, 0.68), transparent 25%),
        radial-gradient(circle at 28% 74%, rgba(34, 211, 238, 0.55), transparent 30%),
        linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(99, 102, 241, 0.78));
}
.lx-art-thumb .material-symbols-outlined {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(5, 6, 11, 0.45);
    font-size: 34px;
}
.lx-hero-art b { display: block; color: rgba(255, 255, 255, 0.86); font-size: 13px; }
.lx-hero-art small { color: rgba(255, 255, 255, 0.48); font-weight: 750; }
.lx-press-row {
    width: min(100%, 760px);
    max-width: 100%;
    margin: 96px auto 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.lx-press-track {
    display: flex;
    width: max-content;
    gap: clamp(24px, 5vw, 72px);
    color: rgba(255, 255, 255, 0.42);
    font-size: clamp(18px, 2.1vw, 27px);
    font-weight: 850;
    animation: lx-press-slide 20s linear infinite;
}
.lx-press-track span {
    flex: 0 0 auto;
    transition: color 180ms var(--lx-ease), transform 180ms var(--lx-ease);
}
.lx-press-track:hover { animation-play-state: paused; }
.lx-press-track span:hover {
    color: rgba(255, 255, 255, 0.84);
    transform: translateY(-2px);
}
@keyframes lx-press-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- Section scaffolding --------------------------------------------- */
.lx-section { padding-top: 70px; padding-bottom: 70px; position: relative; }
.lx-section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.lx-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lx-cyan);
    margin-bottom: 12px;
}
.lx-section-head h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 820;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    line-height: 1.1;
}
.lx-section-head p { color: var(--lx-muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---- Use-case cards --------------------------------------------------- */
.lx-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lx-uc {
    padding: 24px;
    border-radius: 16px;
    background: var(--lx-panel);
    border: 1px solid var(--lx-border);
    transition: transform 240ms var(--lx-ease), border-color 240ms var(--lx-ease), box-shadow 240ms var(--lx-ease);
}
.lx-uc:hover { transform: translateY(-6px); border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 30px 60px -30px rgba(99, 102, 241, 0.6); }
.lx-uc-icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.25));
    color: #c7d2fe;
}
.lx-uc h3 { margin: 0 0 8px; font-size: 17px; font-weight: 750; }
.lx-uc p { margin: 0; color: var(--lx-muted); font-size: 13.5px; line-height: 1.55; }

/* ---- Image carousel --------------------------------------------------- */
.lx-image-carousel-section {
    overflow: hidden;
    background: #05060b;
    padding-top: 86px;
}
.lx-image-carousel-section .lx-section-head { margin-bottom: 42px; }
.lx-image-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 max(24px, calc((100vw - 1200px) / 2)) 12px;
    scrollbar-width: none;
    cursor: grab;
}
.lx-image-carousel::-webkit-scrollbar { display: none; }
.lx-image-track {
    display: flex;
    gap: 36px;
    width: max-content;
    padding: 8px 0 18px;
    animation: lx-image-rail 34s linear infinite;
}
.lx-image-carousel:hover .lx-image-track { animation-play-state: paused; }
.lx-image-card {
    flex: 0 0 clamp(190px, 16vw, 240px);
    color: #fff;
}
.lx-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    object-fit: cover;
    border-radius: 10px;
    background: #0a0b14;
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.26);
    transition: transform 260ms var(--lx-ease), box-shadow 260ms var(--lx-ease);
}
.lx-image-card { position: relative; }
.lx-image-card:hover img {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 34px 90px rgba(99, 102, 241, 0.24);
}
.lx-image-play,
.lx-image-stats { transition: transform 260ms var(--lx-ease); }
.lx-image-card:hover .lx-image-play,
.lx-image-card:hover .lx-image-stats { transform: translateY(-6px); }
.lx-image-play {
    position: absolute;
    top: 12px;
    left: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.lx-image-stats {
    position: absolute;
    left: 12px;
    bottom: 64px;
    display: flex;
    gap: 7px;
}
.lx-image-stats > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 27px;
    padding: 0 9px;
    border-radius: 6px;
    background: rgba(5, 6, 11, 0.46);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 850;
}
.lx-image-stats .material-symbols-outlined { font-size: 14px; background: none; padding: 0; height: auto; }
.lx-image-card h3 {
    margin: 14px 0 6px;
    font-size: 15px;
    font-weight: 850;
}
.lx-image-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 760;
}
@keyframes lx-image-rail {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---- Showcase (video background + directed workflow) ------------------ */
.lx-showcase-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 640px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #05060b;
}
.lx-showcase-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.lx-showcase-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 20%, rgba(99, 102, 241, 0.16), transparent 44%),
        radial-gradient(circle at 82% 78%, rgba(34, 211, 238, 0.12), transparent 48%),
        linear-gradient(105deg, rgba(5, 6, 11, 0.62) 0%, rgba(5, 6, 11, 0.28) 46%, rgba(5, 6, 11, 0.05) 100%),
        linear-gradient(0deg, rgba(5, 6, 11, 0.55) 0%, transparent 30%, transparent 74%, rgba(5, 6, 11, 0.4) 100%);
}
.lx-showcase-inner {
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding-top: 84px;
    padding-bottom: 84px;
}
.lx-showcase-copy { max-width: 620px; }
.lx-showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--lx-border);
    background: rgba(5, 6, 11, 0.42);
    backdrop-filter: blur(14px);
    color: var(--lx-muted);
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none;
    margin-bottom: 26px;
    transition: border-color 180ms var(--lx-ease), background 180ms var(--lx-ease);
}
.lx-showcase-pill:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(5, 6, 11, 0.6); }
.lx-showcase-pill b { color: var(--lx-text); font-weight: 850; }
.lx-showcase-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--lx-text);
    font-weight: 750;
}
.lx-showcase-pill-link .material-symbols-outlined {
    font-size: 15px;
    background: var(--lx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lx-showcase-copy h2 {
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.lx-showcase-copy p {
    max-width: 500px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 550;
}
.lx-showcase-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lx-showcase-actions .material-symbols-outlined { font-size: 19px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.lx-showcase-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}
.lx-showcase-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.24);
    cursor: default;
    transition: color 320ms var(--lx-ease);
}
.lx-showcase-item .lx-showcase-marker {
    font-size: 0.8em;
    opacity: 0;
    transform: translateX(6px);
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    background: var(--lx-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 320ms var(--lx-ease), transform 320ms var(--lx-ease);
}
.lx-showcase-item.is-active { color: var(--lx-text); }
.lx-showcase-item.is-active .lx-showcase-marker { opacity: 1; transform: translateX(0); }

@media (max-width: 860px) {
    .lx-showcase-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .lx-showcase-copy { max-width: 100%; margin: 0 auto; }
    .lx-showcase-copy p { margin-left: auto; margin-right: auto; }
    .lx-showcase-actions { justify-content: center; }
    .lx-showcase-list { text-align: center; }
    .lx-showcase-item { justify-content: center; }
}

/* ---- Creative workspace: alternative feature layout ------------------- */
.lx-workbench-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}
.lx-workbench-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}
.lx-workbench-head p {
    margin: 14px 0 0;
    color: var(--lx-muted);
    font-size: 15px;
    line-height: 1.6;
}
.lx-workbench-head > .lx-btn { flex-shrink: 0; }
.lx-workbench-head > .lx-btn:focus-visible {
    outline: 2px solid var(--lx-cyan);
    outline-offset: 5px;
}
.lx-workbench-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "controls regional regional"
        "controls assets workflow";
    gap: 16px;
}
.lx-workbench-card {
    position: relative;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--lx-border);
    border-radius: 20px;
    background: var(--lx-bg-soft);
}
.lx-workbench-copy { position: relative; min-width: 0; }
.lx-workbench-label {
    display: block;
    margin-bottom: 10px;
    color: var(--lx-cyan);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.lx-workbench-copy h3 {
    margin: 0 0 10px;
    color: var(--lx-text);
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.22;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.lx-workbench-copy p {
    margin: 0;
    color: #bbc0d2;
    font-size: 13px;
    line-height: 1.6;
}
.lx-workbench-controls {
    grid-area: controls;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(150deg, rgba(99, 102, 241, 0.12), transparent 65%), var(--lx-bg-soft);
}
/* Settings list: one panel, six rows of icon / name / static mock control. */
.lx-workbench-settings {
    margin: auto 0 0;
    padding: 6px 0;
    border: 1px solid var(--lx-border);
    border-radius: 16px;
    background: rgba(5, 6, 11, 0.52);
    list-style: none;
}
.lx-workbench-setting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
}
.lx-workbench-setting + .lx-workbench-setting { border-top: 1px solid rgba(255, 255, 255, 0.06); }
/* Extra specificity so the skeleton loader's `background-image: none` doesn't
   strip the tile gradient once the icon loads. */
.lx-workbench-controls .lx-workbench-settings .lx-workbench-setting > img {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    object-fit: contain;
}
.lx-workbench-setting > span {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--lx-text);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.3;
}
.lx-workbench-setting > em { flex: 0 0 auto; font-style: normal; }
.lx-workbench-chip {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #d4d8ea;
    font-size: 10.5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
.lx-workbench-toggle {
    position: relative;
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: var(--lx-grad);
}
.lx-workbench-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}
.lx-workbench-slider {
    position: relative;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}
.lx-workbench-slider::before {
    content: "";
    position: absolute;
    inset: 0 30% 0 0;
    border-radius: inherit;
    background: var(--lx-grad);
}
.lx-workbench-slider::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 70%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.lx-workbench-regional {
    grid-area: regional;
    display: flex;
    align-items: center;
    min-height: 300px;
    background:
        radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.15), transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px) 0 0 / 18px 18px,
        var(--lx-bg-soft);
}
.lx-workbench-regional .lx-workbench-copy {
    position: relative;
    z-index: 1;
    max-width: 340px;
    flex: 0 0 auto;
}
/* The three demo canvases are a decorative layer that bleeds off the card. */
.lx-workbench-steps {
    position: absolute;
    inset: 0 0 0 42%;
    z-index: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}
.lx-workbench-step {
    position: absolute;
    width: 250px;
    min-width: 0;
}
/* Even diagonal cascade: same size, same step, so each panel shows a similar
   share. Step 1 keeps z-index auto so its cursor can stack above later panels. */
.lx-workbench-step:nth-child(1) { top: -8%; left: 0; }
.lx-workbench-step:nth-child(2) { top: 24%; left: 24%; z-index: 2; }
.lx-workbench-step:nth-child(3) { top: 56%; left: 48%; z-index: 3; }
.lx-workbench-step:nth-child(1) .lx-workbench-selection { inset: 26% 30% 24% 8%; }
/* Pen-tip draw cursor: hangs below the first panel, layered above the second. */
.lx-workbench-cursor {
    position: absolute;
    left: calc(52% - 30px);
    bottom: -44px;
    z-index: 4;
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.lx-workbench-canvas {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background:
        repeating-conic-gradient(rgba(255, 255, 255, 0.05) 0% 25%, transparent 0% 50%) 0 0 / 22px 22px,
        var(--lx-bg-soft);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lx-workbench-selection {
    position: absolute;
    inset: 14% 30% 34% 12%;
    border: 1.5px dashed var(--lx-cyan);
    background: rgba(34, 211, 238, 0.08);
}
.lx-workbench-selection i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--lx-text);
}
.lx-workbench-selection i:nth-child(1) { top: -4px; left: -4px; }
.lx-workbench-selection i:nth-child(2) { top: -4px; right: -4px; }
.lx-workbench-selection i:nth-child(3) { bottom: -4px; left: -4px; }
.lx-workbench-selection i:nth-child(4) { bottom: -4px; right: -4px; }
.lx-workbench-prompt {
    position: absolute;
    top: 42%;
    left: 14%;
    right: 5%;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    background: var(--lx-bg-soft);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.lx-workbench-prompt > span {
    display: block;
    overflow: hidden;
    color: var(--lx-text);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.lx-workbench-prompt > div { display: flex; gap: 8px; margin-top: 7px; font-size: 9.5px; }
.lx-workbench-prompt b { padding: 3px 6px; border-radius: 4px; background: var(--lx-text); color: var(--lx-bg); font-weight: 650; }
.lx-workbench-prompt > div > span { padding: 3px 0; color: var(--lx-muted); }
.lx-workbench-result > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lx-workbench-assets {
    grid-area: assets;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.19), rgba(99, 102, 241, 0.06)), var(--lx-bg-soft);
}
.lx-workbench-library { margin: auto -6px -8px; }
.lx-workbench-folders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lx-workbench-folder {
    position: relative;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0 10px 10px 10px;
    background: #282039;
}
.lx-workbench-folder::before {
    content: "";
    position: absolute;
    top: -9px;
    left: -1px;
    width: 44%;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: inherit;
}
.lx-workbench-folder-video { background: #232c41; }
.lx-workbench-folder-cover { min-height: 104px; }
.lx-workbench-folder-play {
    position: absolute;
    inset: 0;
    margin: auto;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 6, 11, 0.6);
}
.lx-workbench-folder > strong { display: block; margin-top: 10px; font-size: 10px; font-weight: 650; line-height: 1.4; }
/* Cover folder: one image fills the folder body, title sits over a bottom fade. */
.lx-workbench-folder-cover {
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
.lx-workbench-folder-cover > img {
    position: absolute;
    inset: -9px 0 0;
    z-index: -1;
    width: 100%;
    height: calc(100% + 9px);
    border-radius: 0 0 10px 10px;
    object-fit: cover;
    /* Folder silhouette: rounded tab on the left, then the body's top edge. */
    clip-path: polygon(
        0 6px, 1.8px 1.8px, 6px 0,
        calc(44% - 6px) 0, calc(44% - 1.8px) 1.8px, 44% 6px, 44% 9px,
        calc(100% - 10px) 9px, calc(100% - 3px) 12px, 100% 19px,
        100% 100%, 0 100%
    );
}
.lx-workbench-folder-cover::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    z-index: -1;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 11, 0.85));
}
.lx-workbench-folder-cover > strong { margin: 0; color: #fff; }
.lx-workbench-folder-cover::before { z-index: 1; background: transparent; }
.lx-workbench-workflow {
    grid-area: workflow;
    /* Same dotted-grid backdrop as the Regional image card. */
    background:
        radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.15), transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px) 0 0 / 18px 18px,
        var(--lx-bg-soft);
}
@media (max-width: 1050px) {
    .lx-workbench-regional .lx-workbench-copy { max-width: 300px; }
    .lx-workbench-steps { inset: 0 0 0 50%; }
    .lx-workbench-step { width: 260px; }
}
@media (max-width: 820px) {
    .lx-workbench-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "controls regional" "assets workflow";
    }
    .lx-workbench-regional { align-items: flex-start; min-height: 420px; }
    .lx-workbench-regional .lx-workbench-copy { max-width: 100%; }
    .lx-workbench-steps { inset: 44% 0 0 8%; }
    .lx-workbench-step { width: 240px; }
    .lx-workbench-step:nth-child(1) { top: 0; left: 0; }
    .lx-workbench-step:nth-child(2) { top: 26%; left: 28%; }
    .lx-workbench-step:nth-child(3) { top: 52%; left: 56%; }
}
@media (max-width: 600px) {
    .lx-workbench-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .lx-workbench-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "controls" "regional" "assets" "workflow";
    }
    .lx-workbench-card { padding: 20px; }
    .lx-workbench-workflow { min-height: 180px; }
}

/* ---- Format / control pills ------------------------------------------ */
.lx-pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.lx-pill {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--lx-border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13.5px;
    font-weight: 700;
    color: #d4d8ea;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.lx-pill .material-symbols-outlined { font-size: 18px; color: var(--lx-violet); }

/* ---- Stats strip ------------------------------------------------------ */
.lx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lx-stat {
    text-align: center;
    padding: 26px 16px;
    border-radius: 16px;
    background: var(--lx-panel);
    border: 1px solid var(--lx-border);
}
.lx-stat b { display: block; font-size: 34px; font-weight: 850; background: var(--lx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lx-stat span { color: var(--lx-muted); font-size: 13px; font-weight: 600; }

/* ---- CTA band --------------------------------------------------------- */
.lx-cta {
    text-align: center;
    padding: 60px 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.3), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.25), transparent 55%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid var(--lx-border);
}
.lx-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 840; margin: 0 0 14px; }
.lx-cta p { color: var(--lx-muted); font-size: 16px; margin: 0 0 28px; }

/* ---- Footer ----------------------------------------------------------- */
.lx-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--lx-border);
    padding: 30px 0;
    margin-top: 60px;
}
.lx-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.lx-footer p { color: var(--lx-muted); font-size: 13px; margin: 0; }
.lx-footer a { color: var(--lx-muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.lx-footer a:hover { color: var(--lx-text); }

/* ---- Pricing ---------------------------------------------------------- */
.lx-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lx-price-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border-radius: 20px;
    background: var(--lx-panel);
    border: 1px solid var(--lx-border);
    transition: transform 240ms var(--lx-ease), box-shadow 240ms var(--lx-ease);
}
.lx-price-card:hover { transform: translateY(-6px); }
.lx-price-card.lx-popular {
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 40px 90px -40px rgba(139, 92, 246, 0.8);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.03));
}
.lx-price-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--lx-grad);
    padding: 5px 11px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.lx-price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.lx-price-head h3 { margin: 0; }
.lx-price-head .lx-price-tag { align-self: center; margin-bottom: 0; }
.lx-price-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 780; }
.lx-price-card .lx-price-desc { color: var(--lx-muted); font-size: 13.5px; margin: 0 0 18px; min-height: 40px; }
.lx-price-amount { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 20px; }
.lx-price-amount b { font-size: 42px; font-weight: 850; line-height: 1; }
.lx-price-amount span { color: var(--lx-muted); font-size: 14px; font-weight: 600; padding-bottom: 6px; }
.lx-price-features { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.lx-price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: #d4d8ea; line-height: 1.4; }
.lx-price-features .material-symbols-outlined { color: #34d399; font-size: 18px; flex: 0 0 auto; margin-top: 1px; }
.lx-price-features li.lx-off { color: var(--lx-muted); }
.lx-price-features li.lx-off .material-symbols-outlined { color: #4b5163; }
.lx-price-note { text-align: center; color: var(--lx-muted); font-size: 13px; margin-top: 34px; }

/* ---- Reveal animation ------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .lx-reveal { opacity: 0; transform: translateY(24px); animation: lx-reveal 0.7s var(--lx-ease) forwards; }
    .lx-reveal-1 { animation-delay: 0.05s; }
    .lx-reveal-2 { animation-delay: 0.15s; }
    .lx-reveal-3 { animation-delay: 0.25s; }
}
@media (prefers-reduced-motion: reduce) {
    .lx-hero-art,
    .lx-press-track,
    .lx-image-track {
        animation: none;
        transition: none;
    }
}
@keyframes lx-reveal { to { opacity: 1; transform: translateY(0); } }

/* ---- Format showcase --------------------------------------------------- */
.lx-showcase {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
}
.lx-showcase-copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 820; line-height: 1.12; margin: 0 0 16px; }
.lx-showcase-copy p { color: var(--lx-muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; }
.lx-check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.lx-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #d4d8ea; }
.lx-check-list .material-symbols-outlined { color: #34d399; font-size: 20px; flex: 0 0 auto; }
.lx-format-visual {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--lx-border);
    background:
        radial-gradient(circle at 30% 25%, rgba(99, 102, 241, 0.22), transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(34, 211, 238, 0.2), transparent 55%),
        rgba(255, 255, 255, 0.03);
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.lx-format-tile {
    border-radius: 14px;
    border: 1px solid var(--lx-border);
    background: rgba(9, 10, 18, 0.7);
    padding: 18px;
    text-align: center;
    transition: transform 220ms var(--lx-ease), border-color 220ms var(--lx-ease);
}
.lx-format-tile:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(34, 211, 238, 0.5); }
.lx-format-tile .material-symbols-outlined { font-size: 30px; color: var(--lx-cyan); }
.lx-format-tile b { display: block; margin-top: 8px; font-size: 16px; font-weight: 800; }
.lx-format-tile span { color: var(--lx-muted); font-size: 12px; }

/* ---- Photo grid gallery ------------------------------------------------ */
.lx-photo-grid-section {
    position: relative;
    background: #05060b;
    padding-top: 84px;
    overflow: hidden;
}
.lx-photo-grid {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin: 0 auto;
}
.lx-photo-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lx-photo-tile {
    position: relative;
    margin: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #0d0f16;
}
.lx-photo-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 420ms var(--lx-ease), transform 520ms var(--lx-ease), filter 520ms var(--lx-ease);
}
.lx-photo-tile.is-loaded img { opacity: 1; }
.lx-photo-tile.has-image:hover img {
    transform: scale(1.04);
    filter: brightness(1.06);
}
.lx-photo-grid-sentinel { width: 100%; height: 1px; }
.lx-photo-grid-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 260px;
    background: linear-gradient(to bottom, rgba(5, 6, 11, 0) 0%, #05060b 90%);
    pointer-events: none;
}
.lx-photo-grid-fade[hidden] { display: none; }
.lx-photo-tile.has-image { cursor: pointer; }

/* ---- Photo lightbox ---------------------------------------------------- */
.lx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
}
.lx-lightbox[hidden] { display: none; }
.lx-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 13, 0.55);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}
.lx-lightbox-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 56px;
}
.lx-lightbox-media {
    position: relative;
    display: inline-flex;
    margin: auto;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}
.lx-lightbox-media img {
    display: block;
    max-width: 100%;
    max-height: 92svh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}
.lx-lightbox-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--lb-ratio, 3 / 4);
    max-height: 92svh;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.35);
}
.lx-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 160ms var(--lx-ease);
}
.lx-lightbox-prev { left: 12px; }
.lx-lightbox-next { right: 372px; }
.lx-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.1); }
.lx-lightbox-arrow .material-symbols-outlined { font-size: 30px; }
.lx-lightbox-arrow[disabled] { opacity: 0.3; cursor: default; }
.lx-lightbox-panel {
    position: relative;
    z-index: 1;
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    height: min(94svh, 100%);
    padding: 18px 18px 20px;
    border-radius: 16px;
    background: #131418;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.lx-lightbox-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.lx-lightbox-mobile-media { display: none; }
.lx-lightbox-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms var(--lx-ease);
}
.lx-lightbox-download:hover { background: rgba(255, 255, 255, 0.08); }
.lx-lightbox-download .material-symbols-outlined { font-size: 18px; }
.lx-lightbox-download:disabled { cursor: wait; opacity: 0.78; }
.lx-lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 160ms var(--lx-ease);
}
.lx-lightbox-close:hover { background: rgba(255, 255, 255, 0.08); }
.lx-lightbox-panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.lx-lightbox-prompt {
    margin: 0;
    color: #f1f3f6;
    font-size: 12px;
    font-weight: 400 !important;
    font-synthesis: none;
    line-height: 1.5;
    text-align: left;
}
.lx-lightbox-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    font-size: 13px;
}
.lx-lightbox-meta span { color: rgba(255, 255, 255, 0.45); font-weight: 700; }
.lx-lightbox-meta b { color: rgba(255, 255, 255, 0.8); font-weight: 750; }
.lx-lightbox-use {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0b0c10;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms var(--lx-ease), opacity 160ms var(--lx-ease), background 160ms var(--lx-ease), color 160ms var(--lx-ease);
}
.lx-lightbox-use:hover { opacity: 0.92; transform: translateY(-1px); }
.lx-lightbox-use .material-symbols-outlined { font-size: 18px; }
.lx-lightbox-use.is-copied {
    background: #76e0a4;
    color: #082817;
    animation: lx-lightbox-copy-feedback 620ms var(--lx-ease);
}
.lx-lightbox-use.is-copy-error {
    background: #ffc1c1;
    color: #521515;
    animation: lx-lightbox-copy-feedback 620ms var(--lx-ease);
}
@keyframes lx-lightbox-copy-feedback {
    0% { transform: scale(1); }
    32% { transform: scale(0.96); }
    68% { transform: scale(1.025); }
    100% { transform: scale(1); }
}

@media (max-width: 900px) {
    .lx-lightbox { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
    .lx-lightbox-arrow { display: none; }
    .lx-lightbox-panel {
        flex: 1 1 auto;
        height: 100%;
        border-radius: 0;
        border: 0;
        background: #131418;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .lx-lightbox-stage { display: none; }
    .lx-lightbox-panel-top { order: 0; margin-bottom: 14px; }
    .lx-lightbox-download { padding: 9px; border-radius: 10px; }
    .lx-lightbox-download-label { display: none; }
    .lx-lightbox-mobile-media {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 18px;
    }
    .lx-lightbox-mobile-media img {
        max-width: 100%;
        max-height: 58svh;
        display: block;
        object-fit: contain;
        border-radius: 4px;
    }
    .lx-lightbox-mobile-media .lx-lightbox-placeholder { width: min(80vw, 360px); }
    .lx-lightbox-panel-body { order: 2; flex: 1 1 auto; }
    .lx-lightbox-use { order: 3; }
}

/* ---- Testimonials ------------------------------------------------------ */
.lx-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lx-quote {
    padding: 26px;
    border-radius: 18px;
    background: var(--lx-panel);
    border: 1px solid var(--lx-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 240ms var(--lx-ease), border-color 240ms var(--lx-ease);
}
.lx-quote:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, 0.45); }
.lx-quote-stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.lx-quote p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #dfe2ee; }
.lx-quote-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.lx-quote-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800; color: #fff;
    background: var(--lx-grad);
    background-size: 160% 160%;
}
.lx-quote-author b { display: block; font-size: 14px; font-weight: 720; }
.lx-quote-author span { color: var(--lx-muted); font-size: 12.5px; }

/* ---- FAQ --------------------------------------------------------------- */
.lx-faq { max-width: 100%; margin: 0 auto; display: grid; gap: 12px; }
.lx-faq-item {
    border-radius: 14px;
    border: 1px solid var(--lx-border);
    background: var(--lx-panel);
    overflow: hidden;
}
.lx-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 15.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: color 180ms var(--lx-ease);
}
.lx-faq-item summary::-webkit-details-marker { display: none; }
.lx-faq-item summary .material-symbols-outlined { color: var(--lx-cyan); transition: transform 240ms var(--lx-ease); flex: 0 0 auto; }
.lx-faq-item[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.lx-faq-item summary:hover { color: var(--lx-cyan); }
.lx-faq-answer { padding: 0 22px 20px; color: var(--lx-muted); font-size: 14px; line-height: 1.6; }

/* ---- Logo strip -------------------------------------------------------- */
.lx-trust { text-align: center; }
.lx-trust p { color: var(--lx-muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 22px; }
.lx-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lx-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid var(--lx-border);
    background: rgba(255, 255, 255, 0.03);
    color: #cdd2e6;
    font-weight: 700;
    font-size: 14px;
}
.lx-trust-badge .material-symbols-outlined { color: var(--lx-violet); font-size: 20px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1100px) {
    .lx-hero-art {
        opacity: 0.24;
        filter: blur(1px);
    }
    .lx-hero-art-left { left: -92px; }
    .lx-hero-art-right { right: -92px; }
    .lx-hero-art-left-back,
    .lx-hero-art-right-back { display: none; }
    .lx-hero h1 {
        font-size: clamp(46px, 8vw, 72px);
    }
    .lx-hero p.lx-sub,
    .lx-prompt-box,
    .lx-press-row {
        max-width: min(680px, calc(100vw - 48px));
    }
}

@media (max-width: 900px) {
    .lx-usecases { grid-template-columns: repeat(2, 1fr); }
    .lx-stats { grid-template-columns: repeat(2, 1fr); }
    .lx-price-grid { grid-template-columns: 1fr; }
    .lx-hero-art { display: none; }
    .lx-gen-side { display: none; }
    .lx-showcase { grid-template-columns: 1fr; }
    .lx-testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .lx-usecases { grid-template-columns: 1fr; }
    .lx-stats { grid-template-columns: 1fr; }
    .lx-nav-links .lx-nav-link-hide { display: none; }
    .lx-hero-art { display: none; }
    .lx-press-row { margin-top: 48px; gap: 18px 28px; }
    .lx-image-carousel-section { padding-top: 58px; }
    .lx-image-carousel { padding-inline: 18px; }
    .lx-image-track { gap: 18px; animation-duration: 26s; }
    .lx-image-card { flex-basis: 176px; }
    .lx-photo-grid-section { padding-top: 58px; }
}

/* Mobile nav: show hamburger, hide inline nav, tighten spacing */
@media (max-width: 820px) {
    .lx-shell { padding-left: 18px; padding-right: 18px; }
    .lx-nav-links { display: none; }
    .lx-nav-toggle { display: inline-flex; }
    .lx-nav .lx-brand { padding-left: 0; }
    .lx-brand img { height: 40px; }
    .lx-image-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .lx-image-card > img,
    .lx-image-card > .lx-image-play,
    .lx-image-card > .lx-image-stats { grid-area: 1 / 1; }
    .lx-image-card > .lx-image-play {
        position: relative;
        top: auto;
        left: auto;
        align-self: start;
        justify-self: start;
        width: max-content;
        margin: 12px;
        z-index: 1;
    }
    .lx-image-card > .lx-image-stats {
        position: relative;
        left: auto;
        bottom: auto;
        align-self: end;
        justify-self: start;
        margin: 0 0 12px 12px;
        z-index: 1;
    }
    .lx-image-card > h3 { grid-area: 2 / 1; }
    .lx-image-card > p { grid-area: 3 / 1; }
    .lx-section { padding-top: 48px; padding-bottom: 48px; }
    .lx-hero {
        min-height: auto;
        padding: 96px 0 44px;
        place-items: start center;
        overflow-x: hidden;
    }
    .lx-hero-inner {
        width: 100%;
        max-width: 100vw;
        padding-left: 18px;
        padding-right: 18px;
        overflow: visible;
    }
    .lx-hero h1 {
        max-width: 100%;
        font-size: clamp(26px, 7vw, 38px);
        line-height: 1.08;
        margin-bottom: 14px;
        min-height: calc(2 * 1.08em);
        overflow-wrap: normal;
        text-wrap: balance;
    }
    .lx-hero p.lx-sub {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 22px;
    }
    .lx-prompt-box { width: 100%; padding: 18px; border-radius: 16px; }
    .lx-prompt-box textarea { font-size: 14px; }
    .lx-prompt-actions {
        display: grid;
        grid-template-areas: "tools create";
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }
    .lx-prompt-tools { grid-area: tools; flex-wrap: nowrap; gap: 6px; min-width: 0; }
    .lx-prompt-submit { display: contents; }
    .lx-char-count,
    .lx-prompt-surprise { display: none; }
    .lx-prompt-advanced { width: 34px; padding: 0; }
    .lx-prompt-advanced-label { display: none; }
    .lx-popover {
        left: -24px;
        width: min(300px, calc(100vw - 36px));
        max-width: none;
    }
    .lx-popover::after { left: 34px; }
    .lx-prompt-mic:not([hidden]) + .lx-advanced-wrap .lx-popover { left: -64px; }
    .lx-prompt-mic:not([hidden]) + .lx-advanced-wrap .lx-popover::after { left: 74px; }
    .lx-prompt-create {
        grid-area: create;
        flex: 0 0 auto;
        min-width: 0;
        height: 34px;
        padding: 0 8px;
        gap: 4px;
        font-size: 12px;
    }
    .lx-cta { padding: 44px 20px; }
}
@media (min-width: 821px) {
    .lx-drawer, .lx-drawer-backdrop { display: none; }
}
