/* Maintenance Mode Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
}

.maintenance-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #764ba2;
    top: -100px;
    left: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #667eea;
    bottom: -50px;
    right: -50px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #ff9966;
    top: 40%;
    left: 20%;
    filter: blur(60px);
    opacity: 0.4;
    animation: pulseShape 6s ease-in-out infinite;
}

.maintenance-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 550px;
    width: 90%;
    transform: translateY(0);
    animation: cardAppear 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.maintenance-logo-container {
    margin-bottom: 2rem;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maintenance-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Ensure logo is white for dark theme */
    display: block;
}

.maintenance-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #b4b4b4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.maintenance-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.maintenance-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 60%;
    /* Simulate progress */
    border-radius: 10px;
    position: relative;
    animation: progressLoading 2s ease-in-out infinite;
}

.maintenance-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maintenance-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.maintenance-contact i {
    font-size: 1.1em;
}

.maintenance-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes pulseShape {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressLoading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(250%);
    }
}

/* Hide main site content when maintenance mode is active */
body.maintenance-active .page-wrapper,
body.maintenance-active .preloader,
body.maintenance-active .mobile-nav__wrapper,
body.maintenance-active .search-popup {
    display: none !important;
}