/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 25 2026 | 12:11:45 */
/* =======================================================
   MetNet Premium Hero Section Stylesheet (V 2.1.0)
   Architecture: Zero-JS Instant LCP, GPU Optimized Gradient, Anti-Flicker Safari.
   Accessibility: WCAG Focus-Visible Ring, reduced-motion fallback [8].
   Performance: VRAM Texture Reduction (180% Size), Static GPU Promotion.
   ======================================================= */

body .custom-hero {
    text-align: center;
    padding: 80px 25px;
    margin: 30px auto 50px auto; 
    max-width: 1350px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 10;
    box-sizing: border-box;
    border-radius: 30px;
    direction: rtl;
    font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* حل باگ CLS فونت */
    
    /* حل باگ ۴: سبک کردن سایه جهت بهینه‌سازی رندرینگ اسکرول */
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
    
    /* لود آنی گرادیانت بدون تاخیر جاوااسکریپتی جهت ارتقای امتیاز LCP */
    background: linear-gradient(135deg, #0f172a 0%, #4c1d95 50%, #1d4ed8 100%);
    
    /* حل باگ ۳: کاهش مقیاس گرادیانت جهت بهینه‌سازی و ذخیره حافظه VRAM گرافیک */
    background-size: 180% 180%;

    /* حل باگ ۴: ارتقای لایه استاتیک سخت‌افزاری در GPU دسکتاپ و آیفون */
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* حل باگ ۲: اجرای انیمیشن گرادیانت متحرک فقط در دسکتاپ‌های قوی */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    body .custom-hero {
        animation: hero-gradient-pan 18s ease-in-out infinite; /* کاهش سرعت به ۱۸ ثانیه جهت لوکس‌تر شدن جابجایی نور */
    }
}

/* حل باگ ۳: سبک‌سازی بافت نقطه‌ای پس‌زمینه برای عبور از فیلترهای لایه کمپوزیت */
body .custom-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

body .custom-hero h1,
body .custom-hero h2,
body .custom-hero p,
body .custom-hero a {
    position: relative;
    z-index: 2;
}

/* تگ H1 (سئو اصلی) */
body .custom-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 15px auto;
    line-height: 1.5;
    max-width: 1000px;
    /* حل باگ ۵: سبک کردن بلور سایه متن جهت روان شدن رندر متن در سافاری آیفون */
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* تگ H2 (زیرتیتر) */
body .custom-hero h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #93c5fd; 
    margin: 0 auto 25px auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* پاراگراف توضیحات */
body .custom-hero p {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    font-weight: 500;
}

/* --- دکمه اکشن (Call to Action) --- */
body .custom-hero .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb); 
    color: #ffffff;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease;
    border: 2px solid rgba(255,255,255,0.1);
    touch-action: manipulation;
}

/* تزریق آیکونِ تماس با ابعاد فیزیکی استاندارد */
body .custom-hero .cta-button::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") no-repeat center center;
}

/* هاور دکمه فقط مخصوص دستگاه‌های مجهز به ماوس (حذف باگ لرزش در سافاری موبایل) */
@media (hover: hover) {
    body .custom-hero .cta-button:hover {
        /* حل باگ ۱۱: استفاده از موقعیت ۳ بعدی به جای اسکیل اعشاری جهت جلوگیری از تاری لبه دکمه در آیفون */
        transform: translate3d(0, -3px, 0);
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
        background: linear-gradient(135deg, #0284c7, #1d4ed8);
    }
}

/* حل باگ ۶: اختصاص کادر متمایز بصری فوکوس کیبورد نابینایان [8] */
body .custom-hero .cta-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.5);
}

@keyframes hero-gradient-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    body .custom-hero { 
        padding: 50px 20px; 
        margin: 15px 10px 40px 10px; 
        border-radius: 20px; 
    }
    body .custom-hero h1 { 
        font-size: 1.6rem; 
        line-height: 1.5; 
        margin-bottom: 15px;
    }
    body .custom-hero h2 { 
        font-size: 1.15rem; 
        margin-bottom: 20px;
    }
    body .custom-hero p { 
        font-size: 0.95rem; 
        margin-bottom: 30px; 
    }
    body .custom-hero .cta-button { 
        width: 100%; 
        padding: 16px 20px; 
        font-size: 1.05rem; 
        box-sizing: border-box;
        /* حل باگ ۷: تراز بهینه انگشت شست بر روی نمایشگرهای کوچک موبایل */
        margin-top: 10px;
    }
}

/* حل باگ ۱۰: مهار حرکت برای ترجیحات دسترسی‌پذیری کاربر */
@media (prefers-reduced-motion: reduce) {
    body .custom-hero {
        animation: none;
    }
    body .custom-hero .cta-button {
        transition: none;
    }
}