/* ── Template floating back button ── */
.tpl-back-btn{position:fixed;top:1.1rem;left:1.1rem;z-index:9999;display:flex;align-items:center;gap:.4rem;padding:.45rem .85rem .45rem .55rem;background:rgba(0,0,0,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.15);border-radius:999px;color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-decoration:none;text-transform:uppercase;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease;box-shadow:0 2px 14px rgba(0,0,0,.4)}
.tpl-back-btn svg{width:1rem;height:1rem;flex-shrink:0}
.tpl-back-btn:hover{background:rgba(248,192,69,.75);border-color:rgba(248,192,69,.8);box-shadow:0 0 16px rgba(248,192,69,.55);color:#000}

:root {
    --bg-0: #05080f;
    --bg-1: #0c1321;
    --bg-2: #131f34;
    --ink: #eef4ff;
    --muted: #9fb0cc;
    --line: rgba(238, 244, 255, 0.16);
    --accent: #f8c045;
    --accent-2: #34d6bf;
    --danger: #ff6a6a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(248, 192, 69, 0.2), transparent 34%),
        radial-gradient(circle at 86% 24%, rgba(52, 214, 191, 0.16), transparent 36%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
    min-height: 100vh;
}

.lf-shell {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.lf-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(9px);
    background: rgba(5, 8, 15, 0.68);
    border-bottom: 1px solid var(--line);
}

.lf-header .lf-shell {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lf-brand {
    text-decoration: none;
    color: var(--ink);
    font-family: "Archivo Black", sans-serif;
    letter-spacing: 0.02em;
    font-size: 1.2rem;
}

.lf-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.lf-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent-2);
    box-shadow: 0 0 12px rgba(52, 214, 191, 0.8);
}

.lf-hero {
    position: relative;
    padding: 3.4rem 0 2rem;
}

.lf-ambient {
    position: absolute;
    inset: -25% -20% auto auto;
    width: 66vw;
    height: 66vw;
    max-width: 840px;
    max-height: 840px;
    background: radial-gradient(circle, rgba(248, 192, 69, 0.2), transparent 58%);
    pointer-events: none;
}

.lf-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    position: relative;
}

.lf-kicker {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #ffe29e;
    margin-bottom: 0.8rem;
}

.lf-copy h1,
.lf-proof h2,
.lf-proof h3 {
    font-family: "Archivo Black", sans-serif;
    line-height: 1.06;
}

.lf-copy h1 {
    font-size: clamp(2rem, 5.5vw, 4.1rem);
    max-width: 14ch;
}

.lf-copy > p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 52ch;
}

.lf-badges {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.lf-badges span {
    border: 1px solid var(--line);
    background: rgba(238, 244, 255, 0.04);
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    font-size: 0.78rem;
    color: #d5e3ff;
}

.lf-funnel-card {
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(238, 244, 255, 0.08), rgba(238, 244, 255, 0.02));
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 26px 45px rgba(0, 0, 0, 0.36);
}

.lf-step-label {
    font-size: 0.8rem;
    color: #dce8ff;
    margin-bottom: 0.5rem;
}

.lf-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(238, 244, 255, 0.15);
    overflow: hidden;
}

.lf-progress-fill {
    width: 33.33%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ffd97d);
    transition: width 0.25s ease;
}

#funnelForm {
    margin-top: 0.9rem;
}

.lf-step {
    display: none;
    border: 0;
}

.lf-step.is-active {
    display: block;
}

.lf-step legend {
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.lf-step label {
    display: block;
    font-size: 0.86rem;
    color: #d8e4f9;
    margin-bottom: 0.35rem;
    margin-top: 0.72rem;
}

.lf-step input,
.lf-step select,
.lf-step textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    border: 1px solid var(--line);
    background: rgba(6, 13, 24, 0.78);
    border-radius: 10px;
    padding: 0.65rem 0.72rem;
}

.lf-step input:focus,
.lf-step select:focus,
.lf-step textarea:focus {
    outline: 2px solid rgba(248, 192, 69, 0.5);
    border-color: rgba(248, 192, 69, 0.72);
}

.lf-step textarea {
    resize: vertical;
    min-height: 90px;
}

.lf-nav {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.lf-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.62rem 0.85rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
}

.lf-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.lf-btn-muted {
    color: #d6e2f8;
    border-color: var(--line);
    background: rgba(238, 244, 255, 0.06);
}

.lf-btn-primary {
    color: #261700;
    background: linear-gradient(120deg, var(--accent), #ffd97d);
}

.is-hidden {
    display: none;
}

.lf-disclaimer {
    margin-top: 0.6rem;
    font-size: 0.74rem;
    color: var(--muted);
}

.lf-input-error {
    border-color: var(--danger) !important;
    outline-color: rgba(255, 106, 106, 0.5) !important;
}

.lf-proof {
    padding: 2.6rem 0 4rem;
}

.lf-proof h2 {
    font-size: clamp(1.55rem, 3.6vw, 2.6rem);
    margin-bottom: 1rem;
}

.lf-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.lf-proof-grid article {
    border: 1px solid var(--line);
    background: rgba(238, 244, 255, 0.03);
    border-radius: 12px;
    padding: 0.9rem;
}

.lf-proof-grid h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.lf-proof-grid p {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 930px) {
    .lf-hero-grid,
    .lf-proof-grid {
        grid-template-columns: 1fr;
    }
}
