/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Intro Loader Styles */
body.intro-loading {
    overflow: hidden;
}

body.intro-loading > *:not(.intro-loader) {
    filter: blur(8px);
    transition: filter 0.6s ease-out;
    pointer-events: none;
}

.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.6s ease-out, backdrop-filter 0.6s ease-out;
    overflow: hidden;
}

.intro-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(37, 119, 209, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.intro-loader::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(37, 99, 235, 0.02) 20px,
            rgba(37, 99, 235, 0.02) 40px
        );
    animation: patternMove 30s linear infinite;
    pointer-events: none;
}

.intro-loader.hidden {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
}

body.intro-loading > *:not(.intro-loader) {
    filter: blur(8px);
}

body:not(.intro-loading) > *:not(.intro-loader) {
    filter: blur(0px);
    transition: filter 0.8s ease-out;
}

.intro-loader-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.intro-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto 40px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.intro-logo-square {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    position: relative;
    flex-shrink: 0;
}

.intro-logo-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.intro-logo-icon {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.intro-logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.intro-logo-text {
    color: #2563eb;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.intro-logo-subtext {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.intro-progress {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 600;
    color: #2563eb;
    animation: pulse 1.5s ease-in-out infinite;
}

.intro-progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2px;
    margin: 15px auto 0;
    overflow: hidden;
}

.intro-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .intro-logo {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .intro-logo-square {
        width: 70px;
        height: 70px;
    }
    
    .intro-logo-icon {
        font-size: 36px;
    }
    
    .intro-logo-text-wrapper {
        align-items: center;
        text-align: center;
    }
    
    .intro-logo-text {
        font-size: 24px;
    }
    
    .intro-logo-subtext {
        font-size: 11px;
    }
    
    .intro-progress {
        font-size: 20px;
    }
}

