/* footer.css */
/* ─── ENHANCED FOOTER ─── */
footer {
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.95) 0%, rgba(13, 19, 33, 0.98) 100%);
    padding: 80px 0 30px;
    border-top: 2px solid;
    border-image: linear-gradient(90deg,
            transparent 0%,
            var(--primary-trust-blue) 20%,
            var(--creative-accent) 50%,
            var(--primary-trust-blue) 80%,
            transparent 100%) 1;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--glow-blue),
            var(--glow-pink),
            var(--glow-blue),
            transparent);
    box-shadow: 0 0 20px var(--glow-blue);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(39, 98, 161, 0.5));
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--glow-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: rgba(248, 249, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(39, 98, 161, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clarity-white);
    font-size: 1.2rem;
    transition: all var(--speed-fast) ease;
    border: 1px solid rgba(148, 57, 127, 0.3);
    cursor: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--creative-accent), var(--accent-purple));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(148, 57, 127, 0.5);
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--clarity-white), var(--glow-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-pink));
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(248, 249, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    transition: all var(--speed-fast) ease;
    border-radius: 8px;
    padding-left: 12px;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--glow-blue);
    opacity: 0;
    transition: opacity var(--speed-fast) ease;
}

.footer-links a:hover {
    color: var(--clarity-white);
    background: rgba(148, 57, 127, 0.1);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a i {
    font-size: 1rem;
    color: var(--glow-cyan);
    transition: transform var(--speed-fast) ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.newsletter {
    background: rgba(39, 98, 161, 0.15);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(148, 57, 127, 0.3);
    margin-top: 10px;
}

.newsletter p {
    color: rgba(248, 249, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(8, 12, 20, 0.6);
    border: 1px solid rgba(148, 57, 127, 0.4);
    color: var(--clarity-white);
    font-size: 1rem;
    transition: all var(--speed-fast) ease;
    cursor: text;
}

.newsletter-btn {
    padding: 14px;
    background: linear-gradient(135deg, var(--creative-accent), var(--glow-pink));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: none;
    transition: all var(--speed-fast) ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(148, 57, 127, 0.6);
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 40px 0;
    border-top: 1px solid rgba(148, 57, 127, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(248, 249, 255, 0.8);
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(248, 249, 255, 0.8);
    text-decoration: none;
    transition: color var(--speed-fast) ease;
    cursor: none;
}

.footer-bottom-links a:hover {
    color: var(--glow-pink);
}

/* Responsive Styles for Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 0 20px;
    }

    .footer-bottom {
        padding: 30px 20px 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

    .social-link,
    .footer-links a,
    .newsletter-btn,
    .footer-bottom-links a {
        cursor: pointer !important;
    }
}