footer {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(
        180deg,
        rgba(15, 18, 30, 0.95) 0%,
        rgba(8, 10, 18, 0.98) 100%
    );
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
      Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    user-select: none;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.4) 50%,
        transparent 100%
    );
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 800px;
    width: 100%;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: text;
    font-size: 0.95rem;
}

footer a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
    color: white;
    transform: translateY(-1px);
}

footer a:hover::before {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.social-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.footer-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    margin: 1rem 0;
}

.footer-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    user-select: none;
    font-weight: 400;
    line-height: 1.5;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.footer-cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.footer-cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-cta-button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem;
        margin-top: 4rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
        max-width: 100%;
    }

    footer a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }

    .footer-social {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        font-size: 1.1rem;
    }

    .footer-cta {
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2.5rem 1rem;
    }

    .footer-links {
        gap: 1rem;
        flex-direction: column;
    }

    .footer-social {
        gap: 0.75rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-cta {
        padding: 1rem 1.25rem;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 0.25rem;
    }
}