/* معرفی فونت وریبل به شکلی که تمام وزن‌ها (۱۰۰ تا ۹۰۰) را پوشش دهد */
@font-face {
    font-family: 'IRANYekanX';
    src: url('fonts/IRANYekanXVF.woff2') format('woff2-variations'),
         url('fonts/IRANYekanXVF.woff') format('woff-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IRANYekanX', Tahoma, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #334e68;
    padding: 20px;
    direction: rtl;
}

.maintenance-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* نوار رنگی بالای باکس */
.maintenance-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

/* استایل آیکون */
.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    color: #6366f1;
    animation: spin 10s linear infinite;
}

/* تنظیمات وزن برای فونت وریبل */
h1 {
    font-weight: 850; /* وزن بسیار ضخیم و حرفه‌ای */
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.5;
}

p.subtitle {
    font-weight: 500; /* وزن مدیوم */
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 10px;
}

p.description {
    font-weight: 300; /* وزن نازک (Light) */
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

strong {
    font-weight: 800; /* وزن بولد برای نام برند */
    color: #3b82f6;
}

/* استایل کادر تماس و پشتیبانی */
.contact-box {
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-text {
    font-size: 15px;
    font-weight: 450;
    color: #475569;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0f172a;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    direction: ltr;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.phone-btn svg {
    width: 18px;
    height: 18px;
}

.phone-btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

/* انیمیشن نوار لودینگ */
.loader-bar {
    width: 60px;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background-color: #6366f1;
    border-radius: 4px;
    animation: loading 1.5s infinite ease-in-out;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

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

/* واکنش‌گرایی برای موبایل */
@media (max-width: 480px) {
    .maintenance-card {
        padding: 40px 25px;
        border-radius: 16px;
    }
    h1 {
        font-size: 24px;
    }
    p.subtitle {
        font-size: 16px;
    }
    p.description {
        font-size: 14px;
    }
    .icon {
        width: 60px;
        height: 60px;
    }
    .contact-box {
        padding: 15px;
    }
    .contact-text {
        font-size: 13.5px;
    }
    .phone-btn {
        font-size: 16px;
        padding: 9px 20px;
    }
}
