.landing {
    --lp-cabinet: #080c18;
    --lp-panel: #171c36;
    --lp-line: #343d69;
    --lp-ink: #f6f7ff;
    --lp-muted: #aeb7db;
    --lp-mint: #00e5a8;
    --lp-cyan: #27d7f2;
    overflow-x: hidden;
    background: var(--lp-cabinet);
    color: var(--lp-ink);
}

.landing main { overflow: clip; }

.landing .app-header {
    align-items: center;
    padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(14px, 3vw, 34px) 12px;
}

.landing .app-logo { height: clamp(40px, 3.5vw, 50px); }

.landing .app-header .btn {
    min-height: 40px;
    border-radius: 12px;
    padding: 8px 15px;
}

.landing button:focus-visible,
.landing a:focus-visible {
    outline: 3px solid var(--lp-cyan);
    outline-offset: 3px;
}

.lp-hero {
    min-height: 0;
    padding: calc(82px + env(safe-area-inset-top, 0px)) 16px 28px;
}

.lp-hero-bg {
    background:
        linear-gradient(180deg, rgba(8, 12, 24, 0.5), rgba(8, 12, 24, 0.9) 78%, var(--lp-cabinet)),
        url(../images/all/backgorund-painel1.png) center top / cover no-repeat;
}

.lp-hero-inner {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.lp-live-pill {
    margin-bottom: 16px;
    padding: 7px 14px;
    font-size: 0.76rem;
}

.lp-title {
    max-width: 540px;
    margin: 0 auto 20px;
    color: var(--lp-ink);
    font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    letter-spacing: -0.03em;
    line-height: 0.98;
    text-wrap: balance;
}

.lp-title-accent {
    background: none;
    color: var(--lp-mint);
    -webkit-text-fill-color: currentColor;
    filter: drop-shadow(0 4px 0 #005744);
}

.lp-hero-banner {
    width: min(100%, 300px);
    max-width: none;
    margin: 0 auto 20px;
    border-radius: 16px;
    box-shadow: 0 8px 0 #050711, 0 18px 36px rgba(0, 0, 0, 0.38);
}

.lp-hero-banner img {
    aspect-ratio: 1;
    object-fit: cover;
}

.lp-ctas {
    width: min(100%, 460px);
    gap: 8px;
    margin: 0 auto;
}

.lp-btn-primary,
.lp-btn-free {
    min-height: 50px;
    margin: 0;
    border-radius: 14px !important;
    font-family: Bahnschrift, "Segoe UI", sans-serif;
}

.lp-btn-primary {
    border: 1px solid #71ffd1;
    box-shadow: 0 5px 0 #005744, 0 12px 24px rgba(0, 81, 62, 0.26);
}

.lp-btn-free { box-shadow: 0 4px 0 #062225; }

.lp-btn-link {
    align-self: center;
    padding: 5px 8px;
    text-underline-offset: 3px;
}

.lp-stats {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 28px), 600px);
    max-width: none;
    gap: 8px;
    margin: 0 auto;
    padding: 0 0 34px;
}

.lp-stat {
    min-width: 0;
    border-radius: 14px;
    padding: 13px 7px;
}

.lp-stat-value {
    color: var(--lp-mint);
    font-family: Bahnschrift, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 4vw, 1.25rem);
}

.lp-stat-label {
    color: var(--lp-muted);
    font-size: 0.6rem;
}

.lp-howto {
    padding: 42px 0 48px;
    border-color: rgba(52, 61, 105, 0.62);
    background: rgba(4, 7, 16, 0.34);
}

.lp-howto-head {
    margin-bottom: 26px;
}

.lp-howto-icon {
    width: 38px;
    height: 34px;
    margin-bottom: 8px;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: #111932;
}

.lp-howto-icon svg { width: 22px; height: 22px; }

.lp-howto-title,
.lp-section-title {
    color: var(--lp-ink);
    font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
}

.lp-howto-sub,
.lp-section-sub { color: var(--lp-muted); }

.lp-howto-scroll { align-items: stretch; }

.lp-howto-card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    min-height: 252px;
    border-radius: 16px;
    border-color: rgba(52, 61, 105, 0.9);
    background: #11172e;
    box-shadow: 0 5px 0 #050711, 0 12px 24px rgba(0, 0, 0, 0.22);
}

.lp-howto-visual,
.lp-howto-visual--board {
    min-height: 0;
    aspect-ratio: 2.4;
    border-bottom: 1px solid var(--lp-line);
    background: #0a1022;
}

.lp-howto-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-howto-visual--board {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: linear-gradient(180deg, #10264b, #0a1429);
}

.lp-howto-visual--board .hero-board {
    width: auto;
    height: 100%;
    max-height: none;
    aspect-ratio: 8 / 10;
    gap: 1px;
    padding: 4px;
    border: 1px solid #3f68aa;
    border-radius: 6px;
    background: #0b2245;
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.42);
}

.lp-howto-visual--board .hero-cell {
    min-width: 0;
    min-height: 0;
    border-radius: 1px;
    background: #123466;
    --bv: 1px;
    transition: background 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.lp-howto-visual--board .hero-cell.is-ghost {
    border: 1px solid rgba(39, 215, 242, 0.72);
    background: rgba(39, 215, 242, 0.12);
    box-shadow: none;
}

.lp-howto-visual--board .hero-cell.is-falling { filter: brightness(1.16); }

.lp-howto-visual--board .hero-cell.is-clearing {
    animation: lp-line-lock 1050ms ease-out both;
}

.lp-howto-badge {
    top: 9px;
    right: 9px;
    width: 32px;
    height: 32px;
}

.lp-howto-card h3 { padding: 14px 14px 6px; }

.lp-howto-card p {
    min-height: 0;
    padding: 0 14px 16px;
    color: var(--lp-muted);
}

.lp-section {
    max-width: 960px;
    padding: 56px 20px;
}

.lp-section-reviews { padding-top: 54px; }

.lp-review {
    min-height: 210px;
    border-color: rgba(52, 61, 105, 0.86);
    border-radius: 16px;
    background: var(--lp-panel);
    box-shadow: 0 5px 0 #050711;
}

.lp-final {
    max-width: 720px;
    padding: 34px 16px 52px;
}

.lp-final .lp-btn-primary { max-width: 560px; margin-inline: auto; }

.lp-footer {
    border-color: var(--lp-line);
    background: #080b17;
}

@keyframes lp-line-lock {
    0%, 72% { filter: brightness(1.05); }
    84% { filter: brightness(2); }
    100% { filter: brightness(1.15); }
}

@media (min-width: 700px) and (max-width: 899px) {
    .lp-howto-scroll {
        width: min(calc(100% - 32px), 700px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin: 0 auto;
        padding: 4px 0 12px;
        overflow: visible;
    }
}

@media (min-width: 900px) {
    .lp-hero {
        min-height: 560px;
        display: grid;
        align-items: center;
        padding: calc(86px + env(safe-area-inset-top, 0px)) 28px 50px;
    }

    .lp-hero-inner {
        max-width: 980px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        grid-template-areas:
            "status visual"
            "title visual"
            "actions visual";
        align-items: center;
        column-gap: 48px;
        text-align: left;
    }

    .lp-live-pill {
        grid-area: status;
        justify-self: start;
    }

    .lp-title {
        grid-area: title;
        margin: 0 0 22px;
        font-size: clamp(3rem, 4.2vw, 4rem);
    }

    .lp-hero-banner {
        grid-area: visual;
        width: 340px;
        margin: 0;
        justify-self: end;
    }

    .lp-ctas {
        grid-area: actions;
        margin: 0;
    }

    .lp-stats {
        width: min(calc(100% - 32px), 760px);
        margin-top: -22px;
        padding-bottom: 42px;
    }

    .lp-howto-scroll {
        width: min(calc(100% - 40px), 1040px);
        max-width: none;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        margin: 0 auto;
        padding: 4px 0 12px;
        overflow: visible;
    }

    .lp-howto-card { min-width: 0; max-width: none; }
}

@media (max-width: 699px) {
    .landing .app-header {
        padding-right: 12px;
        padding-left: 12px;
    }

    .landing .app-logo { height: 39px; }

    .landing .app-header .btn {
        min-height: 37px;
        padding: 7px 11px;
        font-size: 0.68rem;
    }

    .landing .header-actions { gap: 7px; }

    .lp-title { font-size: clamp(2.25rem, 12.5vw, 2.9rem); }
    .lp-hero-banner { width: min(78vw, 286px); }
    .lp-btn-primary, .lp-btn-free { min-height: 48px; }

    .lp-stats {
        width: calc(100% - 24px);
        gap: 6px;
        padding-bottom: 30px;
    }

    .lp-stat { padding: 11px 5px; }
    .lp-stat-label { font-size: 0.53rem; letter-spacing: 0.035em; }

    .lp-howto { padding: 38px 0 42px; }
    .lp-howto-head { margin-bottom: 22px; }

    .lp-howto-scroll {
        gap: 12px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .lp-howto-card {
        flex: 0 0 min(76vw, 270px);
        min-height: 250px;
    }

    .lp-section { padding: 48px 14px; }
    .lp-review { min-height: 0; }
    .lp-final { padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .landing *,
    .landing *::before,
    .landing *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
