/* public_html/assets/css/footer-landing.css */

/* Reset Box-Sizing khusus area footer */
.lp-footer, 
.lp-footer *, 
.lp-footer *::before, 
.lp-footer *::after {
    box-sizing: border-box;
}

.lp-footer {
    position: relative;
    width: 100%;
    padding: 34px 0 0; /* Padding bawah dipindah ke bottom bar */
    border-top: 1px solid rgba(255, 255, 255, .10);
    overflow: hidden;
    background: #0b0f17; /* Fallback color */
}

/* Background Gradasi */
.lp-footer__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b0f17 0%, #0a0a0a 55%, #111827 120%);
    pointer-events: none;
    z-index: 0;
}

/* Container: Mengunci lebar agar tidak meluber */
.lp-footer .lp-container {
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 1200px) {
    .lp-footer .lp-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

/* Grid System */
.lp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 30px;
}

/* Kolom / Kartu */
.lp-footer__col {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
}

.lp-footer__brand {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
}

.lp-footer__mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-footer__logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Typography */
.lp-footer__text b {
    display: block;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.lp-footer__text small {
    display: block;
    color: rgba(255, 255, 255, .7);
    margin-top: 4px;
}

.lp-footer__title {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.lp-footer .muted {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    line-height: 1.6;
}

/* Actions & Buttons */
.lp-footer__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
}

.lp-footer__btn--primary {
    background: #dc2626;
    border-color: #dc2626;
}

.lp-footer__btn:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

/* Bottom Bar */
.lp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.lp-footer__totop {
    background: #dc2626;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s;
}

/* Responsive Footer */
@media (max-width: 980px) {
    .lp-footer__grid {
        grid-template-columns: 1fr;
    }
    .lp-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}