/**
 * Footer Styles
 */

/* Footer Container */
.footer {
    position: relative;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #00D4FF 50%, transparent 100%);
    opacity: 0.5;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    font-family: var(--font-family-primary);
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(135deg, #00D4FF 0%, #7B61FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: #00D4FF;
    border-radius: 50%;
    animation: footerPulse 2s infinite;
    margin-bottom: 2px;
}

@keyframes footerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
}

.footer-description {
    color: #B0B0B0;
    font-size: var(--text-base);
    line-height: var(--lh-loose);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B0B0B0;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    transform: translateY(-2px);
}

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

.footer-title {
    font-family: var(--font-family-primary);
    font-size: var(--text-medium);
    font-weight: var(--font-weight-semibold);
    color: #FFFFFF;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF 0%, #7B61FF 100%);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #B0B0B0;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

.footer-link:hover {
    color: #00D4FF;
    padding-left: 10px;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: #00D4FF;
    transition: width 0.3s;
    transform: translateY(-50%);
}

.footer-link:hover::before {
    width: 6px;
}

.newsletter {
    max-width: 280px;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFFFFF;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.newsletter-input::placeholder {
    color: #666666;
}

.newsletter-input:focus {
    outline: none;
    border-color: #00D4FF;
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.newsletter-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #00D4FF 0%, #7B61FF 100%);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

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

.footer-copyright {
    color: #666666;
    font-size: var(--font-size-md);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.legal-link {
    color: #666666;
    text-decoration: none;
    font-size: var(--font-size-md);
    transition: color 0.3s;
}

.legal-link:hover {
    color: #00D4FF;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: var(--font-size-md);
}

.heart {
    color: #FF4757;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 60px 0 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .newsletter {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 40px 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        font-size: 28px;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}