.footer {
    background-color: #000;
    color: #ffffff;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

/* Remove border-radius when footer follows feature-cta */
.feature-cta + .footer {
    border-radius: 0;
    padding-top: 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(90deg, #000 0%, #000 100%);
    opacity: 0.1;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    position: relative;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-description {
    color: #a3a3a3;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-2px);
    background-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.footer-section {
    padding-top: 20px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #2563eb;
}

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

.footer-section ul li {
    margin-bottom: 16px;
}

.footer-section ul li a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-section ul li a i {
    font-size: 12px;
    opacity: 0.5;
    color: #2563eb;
    transition: all 0.2s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-section ul li a:hover i {
    opacity: 1;
    transform: none;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a3a3a3;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-links a {
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer {
        border-radius: 20px 20px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 60px 0 32px;
        border-radius: 15px 15px 0 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
}