.footer {
    background: var(--gradient-dark);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.footer-top {
    padding: 5rem 0 4rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1.375rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-logo .accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col > p {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.875rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
}

.footer-col ul li {
    margin-bottom: 0.875rem;
}

.footer-col ul a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-col ul a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s var(--ease-out-expo);
    top: 50%;
    transform: translateY(-50%);
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 1rem;
}

.footer-col ul a:hover::before {
    width: 0.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
    color: var(--gray-500);
}

.payment-methods i {
    transition: var(--transition);
    opacity: 0.7;
}

.payment-methods i:hover {
    color: var(--white);
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .footer-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .footer-top .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 3.5rem 0 3rem;
    }
    
    .footer-top .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 3rem 0 2.5rem;
    }
    
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: 1;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col ul a:hover {
        padding-left: 0;
    }
    
    .footer-col ul a::before {
        display: none;
    }
    
    .payment-methods {
        font-size: 1.75rem;
    }
}
