* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animation de fond */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.maintenance-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.maintenance-content {
    background: var(--bg-color);
    border-radius: 32px;
    padding: 60px 40px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-wrapper {
    margin-bottom: 32px;
}

.logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s ease-in-out infinite;
}

.logo svg {
    color: white;
    width: 50px;
    height: 50px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }
}

/* Titre */
.main-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Description */
.description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Compte à rebours */
.countdown-wrapper {
    margin-bottom: 48px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 20px;
    min-width: 100px;
    text-align: center;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Barre de progression */
.progress-wrapper {
    margin-bottom: 48px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.progress-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Formulaire */
.notification-form {
    margin-bottom: 48px;
}

.notification-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-notify {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-notify svg {
    transition: transform 0.3s ease;
}

.btn-notify:hover svg {
    transform: translateX(4px);
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #ef4444;
}

/* Contact */
.contact-info {
    margin-bottom: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-email {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-flex;
    padding: 8px;
    border-radius: 50%;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.footer p {
    font-size: 14px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .maintenance-content {
        padding: 40px 24px;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px;
    }
    
    .countdown-number {
        font-size: 32px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .btn-notify {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 60px;
        padding: 12px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
}