/* -- Footer -- */

.footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-surface);
    font-family: 'Fira Code', monospace;
    color: var(--color-text);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

/* -- Brand -- */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 260px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-grad-1) 0%, var(--color-grad-2) 35%, var(--color-grad-3) 70%, var(--color-grad-4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* -- Sections -- */

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin: 0 0 0.25rem;
}

.footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav-list li a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color 0.25s ease;
}

.footer-nav-list li a:hover {
    color: var(--color-accent);
}

/* -- Social link -- */

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* -- Bottom bar -- */

.footer-bottom {
    border-top: 1px solid var(--color-border-subtle);
    text-align: center;
    padding: 1rem 2rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* -- Responsive -- */

@media (max-width: 640px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.25rem 1.5rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

