.footer-spacer {
    height: 480px; /* Sized slightly larger to provide comfortable space */
    position: relative;
    z-index: 0;
    background: transparent;
    pointer-events: none;
}

.parallax-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 480px;
    z-index: 1;
    background: #020308;
}

/* Ensure background of sections covers the footer */
#hero-block,
#how-it-works-block,
#care-block,
#unified-showcase-block {
    position: relative;
    z-index: 2;
    background: #050814;
}

/* Redesigned Centered Premium Typography & Button */
.footer-hero-section {
    margin-top: 1.5rem;
}

.footer-muted-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.footer-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 0;
}

.footer-title-divider {
    width: 250px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.8rem auto 2.2rem auto;
}

.footer-glow-btn {
    background: #e2e2e2;
    color: #000000 !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    border-radius: 50px;
    padding: 13px 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-glow-btn:hover {
    background: #0ea5e9;
    color: #ffffff !important;
    box-shadow: 0 0 35px rgba(14, 165, 233, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.footer-glow-btn:hover .footer-btn-icon {
    filter: brightness(0) invert(1);
    transform: translateX(3px);
}

.footer-btn-icon {
    height: 18px;
    width: auto;
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
}

/* Social Media Flanking Row styling */
.footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 4rem auto 1.5rem auto;
    padding: 0 1.5rem;
}

.footer-social-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-social-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-social-icon-btn {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social-icon-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-copyright-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
    .footer-spacer {
        display: none !important;
    }
    
    .parallax-footer {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 480px !important;
        z-index: 2 !important;
        background: #050814 !important; /* Unified mobile background! */
        padding: 4rem 1.25rem !important;
    }
}
