/* Footer Styles */
.site-footer {
    position: relative;
    padding: 3rem 0 1.5rem;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    /* margin-bottom: 0.5rem; */
}

.footer-brand-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 2em;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.02em;
}

.footer-brand p:last-of-type {
    font-family: var(--font-sans);
    font-size: .875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 0;
    max-width: 20rem;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links > div > p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -1.25rem;
    opacity: 0;
    color: var(--primary);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 1.25rem;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-bottom-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1.5rem;
        gap: 1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand .brand-mark {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .footer-title {
        font-size: 2.25rem;
    }

    .footer-brand p:last-of-type {
        font-size: 0.875rem;
    }

    .footer-links > div > p {
        font-size: 0.8125rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
    }

    .footer-bottom p {
        font-size: 0.8125rem;
    }

    .footer-bottom-links a {
        font-size: 0.8125rem;
    }
}
