/* Animated Mesh Gradient Footer (Soft Gold Theme) */
.mesh-footer {
    position: relative;
    background: #ffffff;
    color: #1e293b;
    padding-top: 5rem;
    padding-bottom: 3rem;
    margin-top: 5rem;
    overflow: hidden;
    z-index: 1;
}

/* Top Smooth Fade Mask Overlay - Seamless transition into white background above */
.mesh-footer-top-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Animated Gold Mesh Gradient Background (100% Pure CSS - 0 Images) */
.mesh-footer-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.95;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

/* Blob 1: Warm Amber Gold */
.mesh-blob-1 {
    top: 10%;
    left: 2%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.55) 0%, rgba(245, 158, 11, 0) 70%);
    animation: meshFloat1 10s ease-in-out infinite alternate;
}

/* Blob 2: Soft Champagne Gold */
.mesh-blob-2 {
    top: 5%;
    right: 5%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.65) 0%, rgba(251, 191, 36, 0) 70%);
    animation: meshFloat2 12s ease-in-out infinite alternate;
}

/* Blob 3: Deep Sunset Gold */
.mesh-blob-3 {
    bottom: -10%;
    left: 25%;
    width: 650px;
    height: 550px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.45) 0%, rgba(217, 119, 6, 0) 70%);
    animation: meshFloat3 11s ease-in-out infinite alternate;
}

/* Blob 4: Warm Sunlight Glow */
.mesh-blob-4 {
    top: 30%;
    right: 20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.7) 0%, rgba(253, 230, 138, 0) 70%);
    animation: meshFloat4 13s ease-in-out infinite alternate;
}

@keyframes meshFloat1 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translate3d(140px, -50px, 0) scale(1.2) rotate(45deg);
        opacity: 0.95;
    }

    100% {
        transform: translate3d(-80px, 60px, 0) scale(0.9) rotate(-30deg);
        opacity: 0.65;
    }
}

@keyframes meshFloat2 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1) rotate(0deg);
        opacity: 0.75;
    }

    50% {
        transform: translate3d(-130px, 60px, 0) scale(1.15) rotate(-50deg);
        opacity: 0.95;
    }

    100% {
        transform: translate3d(90px, -40px, 0) scale(0.92) rotate(40deg);
        opacity: 0.65;
    }
}

@keyframes meshFloat3 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translate3d(100px, -70px, 0) scale(1.25) rotate(60deg);
        opacity: 0.9;
    }

    100% {
        transform: translate3d(-120px, 35px, 0) scale(0.85) rotate(-40deg);
        opacity: 0.55;
    }
}

@keyframes meshFloat4 {
    0% {
        transform: translate3d(0px, 0px, 0) scale(1) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translate3d(-90px, -60px, 0) scale(1.18) rotate(-35deg);
        opacity: 0.95;
    }

    100% {
        transform: translate3d(110px, 50px, 0) scale(0.9) rotate(55deg);
        opacity: 0.6;
    }
}

/* Background Watermark Typography (Soft Gold Outline) */
.mesh-watermark {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(5rem, 7rem, 12rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.04em;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    -webkit-text-stroke: 2px rgba(245, 158, 11, 0.18);
    color: transparent;
    opacity: 0.85;
    font-family: var(--font-heading), system-ui, -apple-system, sans-serif;
}

/* Content Layer */
.mesh-footer-content {
    position: relative;
    z-index: 3;
}

.mesh-footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.mesh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mesh-footer-links li {
    margin-bottom: 0.65rem;
}

.mesh-footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.mesh-footer-links a:hover {
    color: #d97706;
    transform: translateX(3px);
}

/* Floating CTA Pill Bar */
.mesh-cta-wrapper {
    position: relative;
    z-index: 4;
    margin-top: 2rem;
    text-align: center;
}

.mesh-cta-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(254, 240, 138, 0.8);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.18);
    border-radius: 50px;
    padding: 6px 8px 6px 20px;
    max-width: 100%;
}

.mesh-cta-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin-right: 15px;
}

.mesh-cta-btn {
    background: #0f172a;
    color: #ffffff;
    border-radius: 40px;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.mesh-cta-btn:hover {
    background: #d97706;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

/* Footer Bottom Bar */
.mesh-footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: #64748b;
}