/* ==========================================================================
   SIMANJA — Landing Page
   Modern redesign built on the app's own brand palette (see app.min.css):
   primary #1f58c7, success #28b765, warning #f4c238, info #52c6ea.
   ========================================================================== */

.landing-body {
    --lp-primary: #1f58c7;
    --lp-primary-600: #17439b;
    --lp-primary-50: #eef4fd;
    --lp-primary-100: #dbe8fb;

    --lp-green: #28b765;
    --lp-green-50: #e8f9ef;

    --lp-amber: #e3a90d;
    --lp-amber-50: #fdf5e0;

    --lp-cyan: #1aa9d1;
    --lp-cyan-50: #e7f8fd;

    --lp-ink: #131a2e;
    --lp-body: #5a6172;
    --lp-muted: #8991a3;
    --lp-line: #e8ebf2;
    --lp-surface: #ffffff;
    --lp-bg: #f6f8fc;

    --lp-r-sm: 12px;
    --lp-r-md: 16px;
    --lp-r-lg: 22px;
    --lp-r-pill: 999px;

    --lp-shadow-sm: 0 1px 2px rgba(19, 26, 46, .05);
    --lp-shadow-md: 0 14px 30px -12px rgba(19, 26, 46, .16);
    --lp-shadow-lg: 0 30px 60px -20px rgba(31, 88, 199, .28);

    background: var(--lp-bg);
    color: var(--lp-body);
    font-family: Manrope, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4,
.landing-body h5,
.landing-body h6 {
    color: var(--lp-ink);
    font-family: Manrope, sans-serif;
}

/* --------------------------------- Buttons -------------------------------- */

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: .68rem 1.35rem;
    border-radius: var(--lp-r-pill);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.landing-btn i {
    font-size: 1.1em;
    line-height: 1;
}

.landing-btn-lg {
    padding: .9rem 1.9rem;
    font-size: 1.02rem;
}

.landing-btn-sm {
    padding: .5rem 1.1rem;
    font-size: .85rem;
}

.landing-btn-primary {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-600));
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(31, 88, 199, .5);
}

.landing-btn-primary:hover,
.landing-btn-primary:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -10px rgba(31, 88, 199, .55);
}

.landing-btn-success {
    background: linear-gradient(135deg, var(--lp-green), #1f9750);
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(40, 183, 101, .45);
}

.landing-btn-success:hover,
.landing-btn-success:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -10px rgba(40, 183, 101, .5);
}

.landing-btn-warning {
    background: linear-gradient(135deg, #f4c238, var(--lp-amber));
    color: #4a3400;
    box-shadow: 0 10px 22px -8px rgba(228, 174, 20, .4);
}

.landing-btn-warning:hover,
.landing-btn-warning:focus {
    color: #4a3400;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -10px rgba(228, 174, 20, .45);
}

.landing-btn-outline {
    background: var(--lp-surface);
    color: var(--lp-ink);
    border-color: var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
}

.landing-btn-outline:hover,
.landing-btn-outline:focus {
    color: var(--lp-primary);
    border-color: var(--lp-primary-100);
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-md);
}

.landing-btn-ghost {
    background: transparent;
    color: var(--lp-ink);
    border-color: var(--lp-line);
}

.landing-btn-ghost:hover,
.landing-btn-ghost:focus {
    color: var(--lp-primary);
    border-color: var(--lp-primary-100);
    background: var(--lp-primary-50);
}

/* ---------------------------------- Header --------------------------------- */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.landing-header.is-scrolled {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: var(--lp-line);
    box-shadow: 0 8px 24px -16px rgba(19, 26, 46, .25);
}

.landing-header .navbar {
    min-height: 76px;
}

.landing-header .nav-link {
    color: var(--lp-body);
    font-weight: 600;
    font-size: .93rem;
    padding: .6rem .85rem;
    border-radius: var(--lp-r-pill);
    transition: color .18s ease, background-color .18s ease;
}

.landing-header .nav-link:hover,
.landing-header .nav-link:focus {
    color: var(--lp-primary);
    background: var(--lp-primary-50);
}

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

.landing-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 100px;
}

.landing-hero-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.landing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
}

.landing-blob-1 {
    width: 480px;
    height: 480px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle at 30% 30%, var(--lp-primary) 0%, transparent 70%);
}

.landing-blob-2 {
    width: 420px;
    height: 420px;
    bottom: -240px;
    left: -160px;
    background: radial-gradient(circle at 60% 40%, var(--lp-green) 0%, transparent 70%);
    opacity: .25;
}

.landing-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(31, 88, 199, .1) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 65%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 65%);
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-primary-50);
    color: var(--lp-primary);
    font-weight: 700;
    font-size: .82rem;
    padding: 7px 16px;
    border-radius: var(--lp-r-pill);
    margin-bottom: 22px;
}

.landing-eyebrow-static {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .75rem;
    margin-bottom: 14px;
}

.landing-title {
    max-width: 700px;
    font-size: clamp(2.15rem, 4vw, 3.4rem);
    line-height: 1.14;
    letter-spacing: -.03em;
    font-weight: 800;
    margin-bottom: 22px;
}

.landing-title-accent {
    background: linear-gradient(100deg, var(--lp-primary) 10%, var(--lp-green) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-subtitle {
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--lp-body);
}

.landing-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 28px 0 0;
    padding: 0;
}

.landing-trust-row li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--lp-ink);
}

.landing-trust-row i {
    color: var(--lp-green);
    font-size: 1.15rem;
}

.landing-hero-visual {
    position: relative;
    padding: 20px;
}

.landing-hierarchy-card {
    position: relative;
    z-index: 1;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg);
    box-shadow: var(--lp-shadow-lg);
    padding: 34px 30px;
}

.landing-hierarchy-title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 26px;
    color: var(--lp-ink);
}

.landing-flow {
    display: flex;
    flex-direction: column;
}

.landing-flow-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-flow-item small {
    color: var(--lp-muted);
}

.landing-flow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    flex: 0 0 50px;
    font-size: 22px;
}

.landing-flow-icon-blue {
    background: var(--lp-primary-50);
    color: var(--lp-primary);
}

.landing-flow-icon-green {
    background: var(--lp-green-50);
    color: var(--lp-green);
}

.landing-flow-icon-amber {
    background: var(--lp-amber-50);
    color: var(--lp-amber);
}

.landing-flow-connector {
    display: flex;
    align-items: center;
    color: var(--lp-muted);
    font-size: 20px;
    height: 30px;
    padding-left: 24px;
}

.landing-floating-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-md);
    font-weight: 700;
    font-size: .78rem;
    padding: 9px 15px;
    border-radius: var(--lp-r-pill);
    color: var(--lp-ink);
}

.landing-floating-chip i {
    font-size: 1rem;
}

.landing-floating-chip-1 {
    top: -6px;
    left: 4px;
    color: var(--lp-primary);
}

.landing-floating-chip-1 i {
    color: var(--lp-primary);
}

.landing-floating-chip-2 {
    bottom: -6px;
    right: 4px;
}

.landing-floating-chip-2 i {
    color: var(--lp-green);
}

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

.landing-section {
    padding: 88px 0;
    position: relative;
}

.landing-section-alt {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
}

.landing-section-head {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 52px;
}

.landing-section-title {
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 12px;
}

.landing-section-desc {
    color: var(--lp-body);
    font-size: 1.02rem;
    margin: 0;
}

.landing-section-desc-left {
    max-width: 480px;
    margin-bottom: 28px;
}

#alur-pengajuan,
#dokumen,
#cara-kerja,
#cek-status,
#hubungi-admin {
    scroll-margin-top: 96px;
}

/* ----------------------------------- Cards ---------------------------------- */

.landing-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg);
    box-shadow: var(--lp-shadow-sm);
    padding: 32px 28px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.landing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
    border-color: var(--lp-primary-100);
}

.landing-card h5,
.landing-card h6 {
    font-weight: 700;
    margin-bottom: 10px;
}

.landing-card > p {
    color: var(--lp-body);
    margin-bottom: 0;
}

.landing-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 26px;
    margin-bottom: 18px;
}

.landing-icon-badge-sm {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 21px;
    margin-bottom: 14px;
}

.landing-icon-badge-blue {
    background: var(--lp-primary-50);
    color: var(--lp-primary);
}

.landing-icon-badge-green {
    background: var(--lp-green-50);
    color: var(--lp-green);
}

.landing-icon-badge-amber {
    background: var(--lp-amber-50);
    color: var(--lp-amber);
}

.landing-icon-badge-cyan {
    background: var(--lp-cyan-50);
    color: var(--lp-cyan);
}

.landing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--lp-body);
    background: var(--lp-bg);
    border: 1px solid var(--lp-line);
    padding: 14px 20px;
    border-radius: var(--lp-r-sm);
    font-size: .92rem;
    margin-top: 32px;
}

.landing-note i {
    color: var(--lp-primary);
    font-size: 1.1rem;
}

/* --------------------------------- Flow cards -------------------------------- */

.landing-flow-card {
    border-top: 3px solid var(--lp-green) !important;
}

.landing-flow-card-amber {
    border-top-color: var(--lp-amber) !important;
}

.landing-flow-card-contact {
    border-top-color: var(--lp-primary) !important;
}

.landing-pill {
    font-size: .78rem;
    font-weight: 800;
    padding: 6px 13px;
    border-radius: var(--lp-r-sm);
}

.landing-pill-green {
    background: var(--lp-green-50);
    color: var(--lp-green);
}

.landing-pill-amber {
    background: var(--lp-amber-50);
    color: var(--lp-amber);
}

.landing-pill-blue {
    background: var(--lp-primary-50);
    color: var(--lp-primary);
}

.landing-flow-tag {
    margin-left: auto;
    color: var(--lp-muted);
    font-size: .83rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.landing-check-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 22px;
}

.landing-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--lp-body);
    margin-bottom: 11px;
    font-size: .93rem;
    line-height: 1.5;
}

.landing-check-list li:last-child {
    margin-bottom: 0;
}

.landing-check-list i {
    color: var(--lp-green);
    font-size: 1.05rem;
    margin-top: 2px;
    flex: 0 0 auto;
}

.landing-template-links {
    padding-top: 14px;
    border-top: 1px dashed var(--lp-line);
    font-size: .87rem;
}

.landing-template-links > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-muted);
    margin-bottom: 6px;
}

.landing-template-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--lp-primary);
    font-weight: 700;
    text-decoration: none;
    margin-right: 14px;
}

.landing-template-links a:hover {
    text-decoration: underline;
}

.landing-flow-phone {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: var(--lp-muted);
}

/* --------------------------------- Doc cards --------------------------------- */

.landing-doc-card p {
    font-size: .88rem;
    margin-bottom: 12px;
}

.landing-doc-card a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--lp-primary);
    font-weight: 700;
    font-size: .87rem;
    text-decoration: none;
}

.landing-doc-card a:hover {
    text-decoration: underline;
}

/* ------------------------------- How it works -------------------------------- */

.landing-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 28px;
}

.landing-how-item {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.landing-how-number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-sm);
    color: var(--lp-primary);
    font-size: 22px;
}

.landing-how-number span {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid var(--lp-bg);
}

.landing-how-item h6 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: .96rem;
}

.landing-how-item p {
    font-size: .85rem;
    color: var(--lp-body);
    margin: 0;
}

@media (min-width: 992px) {
    .landing-how-item:not(:nth-child(4n))::after {
        content: "";
        position: absolute;
        top: 28px;
        left: calc(50% + 40px);
        width: calc(100% - 80px);
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--lp-line) 0 6px, transparent 6px 12px);
    }
}

/* --------------------------------- Cek Status -------------------------------- */

.landing-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-pill);
    padding: 6px 6px 6px 20px;
    box-shadow: var(--lp-shadow-sm);
}

.landing-input-group > i {
    color: var(--lp-muted);
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.landing-input-group .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: .7rem .4rem;
}

.landing-input-group .form-control:focus {
    box-shadow: none;
    outline: none;
}

.landing-input-group .landing-btn {
    flex: 0 0 auto;
}

.landing-form-hint {
    display: block;
    margin-top: 12px;
    color: var(--lp-muted);
}

.landing-status-preview {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-r-lg);
    box-shadow: var(--lp-shadow-md);
    padding: 30px 26px;
}

.landing-status-preview h6 {
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
}

.landing-status-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--lp-line);
}

.landing-status-step:last-child {
    border-bottom: 0;
}

.landing-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 34px;
    font-size: 18px;
    background: var(--lp-line);
    color: var(--lp-muted);
}

.landing-status-step.done .landing-status-icon {
    background: var(--lp-green-50);
    color: var(--lp-green);
}

.landing-status-step.current .landing-status-icon {
    background: var(--lp-amber-50);
    color: var(--lp-amber);
}

.landing-status-title {
    font-weight: 700;
    color: var(--lp-ink);
    font-size: .95rem;
}

.landing-status-step small {
    color: var(--lp-muted);
}

/* ---------------------------------- Contact ---------------------------------- */

.landing-contact-card .landing-contact-value {
    display: block;
    font-weight: 700;
    color: var(--lp-ink);
    text-decoration: none;
    margin-bottom: 14px;
}

.landing-contact-card .landing-contact-value:hover {
    color: var(--lp-primary);
}

.landing-contact-placeholder {
    color: var(--lp-muted);
    font-size: .9rem;
    margin-bottom: 0;
}

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

.landing-footer {
    padding: 36px 0 28px;
    background: var(--lp-surface);
}

.landing-footer-brand {
    font-weight: 800;
    color: var(--lp-ink);
}

.landing-footer small {
    color: var(--lp-muted);
}

.landing-footer a {
    text-decoration: none;
    color: var(--lp-body);
    font-weight: 600;
    font-size: .9rem;
    margin-left: 18px;
}

.landing-footer a:first-child {
    margin-left: 0;
}

.landing-footer a:hover {
    color: var(--lp-primary);
}

.landing-footer-sep {
    border-color: var(--lp-line);
    margin: 26px 0 18px;
    opacity: 1;
}

.landing-footer-copy {
    color: var(--lp-muted);
    font-size: .85rem;
}

/* ------------------------------- Scroll reveal -------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .landing-card,
    .landing-btn {
        transition: none;
    }
}

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

@media (max-width: 991.98px) {
    .landing-hero {
        padding: 60px 0 56px;
    }

    .landing-hero-visual {
        padding: 10px;
        max-width: 460px;
        margin: 0 auto;
    }

    .landing-section {
        padding: 64px 0;
    }

    .landing-header .navbar-nav {
        padding: 14px 0 6px;
        gap: 4px !important;
    }

    .landing-header .nav-link {
        padding-left: .4rem;
    }

    .landing-how-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}

@media (max-width: 575.98px) {
    .landing-hero .landing-btn-lg {
        width: 100%;
    }

    .landing-title {
        letter-spacing: -.02em;
    }

    .landing-note {
        text-align: left;
        align-items: flex-start;
    }

    .landing-input-group {
        flex-wrap: wrap;
        border-radius: var(--lp-r-md);
        padding: 14px;
    }

    .landing-input-group .form-control {
        flex: 1 1 100%;
        order: 1;
        padding: .5rem .2rem;
    }

    .landing-input-group > i {
        order: 0;
    }

    .landing-input-group .landing-btn {
        order: 2;
        width: 100%;
        margin-top: 4px;
    }

    .landing-how-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .landing-footer .col-md-6.text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }

    .landing-footer a {
        margin-left: 0;
        margin-right: 16px;
    }
}
