        /* تعریف متغیرهای رنگی بر اساس ربات شما */
        :root {
            --primary-color: #2f8671;
            --light-green: #edfff9;
            --bg-main: #f0f2f5;
            --bg-white: #ffffff;
            --text-dark: #2c3e50;
            --text-gray: #7f8c8d;
            --shadow: 0 4px 15px rgba(47, 134, 113, 0.1);
        }

        /* تعریف فونت */
        @font-face {
            font-family: 'IRANYekan';
            src: url('./fonts/IRANYekanV.woff2') format('woff2'),
                 url('./fonts/IRANYekanV.woff') format('woff');
            font-weight: 100 900;
        }

        /* استایل های پایه */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'IRANYekan', Tahoma, sans-serif;
        }
/* استایل‌های تب سیستم‌عامل‌ها */
        body {
            background-color: var(--bg-main);
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* هدر سایت */
        header {
            background-color: var(--bg-white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            transition: all 0.3s ease;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-container img {
            height: 45px;
            width: auto;
        }

        .logo-container span {
            font-size: 1.4rem;
            font-weight: 900;
            color: var(--text-dark); /* این خط تغییر کرد تا رنگ تیره شود */
        }

        /* منوی اصلی */
        nav ul {
            list-style: none;
            display: flex;
            gap: 25px;
            justify-content: flex-start; /* راست‌چین کردن منوها در چیدمان */
        }

        nav ul li a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1rem;
            padding: 8px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px; /* فاصله بین آیکون و متن منو */
        }
        
        nav ul li a svg {
            width: 20px;
            height: 20px;
        }

        nav ul li a:hover, nav ul li a.active {
            background-color: var(--light-green);
            color: var(--primary-color);
        }

        /* دکمه پنل کاربری */
        .panel-btn {
            background-color: var(--primary-color);
            color: var(--bg-white);
            padding: 10px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(47, 134, 113, 0.3);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .panel-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(47, 134, 113, 0.4);
        }

        /* مدیریت محتوای تب ها (سرعت زیر نیم ثانیه) */
        .tab-content {
            display: none;
            padding: 60px 5%;
            animation: fadeIn 0.4s ease forwards;
        }

        .tab-content.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ریسپانسیو هدر برای موبایل */
        @media (max-width: 900px) {
            header {
                flex-direction: column;
                padding: 15px 20px;
                gap: 15px;
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }
        }
        
                /* محدود کردن عرض سایت به 1400 پیکسل */
        header .header-container, main {
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        header {
            padding: 15px 0; /* پدینگ اطراف را برداشتیم تا کانتینر مدیریت کند */
        }
        
        header .header-container {
            display: flex;
            align-items: center;
            padding: 0 5%;
        }
        
        nav#main-nav {
            flex-grow: 1;
        }
        
        .logo-container {
            margin-right: auto; /* هول دادن لوگو به منتهی‌الیه سمت چپ */
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* دکمه منوی همبرگری (مخفی در دسکتاپ) */
        .menu-toggle {
            display: none;
            cursor: pointer;
            color: var(--text-dark); /* رنگ به تیره تغییر کرد */
        }
        
        /* استایل فلش بالای عنوان ها */
        .the-arrow {
            margin: 0 auto 15px auto;
            display: flex;
            justify-content: center;
        }
        .the-arrow img {
            width: 50px; /* سایز استاندارد آیکون */
            height: auto;
            opacity: 0.9;
        }

        /* --- استایل های محتوای صفحه اصلی --- */
        
        /* بخش هیرو */
        .hero-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bg-white);
            border-radius: 20px;
            padding: 57px;
            margin-bottom: 80px;
            box-shadow: var(--shadow);
            border: 1px solid var(--light-green);
        }
        .hero-content {
            flex: 1;
            padding-left: 30px;
        }
        .hero-title {
            font-size: 2.2rem;
            color: var(--text-dark);
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .hero-title span {
            color: var(--primary-color);
        }
        .hero-desc {
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-bottom: 30px;
            line-height: 1.8;
        }
        .hero-btn {
            display: inline-block;
            background: var(--primary-color);
            color: var(--bg-white);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s;
            animation: pulse-green 2s infinite;
        }
        .hero-image {
            flex: 1;
            text-align: left;
        }
        .hero-image img {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            animation: float 4s ease-in-out infinite;
        }

        /* ویژگی ها */
        .section-title {
            text-align: center;
            font-size: 1.7rem;
            color: var(--text-dark);
            margin-bottom: 50px;
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 80px;
        }
        .feature-card {
            background: var(--bg-white);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            border-bottom-color: var(--primary-color);
            box-shadow: var(--shadow);
        }
        .feature-card svg {
        width: 50px;
        height: 50px;
        color: var(--bg-white);
        margin-bottom: 15px;
        background: var(--primary-color);
        padding: 10px;
        border-radius: 50%;
        }
        .feature-card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        .feature-card p {
            font-size: 0.95rem;
            color: var(--text-gray);
            line-height: 1.6;
        }

        /* جدول قیمت گذاری */
        .pricing-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
            margin-bottom: 80px;
        }
        .price-box {
            background: var(--bg-white);
            border-radius: 25px;
            padding: 30px;
            text-align: right;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        .price-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }
        .price-box.popular {
            background: var(--text-dark);
            color: var(--bg-white);
            transform: scale(1.03);
            box-shadow: 0 15px 40px rgba(15, 53, 113, 0.3);
            animation: float-popular 4s ease-in-out infinite; /* اضافه شدن انیمیشن دائمی */
        }
        .price-box.popular:hover {
            animation-play-state: paused; /* توقف نرم انیمیشن هنگام رفتن موس روی آن */
            transform: scale(1.03) translateY(-10px);
        }
        /* تعریف فریم‌های انیمیشن اختصاصی برای پلن */
        @keyframes float-popular {
            0%, 100% { transform: scale(1.03) translateY(0); }
            50% { transform: scale(1.03) translateY(-12px); }
        }
        
        .price-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 30px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding-bottom: 20px;
        }
        .price-box.popular .price-header {
            border-bottom-color: rgba(255,255,255,0.2);
        }

        .plan-name {
            font-size: 2rem;
            font-weight: bold;
            font-family: Arial, sans-serif; /* برای فونت انگلیسی بهتر */
            color: var(--text-dark);
            margin-top: 10px;
        }
        .price-box.popular .plan-name {
            color: var(--bg-white);
        }

        .price-badge {
            background: var(--text-dark); /* رنگ بنفش مشابه تصویر برای بج قیمت */
            color: #fff;
            padding: 12px 20px;
            border-radius: 15px;
            text-align: center;
            min-width: 100px;
        }
        .price-box.popular .price-badge {
            background: var(--bg-white);
            color: var(--text-dark);
        }

        .price-amount {
            font-size: 1.6rem;
            font-weight: 700;
            font-family: 'IRANYekan', Tahoma, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        .price-amount span {
            font-size: 0.8rem;
            font-family: 'IRANYekan', Tahoma, sans-serif;
            font-weight: normal;
        }
        .price-vol {
            font-size: 0.9rem;
            font-family: inherit;
            opacity: 0.9;
            margin-top: 5px;
            font-weight: 600;
        }

        .plan-features {
            list-style: none;
            padding: 0;
            margin: 0 0 30px 0;
            flex-grow: 1;
        }
        .plan-features li {
            margin-bottom: 15px;
            font-size: 0.95rem;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .price-box.popular .plan-features li {
            color: rgba(255,255,255,0.9);
        }
        
        /* آیکون تیک سبز با CSS */
        .plan-features li::before {
            content: '';
            display: inline-block;
            width: 18px;
            height: 18px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-size: cover;
        }
        /* آیکون تیک برای پلن رنگی (سفید رنگ) */
        .price-box.popular .plan-features li::before {
             background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        }

        .buy-link {
            display: block;
            background: transparent;
            color:  var(--primary-color);
            border: 2px solid  var(--primary-color);
            padding: 12px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            text-align: center;
            transition: all 0.3s;
        }
        .price-box.popular .buy-link {
            background: var(--bg-white);
            color: var(--text-dark);
            border-color: var(--bg-white);
        }
        
        .price-box:hover .buy-link:not(.popular .buy-link) {
            background:  var(--primary-color);
            color: var(--bg-white);
        }

        /* راهنمای استفاده پس از خرید */
        .guide-section {
            background-color: var(--bg-white);
            border-radius: 15px;
            padding: 30px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 80px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            border: 1px solid rgba(0,0,0,0.04);
        }
        .guide-text h3 {
            font-size: 1.3rem;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        .guide-text p {
            font-size: 0.95rem;
            color: var(--text-gray);
            line-height: 1.6;
        }
        .guide-btn {
            background-color: var(--text-dark); /* رنگ تیره مشابه تصویر شما */
            color: #ffffff;
            padding: 14px 28px;
            border-radius: 8px;
            border: none;
            font-family: inherit;
            font-weight: bold;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            margin-right: 20px;
        }
        .guide-btn:hover {
            background-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(56, 58, 69, 0.2);
        }

        /* --- سوالات متداول --- */
        .faq-section {
            margin-bottom: 80px;
        }
        .faq-container {
            display: flex;
            align-items: flex-start;
        }
        .faq-title-col {
            flex: 1;
            text-align: right;
            padding-top: 20px;
        }
        .faq-title-col h2 {
            font-size: 2rem;
            color: var(--text-dark);
            margin-bottom: 10px;
        }
        .faq-title-col p {
            color: var(--text-gray);
            margin-bottom: 30px;
            font-size: 1rem;
        }
        .faq-title-col img {
            width: 110px;
            max-width: 100%;
            opacity: 0.9;
            border-radius: 15px;
        }
        .faq-accordion-col {
            flex: 2;
        }
        .faq-item {
            background: transparent;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            margin-bottom: 5px;
            overflow: hidden;
        }
        .faq-question {
            padding: 20px 0;
            font-size: 1.1rem;
            font-weight: bold;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 15px; /* ایجاد فاصله استاندارد بین متن و آیکون */
            transition: color 0.3s;
            line-height: 1.7;
        }
        .faq-question:hover {
            color: var(--primary-color);
        }
        .faq-question svg {
            width: 30px;
            height: 30px;
            transition: transform 0.3s ease;
            color: var(--text-gray);
        }
        .faq-item.active .faq-question {
            color: var(--primary-color);
        }
        .faq-item.active .faq-question svg {
            transform: rotate(180deg);
            color: var(--primary-color);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }
        .faq-answer p {
            padding: 0 0 25px 0;
            color: var(--text-gray);
            line-height: 1.8;
            font-size: 0.95rem;
        }
        
        /* ریسپانسیو سوالات متداول */
        @media (max-width: 900px) {
            .faq-container {
                flex-direction: column;
                gap: 20px;
                align-items: center;
            }
            .faq-title-col {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                padding-top: 0;
            }
            .faq-title-col h2 { 
                font-size: 1.6rem; 
                text-align: center;
                width: 100%;
            }
            .faq-title-col img { 
                margin: 0 auto; 
                display: block; 
                margin-bottom: 10px;
            }
            .faq-accordion-col { 
                width: 100%; 
            }
            .faq-question svg {
                width: 35px; /* بزرگتر شدن آیکون سوالات در موبایل */
                height: 35px;
                flex-shrink: 0; /* جلوگیری از فشرده شدن آیکون در کنار متن‌های طولانی */
            }
        }

        /* پشتیبانی تلگرام */
        .support-section {
            background: var(--primary-color, #2f8671);
            border-radius: 20px;
            padding: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--bg-white);
        }
        .support-text h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        .support-text p {
            font-size: 1rem;
            opacity: 0.9;
        }
        .telegram-btn {
            background: #2AABEE;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 60px;
            padding: 12px 25px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            transition: transform 0.3s;
        }
        .telegram-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(42, 171, 238, 0.4);
        }

        /* انیمیشن ها */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }
        @keyframes pulse-green {
            0% { box-shadow: 0 0 0 0 rgba(47, 134, 113, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(47, 134, 113, 0); }
            100% { box-shadow: 0 0 0 0 rgba(47, 134, 113, 0); }
        }

        /* --- بخش درباره V2ray --- */
        .about-v2ray-section {
            background: var(--bg-white);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 80px;
            box-shadow: var(--shadow);
            border: 1px solid var(--light-green);
        }
        .about-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        .about-logo img { height: 55px; width: auto; }
        .about-logo span { font-size: 1.8rem; font-weight: 900; color: var(--text-dark); }
        
        .about-title {
            text-align: center;
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 25px;
            font-weight: bold;
        }
        
        .about-text-container {
            position: relative;
            max-height: 140px; /* ارتفاع در حالت بسته */
            overflow: hidden;
            transition: max-height 0.6s ease;
        }
        .about-text-container.expanded {
            max-height: 2000px; /* ارتفاع کافی برای نمایش کل متن */
        }
        
        .about-text-content {
            font-size: 1.05rem;
            line-height: 2;
            color: var(--text-gray);
            text-align: justify;
        }
        .about-text-content p {
            margin-bottom: 15px;
        }
        .about-text-content a.inline-link {
            color: var(--primary-color);
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            border-bottom: 1px dashed var(--primary-color);
            transition: color 0.3s;
        }
        .about-text-content a.inline-link:hover {
            color: #216151;
            border-bottom-style: solid;
        }
        
        .text-fade-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 70px;
            background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
            pointer-events: none;
            transition: opacity 0.4s ease;
        }
        .about-text-container.expanded .text-fade-overlay {
            opacity: 0;
        }
        
        .toggle-more-btn {
            display: block;
            margin: 15px auto 0 auto;
            background: var(--text-dark);
            color: var(--bg-white);
            border: 2px solid var(--text-dark);
            padding: 8px 30px;
            border-radius: 50px;
            font-family: inherit;
            font-weight: bold;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .toggle-more-btn:hover {
            background: var(--bg-white);
            color: var(--text-dark);
        }

        /* --- ریسپانسیو و موبایل --- */
        @media (max-width: 900px) {
            .hero-section {
                flex-direction: column;
                text-align: center;
                padding: 30px;
            }
            .hero-content {
                padding-left: 0;
                margin-bottom: 45px;
            }
            /* استایل موبایل راهنمای استفاده */
            .guide-section {
                flex-direction: column;
                text-align: center;
                gap: 15px;
                padding: 25px 20px;
            }
            .guide-btn {
                margin-right: 0;
                width: 100%;
            }

            .support-section {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            .price-box.popular {
                transform: scale(1);
            }
            .price-box.popular:hover { transform: scale(1.02); }
            
            /* منوی همبرگری موبایل */
            .menu-toggle {
                display: block;
            }
            nav#main-nav {
                display: none; /* در حالت عادی موبایل مخفی است */
                position: absolute;
                top: 70px;
                right: 5%;
                left: 5%;
                background: var(--bg-white);
                box-shadow: var(--shadow);
                border-radius: 15px;
                padding: 20px;
                z-index: 1001;
            }
            nav#main-nav.active-mobile {
                display: block;
                animation: fadeIn 0.3s ease forwards;
            }
            nav ul {
                flex-direction: column;
                gap: 15px;
            }
            nav ul li a {
                display: flex;
                justify-content: center;
            }
        }
        
        /* ترکیب ظاهری بخش پشتیبانی تلگرام با فوتر */
        #tab-home {
            padding-bottom: 0; /* حذف فاصله پایین صفحه اصلی */
        }
        .support-section {
            margin-bottom: 0;
            border-bottom-left-radius: 0; /* صاف شدن لبه پایین برای ترکیب با فوتر */
            border-bottom-right-radius: 0;
            position: relative;
            z-index: 10;
        }
        
        /* =========================================
   استایل‌های جدید، مدرن و واکنش‌گرای فوتر
   ========================================= */
.site-footer {
    background-color: var(--text-dark); /* رنگ پس‌زمینه مدرن و تیره متناسب با سایت */
    color: #e5e7eb;
    padding-top: 60px;
    direction: rtl;
    width: 100%;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

/* ستون لوگو و توضیحات */
.footer-logo-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-col .logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

.footer-logo-col .logo-container span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bg-white);
}

.footer-logo-col .logo-container img {
    height: 45px;
    width: auto;
}

.footer-desc {
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--bg-white);
    text-align: justify !important;
    margin: 0;
}

/* عناوین ستون‌ها */
.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px;
    background-color: var(--primary-color, #2f8671);
    border-radius: 3px;
}

/* لینک‌های دسترسی سریع */
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 16px;
}

.footer-links-col ul li:last-child {
    margin-bottom: 0;
}

.footer-links-col ul li a {
    color: var(--bg-white);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-col ul li a:hover {
    color: var(--primary-color, #2f8671);
    transform: translateX(-6px); /* افکت حرکتی نرم به سمت چپ */
}

/* شبکه‌های اجتماعی */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-item:hover {
    background-color: rgba(47, 134, 113, 0.1); /* استفاده از رنگ اصلی به صورت شفاف */
    border-color: var(--primary-color, #2f8671);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-item svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color, #2f8671);
}

/* کپی‌رایت */
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 20px 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* =========================================
   مدیا کوئری‌ها (Media Queries) - واکنش‌گرایی
   ========================================= */

/* تبلت‌ها و نمایشگرهای متوسط (زیر 992px) */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-logo-col {
        grid-column: 1 / -1; /* ستون اول تمام عرض را می‌گیرد */
    }
}

/* موبایل‌های بزرگ (زیر 768px) */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 45px;
    }
    .footer-container {
        grid-template-columns: 1fr; /* یک ستونه شدن کامل */
        gap: 35px;
    }
    .footer-bottom {
        margin-top: 40px;
    }
}

/* موبایل‌های بسیار کوچک (زیر 350px) */
@media (max-width: 350px) {
    .footer-container {
        padding: 0 15px;
    }
    .footer-logo-col .logo-container span {
        font-size: 1.3rem;
    }
    .footer-title {
        font-size: 1.05rem;
    }
    .social-item {
        padding: 10px 12px;
    }
    .social-item span {
        font-size: 0.85rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* اصلاح تداخل دکمه پشتیبانی تلگرام */
.telegram-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important; /* جلوگیری از دو خط شدن متن */
    flex-wrap: nowrap !important;
    gap: 8px !important; /* فاصله آیکون و متن */
    max-width: fit-content !important; /* جلوگیری از کشیدگی عرض */
}

/* حفظ سایز ثابت آیکون تلگرام در دکمه */
.telegram-btn svg {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important; /* جلوگیری از کوچک شدن آیکون */
}

/* بازگردانی افکت لرزش هنگام کلیک روی تماس با ما */
@keyframes shakeTelegramBtn {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}

.telegram-btn.shake-effect {
    animation: shakeTelegramBtn 0.5s ease-in-out !important;
}

        /* برای فعال کردن افکت بلور در پس‌زمینه منوی موبایل */
        #menu-overlay.active {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 999;
            transition: opacity 0.3s ease;
            opacity: 1;
            pointer-events: auto; /* این خط باید اضافه شود تا کلیک را دریافت کند */
        }
        #menu-overlay {
            opacity: 0;
            pointer-events: none;
        }

/* تنظیمات لوگوی فوتر برای موبایل (وسط چین) */
.footer-logo-col {
    text-align: center;
}
.footer-logo-col .logo-container {
    display: inline-flex;
    margin: 0 auto 15px auto;
    justify-content: center;
}

/* تنظیمات لوگوی فوتر برای دسکتاپ (وسط متن) */
@media (min-width: 901px) {
    .footer-logo-col {
        display: flex;
        flex-direction: column;
        align-items: center; /* قرارگیری لوگو در وسط */
    }
    .footer-desc {
        text-align: center; /* وسط چین شدن متن زیر لوگو */
    }
}

/* اطمینان از اینکه لایه تاریک (overlay) روی هدر را هم می‌پوشاند تا با لمس آن بسته شود */
#menu-overlay.active {
    z-index: 998 !important; /* هدر معمولاً 1000 و منو 1001 است */
}
#main-nav.active-mobile {
    z-index: 1002 !important;
}

/* =========================================
   استایل‌های تب سیستم‌عامل‌ها (هماهنگ با تم سایت)
   ========================================= */

/* اورراید کردن رنگ آبی که به صورت inline در html نوشته شده بود */
#tab-education h2.section-title {
    color: var(--text-dark) !important;
}

.os-tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    background: var(--bg-white);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    flex-wrap: wrap; /* برای گوشی‌های کوچک */
}

.os-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-family: 'IRANYekan', Tahoma, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.os-tab-btn:hover {
    background: var(--light-green);
    color: var(--primary-color);
}

.os-tab-btn.active {
    background: var(--primary-color); /* استفاده از رنگ اصلی سایت */
    color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(47, 134, 113, 0.3);
}

.os-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-green);
}

.os-tab-content.active {
    display: block;
}

.os-tab-content h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px dashed var(--light-green);
    padding-bottom: 15px;
}

.os-tab-content p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* استایل دکمه‌های دانلود متناسب با دکمه‌های اصلی سایت */
.download-links {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.download-links .btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.download-links .btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(47, 134, 113, 0.3);
}

.download-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 134, 113, 0.4);
}

.download-links .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.download-links .btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* استایل مراحل آموزش */
.edu-steps {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.edu-steps li {
    margin-bottom: 15px;
    line-height: 1.8;
    background: var(--bg-main);
    padding: 15px 20px;
    border-radius: 12px;
    border-right: 4px solid var(--primary-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.edu-steps li:hover {
    transform: translateX(-5px); /* افکت هاور ملایم به سمت راست */
    background: var(--light-green);
}

.edu-steps li strong {
    color: var(--primary-color);
}

/* پیام موفقیت */
.success-msg {
    background: var(--light-green);
    color: var(--primary-color);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin-top: 25px;
    border: 1px solid rgba(47, 134, 113, 0.2);
}

/* بهینه‌سازی بخش آموزش برای موبایل */
@media (max-width: 900px) {
    .os-tab-content {
        padding: 20px;
    }
    .os-tab-btn {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    .download-links {
        flex-direction: column;
    }
    .download-links .btn {
        width: 100%;
    }
}


/* استایل‌های پاپ‌آپ پرداخت */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #1e293b;
    width: 90%; max-width: 400px;
    border-radius: 16px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid #334155;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    direction: rtl;
}

.payment-modal.active, .modal-overlay.active {
    display: block;
    opacity: 1;
}

.payment-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #334155;
}

.modal-header h3 { margin: 0; color: #f8fafc; font-size: 1.1rem; }
.close-btn { background: none; border: none; color: #94a3b8; font-size: 2rem; cursor: pointer; }
.close-btn:hover { color: #ef4444; }

.modal-body { padding: 20px; }

.payment-info-box { background: #101829; padding: 15px; border-radius: 12px; margin-bottom: 20px; text-align: center; }
.payment-info-box p { margin: 5px 0; color: #cbd5e1; font-size: 0.95rem; }

.card-number-box { 
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
    background: #1e293b; padding: 15px; border-radius: 8px; margin: 10px 0;
    border: 1px dashed #3b82f6;
}
.card-number-box span { 
    flex-grow: 1; text-align: center; white-space: nowrap; 
    font-size: clamp(1.2rem, 5vw, 1.5rem); letter-spacing: 2px; color: #f8fafc; direction: ltr; 
}
.copy-btn { background: #3b82f6; color: white; border: none; padding: 5px 10px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }
.copy-btn:hover { background: #2563eb; }

.form-group { margin-bottom: 15px; text-align: right; }
.form-group label { display: block; margin-bottom: 5px; color: #cbd5e1; font-size: 0.9rem; }
.form-group input { 
    width: 100%; padding: 10px; border-radius: 8px;
    background: #0f172a; border: 1px solid #334155;
    color: #f8fafc; font-family: 'IRANYekan', sans-serif;
}
.form-group input:focus { outline: none; border-color: #3b82f6; }

.submit-payment-btn {
    width: 100%; padding: 12px; background: #10b981; color: white;
    border: none; border-radius: 8px; font-size: 1rem; cursor: pointer;
    font-family: 'IRANYekan', sans-serif; font-weight: bold; margin-top: 10px;
}
.submit-payment-btn:hover { background: #059669; }

/* انیمیشن لودینگ */
.loader {
    border: 4px solid #334155; border-top: 4px solid #3b82f6;
    border-radius: 50%; width: 40px; height: 40px;
    animation: spin 1s linear infinite; margin: 0 auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.account-box { margin-top: 15px; }
.account-box textarea {
    width: 100%; height: 80px; background: #0f172a; border: 1px solid #10b981;
    border-radius: 8px; color: #f8fafc; padding: 10px; direction: ltr; resize: none; margin-bottom: 10px;
}

.file-upload-box {
    background: #ffffff; border: 1px dashed #3b82f6; border-radius: 8px;
    padding: 15px; text-align: center; cursor: pointer; color: #94a3b8;
    transition: all 0.3s; font-size: 0.9rem;
}
.file-upload-box:hover { background: #1e293b; border-color: #10b981; color: #f8fafc; }

/* استایل تقویم و ساعت اختصاصی */
.custom-dt-picker {
    background: #1e293b; border: 1px solid #334155; border-radius: 8px;
    padding: 15px; margin-top: 10px;
}
.date-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.date-box {
    background: #0f172a; border: 1px solid #334155; padding: 10px 5px;
    border-radius: 6px; text-align: center; cursor: pointer; color: #cbd5e1;
    font-size: 0.85rem; transition: 0.2s;
}
.date-box:hover, .date-box.selected { background: #3b82f6; color: white; border-color: #2563eb; }

.time-selectors { display: flex; justify-content: center; gap: 20px; direction: ltr; margin-bottom: 15px; }
.time-col { text-align: center; }
.time-col label { display: block; color: #94a3b8; font-size: 0.8rem; margin-bottom: 5px; }
.time-col select {
    background: #0f172a; color: #f8fafc; border: 1px solid #334155;
    border-radius: 6px; padding: 5px; height: 120px; width: 60px;
    text-align: center; outline: none; scrollbar-width: thin;
}
.time-col select option { padding: 5px; cursor: pointer; }
.time-col select option:checked { background: #3b82f6; color: white; }

.dt-actions { display: flex; justify-content: space-between; gap: 10px; }
.dt-btn-back { background: #475569; color: white; border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 0.85rem;}
.dt-btn-confirm { background: #10b981; color: white; border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; font-family: inherit; flex-grow: 1; font-weight: bold;}
@media (max-width: 420px) {
    #delivered-url {
        height: 60px !important;
    }
}

/* استایل هاور برای تصویر کوچک */
.receipt-thumbnail:hover {
    transform: scale(1.05);
    border-color: #3b82f6 !important;
    transition: all 0.3s ease;
}

/* استایل پس زمینه لایت باکس */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* استایل تصویر در حالت بزرگ (جلوگیری از بیرون زدن تصاویر بلند) */
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain; /* این دستور باعث می‌شود تصویر بدون بریدگی در کادر جا شود */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* دکمه بستن (اضافه شدن پس‌زمینه دایره‌ای) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100000;
    /* استایل‌های پس‌زمینه دکمه */
    background-color: rgba(15, 23, 42, 0.7); /* پس زمینه تیره نیمه‌شفاف */
    border: 2px solid rgba(255, 255, 255, 0.3); /* حاشیه سفید ملایم */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background-color: #ef4444; /* در حالت هاور قرمز می‌شود */
    border-color: #ef4444;
    transform: scale(1.1);
}

/* کلاس های فعال ساز انیمیشن */
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

@media (max-width: 480px) {
    #datetime-picker-modal.custom-dt-picker {
        /* تبدیل به پنجره شناور (پاپ‌آپ مستقل) */
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        
        /* تنظیم ابعاد */
        width: 90vw !important;
        max-width: 400px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        
        /* استایل ظاهری */
        background-color: #1e293b !important; /* رنگ تیره هماهنگ با تم شما */
        padding: 20px !important;
        border-radius: 12px !important;
        border: 1px solid #334155 !important;
        
        /* قرارگیری روی تمام عناصر دیگر */
        z-index: 100000 !important; 
        
        /* یک ترفند عالی با سایه برای ایجاد افکت تاریک در پس‌زمینه (بدون نیاز به کد HTML اضافی) */
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.75), 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    }
}

/* استایل‌های انتخاب روش پرداخت */
.payment-method-selector {
    display: flex;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid #334155;
    position: relative;
    gap: 5px;
}

.payment-method-btn {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    font-size: 0.85rem;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    line-height: 1.4;
}

.payment-method-btn.active {
    background: #3b82f6;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.method-content-box {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.method-content-box.active-box {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

                .custom-time-list { height: 130px; overflow-y: auto; border: 1px solid #334155; border-radius: 6px; background: rgba(30, 41, 59, 0.5); scrollbar-width: thin; }
                .custom-time-item { padding: 8px; text-align: center; cursor: pointer; color: #cbd5e1; font-size: 1rem; transition: all 0.2s; }
                .custom-time-item:hover { background: rgba(59, 130, 246, 0.2); }
                .custom-time-item.active { background: #3b82f6; color: #ffffff; font-weight: bold; }