/* -----------------------------------------
   RESET & GLOBAL VARIABLES 
----------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f172a;
    --primary-blue: #2563eb;
    --primary-blue-light: #3b82f6;
    --accent-glow: #38bdf8;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* animated background particles effect */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 40%, rgba(59,130,246,0.1) 0%, transparent 35%),
                      radial-gradient(circle at 80% 70%, rgba(56,189,248,0.1) 0%, transparent 40%);
    animation: subtleShift 20s ease-in-out infinite alternate;
}

@keyframes subtleShift {
    0% {
        background-position: 0% 0%;
        opacity: 0.2;
    }
    100% {
        background-position: 100% 100%;
        opacity: 0.4;
    }
}

/* main container */
.maintenance-container {
    position: relative;
    z-index: 2;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* content card – glassmorphism premium */
.content-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(2px);
    border-radius: 2.5rem;
    padding: 2.8rem 2.2rem;
    box-shadow: var(--shadow-xl), 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-align: center;
}

@media (max-width: 640px) {
    .content-card {
        padding: 2rem 1.5rem;
        border-radius: 1.8rem;
    }
}

/* icon animations */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.gear-icon, .wrench-icon {
    background: linear-gradient(145deg, #eef2ff, #e0e7ff);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 12px 18px -8px rgba(37,99,235,0.2);
}

.gear-icon i, .wrench-icon i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.gear-icon {
    animation: spinSlow 6s linear infinite;
}

.wrench-icon {
    animation: bounceGentle 2s ease-in-out infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounceGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* typography */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
}

.lead-text {
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto 1.8rem auto;
    font-weight: 450;
}

/* progress bar area */
.progress-area {
    margin: 2rem 0 1.8rem;
}

.progress-bar-container {
    background-color: var(--gray-200);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-glow));
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
    letter-spacing: 0.3px;
    background: #eff6ff;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(2px);
}

/* info grid modern */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
    margin: 2rem 0 1.8rem;
    padding-top: 0.25rem;
}

.info-item {
    background: var(--gray-50);
    padding: 0.65rem 1.2rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.info-item i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.info-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted transparent;
    transition: border 0.2s;
}

.info-item a:hover {
    border-bottom-color: var(--primary-blue);
}

/* social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.2rem 0 1.5rem;
}

.social-icon {
    background: var(--gray-100);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gray-700);
    font-size: 1.3rem;
    transition: all 0.25s ease;
    text-decoration: none;
    border: 1px solid var(--gray-200);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 6px 12px rgba(37,99,235,0.25);
}

/* notification signup */
.notification-signup {
    margin: 1rem 0 1.4rem;
    text-align: center;
}

.small-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group input {
    flex: 2;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    border: 1px solid var(--gray-200);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
    background: white;
}

.input-group input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.input-group button {
    background: var(--primary-blue);
    border: none;
    padding: 0 1.4rem;
    border-radius: 60px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.input-group button:hover {
    background: var(--primary-blue-light);
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.toast-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    display: inline-block;
    border-radius: 30px;
    background: transparent;
    transition: all 0.2s;
}

.toast-message.success {
    background: #d1fae5;
    color: #065f46;
}

.toast-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* footer */
.footer-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.badge {
    background: #eef2ff;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-left: 0.5rem;
}

/* extra responsiveness */
@media (max-width: 480px) {
    .info-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .info-item {
        justify-content: center;
    }
    .gear-icon, .wrench-icon {
        width: 55px;
        height: 55px;
    }
    .gear-icon i, .wrench-icon i {
        font-size: 1.8rem;
    }
    .input-group button {
        padding: 0 1.2rem;
    }
}