
/* ══════════════════════════════════════════════════════════════════════════
   LANDING PAGE STYLES — every rule is namespaced .jl-* so it can never leak
   into header.php / footer.php / playground.php shared components.
   Palette reuses the existing theme vars (--primary #6fb4ff, --secondary
   #ec4899, --accent #06b6d4) so the landing reads as the same product.
   ══════════════════════════════════════════════════════════════════════════ */

.jl-scope {
    --jl-space-1: 8px;
    --jl-space-2: 16px;
    --jl-space-3: 24px;
    --jl-space-4: 32px;
    --jl-space-5: 48px;
    --jl-space-6: 64px;
    --jl-radius: 16px;
    --jl-radius-sm: 10px;
    --jl-surface: rgba(255, 255, 255, 0.035);
    --jl-surface-hi: rgba(255, 255, 255, 0.06);
    --jl-line: rgba(255, 255, 255, 0.09);
    --jl-line-hi: rgba(255, 255, 255, 0.18);
    /* #b8b8b8 on #000 = 9.4:1 — comfortably AA for body copy */
    --jl-dim: #b8b8b8;
    --jl-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── shared section furniture ─────────────────────────────────────────── */
.jl-sec { padding: var(--jl-space-6) 0; position: relative; }
.jl-sec-head { text-align: center; max-width: 720px; margin: 0 auto var(--jl-space-5); }
.jl-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--primary);
    padding: 6px 14px; border-radius: 999px;
    background: rgba(111, 180, 255, 0.10);
    border: 1px solid rgba(111, 180, 255, 0.28);
    margin-bottom: var(--jl-space-2);
}
.jl-sec-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    line-height: 1.2; margin: 0 0 var(--jl-space-2);
    letter-spacing: -0.02em;
}
.jl-sec-head p { color: var(--jl-dim); margin: 0; font-size: 1.02rem; }

/* ─── HERO ─────────────────────────────────────────────────────────────── */
.jl-hero-cta {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: center; margin: var(--jl-space-4) 0 var(--jl-space-2);
}
.jl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    /* 52px tall keeps the primary action well past the 44px touch minimum */
    min-height: 52px; padding: 0 28px;
    border-radius: 999px; border: 1px solid transparent;
    font-size: 1rem; font-weight: 700; text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s var(--jl-ease), box-shadow 0.18s var(--jl-ease),
                background 0.18s var(--jl-ease), border-color 0.18s var(--jl-ease);
}
.jl-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.jl-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #05070c;
    box-shadow: 0 10px 30px rgba(111, 180, 255, 0.28);
}
.jl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(236, 72, 153, 0.34); }
.jl-btn-ghost {
    background: var(--jl-surface); color: var(--text-color); border-color: var(--jl-line-hi);
}
.jl-btn-ghost:hover { background: var(--jl-surface-hi); border-color: var(--primary); transform: translateY(-2px); }

.jl-trust {
    display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
    margin-top: var(--jl-space-3); font-size: 0.86rem; color: var(--jl-dim);
}
.jl-trust span { display: inline-flex; align-items: center; gap: 7px; }
.jl-trust i { color: var(--success); font-size: 0.8rem; }

/* ─── LIVE STATS STRIP ─────────────────────────────────────────────────── */
.jl-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px; margin-top: var(--jl-space-5);
}
.jl-stat {
    background: var(--jl-surface); border: 1px solid var(--jl-line);
    border-radius: var(--jl-radius-sm); padding: 18px 16px; text-align: center;
}
.jl-stat-val {
    font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; line-height: 1.1;
    /* tabular figures stop the row jittering as the live numbers tick */
    font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
    color: var(--text-color);
}
.jl-stat-lbl {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--jl-dim); margin-top: 5px;
}
.jl-live-dot {
    display: inline-block; width: 7px; height: 7px; border-radius: 50%;
    background: var(--success); margin-right: 6px; vertical-align: middle;
    animation: jl-pulse 2s ease-out infinite;
}
@keyframes jl-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ─── MODEL BENTO ──────────────────────────────────────────────────────── */
.jl-bento {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.jl-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 10px;
    padding: 26px 24px; border-radius: var(--jl-radius);
    background: var(--jl-surface); border: 1px solid var(--jl-line);
    color: inherit; text-decoration: none;
    transition: transform 0.2s var(--jl-ease), border-color 0.2s var(--jl-ease),
                background 0.2s var(--jl-ease);
}
.jl-card::after {
    content: ""; position: absolute; top: -40px; right: -40px;
    width: 150px; height: 150px; pointer-events: none;
    background: radial-gradient(circle, var(--jl-glow, var(--primary)), transparent 68%);
    opacity: 0.16;
}
.jl-card:hover { transform: translateY(-4px); border-color: var(--jl-line-hi); background: var(--jl-surface-hi); }
.jl-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.jl-card-ico {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 1.05rem;
    color: var(--jl-glow, var(--primary));
    background: color-mix(in srgb, var(--jl-glow, var(--primary)) 16%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jl-glow, var(--primary)) 32%, transparent);
}
.jl-card h3 { margin: 4px 0 0; font-size: 1.06rem; letter-spacing: -0.01em; }
.jl-card p { margin: 0; color: var(--jl-dim); font-size: 0.92rem; line-height: 1.6; }
.jl-card-tag {
    align-self: flex-start; margin-top: 4px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--jl-glow, var(--primary));
    padding: 4px 10px; border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--jl-glow, var(--primary)) 34%, transparent);
}
.jl-card-go {
    margin-top: auto; padding-top: 10px;
    font-size: 0.86rem; font-weight: 700; color: var(--primary);
    display: inline-flex; align-items: center; gap: 7px;
}
.jl-card:hover .jl-card-go i { transform: translateX(4px); }
.jl-card-go i { transition: transform 0.18s var(--jl-ease); font-size: 0.75rem; }

/* ─── HOW IT WORKS ─────────────────────────────────────────────────────── */
.jl-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: jl-step; }
.jl-step {
    position: relative; padding: 26px 24px 24px;
    background: var(--jl-surface); border: 1px solid var(--jl-line);
    border-radius: var(--jl-radius);
}
.jl-step::before {
    counter-increment: jl-step; content: counter(jl-step);
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
    font-size: 0.95rem; font-weight: 800; color: #05070c;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.jl-step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.jl-step p { margin: 0; color: var(--jl-dim); font-size: 0.92rem; line-height: 1.6; }

/* ─── USE CASES ────────────────────────────────────────────────────────── */
.jl-uses { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.jl-use {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 20px; border-radius: var(--jl-radius-sm);
    background: var(--jl-surface); border: 1px solid var(--jl-line);
}
.jl-use i { color: var(--primary); font-size: 1.1rem; margin-top: 3px; flex: 0 0 auto; }
.jl-use strong { display: block; margin-bottom: 4px; font-size: 0.98rem; }
.jl-use span { color: var(--jl-dim); font-size: 0.88rem; line-height: 1.55; }

/* ─── PRICING TEASER ───────────────────────────────────────────────────── */
.jl-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 860px; margin: 0 auto; }
.jl-plan {
    display: flex; flex-direction: column; gap: 14px;
    padding: 30px 26px; border-radius: var(--jl-radius);
    background: var(--jl-surface); border: 1px solid var(--jl-line);
}
.jl-plan--pro { border-color: rgba(236, 72, 153, 0.45); background: rgba(236, 72, 153, 0.06); position: relative; }
.jl-plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 5px 14px; border-radius: 999px; white-space: nowrap;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #05070c;
}
.jl-plan h3 { margin: 0; font-size: 1.15rem; }
.jl-plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.jl-plan-price small { font-size: 0.85rem; font-weight: 500; color: var(--jl-dim); }
.jl-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.jl-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--jl-dim); }
.jl-plan li i { color: var(--success); font-size: 0.8rem; margin-top: 5px; }
.jl-plan .jl-btn { margin-top: auto; width: 100%; }

/* ─── FINAL CTA ────────────────────────────────────────────────────────── */
.jl-final {
    text-align: center; padding: var(--jl-space-6) var(--jl-space-3);
    border-radius: 24px; border: 1px solid var(--jl-line-hi);
    background:
        radial-gradient(ellipse at 20% 10%, rgba(111, 180, 255, 0.16), transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(236, 72, 153, 0.14), transparent 55%),
        var(--jl-surface);
}
.jl-final h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.jl-final p { color: var(--jl-dim); margin: 0 auto 26px; max-width: 560px; }

/* ─── scroll reveal (opacity/transform only — no layout thrash) ───────────
   Gated on <html class="jl-anim">, which the tiny inline script below adds.
   Without that class nothing is ever hidden, so a JS parse error, a blocked
   script or an ancient browser leaves the whole page readable instead of a
   screen of invisible sections. Never make .jl-reveal opacity:0 unconditional. */
.jl-anim .jl-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--jl-ease), transform 0.5s var(--jl-ease); }
.jl-anim .jl-reveal.jl-in { opacity: 1; transform: none; }

/* ─── "MINI MAX H3 COMING SOON" — solid silver announcement ──────────────
   No shadows anywhere by request: no letter extrusion, no drop shadow, no
   plate shadow. The metal is carried entirely by the vertical gradient
   clipped to the glyphs — white highlight, steel, a dark band at the optical
   centre, second highlight. That band is the whole effect; if you flatten it
   the type stops reading as metal and just looks grey.
   ────────────────────────────────────────────────────────────────────── */
.jl-soon {
    display: flex; justify-content: center;
    margin: var(--jl-space-3) auto var(--jl-space-2);
}
.jl-soon-plate {
    position: relative; overflow: hidden;
    display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 20px 32px 22px; border-radius: 18px; max-width: 100%;
    /* The plate is what stops the chrome reading as see-through — a gradient
       needs a surface behind it, and the raw page here is pure black. */
    background: linear-gradient(180deg, #262d37 0%, #171c23 46%, #0e1217 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
/* Polished sheen, swept across the plate rather than over the glyphs so it
   can never smear the letter edges. */
.jl-soon-plate::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(105deg,
        transparent 40%, rgba(255, 255, 255, 0.16) 48%,
        rgba(255, 255, 255, 0.16) 52%, transparent 60%);
    background-size: 260% 100%; background-position: 140% 0;
    animation: jl-soon-shine 5s ease-in-out infinite;
}
@keyframes jl-soon-shine {
    0%, 60% { background-position: 140% 0; }
    100%    { background-position: -40% 0; }
}

.jl-soon-badge {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em;
    text-transform: uppercase; color: #e6ecf3;
    padding: 5px 14px; border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.24);
}
.jl-soon-badge i { color: #ffd479; font-size: 0.72rem; }

.jl-soon-text {
    position: relative; z-index: 1; display: inline-block;
    font-size: clamp(1.35rem, 4.6vw, 2.9rem);
    font-weight: 900; text-transform: uppercase;
    letter-spacing: 0.02em; line-height: 1.1;
    /* heavy grotesques carry a metal gradient; light faces wash out */
    font-family: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
    background: linear-gradient(180deg,
        #ffffff 0%, #f4f8fc 13%, #d4dde7 27%, #a8b5c4 41%,
        #6d7b8c 50%, #9fadbd 58%, #dfe7ef 73%, #ffffff 86%, #b6c2cf 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
/* Firefox/older engines that can't clip a background to text would render an
   invisible headline — fall back to flat silver. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .jl-soon-text { background: none; color: #e3e9f0; -webkit-text-fill-color: #e3e9f0; }
}

/* ─── MINIMAX SHOWCASE (#showcase) ────────────────────────────────────────
   Real MiniMax H3 clips. Nothing streams until the viewer clicks: each <video>
   is preload="none" with a poster, so the page costs 3 small JPEGs (~140 KB)
   rather than ~4.9 MB of video. */
.jl-reel { display: grid; gap: var(--jl-space-3); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .jl-reel { grid-template-columns: repeat(3, 1fr); } }

.jl-reel-item {
    background: var(--jl-surface); border: 1px solid var(--jl-line);
    border-radius: var(--jl-radius); overflow: hidden;
    display: flex; flex-direction: column;
}
.jl-reel-stage {
    position: relative; width: 100%; background: #05070c;
    /* Each stage carries its clip's REAL shape (set per item below) so nothing
       is letterboxed or cropped — the differing shapes are the point here, they
       show what the aspect-ratio picker actually does. Poster and video share
       the box, so the grid never jumps when playback starts. */
    aspect-ratio: 16 / 9; overflow: hidden;
}
.jl-reel-stage--square   { aspect-ratio: 1 / 1; }
.jl-reel-stage--vertical { aspect-ratio: 9 / 16; }
/* A 9:16 card would otherwise tower over the two landscape ones on desktop. */
@media (min-width: 760px) {
    .jl-reel-stage--vertical { max-height: 460px; }
}
.jl-reel-stage video, .jl-reel-stage img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.jl-reel-stage--vertical video { object-fit: contain; }
.jl-reel-play {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(5,7,12,0.05), rgba(5,7,12,0.45));
    border: 0; cursor: pointer; padding: 0; color: #fff;
    transition: background 0.2s var(--jl-ease);
}
.jl-reel-play:hover { background: linear-gradient(180deg, rgba(5,7,12,0.02), rgba(5,7,12,0.3)); }
.jl-reel-play:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.jl-reel-play span {
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.14); backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 26px rgba(0,0,0,0.45);
    font-size: 1.15rem; padding-left: 4px;
    transition: transform 0.2s var(--jl-ease), background 0.2s var(--jl-ease);
}
.jl-reel-play:hover span { transform: scale(1.09); background: rgba(255,255,255,0.24); }
.jl-reel-item.is-playing .jl-reel-play { display: none; }

.jl-reel-meta { padding: 14px 16px 16px; }
.jl-reel-meta h3 { font-size: 0.98rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.jl-reel-meta p { font-size: 0.82rem; color: var(--jl-dim); margin: 0; line-height: 1.5; }
.jl-reel-spec {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.jl-reel-spec span {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
    background: rgba(255,255,255,0.06); color: var(--jl-dim);
    border: 1px solid var(--jl-line);
}
@media (prefers-reduced-motion: reduce) {
    .jl-reel-play, .jl-reel-play span { transition: none; }
    .jl-reel-play:hover span { transform: none; }
}

/* ─── SPEC TABLE (#specs) ──────────────────────────────────────────────────
   Mobile-first: below 860px every <tr> renders as a stacked card and each cell
   prints its column name from data-l, so nothing is ever cut off or sideways-
   scrolled on a phone. At >=860px it becomes a real table. */
.jl-spec-wrap {
    background: var(--jl-surface); border: 1px solid var(--jl-line);
    border-radius: var(--jl-radius); overflow: hidden;
}
.jl-spec { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.jl-spec thead { display: none; }
.jl-spec .jl-grp th {
    text-align: left; font-size: 0.68rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
    background: rgba(111, 180, 255, 0.07);
    padding: 10px var(--jl-space-2);
    border-top: 1px solid var(--jl-line); border-bottom: 1px solid var(--jl-line);
}
.jl-spec tbody tr:not(.jl-grp) {
    display: block; padding: 14px var(--jl-space-2);
    border-top: 1px solid var(--jl-line);
}
.jl-spec tbody td { display: flex; gap: 12px; padding: 3px 0; align-items: baseline; }
.jl-spec tbody td::before {
    content: attr(data-l); flex: 0 0 88px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--jl-dim); opacity: 0.75;
}
.jl-spec td.jl-spec-name { padding-bottom: 7px; }
.jl-spec td.jl-spec-name::before { display: none; }
.jl-spec-name a { color: var(--text-color); text-decoration: none; font-weight: 700; font-size: 1rem; }
.jl-spec-name a:hover { color: var(--primary); text-decoration: underline; }
.jl-spec td:not(.jl-spec-name) { color: var(--jl-dim); }

/* tier + status pills */
.jl-pill {
    display: inline-block; font-size: 0.66rem; font-weight: 800;
    letter-spacing: 0.07em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.jl-pill-free { background: rgba(16, 185, 129, 0.13); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.32); }
.jl-pill-pro  { background: rgba(251, 191, 36, 0.13); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.36); }
.jl-tag {
    display: inline-block; margin-left: 6px; font-size: 0.6rem; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px;
    border-radius: 999px; vertical-align: middle;
}
.jl-tag-new   { background: rgba(111, 180, 255, 0.16); color: #9ecbff; }
.jl-tag-beta  { background: rgba(249, 115, 22, 0.16); color: #fdba74; }
.jl-tag-adult { background: rgba(244, 63, 94, 0.16); color: #fda4af; }
.jl-tag-audio { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }

.jl-spec-note {
    margin-top: var(--jl-space-3); font-size: 0.84rem; color: var(--jl-dim);
    text-align: center; line-height: 1.7;
}

@media (min-width: 860px) {
    .jl-spec-wrap { overflow-x: auto; }
    .jl-spec { min-width: 780px; }
    .jl-spec thead { display: table-header-group; }
    .jl-spec thead th {
        text-align: left; padding: 13px var(--jl-space-2);
        font-size: 0.68rem; font-weight: 800; letter-spacing: 0.11em;
        text-transform: uppercase; color: var(--jl-dim);
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid var(--jl-line-hi);
    }
    .jl-spec tbody tr:not(.jl-grp) { display: table-row; padding: 0; }
    .jl-spec tbody td {
        display: table-cell; padding: 12px var(--jl-space-2);
        vertical-align: middle; border-top: 1px solid var(--jl-line);
    }
    .jl-spec tbody td::before { display: none; }
    .jl-spec tbody tr:not(.jl-grp):hover { background: var(--jl-surface-hi); }
    .jl-spec .jl-grp th { padding: 9px var(--jl-space-2); }
}

@media (prefers-reduced-motion: reduce) {
    .jl-anim .jl-reveal { opacity: 1; transform: none; transition: none; }
    .jl-live-dot { animation: none; }
    .jl-btn, .jl-card { transition: none; }
    .jl-btn:hover, .jl-card:hover { transform: none; }
    .jl-soon-text::after { animation: none; }
}

@media (max-width: 640px) {
    .jl-sec { padding: var(--jl-space-5) 0; }
    .jl-btn { width: 100%; }
    .jl-hero-cta { flex-direction: column; }
    .jl-soon-text::before { text-shadow: 0 1px 0 #59636f, 0 2px 0 #4e5864,
        0 3px 0 #444d58, 0 4px 0 #313841, 0 8px 14px rgba(0,0,0,0.8); }
}


            #stickyGenerateCta {
                position: fixed;
                isolation: isolate;
                left: 50%;
                transform: translateX(-50%);
                bottom: 24px;
                z-index: 9997;
                display: inline-flex;
                align-items: center;
                gap: .55rem;
                padding: 14px 30px;
                border-radius: 999px;
                background: linear-gradient(135deg, #ffd700, #ffaa00);
                color: #0a0a0a;
                font-weight: 800;
                font-size: 1rem;
                text-decoration: none;
                box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 215, 0, .35);
                transition: opacity .25s ease, transform .25s ease;
                white-space: nowrap;
            }
            /* Perpetual attention loop: a soft breathe plus an expanding halo.
               Both run on transform/opacity only so they stay on the compositor
               and never trigger layout -- a forever-animation that reflowed the
               page would cost battery on every visit. */
            #stickyGenerateCta {
                animation: ctaBreathe 2.4s ease-in-out infinite;
            }
            /* Expanding RING. Was `background: inherit`, i.e. the same gold
               gradient as the button, so it read as a gold blob on a dark page
               instead of a border. A transparent fill with a bright border is
               what actually reads as an animated outline. */
            #stickyGenerateCta::before {
                content: '';
                position: absolute;
                inset: -4px;
                border-radius: 999px;
                background: transparent;
                border: 2px solid rgba(255, 215, 0, .95);
                z-index: 0;
                animation: ctaHalo 2.4s ease-out infinite;
                pointer-events: none;
            }
            /* Sheen sweeping across the face, clipped to the pill. */
            #stickyGenerateCta::after {
                content: '';
                position: absolute;
                inset: 0;
                border-radius: inherit;
                overflow: hidden;
                background: linear-gradient(100deg,
                    transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
                background-size: 220% 100%;
                animation: ctaSheen 3.2s ease-in-out infinite;
                pointer-events: none;
                z-index: 1;
            }
            /* Always-on outline underneath the pulse, so the button never
               looks bare between beats. */
            #stickyGenerateCta {
                box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 2px rgba(255,215,0,.55);
            }
            #stickyGenerateCta > * { position: relative; z-index: 2; }
            #stickyGenerateCta i { animation: ctaBolt 2.4s ease-in-out infinite; }

            @keyframes ctaBreathe {
                0%, 100% { transform: translateX(-50%) scale(1); }
                50%      { transform: translateX(-50%) scale(1.055); }
            }
            @keyframes ctaHalo {
                0%   { transform: scale(1);    opacity: .95; }
                75%  { transform: scale(1.55); opacity: 0; }
                100% { transform: scale(1.55); opacity: 0; }
            }
            @keyframes ctaSheen {
                0%, 55% { background-position: 200% 0; }
                100%    { background-position: -60% 0; }
            }
            @keyframes ctaBolt {
                0%, 100% { transform: scale(1); }
                50%      { transform: scale(1.25) rotate(-8deg); }
            }

            /* Hover: stop the loop so it feels responsive to the pointer
               rather than fighting it. */
            #stickyGenerateCta:hover {
                animation: none;
                transform: translateX(-50%) translateY(-3px) scale(1.06);
                box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 2px rgba(255,215,0,.6);
            }
            #stickyGenerateCta:hover::before,
            #stickyGenerateCta:hover::after { animation-play-state: paused; }
            #stickyGenerateCta.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(12px); }
            @media (max-width: 480px) {
                #stickyGenerateCta { bottom: 16px; padding: 13px 24px; font-size: .95rem; }
            }
            /* Anyone who asked the OS to stop motion gets a static button --
               a forever-loop is exactly what that setting exists to silence. */
            @media (prefers-reduced-motion: reduce) {
                #stickyGenerateCta,
                #stickyGenerateCta i,
                #stickyGenerateCta::before,
                #stickyGenerateCta::after {
                    animation: none !important;
                    transition: none;
                }
                #stickyGenerateCta::after { display: none; }
            }
        