/* =========================
   FOOTER MAIN
========================= */

.footer{
    margin-top:48px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 20%),
        radial-gradient(circle at bottom left, rgba(79,70,229,.18), transparent 24%),
        linear-gradient(135deg,#0b1220 0%, #111827 35%, #1e3a8a 100%);
    color:#fff;
    position:relative;
    overflow:hidden;
}

.footer::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%);
    pointer-events:none;
}

.footer-inner{
    position:relative;
    z-index:1;
    padding:54px 0 28px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.1fr;
    gap:26px;
}

/* =========================
   BRAND BLOCK
========================= */

.footer-brand{
    padding:22px;
    border-radius:24px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.footer-brand-top{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.footer-brand-badge{
    width:54px;
    height:54px;
    border-radius:18px;
    background:linear-gradient(135deg,#4f46e5,#22c55e);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-weight:900;
    font-size:22px;
    box-shadow:0 16px 30px rgba(79,70,229,.28);
}

.footer-brand-title strong{
    display:block;
    font-size:22px;
    margin-bottom:4px;
}

.footer-brand-title span{
    display:block;
    color:rgba(255,255,255,.70);
    font-size:13px;
}

.footer-brand p{
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.9;
    margin:0 0 16px;
}

/* =========================
   STATS
========================= */

.footer-mini-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.footer-stat{
    border-radius:16px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    padding:12px;
    text-align:center;
}

.footer-stat strong{
    display:block;
    font-size:18px;
    color:#fff;
    margin-bottom:4px;
}

.footer-stat span{
    font-size:11px;
    color:rgba(255,255,255,.68);
}

/* =========================
   LINKS
========================= */

.footer-col{
    padding:8px 0;
}

.footer h4{
    margin:0 0 16px;
    font-size:17px;
    color:#fff;
    position:relative;
    padding-bottom:10px;
}

.footer h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:44px;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg,#22c55e,#4f46e5);
}

.footer p,
.footer li,
.footer a{
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.9;
}

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer ul li{
    margin-bottom:10px;
}

.footer ul li a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.2s ease;
}

.footer ul li a:hover{
    color:#fff;
    transform:translateX(3px);
}

/* =========================
   ICON LINKS
========================= */

.footer-link-icon{
    width:28px;
    height:28px;
    border-radius:10px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

/* =========================
   CTA BOX
========================= */

.footer-cta-box{
    padding:18px;
    border-radius:20px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    margin-top:10px;
}

.footer-cta-box p{
    margin:0 0 14px;
}

.footer-cta-btn{
    height:46px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-weight:800;
    margin-bottom:10px;
}

.footer-cta-btn.primary{
    background:linear-gradient(135deg,#4f46e5,#6d63ff);
    color:#fff;
}

.footer-cta-btn.secondary{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    color:#fff;
}

/* =========================
   NEWSLETTER
========================= */

.footer-newsletter{
    margin-top:18px;
    padding:18px;
    border-radius:20px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
}

.footer-newsletter form{
    display:flex;
    gap:10px;
    margin-top:12px;
    flex-wrap:wrap;
}

.footer-newsletter input{
    flex:1;
    min-width:190px;
    height:44px;
    border:none;
    outline:none;
    border-radius:14px;
    padding:0 14px;
    background:rgba(255,255,255,.92);
    color:#0f172a;
}

.footer-newsletter button{
    height:44px;
    padding:0 18px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#fff;
    font-weight:800;
    cursor:pointer;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
    position:relative;
    z-index:1;
    border-top:1px solid rgba(255,255,255,.08);
    padding:18px 0 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:rgba(255,255,255,.72);
    font-size:13px;
}

.footer-bottom-links{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.footer-bottom-links a{
    color:rgba(255,255,255,.72);
}

.footer-bottom-links a:hover{
    color:#fff;
}

/* =========================
   SOCIALS
========================= */

.socials{
    display:flex;
    gap:10px;
}

.socials a{
    width:42px;
    height:42px;
    border-radius:14px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}

.socials a:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.14);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:900px){
    .footer-inner{
        grid-template-columns:1fr 1fr;
    }

    .footer-mini-stats{
        grid-template-columns:1fr;
    }
}

@media (max-width:640px){
    .footer-inner{
        grid-template-columns:1fr;
    }

    .footer-newsletter form{
        flex-direction:column;
    }
}
