/* =========================================================
   FOOTER COMPONENT
   ========================================================= */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(16, 22, 35, 0.96) 0%, rgba(10, 14, 24, 1) 100%);
    color: #f4f7fb;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 5rem;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(76, 132, 255, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 210, 255, 0.10), transparent 28%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
    gap: 2rem;
    align-items: start;
    padding-bottom: 2rem;
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-tagline {
    margin: 0;
    max-width: 32ch;
    color: rgba(244, 247, 251, 0.72);
    line-height: 1.7;
    font-size: 0.96rem;
}

.footer-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

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

.footer-links li + li {
    margin-top: 0.7rem;
}

.footer-links a {
    position: relative;
    display: inline-block;
    color: rgba(244, 247, 251, 0.74);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-column-cta {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-cta-text {
    margin: 0 0 1.2rem;
    color: rgba(244, 247, 251, 0.72);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #dbe8ff 100%);
    color: #0d1524;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    opacity: 0.98;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy,
.footer-credits {
    margin: 0;
    color: rgba(244, 247, 251, 0.58);
    font-size: 0.9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column-cta {
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 640px) {
    .footer-inner {
        width: min(100% - 1.5rem, 1200px);
        padding: 3rem 0 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-tagline,
    .footer-cta-text {
        max-width: none;
    }
}