/* =========================================================================
   LogistiFlow — Design System
   A modern, enterprise SaaS look built on top of Bootstrap 5.
   Sections: 1) Tokens  2) Base  3) Buttons  4) Navbar  5) Hero
             6) Sections 7) Features 8) Workflow 9) Why 10) CTA
             11) Footer  12) Auth   13) Dashboard 14) Responsive
   ========================================================================= */

/* 1) Design tokens --------------------------------------------------------- */
:root {
    --lf-primary: #4f46e5;
    --lf-primary-dark: #4338ca;
    --lf-primary-darker: #3730a3;
    --lf-violet: #7c3aed;
    --lf-accent: #06b6d4;

    --lf-ink: #0f172a;
    --lf-ink-2: #1e293b;
    --lf-muted: #64748b;
    --lf-muted-2: #94a3b8;
    --lf-line: #e2e8f0;

    --lf-bg: #ffffff;
    --lf-bg-soft: #f8fafc;
    --lf-bg-soft-2: #f1f5f9;
    --lf-navy: #0b1220;

    --lf-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --lf-grad-soft: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12));

    --lf-shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.10);
    --lf-shadow: 0 10px 30px -12px rgba(15,23,42,.22);
    --lf-shadow-lg: 0 24px 60px -20px rgba(30,27,75,.45);

    --lf-radius: 14px;
    --lf-radius-lg: 22px;
    --lf-container: 1180px;

    --lf-font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
}

/* 2) Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }

body {
    font-family: var(--lf-font);
    color: var(--lf-ink-2);
    background: var(--lf-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 0;
}

a { color: var(--lf-primary); text-decoration: none; }
a:hover { color: var(--lf-primary-dark); }

.lf-container {
    width: 100%;
    max-width: var(--lf-container);
    margin-inline: auto;
    padding-inline: 22px;
}

.lf-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--lf-primary);
    margin-bottom: 14px;
}

.lf-gradient-text {
    background: var(--lf-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 3) Buttons --------------------------------------------------------------- */
.btn-lf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    font-size: .98rem;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn-lf:active { transform: translateY(1px); }

.btn-lf-primary {
    color: #fff;
    background: var(--lf-grad);
    box-shadow: 0 10px 24px -10px rgba(79,70,229,.7);
}
.btn-lf-primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(79,70,229,.8); transform: translateY(-1px); }

.btn-lf-outline {
    color: var(--lf-primary);
    background: #fff;
    border-color: var(--lf-line);
}
.btn-lf-outline:hover { border-color: var(--lf-primary); background: var(--lf-bg-soft); }

.btn-lf-ghost {
    color: #fff;
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.28);
    backdrop-filter: blur(6px);
}
.btn-lf-ghost:hover { color: #fff; background: rgba(255,255,255,.18); }

.btn-lf-light {
    color: var(--lf-primary-dark);
    background: #fff;
}
.btn-lf-light:hover { color: var(--lf-primary-darker); background: #f1f1ff; transform: translateY(-1px); }

.btn-lf-block { width: 100%; }
.btn-lf-lg { padding: 16px 28px; font-size: 1.05rem; }

/* 4) Navbar ---------------------------------------------------------------- */
.lf-navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    height: 74px;
    display: flex;
    align-items: center;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}
.lf-navbar--scrolled,
.lf-navbar--solid {
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom-color: var(--lf-line);
    box-shadow: var(--lf-shadow-sm);
}
.lf-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}
.lf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.32rem;
    letter-spacing: -.02em;
    color: var(--lf-ink);
}
.lf-navbar:not(.lf-navbar--scrolled):not(.lf-navbar--solid) .lf-brand { color: #fff; }
.lf-brand__mark {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: var(--lf-grad);
    box-shadow: 0 6px 16px -6px rgba(79,70,229,.8);
}
.lf-brand__mark svg { width: 20px; height: 20px; }

.lf-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0; padding: 0;
}
.lf-nav-links a {
    font-weight: 500;
    font-size: .96rem;
    color: var(--lf-ink-2);
    opacity: .9;
}
.lf-navbar:not(.lf-navbar--scrolled):not(.lf-navbar--solid) .lf-nav-links a { color: rgba(255,255,255,.88); }
.lf-nav-links a:hover { opacity: 1; color: var(--lf-primary); }
.lf-navbar:not(.lf-navbar--scrolled):not(.lf-navbar--solid) .lf-nav-links a:hover { color: #fff; }

.lf-nav-actions { display: flex; align-items: center; gap: 12px; }
.lf-nav-login {
    font-weight: 600; color: var(--lf-ink-2);
}
.lf-navbar:not(.lf-navbar--scrolled):not(.lf-navbar--solid) .lf-nav-login { color: #fff; }

.lf-nav-toggle {
    display: none;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.lf-nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }
.lf-navbar:not(.lf-navbar--scrolled):not(.lf-navbar--solid) .lf-nav-toggle { color: #fff; }
.lf-navbar--scrolled .lf-nav-toggle, .lf-navbar--solid .lf-nav-toggle { color: var(--lf-ink); }

/* 5) Hero ------------------------------------------------------------------ */
.lf-hero {
    position: relative;
    padding: 150px 0 110px;
    background: radial-gradient(1100px 520px at 12% -10%, rgba(124,58,237,.45), transparent 60%),
                radial-gradient(900px 500px at 100% 0%, rgba(6,182,212,.30), transparent 55%),
                var(--lf-navy);
    color: #fff;
    overflow: hidden;
}
.lf-hero::after {
    /* subtle grid texture */
    content: "";
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(900px 500px at 50% 0%, #000 30%, transparent 75%);
    opacity: .5;
    pointer-events: none;
}
.lf-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}
.lf-hero__pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    font-size: .82rem; font-weight: 600; color: #e2e8f0;
    margin-bottom: 22px;
}
.lf-hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.lf-hero__title {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0 0 20px;
}
.lf-hero__subtitle {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 560px;
    margin: 0 0 32px;
}
.lf-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.lf-hero__trust {
    margin-top: 34px;
    display: flex; flex-wrap: wrap; gap: 22px;
    color: #94a3b8; font-size: .9rem;
}
.lf-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.lf-hero__trust svg { color: #34d399; }

/* Hero product visual (glass flow card) */
.lf-glass {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--lf-radius-lg);
    padding: 22px;
    box-shadow: var(--lf-shadow-lg);
    backdrop-filter: blur(8px);
}
.lf-glass__head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.lf-glass__dots { display: flex; gap: 6px; }
.lf-glass__dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lf-glass__dots i:nth-child(1){ background:#f87171; }
.lf-glass__dots i:nth-child(2){ background:#fbbf24; }
.lf-glass__dots i:nth-child(3){ background:#34d399; }
.lf-glass__title { font-size: .82rem; color: #cbd5e1; margin-left: 6px; }

.lf-flowmini { display: grid; gap: 12px; }
.lf-flowmini__row {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 12px 14px;
}
.lf-flowmini__icon {
    width: 38px; height: 38px; border-radius: 10px; flex: none;
    display: grid; place-items: center; color: #fff;
    background: rgba(255,255,255,.10);
}
.lf-flowmini__icon.is-accent { background: var(--lf-grad); }
.lf-flowmini__label { font-size: .92rem; font-weight: 600; color: #e2e8f0; }
.lf-flowmini__sub { font-size: .76rem; color: #94a3b8; }
.lf-flowmini__chev { margin: -4px 0; color: #64748b; display: grid; place-items: center; }

/* 6) Sections -------------------------------------------------------------- */
.lf-section { padding: 92px 0; }
.lf-section--alt { background: var(--lf-bg-soft); }
.lf-section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.lf-section__title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800; letter-spacing: -.02em;
    color: var(--lf-ink); margin: 0 0 16px;
}
.lf-section__lead { font-size: 1.12rem; color: var(--lf-muted); line-height: 1.65; margin: 0; }

/* 7) Features -------------------------------------------------------------- */
.lf-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lf-feature-card {
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    padding: 30px 26px;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.lf-feature-card:hover { transform: translateY(-4px); box-shadow: var(--lf-shadow); border-color: transparent; }
.lf-feature-card__icon {
    width: 52px; height: 52px; border-radius: 13px;
    display: grid; place-items: center; color: #fff;
    background: var(--lf-grad);
    box-shadow: 0 10px 22px -10px rgba(79,70,229,.8);
    margin-bottom: 20px;
}
.lf-feature-card__icon svg { width: 26px; height: 26px; }
.lf-feature-card h3 { font-size: 1.22rem; font-weight: 700; color: var(--lf-ink); margin: 0 0 10px; }
.lf-feature-card p { color: var(--lf-muted); line-height: 1.6; margin: 0; font-size: .98rem; }
.lf-feature-card__soon {
    display: inline-block; margin-top: 16px;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--lf-primary); background: var(--lf-grad-soft);
    padding: 4px 10px; border-radius: 999px;
}

/* 8) Workflow -------------------------------------------------------------- */
.lf-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: stretch;
}
.lf-flow__step {
    position: relative;
    flex: 1 1 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    padding: 26px 16px 22px;
    text-align: center;
    box-shadow: var(--lf-shadow-sm);
}
.lf-flow__num {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--lf-grad); color: #fff;
    font-size: .8rem; font-weight: 700;
    display: grid; place-items: center;
}
.lf-flow__icon {
    width: 50px; height: 50px; margin: 6px auto 14px;
    border-radius: 14px; display: grid; place-items: center;
    color: var(--lf-primary); background: var(--lf-grad-soft);
}
.lf-flow__label { font-weight: 700; color: var(--lf-ink); font-size: .98rem; margin-bottom: 4px; }
.lf-flow__sub { font-size: .8rem; color: var(--lf-muted); line-height: 1.45; }
.lf-flow__arrow {
    flex: 0 0 auto;
    align-self: center;
    display: grid; place-items: center; color: var(--lf-muted-2);
}

/* 9) Why choose us --------------------------------------------------------- */
.lf-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.lf-why-card {
    background: #fff; border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius); padding: 26px 20px;
    transition: transform .18s ease, box-shadow .2s ease;
}
.lf-why-card:hover { transform: translateY(-4px); box-shadow: var(--lf-shadow); }
.lf-why-card__icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--lf-navy); color: #fff; margin-bottom: 16px;
}
.lf-why-card h4 { font-size: 1.04rem; font-weight: 700; color: var(--lf-ink); margin: 0 0 8px; }
.lf-why-card p { font-size: .9rem; color: var(--lf-muted); margin: 0; line-height: 1.55; }

/* 10) CTA band ------------------------------------------------------------- */
.lf-cta-band { padding: 40px 0 100px; }
.lf-cta-inner {
    position: relative; overflow: hidden;
    background: radial-gradient(700px 320px at 0% 0%, rgba(255,255,255,.18), transparent 60%), var(--lf-grad);
    border-radius: var(--lf-radius-lg);
    padding: 60px 52px;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    box-shadow: var(--lf-shadow-lg);
}
.lf-cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 10px; letter-spacing: -.02em; }
.lf-cta-inner p { margin: 0; color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 560px; }
.lf-cta-inner .lf-hero__cta { margin-top: 4px; }

/* 11) Footer --------------------------------------------------------------- */
.lf-footer { background: var(--lf-navy); color: #cbd5e1; padding: 72px 0 28px; }
.lf-footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.10);
}
.lf-footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: #fff; margin-bottom: 14px; }
.lf-footer p { color: #94a3b8; line-height: 1.65; font-size: .94rem; max-width: 320px; }
.lf-footer__col h5 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.lf-footer__col ul { list-style: none; margin: 0; padding: 0; }
.lf-footer__col li { margin-bottom: 11px; }
.lf-footer__col a { color: #94a3b8; font-size: .94rem; }
.lf-footer__col a:hover { color: #fff; }
.lf-social { display: flex; gap: 12px; margin-top: 18px; }
.lf-social a {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(255,255,255,.07); color: #cbd5e1; transition: background .2s ease, color .2s ease;
}
.lf-social a:hover { background: var(--lf-grad); color: #fff; }
.lf-footer__bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding-top: 24px; color: #94a3b8; font-size: .88rem;
}

/* 12) Auth (login) --------------------------------------------------------- */
.lf-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.lf-auth__brand {
    position: relative; overflow: hidden;
    padding: 56px 56px;
    color: #fff;
    background: radial-gradient(700px 420px at 18% 8%, rgba(124,58,237,.55), transparent 60%),
                radial-gradient(600px 400px at 100% 100%, rgba(6,182,212,.4), transparent 55%),
                var(--lf-navy);
    display: flex; flex-direction: column; justify-content: space-between;
}
.lf-auth__brand::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px; opacity: .5; mask-image: radial-gradient(700px 500px at 30% 20%, #000, transparent 75%);
}
.lf-auth__brand-inner { position: relative; z-index: 1; }
.lf-auth__brand .lf-brand { color: #fff; margin-bottom: 60px; }
.lf-auth__headline { font-size: 2.1rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.lf-auth__brand p { color: #cbd5e1; font-size: 1.05rem; line-height: 1.6; max-width: 420px; }
.lf-auth__points { position: relative; z-index: 1; list-style: none; margin: 28px 0 0; padding: 0; }
.lf-auth__points li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #e2e8f0; font-size: .98rem; }
.lf-auth__points svg { color: #34d399; flex: none; }

.lf-auth__form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--lf-bg-soft); }
.lf-auth-card { width: 100%; max-width: 420px; }
.lf-auth-card__title { font-size: 1.7rem; font-weight: 800; color: var(--lf-ink); margin: 0 0 6px; letter-spacing: -.02em; }
.lf-auth-card__sub { color: var(--lf-muted); margin: 0 0 28px; }

.lf-form-group { margin-bottom: 18px; }
.lf-label { display: block; font-weight: 600; font-size: .9rem; color: var(--lf-ink-2); margin-bottom: 7px; }
.lf-input {
    width: 100%; padding: 13px 15px; font-size: 1rem;
    border: 1px solid var(--lf-line); border-radius: 11px; background: #fff;
    color: var(--lf-ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.lf-input:focus { outline: none; border-color: var(--lf-primary); box-shadow: 0 0 0 4px rgba(79,70,229,.14); }
.lf-input.input-validation-error { border-color: #ef4444; }
.field-validation-error { display: block; color: #ef4444; font-size: .84rem; margin-top: 6px; }
.lf-input-wrap { position: relative; }
.lf-input-toggle {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; cursor: pointer; color: var(--lf-muted); padding: 6px; line-height: 0;
}
.lf-form-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; }
.lf-check { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--lf-ink-2); cursor: pointer; }
.lf-check input { width: 16px; height: 16px; accent-color: var(--lf-primary); }
.lf-link { font-size: .92rem; font-weight: 600; }

.lf-alert {
    display: none;
    align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 11px; margin-bottom: 18px; font-size: .92rem;
}
.lf-alert.is-error { display: flex; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.lf-alert.is-success { display: flex; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.lf-auth__foot { margin-top: 24px; text-align: center; color: var(--lf-muted); font-size: .92rem; }
.lf-auth__hint {
    margin-top: 18px; padding: 12px 14px; border-radius: 11px;
    background: var(--lf-grad-soft); color: var(--lf-primary-darker);
    font-size: .85rem; text-align: center; border: 1px dashed rgba(79,70,229,.3);
}
.lf-spinner {
    width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff;
    border-radius: 50%; animation: lf-spin .6s linear infinite; display: inline-block;
}
@keyframes lf-spin { to { transform: rotate(360deg); } }

/* 13) Dashboard ------------------------------------------------------------ */
.lf-app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: var(--lf-bg-soft); }
.lf-sidebar { background: var(--lf-navy); color: #cbd5e1; padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.lf-sidebar__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; padding: 4px 8px 22px; }
.lf-sidebar__label { padding: 16px 12px 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.lf-sidebar__nav { display: flex; flex-direction: column; gap: 3px; }
.lf-sidebar__item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px; border-radius: 10px;
    color: #cbd5e1; font-size: .95rem; font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
.lf-sidebar__item:hover { background: rgba(255,255,255,.06); color: #fff; }
.lf-sidebar__item.is-active { background: var(--lf-grad); color: #fff; }
.lf-sidebar__item svg { flex: none; }
.lf-sidebar__item .lf-pill-soon { margin-left: auto; }
.lf-pill-soon {
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: rgba(255,255,255,.12); color: #e2e8f0; padding: 3px 7px; border-radius: 999px;
}

.lf-topbar {
    height: 72px; background: #fff; border-bottom: 1px solid var(--lf-line);
    display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
    position: sticky; top: 0; z-index: 20;
}
.lf-topbar__title { font-weight: 700; color: var(--lf-ink); font-size: 1.1rem; }
.lf-topbar__right { display: flex; align-items: center; gap: 16px; }
.lf-user { display: flex; align-items: center; gap: 10px; }
.lf-user__avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--lf-grad);
    color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.lf-user__name { font-weight: 600; color: var(--lf-ink); font-size: .92rem; line-height: 1.1; }
.lf-user__role { font-size: .76rem; color: var(--lf-muted); }
.lf-logout {
    border: 1px solid var(--lf-line); background: #fff; color: var(--lf-ink-2);
    padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, color .15s;
}
.lf-logout:hover { border-color: #ef4444; color: #ef4444; }

.lf-main { padding: 32px 28px 48px; }
.lf-welcome { margin-bottom: 28px; }
.lf-welcome h1 { font-size: 1.6rem; font-weight: 800; color: var(--lf-ink); margin: 0 0 6px; letter-spacing: -.02em; }
.lf-welcome p { color: var(--lf-muted); margin: 0; }

.lf-module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 20px; }
.lf-module-card {
    position: relative; background: #fff; border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius); padding: 24px; transition: transform .18s, box-shadow .2s;
}
.lf-module-card:hover { transform: translateY(-3px); box-shadow: var(--lf-shadow); }
.lf-module-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--lf-grad); margin-bottom: 16px; }
.lf-module-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--lf-ink); margin: 0 0 8px; }
.lf-module-card p { font-size: .9rem; color: var(--lf-muted); margin: 0 0 16px; line-height: 1.55; }
.lf-badge-soon {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--lf-primary); background: var(--lf-grad-soft); padding: 5px 11px; border-radius: 999px;
}
.lf-badge-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lf-primary); }

/* 14) Responsive ----------------------------------------------------------- */
@media (max-width: 991px) {
    .lf-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .lf-hero__visual { order: -1; max-width: 460px; }
    .lf-features { grid-template-columns: repeat(2, 1fr); }
    .lf-why { grid-template-columns: repeat(2, 1fr); }
    .lf-flow__step { flex-basis: 28%; }
    .lf-flow__arrow { display: none; }
    .lf-footer__grid { grid-template-columns: 1fr 1fr; }
    .lf-cta-inner { flex-direction: column; text-align: center; align-items: center; }
    .lf-auth { grid-template-columns: 1fr; }
    .lf-auth__brand { display: none; }
    .lf-app { grid-template-columns: 1fr; }
    .lf-sidebar { display: none; }
}

@media (max-width: 767px) {
    .lf-nav-links, .lf-nav-actions .btn-lf, .lf-nav-actions .lf-nav-login { display: none; }
    .lf-nav-toggle { display: block; }
    .lf-nav-menu-open .lf-nav-links {
        display: flex; flex-direction: column; gap: 4px;
        position: absolute; top: 74px; left: 0; right: 0;
        background: #fff; padding: 16px 22px; border-bottom: 1px solid var(--lf-line);
        box-shadow: var(--lf-shadow);
    }
    .lf-nav-menu-open .lf-nav-links a { color: var(--lf-ink-2); padding: 8px 0; }
    .lf-nav-menu-open .lf-nav-actions .btn-lf,
    .lf-nav-menu-open .lf-nav-actions .lf-nav-login { display: inline-flex; }
    .lf-nav-menu-open .lf-nav-actions {
        position: absolute; top: calc(74px + 132px); left: 0; right: 0;
        background: #fff; padding: 0 22px 18px; flex-direction: column; align-items: stretch;
    }
    .lf-section { padding: 64px 0; }
    .lf-hero { padding: 124px 0 80px; }
    .lf-features { grid-template-columns: 1fr; }
    .lf-why { grid-template-columns: 1fr; }
    .lf-flow__step { flex-basis: 100%; }
    .lf-footer__grid { grid-template-columns: 1fr; }
    .lf-cta-inner { padding: 40px 26px; }
    .lf-auth__form { padding: 32px 18px; }
}
