/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --color-primary-blue: #3B82F6;
    --color-blue-light: #60A5FA;
    --color-blue-dark: #2563EB;
    --color-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-bg-lighter: #F1F5F9;
    --color-gray-100: #E2E8F0;
    --color-gray-200: #CBD5E1;
    --color-gray-600: #475569;
    --color-gray-800: #1E293B;
    --color-text-dark: #0F172A;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(59, 130, 246, 0.08);
    --shadow-md: 0 4px 16px rgba(59, 130, 246, 0.12);
    --shadow-lg: 0 8px 32px rgba(59, 130, 246, 0.16);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 50%, var(--color-bg-lighter) 100%);
    color: var(--color-text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary-blue), var(--color-blue-light));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-gray-200));
    bottom: -100px;
    right: -100px;
    animation-delay: 7s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-gray-100), var(--color-blue-light));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

/* ============================================
   CONTENT CARD (GLASSMORPHISM)
   ============================================ */
.content-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 680px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ICON
   ============================================ */
.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.maintenance-icon {
    width: 80px;
    height: 80px;
    color: var(--color-primary-blue);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-primary-blue);
    margin-bottom: var(--spacing-lg);
    min-height: 2rem;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--color-primary-blue);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container {
    margin-bottom: var(--spacing-xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-gray-100);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-blue-dark), var(--color-primary-blue), var(--color-blue-light));
    border-radius: 999px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-200);
}

.contact-info p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-xs);
}

.email-link {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-blue);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.email-link:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-card {
        padding: var(--spacing-lg);
    }
    
    .maintenance-icon {
        width: 60px;
        height: 60px;
    }
    
    .blob-1, .blob-2, .blob-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: var(--spacing-sm);
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
}
