/* --- FOOTER WAVE DIVIDER --- */
.footer-wave-wrapper {
    width: 100%;
    height: 180px !important;
    position: relative;
    z-index: 5;
    margin-bottom: -4px;
    overflow: hidden;
    background: transparent;
}

.footer-wave-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.parallax-waves > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
    fill: #023682;
}

.parallax-waves > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
    opacity: 0.3;
}

.parallax-waves > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
    animation-direction: reverse;
    opacity: 0.5;
}

.parallax-waves > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
    opacity: 0.7;
}

.parallax-waves > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    animation-direction: reverse;
    opacity: 1;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.premium-footer {
    background-color: #023682 !important;
    color: #ffffff !important;
    padding: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    position: relative;
    z-index: 10;
}

.premium-footer .footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

/* CTA Section */
.footer-cta-section {
    padding-top: 20px;
    padding-bottom: 80px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-title {
    font-size: clamp(1.8rem, 4vw, 2.625rem); /* max 42px */
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
    max-width: 720px;
}

.footer-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.form-input-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07) !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s ease;
    padding-right: 8px !important;
    overflow: hidden;
}

.form-input-row:focus-within {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.form-input-row input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    font-weight: 500;
    flex: 1;
    outline: none !important;
    box-shadow: none !important;
}

.form-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-submit-btn {
    background: #ffffff !important;
    border: none !important;
    color: #023682 !important;
    cursor: pointer;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 4px !important;
    padding: 0 !important;
}

.newsletter-submit-btn:hover {
    transform: scale(1.08) !important;
    background: #f8f8f8 !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

.newsletter-submit-btn svg {
    width: 20px;
    height: 20px;
}

.form-input-row button:hover {
    transform: scale(1.1);
    background: #f0f0f0 !important;
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: margin 0.4s ease;
}

@media (min-width: 768px) {
    .form-checkbox-group {
        margin-left: 25px;
    }
}

.footer-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-checkbox:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.footer-checkbox input[type="checkbox"]:checked {
    background: #ffffff;
    border-color: #ffffff;
}

.footer-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #023682;
    font-size: 12px;
    font-weight: 900;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.8;
}

.checkbox-label a:hover {
    opacity: 1;
}

/* Main Section */
.footer-main-section {
    position: relative;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #023682 !important;
    overflow: hidden;
}

/* Aurora Backdrop Layers */
.footer__aurora-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.65;
}

.footer__aurora {
    position: absolute;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
    bottom: -15%;
    height: 120%;
    transform-origin: bottom center;
}

.footer__aurora--1 {
    width: 70vw;
    left: -20%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.4) 0%, transparent 70%);
    animation: footerAuroraEq1 12s ease-in-out infinite alternate;
}

.footer__aurora--2 {
    width: 100vw;
    left: 0%;
    background: radial-gradient(circle, rgba(2, 54, 130, 0.6) 0%, transparent 70%);
    animation: footerAuroraEq2 15s ease-in-out infinite alternate -3s;
}

.footer__aurora--3 {
    width: 70vw;
    right: -20%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
    animation: footerAuroraEq3 18s ease-in-out infinite alternate -6s;
}

@keyframes footerAuroraEq1 {
    0% { transform: scaleY(0.7) translateY(10%) translateX(0); opacity: 0.3; }
    50% { transform: scaleY(1.3) translateY(-5%) translateX(3%); opacity: 0.6; }
    100% { transform: scaleY(0.9) translateY(0) translateX(-2%); opacity: 0.4; }
}

@keyframes footerAuroraEq2 {
    0% { transform: scaleY(1.4) translateY(-10%) translateX(0); opacity: 0.6; }
    50% { transform: scaleY(0.8) translateY(5%) translateX(-3%); opacity: 0.3; }
    100% { transform: scaleY(1.2) translateY(0) translateX(2%); opacity: 0.5; }
}

@keyframes footerAuroraEq3 {
    0% { transform: scaleY(0.8) translateY(5%) translateX(0); opacity: 0.4; }
    50% { transform: scaleY(1.1) translateY(-2%) translateX(-4%); opacity: 0.6; }
    100% { transform: scaleY(1.5) translateY(-10%) translateX(3%); opacity: 0.7; }
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
    width: 100%;
}

.footer-col-left {
    flex: 1;
}

.footer-col-right {
    text-align: right;
}

.footer-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.footer-menu-links li a {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    opacity: 0.85;
}

.footer-menu-links li a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-social-links a {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-copyright {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

@media (max-width: 900px) {
    .premium-footer {
        padding: 60px 0 40px !important;
    }

    .premium-footer .footer-container {
        padding: 0 24px;
    }

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

    .footer-cta-title {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 60px;
        text-align: left;
    }

    .footer-col-right {
        text-align: left;
    }

    .footer-menu-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-menu-links li a {
        font-size: 16px;
    }

    .footer-social-links {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
    }
}