:root {
    --lp-primary: #1e3a5f;
    --lp-primary-light: #2d5a87;
    --lp-accent: #0d6efd;
    --lp-gradient: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}

.lp-body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
    overflow-x: hidden;
}

.lp-nav {
    background: rgba(30, 58, 95, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lp-nav .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-hero {
    background: var(--lp-gradient);
    color: #fff;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(13,110,253,.25) 0%, transparent 45%);
    pointer-events: none;
}

.lp-hero .container {
    position: relative;
    z-index: 1;
}

.lp-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lp-hero .lead {
    opacity: 0.9;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.lp-badge-rt {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: 0.35rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.lp-btn-light {
    background: #fff;
    color: var(--lp-primary);
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.lp-btn-light:hover {
    background: #f0f4f8;
    color: var(--lp-primary);
    transform: translateY(-1px);
}

.lp-btn-outline-light {
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.lp-hero-mockup {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.lp-stat-pill {
    background: rgba(255,255,255,.12);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    text-align: center;
}

.lp-stat-pill .num {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.lp-stat-pill .lbl {
    font-size: 0.7rem;
    opacity: 0.85;
}

.lp-section {
    padding: 4rem 0;
}

.lp-section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.lp-info-card {
    border-radius: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1) !important;
}

.lp-feature-card {
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
}

.lp-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    background: var(--lp-gradient);
    color: #fff;
}

.lp-steps {
    counter-reset: step;
}

.lp-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.lp-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--lp-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.lp-cta {
    background: var(--lp-gradient);
    color: #fff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.lp-footer {
    background: #0f172a;
    color: rgba(255,255,255,.7);
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

.lp-footer a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}

/* ——— Mobile: header ringkas + navigasi bawah mengambang ——— */
.lp-mobile-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.lp-mobile-top-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
}

.lp-mobile-top-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    padding: 0 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.lp-bottom-nav-float {
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.08);
    padding: 0.35rem 0.25rem;
}

.lp-bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 0.4rem 0.2rem;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.62rem;
    font-weight: 600;
    border-radius: 0.85rem;
    transition: color 0.15s, background 0.15s;
}

.lp-bottom-item i {
    font-size: 1.25rem;
    line-height: 1;
}

.lp-bottom-item.active {
    color: var(--lp-primary);
    background: rgba(30, 58, 95, 0.08);
}

.lp-bottom-item.active i {
    color: var(--lp-accent);
}

.lp-fab-login {
    position: fixed;
    right: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: var(--lp-fab-size, 56px);
    height: var(--lp-fab-size, 56px);
    padding: 0 1.1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-fab-login:hover,
.lp-fab-login:focus {
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.5);
}

.lp-fab-login i {
    font-size: 1.35rem;
}

@media (max-width: 767.98px) {
    :root {
        --lp-bottom-offset: 88px;
        --lp-fab-size: 52px;
    }

    .lp-hero {
        padding: 2rem 0 4.5rem;
        text-align: center;
    }

    .lp-hero-mockup .row.g-2 {
        flex-wrap: nowrap;
    }

    .lp-hero-mockup .row.g-2 > [class*="col-"] {
        min-width: 0;
        flex: 1 1 0;
    }

    .lp-stat-pill {
        padding: 0.5rem 0.25rem;
    }

    .lp-stat-pill .num {
        font-size: 1.1rem;
    }

    .lp-stat-pill .lbl {
        font-size: 0.6rem;
    }

    .lp-hero-mockup {
        margin-top: 2rem;
    }

    .lp-body {
        padding-bottom: calc(var(--lp-bottom-offset) + env(safe-area-inset-bottom, 0px) + 1rem);
    }

    .lp-footer {
        padding-bottom: calc(2.5rem + var(--lp-bottom-offset) * 0.5);
    }

    #hero,
    #fitur,
    #cara-kerja,
    #kontak {
        scroll-margin-top: 3.5rem;
        scroll-margin-bottom: 6rem;
    }
}
