/* ─────────────────────────────────────────────────────────────────────
   Landing-page styles (Views/Home/Index.cshtml, signed-out marketing).
   Scoped under .lp- prefixes so nothing leaks into the app surfaces.
   Loaded only by the landing view.
   ──────────────────────────────────────────────────────────────────── */

/* ── Hero band — the one dark moment on the page. Slate-900 from the
      logomark, with the indigo radial glow from icon.svg behind the
      content. Contained (rounded panel inside the layout container)
      rather than full-bleed, so it can never introduce horizontal
      scroll. ─────────────────────────────────────────────────────── */
.lp-hero {
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(99, 102, 241, 0.35), transparent 65%),
        #0f172a;
    border-radius: 24px;
    color: #e2e8f0;
}

.lp-hero .lp-eyebrow {
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(129, 140, 248, 0.35);
    color: #c7d2fe;
    border-radius: 999px;
}

.lp-hero h1 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
}

.lp-hero .lp-sub {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 44rem;
}

.lp-hero .lp-microcopy { color: #94a3b8; }

/* Stats row at the foot of the hero */
.lp-stats {
    color: #cbd5e1;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.lp-stats .lp-stat-value { color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.lp-stats .lp-stat-label { color: #94a3b8; font-size: 0.85rem; }

/* Hero search — dominant, single CTA */
.lp-hero .form-control,
.lp-hero .input-group-text {
    border-color: transparent;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}
.lp-hero .input-group { border-radius: 12px; overflow: hidden; }
#heroSuggestions { border-radius: 12px; }
#heroSuggestions .list-group-item { cursor: pointer; }
#heroSuggestions .list-group-item.active {
    background: rgba(13, 110, 253, 0.08);
    color: inherit;
    border-color: rgba(13, 110, 253, 0.25);
}

/* ── Product shot — overlaps the hero band bottom ─────────────────── */
.lp-shot-wrap { margin-top: -96px; }
.lp-shot {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    background: #fff;
}
.lp-shot .lp-shot-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* ── Section rhythm + headings ────────────────────────────────────── */
.lp-section { padding-top: 5.5rem; padding-bottom: 1rem; }
.lp-section h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}
.lp-section .lp-section-sub {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 42rem;
}
.lp-kicker {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Cards: hairline borders, shadow only on hover ────────────────── */
.lp-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    background: #fff;
}
.lp-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

/* Consistent icon containers — 80% of "premium icon" perception */
.lp-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ── Proof strip ──────────────────────────────────────────────────── */
.lp-proof {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

/* ── Comparison table ─────────────────────────────────────────────── */
.lp-compare .lp-compare-col {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.lp-compare .lp-compare-col.lp-compare-us {
    border-color: var(--bs-primary);
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.10);
}

/* ── Final CTA band ───────────────────────────────────────────────── */
.lp-cta {
    background:
        radial-gradient(700px 320px at 50% 120%, rgba(99, 102, 241, 0.4), transparent 65%),
        #0f172a;
    border-radius: 24px;
    color: #e2e8f0;
}
.lp-cta h2 { color: #fff; letter-spacing: -0.02em; }

/* ── Pricing tweaks ───────────────────────────────────────────────── */
.lp-pricing .card { border-radius: 12px; }

/* ── Marketing footer (signed-out) ────────────────────────────────── */
/* Signed-out pages (<body class="lp-page">, _Layout): the marketing footer
   sits in the page flow, so on a short page — sign-in, register, forgot
   password — it floated mid-screen with blank page below it. The page is a
   column at least the viewport tall and the content wrapper (flex-grow-1)
   takes the slack. margin-bottom: site.css reserves 60px under the body for
   the signed-in footer, which is absolutely positioned; this one is not. */
.lp-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin-bottom: 0;
}

.lp-footer { background: #f8fafc; border-top: 1px solid #e2e8f0; }
.lp-footer a { color: #475569; text-decoration: none; }
.lp-footer a:hover { color: var(--bs-primary); }
.lp-footer .lp-footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}
