/* ==========================================================================
   STYLE FOR VPS PAGE (نسخه کاملاً تراز پیکسلی و بدون اسکرول افقی موبایل)
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: Tahoma, sans-serif; }

body {
    background-color: #f8fafc;
    direction: rtl;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px 80px;
    overflow-x: hidden; /* جلوگیری از اسکرول‌های ریز ناخواسته بدنه */
}

/* هدر مینی‌مال جهانی */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}
.nav-right, .nav-left { display: flex; align-items: center; gap: 40px; }
.logo { font-weight: 800; color: #0052cc; font-size: 19px; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.menu { display: flex; gap: 25px; }
.menu a { text-decoration: none; color: #64748b; font-size: 13.5px; font-weight: 600; transition: all 0.2s ease; }
.menu a:hover, .menu a.active { color: #1455d9 !important; }
.btn-login { background: #1455d9; color: white; border: none; padding: 10px 22px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: bold; transition: all 0.2s; }
.btn-login:hover { background: #003d99; transform: translateY(-1px); }
.btn-register { background: none; border: none; color: #475569; cursor: pointer; font-size: 12.5px; font-weight: bold; }

/* مخفی‌سازی مطلق المان‌های موبایل در مانیتورهای دسکتاپ بزرگ */
.hamburger-menu-btn, .mobile-sidebar, .sidebar-overlay { display: none !important; }

/* نوار راهنما کاملاً به راست چسبیده */
.breadcrumb {
    font-size: 11px;
    color: #94a3b8;
    text-align: right !important;
    width: 100% !important;
    max-width: 1160px;
    margin: 10px auto -10px auto;
    font-weight: bold;
    padding-right: 0 !important;
    display: block !important;
}
.breadcrumb a { text-decoration: none; color: #94a3b8; transition: color 0.2s; }
.breadcrumb a:hover { color: #1455d9; }

/* بخش هیرو دسکتاپ */
.hero-vps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 450px;
    background-color: #f8fafc;
    gap: 40px;
    width: 100%;
}
.hero-text-vps { width: 55%; text-align: right; }
.hero-text-vps h1 { font-size: 42px; font-weight: 800; color: #0f172a; }
.hero-text-vps h1 span { display: block; color: #1455d9; font-size: 28px; margin-top: 8px; }
.hero-text-vps p { margin-top: 20px; max-width: 540px; line-height: 1.8; font-size: 14px; color: #64748b; }

.vps-features-bar {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 10px;
    margin-top: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    justify-content: space-around;
    align-items: center;
    direction: rtl;
}
.bar-item { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: center; position: relative; }
.bar-item:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background-color: #e2e8f0; }
.bar-item i { color: #1455d9; font-size: 20px; }
.bar-item-text { display: flex; flex-direction: column; text-align: right; }
.bar-item-text h4 { font-size: 12px; font-weight: bold; color: #0f172a; }
.bar-item-text p { font-size: 10px; color: #94a3b8; margin-top: 1px; }

.hero-image-vps { width: 40%; display: flex; justify-content: center; align-items: center; }
.hero-image-vps img { width: 100%; max-width: 400px; height: auto; object-fit: contain; mix-blend-mode: multiply; }

.section-title { text-align: center; margin-top: 20px; }
.section-title h2 { font-size: 20px; color: #1e293b; }

/* قفل ارتفاع همسان کارت‌های دسکتاپ */
.vps-pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch !important;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.vps-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px 20px;
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.vps-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.vps-card.featured { border: 2px solid #1455d9 !important; box-shadow: 0 10px 25px rgba(20, 85, 217, 0.06) !important; }

.vps-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1455d9;
    color: white;
    padding: 3px 14px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 10;
}

.vps-card h3 { font-size: 16px; color: #0f172a; margin-bottom: 15px; font-weight: bold; }
.vps-price-box { margin-bottom: 20px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 15px; }
.vps-price-box .amount { font-size: 24px; font-weight: bold; color: #1455d9; display: block; }
.vps-price-box .period { font-size: 11px; color: #64748b; margin-top: 5px; display: block; }

.vps-features-list { list-style: none; margin-bottom: 25px; display: flex; flex-direction: column; gap: 12px; }
.vps-features-list li { font-size: 12px; color: #475569; line-height: 1.4; }

.btn-vps-buy { width: 100%; padding: 12px; border-radius: 8px; border: none; font-weight: bold; font-size: 12px; cursor: pointer; background: #e6f0ff; color: #1455d9; transition: 0.3s; }
.vps-card.featured .btn-vps-buy { background: #1455d9; color: white; }
.btn-vps-buy:hover { transform: scale(1.03); }

/* ویژگی‌های ۴ گانه دسکتاپ */
.vps-bottom-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    direction: rtl;
}
.vps-bottom-item { display: flex; align-items: center; gap: 12px; text-align: right; background: #ffffff; flex: 1; }
.vps-bottom-item i { font-size: 18px; color: #1455d9; background: #e6f0ff; padding: 10px; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vps-bottom-item h4 { font-size: 13px; color: #1e293b; font-weight: bold; }
.vps-bottom-item p { font-size: 11px; color: #64748b; margin-top: 2px; }

/* ==========================================================================
   تنظیمات ۱۰۰٪ ریسپانسیو موبایل (تراز لبه به لبه مطلق بدون بیرون زدگی)
   ========================================================================== */
@media (max-width: 992px) {
    body { padding: 15px 20px !important; gap: 20px; }

    /* هدر واکنش‌گرا و لوگوی ثابت وسط */
    .navbar {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center !important;
        height: 60px !important; 
        padding: 0 10px !important; 
        border-bottom: none; 
    }
    .nav-right { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
        font-size: 18px !important;
        z-index: 5;
    }
    .navbar .menu, .navbar .nav-left { display: none !important; }

    /* نمایش دکمه ۳خط همبرگری سمت راست هدر */
    .hamburger-menu-btn { 
        display: block !important; 
        background: none !important; 
        border: none !important; 
        font-size: 24px !important; 
        color: #0f172a !important; 
        cursor: pointer !important;
        order: 2 !important;
    }
    .breadcrumb { text-align: center !important; }

    /* استایل و انیمیشن سایدبار کشویی موبایل */
    .mobile-sidebar {
        display: flex !important;
        position: fixed !important; 
        top: 0 !important; 
        right: -290px !important;
        width: 280px !important; 
        height: 100vh !important; 
        background: #ffffff !important; 
        z-index: 9999 !important;
        flex-direction: column !important; 
        padding: 25px 20px !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.08) !important;
        transition: right 0.3s ease-in-out !important;
    }
    .mobile-sidebar.open { right: 0 !important; }
    .sidebar-header { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; margin-bottom: 25px !important; border-bottom: 1px solid #f1f5f9 !important; padding-bottom: 15px !important; }
    .close-sidebar-btn { background: none !important; border: none !important; font-size: 22px !important; color: #94a3b8 !important; cursor: pointer !important; }
    .sidebar-menu { display: flex !important; flex-direction: column !important; gap: 18px !important; width: 100% !important; text-align: right !important; }
    .sidebar-menu a { text-decoration: none !important; color: #334155 !important; font-size: 14px !important; font-weight: bold !important; padding: 4px 0 !important; display: block !important; }
    .sidebar-hr { border: none !important; border-top: 1px solid #f1f5f9 !important; margin: 10px 0 !important; }
}