.site-footer {
    padding: 4rem 0 3rem;
    margin-top: 4rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow for the footer area */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-active), transparent);
    opacity: 0.3;
}

.footer-shell {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3rem;
    padding: 4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .footer-panel {
        padding: 2.5rem 1.5rem;
        border-radius: 2rem;
    }
    .site-footer {
        padding: 4rem 0 2rem;
    }
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
}

@media (max-width: 1024px) {
    .footer-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .footer-logo-section {
        align-items: center;
        text-align: center;
    }
}

.footer-logo-img {
    height: 3.5rem;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(232, 0, 0, 0.2));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.footer-company-info {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .footer-socials {
        justify-content: center;
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-active);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    border-color: var(--accent-active);
    color: #ffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(232, 0, 0, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-column h6 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

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

.footer-links a {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-links a::after {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent-active);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 15px;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.blesta-credit {
    font-size: 0.8125rem;
    opacity: 0.6;
}

.blesta-credit a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.blesta-credit a:hover {
    color: var(--accent-active);
}

/* Add a subtle animation on scroll if we were using JS, but we can do a simple one on load with CSS */
@keyframes footerReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-panel {
    animation: footerReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
