/* =========================================================
   Liberty Solution — Bootstrap 5 landing styles
   ========================================================= */

:root {
    --ls-navy: #071426;
    --ls-navy-2: #0b1f3a;
    --ls-blue: #2563eb;
    --ls-blue-bright: #3b82f6;
    --ls-cyan: #22d3a5;
    --ls-cyan-soft: #5eead4;
    --ls-fog: #d4deee;
    --ls-white: #ffffff;
    --ls-card-border: rgba(200, 212, 230, 0.18);
    --ls-glow: 0 0 60px rgba(34, 211, 165, 0.18);
    --ls-radius: 1.25rem;
    --ls-font: "DM Sans", system-ui, -apple-system, sans-serif;
    --ls-display: "Outfit", "DM Sans", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--ls-font);
    background: var(--ls-navy) !important;
    color: var(--ls-white) !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
    cursor: pointer;
}

::selection {
    background: rgba(34, 211, 165, 0.35);
    color: #fff;
}

/* Typography */
.ls-display {
    font-family: var(--ls-display);
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #fff;
}

.ls-gradient-text {
    background: linear-gradient(120deg, #fff 0%, #7ef0d0 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ls-muted {
    color: var(--ls-fog) !important;
}

.ls-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
}

.ls-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ls-cyan-soft);
    margin-bottom: 1rem;
}

    .ls-eyebrow::before {
        content: "";
        width: 1.5rem;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--ls-cyan));
    }

    .ls-eyebrow.justify-content-center::before {
        display: none;
    }

/* Buttons */
.btn-ls-primary {
    --bs-btn-color: #041018;
    --bs-btn-bg: var(--ls-cyan);
    --bs-btn-border-color: var(--ls-cyan);
    --bs-btn-hover-color: #041018;
    --bs-btn-hover-bg: var(--ls-cyan-soft);
    --bs-btn-hover-border-color: var(--ls-cyan-soft);
    --bs-btn-active-color: #041018;
    --bs-btn-active-bg: #14b8a6;
    --bs-btn-active-border-color: #14b8a6;
    --bs-btn-font-weight: 700;
    border-radius: 999px;
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(34, 211, 165, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .btn-ls-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 36px rgba(34, 211, 165, 0.38);
    }

.btn-ls-ghost {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.35);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.55);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
    --bs-btn-active-border-color: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 0.9rem 1.75rem;
    font-weight: 700;
    font-size: 1rem;
}

/* Navbar */
.ls-nav {
    z-index: 1040;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
    padding: 0.65rem 0;
}

    .ls-nav.is-scrolled {
        background: rgba(7, 20, 38, 0.92);
        backdrop-filter: blur(16px) saturate(1.2);
        border-bottom-color: var(--ls-card-border);
    }

    .ls-nav .navbar-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: #fff !important;
        text-decoration: none;
    }

    .ls-nav .brand-mark {
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;
    }

@media (min-width: 992px) {
    .ls-nav .brand-mark {
        width: 54px;
        height: 54px;
    }
}

.ls-nav .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-family: var(--ls-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.ls-nav .brand-text-sub {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    color: #7dd3fc;
    margin-top: 0.12rem;
}

.ls-nav .nav-link {
    color: #e8eef8 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.95rem !important;
    border-radius: 999px;
}

    .ls-nav .nav-link:hover,
    .ls-nav .nav-link:focus {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.08);
    }

.ls-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.45rem 0.6rem;
}

    .ls-nav .navbar-toggler:focus {
        box-shadow: 0 0 0 0.15rem rgba(34, 211, 165, 0.35);
    }

.ls-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28248, 250, 252, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .ls-nav .navbar-collapse {
        background: rgba(11, 31, 58, 0.98);
        border: 1px solid var(--ls-card-border);
        border-radius: 1rem;
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
}

/* Hero */
.ls-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 6.75rem 0 4.5rem;
    overflow: hidden;
}

.ls-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.32), transparent 55%), radial-gradient(ellipse 50% 40% at 15% 80%, rgba(34, 211, 165, 0.18), transparent 50%), linear-gradient(180deg, var(--ls-navy) 0%, #06101f 100%);
    z-index: 0;
}

.ls-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(200, 212, 230, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 212, 230, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.ls-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

    .ls-hero-orb.a {
        width: 280px;
        height: 280px;
        background: var(--ls-cyan);
        top: 12%;
        right: 8%;
        opacity: 0.12;
    }

    .ls-hero-orb.b {
        width: 220px;
        height: 220px;
        background: var(--ls-blue);
        bottom: 18%;
        left: 5%;
        opacity: 0.16;
    }

.ls-hero .container {
    position: relative;
    z-index: 1;
}

.ls-hero h1 {
    font-size: clamp(2.55rem, 5.8vw, 4.25rem);
    font-weight: 700;
    margin-bottom: 1.35rem;
    color: #fff;
}

.ls-hero .lead {
    font-size: clamp(1.12rem, 1.7vw, 1.32rem);
    color: #e8eef8 !important;
    max-width: 36rem;
    line-height: 1.7;
    font-weight: 450;
}

.ls-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ls-card-border);
}

    .ls-hero-stats .stat strong {
        display: block;
        font-family: var(--ls-display);
        font-size: 1.75rem;
        font-weight: 700;
        color: #fff;
    }

    .ls-hero-stats .stat span {
        font-size: 0.92rem;
        color: #c5d2e6;
        font-weight: 500;
    }

.ls-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(400px, 52vw, 620px);
    padding: 1rem;
}

.ls-hero-brand {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.ls-hero-mark {
    width: min(88vw, 520px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 18px 50px rgba(34, 211, 165, 0.32)) drop-shadow(0 8px 30px rgba(37, 99, 235, 0.28));
}

@media (min-width: 992px) {
    .ls-hero-mark {
        width: min(100%, 560px);
    }
}

@media (max-width: 575.98px) {
    .ls-hero-mark {
        width: min(78vw, 300px);
    }

    .ls-nav .brand-mark {
        width: 44px;
        height: 44px;
    }
}

.ls-hero-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.ls-hero-word-main {
    font-family: var(--ls-display);
    font-size: clamp(1.75rem, 3.5vw, 2.55rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.ls-hero-word-sub {
    font-family: var(--ls-display);
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7dd3fc;
    line-height: 1.2;
}

.ls-ring {
    position: absolute;
    border: 1px solid rgba(34, 211, 165, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

    .ls-ring.r1 {
        width: min(72vw, 460px);
        height: min(72vw, 460px);
    }

    .ls-ring.r2 {
        width: min(84vw, 540px);
        height: min(84vw, 540px);
        border-color: rgba(59, 130, 246, 0.18);
    }

    .ls-ring.r3 {
        width: min(96vw, 620px);
        height: min(96vw, 620px);
        border-style: dashed;
        border-color: rgba(200, 212, 230, 0.14);
    }

/* Cards */
.ls-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--ls-card-border);
    border-radius: var(--ls-radius);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .ls-card:hover {
        transform: translateY(-4px);
        border-color: rgba(34, 211, 165, 0.4);
        box-shadow: var(--ls-glow);
    }

.ls-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(34, 211, 165, 0.2), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(34, 211, 165, 0.3);
    color: var(--ls-cyan-soft);
    margin-bottom: 1.15rem;
}

.ls-card h3 {
    font-family: var(--ls-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #fff;
}

.ls-card p {
    color: var(--ls-fog);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

/* Panel / steps */
.ls-panel {
    background: linear-gradient(145deg, rgba(18, 42, 77, 0.75), rgba(7, 20, 38, 0.95));
    border: 1px solid var(--ls-card-border);
    border-radius: calc(var(--ls-radius) + 4px);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    position: relative;
    overflow: hidden;
}

.ls-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--ls-card-border);
}

    .ls-step:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.ls-step-num {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ls-navy);
    background: linear-gradient(135deg, var(--ls-cyan), var(--ls-blue-bright));
}

.ls-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    font-family: var(--ls-display);
    color: #fff;
}

.ls-step p {
    margin: 0;
    color: var(--ls-fog);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Metrics */
.ls-metrics {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.14), rgba(34, 211, 165, 0.12));
    border-block: 1px solid var(--ls-card-border);
}

.ls-metric {
    text-align: center;
    padding: 1rem 0.5rem;
}

    .ls-metric strong {
        display: block;
        font-family: var(--ls-display);
        font-size: clamp(1.9rem, 3.2vw, 2.6rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        background: linear-gradient(120deg, #fff, var(--ls-cyan-soft));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .ls-metric span {
        color: #d0dbeb;
        font-size: 0.95rem;
        font-weight: 550;
    }

/* Chips */
.ls-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--ls-card-border);
    background: rgba(255, 255, 255, 0.04);
    color: #eef3fa;
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0.3rem;
}

    .ls-chip:hover {
        border-color: rgba(34, 211, 165, 0.45);
        background: rgba(34, 211, 165, 0.1);
    }

.ls-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(34, 211, 165, 0.15);
    color: var(--ls-cyan-soft);
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 0.15rem;
}

/* Contact */
.ls-contact-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--ls-card-border);
    border-radius: calc(var(--ls-radius) + 4px);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    height: 100%;
}

.ls-form .form-control,
.ls-form .form-select {
    background: rgba(7, 20, 38, 0.65);
    border: 1px solid rgba(200, 212, 230, 0.28);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    min-height: 50px;
    font-size: 1rem;
}

    .ls-form .form-control:focus,
    .ls-form .form-select:focus {
        background: rgba(7, 20, 38, 0.85);
        border-color: var(--ls-cyan);
        box-shadow: 0 0 0 0.2rem rgba(34, 211, 165, 0.2);
        color: #fff;
    }

    .ls-form .form-control::placeholder {
        color: #9aacc4;
    }

.ls-form label {
    font-size: 0.9rem;
    font-weight: 650;
    color: #e8eef8;
    margin-bottom: 0.45rem;
    display: block;
}

.ls-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-select option {
    background: var(--ls-navy-2);
    color: #fff;
}

.ls-contact-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--ls-card-border);
}

    .ls-contact-item:last-child {
        border-bottom: 0;
    }

    .ls-contact-item .icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        background: rgba(34, 211, 165, 0.12);
        border: 1px solid rgba(34, 211, 165, 0.28);
        color: var(--ls-cyan-soft);
        flex-shrink: 0;
    }

    .ls-contact-item h4 {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #b6c5db;
        margin: 0 0 0.25rem;
        font-weight: 700;
    }

    .ls-contact-item a,
    .ls-contact-item p {
        margin: 0;
        color: #fff;
        font-weight: 650;
        text-decoration: none;
        font-size: 1.08rem;
    }

        .ls-contact-item a:hover {
            color: var(--ls-cyan-soft);
        }

.ls-alert-success {
    background: rgba(34, 211, 165, 0.14);
    border: 1px solid rgba(34, 211, 165, 0.4);
    color: #9ff5dd;
    border-radius: 0.85rem;
    padding: 0.95rem 1.05rem;
    font-size: 0.95rem;
    font-weight: 550;
}

/* Footer */
.ls-footer {
    border-top: 1px solid var(--ls-card-border);
    background: #050f1c;
    padding: 3.5rem 0 2rem;
}

.footer-mark {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-brand-main {
    font-family: var(--ls-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.footer-brand-sub {
    font-family: var(--ls-display);
    font-weight: 650;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-top: 4px;
}

.ls-footer h5 {
    font-family: var(--ls-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.ls-footer a {
    color: #c5d2e6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.55rem;
}

    .ls-footer a:hover {
        color: var(--ls-cyan-soft);
    }

.ls-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ls-card-border);
    color: #b0c0d8;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ls-card:hover,
    .btn-ls-primary:hover {
        transform: none;
    }
}
