@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/metropolis/Metropolis-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.maintenance-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 1rem;
    overflow: hidden;
}

.cards-wrapper {
    display: flex;
    gap: 1.5rem;
    max-width: 850px;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
}

.maintenance-card {
    max-width: 380px;
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex-shrink: 0;
}

.progress-card {
    max-width: 380px;
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f4;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.progress-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-overview {
    margin-bottom: 1.5rem;
}

.progress-item {
    margin-bottom: 1.25rem;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 0.75rem;
    background-color: #e2e8f0;
    border-radius: 0.375rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.375rem;
    transition: width 0.8s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.progress-percentage {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 3rem;
    text-align: right;
}

.progress-footer {
    padding-top: 1rem;
    border-top: 2px solid #f1f3f4;
}

.eta-info, .progress-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.eta-info:last-child, .progress-total:last-child {
    margin-bottom: 0;
}

.eta-label, .total-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.eta-time, .total-percentage {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.eta-time {
    color: #059669;
}

.total-percentage {
    color: #667eea;
    font-size: 1.125rem;
}

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

.maintenance-logo {
    display: block;
    margin: 0 auto;
    height: 4rem;
    width: auto;
    max-width: 100%;
}

.maintenance-letters {
    display: block;
    margin: 0 auto;
    height: 2.5rem;
    width: auto;
    max-width: 100%;
}

.maintenance-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.maintenance-message {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.loading-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.loading-bar {
    height: 0.5rem;
    background-color: #dee2e6;
    border-radius: 0.25rem;
    margin: 0 auto 0.5rem;
}

.loading-bar.w-75 {
    width: 75%;
}

.loading-bar.w-50 {
    width: 50%;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .cards-wrapper {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }
    
    .maintenance-container {
        padding: 0.5rem;
        overflow: hidden;
    }
    
    .maintenance-card,
    .progress-card {
        max-width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .maintenance-container {
        padding: 0.25rem;
    }
    
    .cards-wrapper {
        gap: 0.75rem;
    }
    
    .maintenance-card,
    .progress-card {
        padding: 0.75rem;
    }
}

/* Footer styles */
.maintenance-footer {
    margin-top: 0;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 0.5rem;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 850px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 1.5rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f7fafc;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    color: #63b3ed;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #63b3ed;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.social-link:hover {
    background-color: #63b3ed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 179, 237, 0.3);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #63b3ed;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .maintenance-footer {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1rem;
    }
    
    .footer-bottom {
        padding: 0.75rem 1rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
}
