.footer-final-cta-section {
    background: linear-gradient(180deg, #2b2fbf, #5b5ee5);
    padding: 100px 0 40px;
    color: #fff;
}

.footer-section {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ---------- TOP CTA ---------- */
.cta-footer-top {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.cta-footer-copy h2 {
    font-size: 48px;
    font-weight: 700;
    margin-top: -120px;
}

.cta-footer-copy p {
    font-size: 18px;
    opacity: 0.85;
    padding-top: 22px;
}

/* ---------- NEWSLETTER CARD ---------- */
.newsletter-footer-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.newsletter-footer-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.newsletter-footer-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-footer-form input,
.newsletter-footer-form select {
    height: 44px;
    border-radius: 999px;
    border: none;
    padding: 0 18px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    outline: none;
}

.newsletter-footer-form input::placeholder {
    color: #ccc;
}

.newsletter-footer-form button {
    height: 46px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #3a3df0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-footer-form button:hover {
    transform: translateY(-2px);
}

/* ---------- FOOTER DESKTOP ---------- */
.cta-footer-card {
    background: #f7f7ff;
    border-radius: 24px;
    padding: 40px;
    color: #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.footer-brand img {
    height: 36px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: #666;
}

.footer-links h4 {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-links a {
    display: block;
    color: #555;
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #3a3df0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
}

.footer-social-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.x-icon-footer {
    background: #000;
    color: #fff;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.footer-x-arrow {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #888;
}

/* ---------- VISIBILITY ---------- */
.footer-desktop, .footer-desktop-header { display: block; }
.footer-mobile, .footer-mobile-header { display: none; }

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
    .cta-footer-top {
        grid-template-columns: 1fr;
    }

    .cta-footer-copy {
        text-align: center;
    }

    .cta-footer-copy h2 {
        font-size: 28px;
    }

    .cta-footer-copy p {
        font-size: 14px;
    }

    .newsletter-footer-card {
        width: 100%;
        margin-top: 20px;
    }

    .footer-desktop, .footer-desktop-header {
        display: none;
    }

    .footer-mobile-header {
        display: block;
    }

    .footer-section {
        margin-top: 100px;
    }

    .footer-mobile {
        display: block;
        background: #f7f7ff;
        border-radius: 24px;
        padding: 24px;
        color: #222;
    }

    .footer-mobile .footer-social-pill {
        width: 100%;
        justify-content: space-between;
        margin: 14px 0;
    }

    .footer-mobile-links a {
        display: block;
        padding: 6px 0;
        color: #555;
        text-decoration: none;
    }

    .footer-mobile-links a:hover {
        color: #3a3df0;
    }

    .footer-bottom {
        font-size: 11px;
        margin-top: 16px;
        text-align: center;
    }
}