/* ==========================================================================
   Landing / public site design system
   Brand colour comes from settings()->primary_color via --bs-primary.
   Everything is scoped under .lx so the legacy style.css pages keep working.
   ========================================================================== */

:root {
    --lx-brand: var(--bs-primary, #6d28d9);
    --lx-brand-soft: color-mix(in srgb, var(--lx-brand) 10%, #ffffff);
    --lx-brand-light: color-mix(in srgb, var(--lx-brand) 55%, #ffffff);
    --lx-brand-deep: color-mix(in srgb, var(--lx-brand) 70%, #000000);
    --lx-accent: #ff9f6b;
    --lx-gradient: linear-gradient(135deg, var(--lx-brand) 0%, color-mix(in srgb, var(--lx-brand) 60%, #ff6b8b) 100%);

    --lx-ink: #0f1222;
    --lx-ink-2: #2b3045;
    --lx-muted: #646a80;
    --lx-line: #ebe9f2;
    --lx-surface: #ffffff;
    --lx-tint: color-mix(in srgb, var(--lx-brand) 4%, #f8f8fb);
    --lx-night: color-mix(in srgb, var(--lx-brand) 14%, #07070f);

    --lx-radius-sm: 12px;
    --lx-radius: 20px;
    --lx-radius-lg: 28px;
    --lx-shadow-sm: 0 1px 2px rgba(15, 18, 34, .06), 0 2px 8px rgba(15, 18, 34, .04);
    --lx-shadow: 0 10px 30px -12px rgba(15, 18, 34, .18), 0 4px 10px -6px rgba(15, 18, 34, .08);
    --lx-shadow-lg: 0 30px 60px -20px rgba(15, 18, 34, .35);
    --lx-shadow-brand: 0 12px 28px -10px color-mix(in srgb, var(--lx-brand) 60%, transparent);

    --lx-font: 'Plus Jakarta Sans', 'Roboto', system-ui, -apple-system, sans-serif;
    --lx-nav-h: 92px;
    --lx-ease: cubic-bezier(.22, 1, .36, 1);
}

.lx-body {
    background: var(--lx-surface);
    overflow-x: hidden;
}

.lx {
    font-family: var(--lx-font);
    color: var(--lx-ink-2);
    -webkit-font-smoothing: antialiased;
}

/* style.css forces heading colour/font with !important */
.lx h1, .lx h2, .lx h3, .lx h4, .lx h5, .lx h6 {
    font-family: var(--lx-font) !important;
    color: inherit !important;
    margin: 0;
}

.lx p { margin: 0; color: inherit; }
.lx a { text-decoration: none; }
.lx img { max-width: 100%; }

.lx-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Buttons & small parts ---------- */

.lx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--lx-font);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--lx-ease), box-shadow .25s var(--lx-ease), background-color .25s, color .25s, border-color .25s;
}
.lx-btn i { font-size: 13px; transition: transform .25s var(--lx-ease); }
.lx-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.lx-btn--sm { padding: 11px 18px; font-size: 14px; }

.lx-btn--primary {
    background: var(--lx-gradient);
    color: #fff !important;
    box-shadow: var(--lx-shadow-brand);
}
.lx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px color-mix(in srgb, var(--lx-brand) 70%, transparent); }

.lx-btn--light { background: #fff; color: var(--lx-ink) !important; box-shadow: var(--lx-shadow); }
.lx-btn--light:hover { transform: translateY(-2px); }

.lx-btn--ghost { background: transparent; color: var(--lx-ink) !important; border-color: var(--lx-line); }
.lx-btn--ghost:hover { border-color: var(--lx-brand); color: var(--lx-brand) !important; }

.lx-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    min-width: 42px;
    padding: 0 12px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    background: #fff;
    color: var(--lx-ink);
    font-family: var(--lx-font);
    font-size: 13px;
    font-weight: 700;
    transition: border-color .2s, color .2s, background-color .2s;
}
.lx-icon-btn:hover { border-color: var(--lx-brand); color: var(--lx-brand); }

.lx-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 600;
}
.lx-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .2);
    animation: lx-pulse 2s infinite;
}

.lx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lx-brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lx-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--lx-gradient);
}

.lx-gradient-text {
    background: linear-gradient(90deg, var(--lx-brand-light), var(--lx-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lx-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lx-brand);
    font-weight: 700;
    font-size: 14px;
}
.lx-link i { font-size: 12px; transition: transform .25s var(--lx-ease); }

.lx-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 18px;
    background: var(--lx-gradient);
    box-shadow: var(--lx-shadow-brand);
}
.lx-icon-tile img { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) invert(1); }
.lx-icon-tile--sm { width: 52px; height: 52px; border-radius: 15px; }
.lx-icon-tile--sm img { width: 28px; height: 28px; }

.lx-social { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: inherit;
    opacity: .8;
    transition: opacity .2s, background-color .2s, border-color .2s, transform .2s;
}
.lx-social a:hover { opacity: 1; background: var(--lx-brand); border-color: var(--lx-brand); color: #fff; transform: translateY(-2px); }

/* ---------- Navigation ---------- */

.lx-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: 14px;
    height: var(--lx-nav-h);
}
.lx-nav__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
    padding: 0 10px 0 20px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: var(--lx-shadow-sm);
    transition: box-shadow .3s, background-color .3s;
}
.lx-nav.is-scrolled .lx-nav__bar { background: rgba(255, 255, 255, .95); box-shadow: var(--lx-shadow); }
.lx-nav:not(.lx-nav--overlay) .lx-nav__bar { border-color: var(--lx-line); }

.lx-nav__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--lx-ink); }
.lx-nav__brand img { height: 36px; width: auto; max-width: 110px; object-fit: contain; }
.lx-nav__brand span {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lx-nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.lx-nav__links a {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--lx-ink-2);
    font-size: 15px;
    font-weight: 600;
    transition: color .2s, background-color .2s;
}
.lx-nav__links a:hover { color: var(--lx-brand); background: var(--lx-brand-soft); }
.lx-nav__links a.active { color: var(--lx-brand); background: var(--lx-brand-soft); }

.lx-nav__actions { display: flex; align-items: center; gap: 8px; }
.lx-nav__toggle { display: none; }

.lx-dropdown {
    min-width: 200px;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid var(--lx-line);
    border-radius: 16px;
    box-shadow: var(--lx-shadow);
    font-family: var(--lx-font);
}
.lx-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--lx-ink-2);
    font-size: 14px;
    font-weight: 600;
}
.lx-dropdown .dropdown-item:hover { background: var(--lx-brand-soft); color: var(--lx-brand); }

.lx-offcanvas.offcanvas { width: min(360px, 88vw); border: 0; background: #fff; }
.lx-offcanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--lx-line);
}
.lx-offcanvas__title { color: var(--lx-ink); font-weight: 800; font-size: 18px; }
.lx-offcanvas__links { display: flex; flex-direction: column; padding: 16px; }
.lx-offcanvas__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 14px;
    color: var(--lx-ink);
    font-size: 17px;
    font-weight: 700;
}
.lx-offcanvas__links a i { font-size: 12px; color: var(--lx-muted); }
.lx-offcanvas__links a.active, .lx-offcanvas__links a:hover { background: var(--lx-brand-soft); color: var(--lx-brand); }
.lx-offcanvas__foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--lx-line);
    color: var(--lx-ink-2);
}
.lx-offcanvas__foot > a { display: flex; align-items: center; gap: 10px; color: var(--lx-ink-2); font-size: 14px; font-weight: 600; }
.lx-offcanvas__foot > a i { color: var(--lx-brand); width: 16px; }
.lx-offcanvas__foot .lx-social { margin-top: 8px; color: var(--lx-ink-2); }

/* ---------- Hero ---------- */

.lx-hero {
    position: relative;
    isolation: isolate;
    margin-top: calc(-1 * var(--lx-nav-h));
    padding: calc(var(--lx-nav-h) + 72px) 0 160px;
    background: var(--lx-night);
    color: #fff;
    overflow: hidden;
}
.lx-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lx-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    animation: lx-drift 18s ease-in-out infinite alternate;
}
.lx-hero__orb--1 { width: 560px; height: 560px; top: -180px; left: -120px; background: var(--lx-brand); }
.lx-hero__orb--2 { width: 480px; height: 480px; bottom: -220px; right: -80px; background: color-mix(in srgb, var(--lx-brand) 40%, var(--lx-accent)); opacity: .35; animation-delay: -6s; }
.lx-hero__grid {
    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: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.lx-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
}

.lx .lx-hero__title {
    display: flex;
    flex-direction: column;
    margin: 24px 0 20px !important;
    color: #fff !important;
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}
.lx .lx-hero__subtitle {
    max-width: 520px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.65;
}

.lx-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 540px;
    margin-top: 36px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
    transition: border-color .25s, background-color .25s;
}
.lx-track:focus-within { border-color: var(--lx-brand-light); background: rgba(255, 255, 255, .12); }
.lx-track__icon { padding-inline-start: 16px; color: rgba(255, 255, 255, .55); }
.lx-track input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: var(--lx-font);
    font-size: 16px;
    font-weight: 500;
}
.lx-track input::placeholder { color: rgba(255, 255, 255, .5); }
.lx .lx-hero__hint { margin-top: 12px !important; padding-inline-start: 24px; color: rgba(255, 255, 255, .45); font-size: 13px; }

.lx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}
.lx-hero__trust li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; }
.lx-hero__trust i { color: var(--lx-brand-light); }

.lx-hero__visual { position: relative; padding: 32px 24px; }
.lx-hero__card {
    position: relative;
    padding: 14px;
    border-radius: var(--lx-radius-lg);
    background: #fff;
    box-shadow: var(--lx-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1);
    transform: rotate(-1.5deg);
    transition: transform .6s var(--lx-ease);
}
.lx-hero__visual:hover .lx-hero__card { transform: rotate(0deg) translateY(-4px); }
.lx-hero__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: calc(var(--lx-radius-lg) - 8px);
    background: var(--lx-tint);
}
.lx-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--lx-radius-lg) - 8px);
    background: var(--lx-gradient);
    color: #fff;
    font-size: 72px;
}

.lx-route { padding: 20px 10px 8px; color: var(--lx-ink); }
.lx-route__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.lx-route__label { color: var(--lx-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lx-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--lx-brand-soft);
    color: var(--lx-brand);
    font-size: 12px;
    font-weight: 700;
}
.lx-status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: lx-pulse 1.8s infinite; }

.lx-route__track { position: relative; display: flex; justify-content: space-between; }
.lx-route__track::before,
.lx-route__progress {
    content: "";
    position: absolute;
    top: 21px;
    inset-inline-start: 22px;
    height: 3px;
    border-radius: 3px;
}
.lx-route__track::before { inset-inline-end: 22px; background: var(--lx-line); }
.lx-route__progress { width: 0; background: var(--lx-gradient); transition: width 1.6s var(--lx-ease) .4s; }
.is-visible .lx-route__progress { width: calc(50% - 22px); }

.lx-route__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1; }
.lx-route__stop i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--lx-line);
    color: var(--lx-muted);
    font-size: 15px;
}
.lx-route__stop span { color: var(--lx-muted); font-size: 12px; font-weight: 700; }
.lx-route__stop.is-done i { background: var(--lx-brand); color: #fff; }
.lx-route__stop.is-current i {
    background: var(--lx-gradient);
    color: #fff;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--lx-brand) 18%, transparent);
    animation: lx-ring 2.2s infinite;
}
.lx-route__stop.is-done span, .lx-route__stop.is-current span { color: var(--lx-ink); }

.lx-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--lx-shadow-lg);
    color: var(--lx-ink);
    animation: lx-float 6s ease-in-out infinite;
}
.lx-float strong { display: block; font-size: 14px; font-weight: 800; }
.lx-float small { color: var(--lx-muted); font-size: 12px; font-weight: 600; }
.lx-float--top { top: 0; inset-inline-end: 0; }
.lx-float--bottom { top: 46%; inset-inline-start: -8px; animation-delay: -3s; }
.lx-float__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #d1fae5;
    color: #059669;
}
.lx-float__icon--brand { background: var(--lx-brand-soft); color: var(--lx-brand); }

/* ---------- Stats ---------- */

.lx-stats { position: relative; z-index: 2; margin-top: -84px; }
.lx-stats__panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 12px;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius-lg);
    background: #fff;
    box-shadow: var(--lx-shadow-lg);
}
.lx-stat { display: flex; align-items: center; gap: 16px; padding: 24px; }
.lx-stat + .lx-stat { border-inline-start: 1px solid var(--lx-line); }
.lx-stat__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--lx-brand-soft);
    color: var(--lx-brand);
    font-size: 20px;
}
.lx-stat__value { color: var(--lx-ink); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.lx-stat__label { margin-top: 4px; color: var(--lx-muted); font-size: 14px; font-weight: 600; }

/* ---------- Sections ---------- */

.lx-section { padding: 112px 0; }
.lx-section--tinted { background: var(--lx-tint); }

.lx-heading { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.lx-heading--start { margin: 0; text-align: start; }
.lx .lx-heading__title {
    margin: 14px 0 16px !important;
    color: var(--lx-ink) !important;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
}
.lx .lx-heading__subtitle { color: var(--lx-muted); font-size: 17px; line-height: 1.7; }
.lx-heading--start .lx-btn { margin-top: 32px; }

/* services */
.lx-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.lx-service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 36px;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius-lg);
    background: #fff;
    overflow: hidden;
    transition: transform .4s var(--lx-ease), box-shadow .4s var(--lx-ease), border-color .4s;
}
.lx-service::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--lx-brand);
    filter: blur(80px);
    opacity: 0;
    transition: opacity .4s;
}
.lx-service:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--lx-brand) 30%, var(--lx-line)); box-shadow: var(--lx-shadow-lg); }
.lx-service:hover::after { opacity: .12; }
.lx-service:hover .lx-link i { transform: translateX(4px); }
.lx-service__index {
    position: absolute;
    top: 24px;
    inset-inline-end: 32px;
    color: var(--lx-line);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}
.lx .lx-service__title { margin-top: 8px !important; color: var(--lx-ink) !important; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.lx .lx-service__text { flex: 1; color: var(--lx-muted); font-size: 15px; line-height: 1.7; }

/* steps */
.lx-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lx-steps::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed color-mix(in srgb, var(--lx-brand) 30%, transparent);
}
.lx-step {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius);
    background: #fff;
    text-align: center;
    transition: transform .4s var(--lx-ease), box-shadow .4s var(--lx-ease);
}
.lx-step:hover { transform: translateY(-4px); box-shadow: var(--lx-shadow); }
.lx-step__number {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lx-tint);
    color: var(--lx-brand);
    font-size: 13px;
    font-weight: 800;
}
.lx-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--lx-gradient);
    box-shadow: var(--lx-shadow-brand), 0 0 0 8px #fff;
    color: #fff;
    font-size: 22px;
}
.lx .lx-step__title { margin-bottom: 10px !important; color: var(--lx-ink) !important; font-size: 18px; font-weight: 800; }
.lx .lx-step__text { color: var(--lx-muted); font-size: 14px; line-height: 1.65; }

/* why us */
.lx-why { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.lx-why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lx-feature {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius);
    background: #fff;
    transition: transform .4s var(--lx-ease), box-shadow .4s var(--lx-ease), border-color .4s;
}
.lx-feature:nth-child(even) { transform: translateY(32px); }
.lx-feature:hover { box-shadow: var(--lx-shadow); border-color: color-mix(in srgb, var(--lx-brand) 30%, var(--lx-line)); }
.lx .lx-feature__title { color: var(--lx-ink) !important; font-size: 18px; font-weight: 800; line-height: 1.35; }

/* call to action */
.lx-cta-wrap { padding: 32px 0 112px; }
.lx-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 64px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--lx-brand-deep), var(--lx-brand) 55%, color-mix(in srgb, var(--lx-brand) 60%, #ff6b8b));
    color: #fff;
    overflow: hidden;
    box-shadow: var(--lx-shadow-lg);
}
.lx-cta__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .25), transparent 40%),
        radial-gradient(circle at 10% 110%, rgba(255, 255, 255, .18), transparent 45%);
}
.lx .lx-cta__title { color: #fff !important; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.lx .lx-cta__text { margin-top: 12px !important; max-width: 520px; color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.6; }
.lx-cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; flex-shrink: 0; }

/* ---------- Footer ---------- */

.lx-footer {
    position: relative;
    isolation: isolate;
    padding-top: 88px;
    background: var(--lx-night);
    color: rgba(255, 255, 255, .65);
    overflow: hidden;
}
.lx-service, .lx-feature, .lx-step { color: var(--lx-ink-2); }
.lx-footer__glow {
    position: absolute;
    top: -260px;
    left: 50%;
    z-index: -1;
    width: 720px;
    height: 400px;
    border-radius: 50%;
    background: var(--lx-brand);
    filter: blur(140px);
    opacity: .35;
    transform: translateX(-50%);
}
.lx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.lx-footer__logo {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 20px;
}
.lx-footer__logo img { height: 36px; width: auto; }
.lx-footer p { font-size: 14px; line-height: 1.7; }
.lx-footer__brand .lx-social { margin-top: 24px; color: rgba(255, 255, 255, .8); }
.lx .lx-footer__title { margin-bottom: 20px !important; color: #fff !important; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.lx-footer__list, .lx-footer__contact { margin: 0; padding: 0; list-style: none; }
.lx-footer__list li + li { margin-top: 12px; }
.lx-footer__list a, .lx-footer__contact a { color: rgba(255, 255, 255, .65); font-size: 14px; transition: color .2s; }
.lx-footer__list a:hover, .lx-footer__contact a:hover { color: #fff; }
.lx-footer__contact { margin-top: 28px; }
.lx-footer__contact li { display: flex; gap: 10px; font-size: 14px; }
.lx-footer__contact li + li { margin-top: 10px; }
.lx-footer__contact i { margin-top: 4px; color: var(--lx-brand-light); width: 14px; }

.lx-subscribe {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}
.lx-subscribe input {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: var(--lx-font);
    font-size: 14px;
}
.lx-subscribe input::placeholder { color: rgba(255, 255, 255, .45); }
.lx-subscribe button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--lx-gradient);
    color: #fff;
    transition: transform .2s;
}
.lx-subscribe button:hover { transform: scale(1.06); }
.lx .lx-footer__error { margin-top: 8px !important; color: #fca5a5; }

.lx-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.lx-footer__bottom p { font-size: 13px; }
.lx-footer__langs { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lx-footer__langs a {
    display: block;
    padding: 6px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 600;
}
.lx-footer__langs a:hover, .lx-footer__langs a.active { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Auth (login) ---------- */

.lx-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    min-height: 100vh;
    background: #fff;
}
/* login is a standalone page without bootstrap's reboot */
.lx-auth *, .lx-auth *::before, .lx-auth *::after { box-sizing: border-box; }
body.lx-body { margin: 0; }

.lx-auth__form-side {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 32px 56px;
}
.lx-auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lx-auth__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    color: var(--lx-ink-2);
    font-size: 13px;
    font-weight: 700;
    transition: border-color .2s, color .2s;
}
.lx-auth__back:hover { border-color: var(--lx-brand); color: var(--lx-brand); }

.lx-auth__box { width: 100%; max-width: 420px; margin: auto; padding: 48px 0; }
.lx .lx-auth__title {
    color: var(--lx-ink) !important;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}
.lx .lx-auth__subtitle { margin-top: 12px; color: var(--lx-muted); font-size: 16px; line-height: 1.6; }

.lx-auth__form { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }

.lx-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}
.lx-alert i { margin-top: 3px; }

.lx-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.lx-field__label { color: var(--lx-ink); font-size: 14px; font-weight: 700; }
.lx-field__control {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 8px 0 18px;
    border: 1.5px solid var(--lx-line);
    border-radius: 16px;
    background: var(--lx-tint);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lx-field__control > i { color: var(--lx-muted); font-size: 15px; width: 16px; transition: color .2s; }
.lx-field__control:focus-within {
    border-color: var(--lx-brand);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-brand) 12%, transparent);
}
.lx-field__control:focus-within > i { color: var(--lx-brand); }
.lx-field__control.is-invalid { border-color: #f87171; background: #fff; }
.lx-field__control input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lx-ink);
    font-family: var(--lx-font);
    font-size: 15px;
    font-weight: 600;
}
.lx-field__control input::placeholder { color: #a3a8b8; font-weight: 500; }
.lx-field__control input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 40px var(--lx-tint) inset;
    -webkit-text-fill-color: var(--lx-ink);
}
.lx-field__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lx-muted);
    transition: background-color .2s, color .2s;
}
.lx-field__toggle:hover { background: var(--lx-brand-soft); color: var(--lx-brand); }

.lx-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.lx-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--lx-ink-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}
.lx-check input { position: absolute; opacity: 0; pointer-events: none; }
.lx-check__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid #cfd2dc;
    border-radius: 6px;
    background: #fff;
    color: #fff;
    font-size: 11px;
    transition: background-color .2s, border-color .2s;
}
.lx-check__box i { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.lx-check input:checked + .lx-check__box { border-color: var(--lx-brand); background: var(--lx-brand); }
.lx-check input:checked + .lx-check__box i { opacity: 1; transform: none; }
.lx-check input:focus-visible + .lx-check__box { box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-brand) 18%, transparent); }

.lx-auth__submit { width: 100%; height: 56px; margin-top: 4px; font-size: 16px; border-radius: 16px; }
.lx-auth__submit.is-loading { pointer-events: none; opacity: .85; }
.lx-auth__submit.is-loading i { animation: lx-spin .8s linear infinite; }
.lx-auth__submit.is-loading i::before { content: "\f110"; }

.lx-auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--lx-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lx-auth__divider::before, .lx-auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--lx-line); }
.lx-auth__demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.lx-auth__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--lx-muted);
    font-size: 13px;
}
.lx-auth__langs { display: flex; gap: 4px; }
.lx-auth__langs a { padding: 5px 10px; border-radius: 999px; color: var(--lx-muted); font-weight: 700; }
.lx-auth__langs a:hover, .lx-auth__langs a.active { background: var(--lx-brand-soft); color: var(--lx-brand); }

.lx-auth__visual-side {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    position: sticky;
    top: 16px;
    height: calc(100vh - 32px);
    min-height: 640px;
    margin: 16px;
    padding: 48px 64px;
    border-radius: 32px;
    background: var(--lx-night);
    color: #fff;
    overflow: hidden;
}
.lx-auth__visual { width: 100%; max-width: 520px; margin: auto; }
.lx .lx-auth__panel-title {
    margin-top: 24px;
    color: #fff !important;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.lx .lx-auth__panel-text { margin-top: 16px; max-width: 440px; color: rgba(255, 255, 255, .7); font-size: 17px; line-height: 1.65; }
.lx-auth__visual .lx-hero__visual { margin-top: 32px; padding: 56px 0 0; }
.lx-auth__visual .lx-float--top { top: 0; }
.lx-auth__card { padding: 8px 18px 18px; }

@keyframes lx-spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
    .lx-auth { grid-template-columns: 1fr; }
    .lx-auth__visual-side { display: none; }
    .lx-auth__form-side {
        padding: 24px;
        background:
            radial-gradient(600px 300px at 100% 0, color-mix(in srgb, var(--lx-brand) 10%, transparent), transparent),
            #fff;
    }
}

@media (max-width: 575px) {
    .lx-auth__form-side { padding: 16px; }
    .lx-auth__top .lx-nav__brand span { display: none; }
    .lx-auth__box { padding: 32px 0; }
    .lx-auth__foot { justify-content: center; text-align: center; }
}

/* ---------- Motion ---------- */

.lx-js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--lx-ease), transform .9s var(--lx-ease);
}
.lx-js [data-reveal].is-visible { opacity: 1; transform: none; }
.lx-js .lx-feature[data-reveal]:nth-child(even).is-visible { transform: translateY(32px); }

@keyframes lx-pulse { 50% { opacity: .4; } }
@keyframes lx-ring {
    0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--lx-brand) 18%, transparent); }
    50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--lx-brand) 6%, transparent); }
}
@keyframes lx-float { 50% { transform: translateY(-10px); } }
@keyframes lx-drift { to { transform: translate(60px, 40px) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
    .lx *, .lx *::before, .lx *::after { animation: none !important; transition: none !important; }
    .lx-js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- RTL ---------- */

html[dir="rtl"] .lx .fa-arrow-right,
html[dir="rtl"] .lx .fa-chevron-right { transform: scaleX(-1); }
html[dir="rtl"] .lx-btn:hover i.fa-arrow-right { transform: scaleX(-1) translateX(3px); }
html[dir="rtl"] .lx-hero__card { transform: rotate(1.5deg); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .lx-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .lx-nav__links { display: none; }
    .lx-nav__actions { margin-inline-start: auto; }
    .lx-nav__toggle { display: inline-flex; }

    .lx-hero { padding-bottom: 140px; }
    .lx-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .lx-hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }

    .lx-stat:nth-child(3) { border-inline-start: 0; }
    .lx-stats__panel { grid-template-columns: repeat(2, 1fr); }
    .lx-stat:nth-child(n+3) { border-top: 1px solid var(--lx-line); }

    .lx-steps { grid-template-columns: repeat(2, 1fr); }
    .lx-steps::before { display: none; }

    .lx-why { grid-template-columns: 1fr; gap: 48px; }
    .lx-heading--start { margin: 0 auto; text-align: center; }

    .lx-cta { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
    .lx-cta__actions { align-items: flex-start; }

    .lx-section { padding: 88px 0; }
}

@media (max-width: 575px) {
    :root { --lx-nav-h: 80px; }
    .lx-container { padding-inline: 16px; }

    .lx-nav { padding-top: 10px; }
    .lx-nav__bar { height: 60px; gap: 12px; padding-inline-start: 14px; }
    .lx-nav__brand span, .lx-nav__username, .lx-nav__lang-code { display: none; }

    .lx-hero { padding-top: calc(var(--lx-nav-h) + 40px); }
    .lx-hero__subtitle { font-size: 16px; }
    .lx-track { flex-wrap: wrap; border-radius: 22px; }
    .lx-track input { flex-basis: calc(100% - 50px); }
    .lx-track .lx-btn { width: 100%; }
    .lx-hero__hint { padding-inline-start: 4px; }
    .lx-hero__visual { padding: 24px 0; }
    .lx-float--bottom { display: none; }

    .lx-stats__panel { grid-template-columns: 1fr; }
    .lx-stat + .lx-stat { border-inline-start: 0; border-top: 1px solid var(--lx-line); }
    .lx-stat { padding: 18px 16px; }

    .lx-service { padding: 28px; }
    .lx-steps, .lx-why__grid { grid-template-columns: 1fr; }
    .lx-feature:nth-child(even),
    .lx-js .lx-feature[data-reveal]:nth-child(even).is-visible { transform: none; }

    .lx-cta { padding: 40px 24px; border-radius: 28px; }
    .lx-cta-wrap { padding-bottom: 72px; }

    .lx-footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .lx-footer__bottom { flex-direction: column; text-align: center; }
}
