/** Head  Start ****************************************************************/

/* --- سیستم متغیرهای رنگی (تم لایت و دارک) --- */
:root {
    /* تنظیمات تم لایت (پیش‌فرض - شیک و مدرن) */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-header: rgba(255, 255, 255, 0.9);
    --text-main: #1e293b;
    --shining: #ebe834;
    --ever-shining: #ebe834;
    --icon-color: #8b5cf6;
    --text-muted: #64748b;
    --text-highlight: #4f46e5;
    --border-color: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --accent: #d946ef;
    --gradient-main: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* رنگ‌های خاص اجزا */
    --blob-opacity: 0.08;
    --btn-outline-border: rgba(99, 102, 241, 0.3);
    --btn-outline-text: #4f46e5;
    --btn-outline-hover-bg: rgba(99, 102, 241, 0.05);
    --feature-card-special-bg: linear-gradient(145deg, #ffffff, #f3e8ff);
    --table-head-bg: #f1f5f9;
    --table-row-hover: #f8fafc;
    --table-border: #e2e8f0;
    --robot-fill: #e0e7ff;
    /* رنگ بدنه ربات در لایت */
    --robot-stroke: #818cf8;
}



.shining-text {
    color: var(--shining);
}


.shining-color {
    color: yellow;
}

/* کانتینر اصلی */
.prc-container {
    font-family: "Vazirmatn FD", "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    direction: rtl;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    /* تغییر رنگ پس‌زمینه به متغیر تم */
    /* background-color: var(--bg-body); */
    transition: background 0.3s ease;


}

.prc-container * {
    box-sizing: border-box;
}

/* --- سرتیتر اصلی --- */
.prc-main-header {
    text-align: center;
    margin-bottom: 40px;
}

.prc-main-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--shining);
    /* تغییر رنگ متن به متغیر تم */
    margin: 0 0 10px 0;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.prc-main-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    /* background: var(--nf-gradient);*/
    margin: 8px auto 0;
    border-radius: 10px;
    opacity: 0.8;
}

.prc-main-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    /* تغییر به متغیر */
    margin: 15px 0 0;
    line-height: 1.6;
}

/* --- استایل کارت طرح رایگان (مکاشفه) --- */
.prc-free-card {
    background: var(--bg-card);
    /* تغییر به متغیر */
    border: 1px solid var(--border-color);
    /* تغییر به متغیر */
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: var(--card-shadow);
    /* تغییر به متغیر */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.prc-free-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.1);
}

/* بخش توضیحات (سمت راست) */
.prc-free-details {
    flex: 2;
    padding: 40px;
}

.prc-free-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--shining);
    /* تغییر به متغیر */
    margin-bottom: 15px;
}

@media (min-width: 1024px) {
    .prc-free-title {
        font-size: 40px;
    }
}

.prc-custom-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--shining);
    /* تغییر به متغیر */
    margin-bottom: 15px;
}

@media (min-width: 1024px) {
    .prc-custom-title {
        font-size: 30px;
    }

}

.prc-free-desc {
    font-size: 15px;
    color: var(--text-muted);
    /* تغییر به متغیر */
    line-height: 1.8;
    margin-bottom: 30px;
}

.prc-free-subheader {
    font-size: 14px;
    font-weight: 700;
    color: var(--nf-primary);
    margin-bottom: 20px;
    display: block;
}

/* گرید ویژگی‌های طرح رایگان */
.prc-free-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* بخش دکمه و عنوان رایگان (سمت چپ) */
.prc-free-action {
    flex: 1;
    /* استفاده از رنگ زمینه هدر جدول برای تمایز جزئی در هر دو تم */
    background-color: var(--table-head-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-right: 1px solid var(--border-color);
    /* تغییر به متغیر */
}

.prc-free-price-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--shining);
    /* تغییر به متغیر */
    margin-bottom: 25px;
    letter-spacing: -2px;
}

@media (min-width: 1024px) {
    .prc-free-price-text {
        font-size: 40px;
    }
}

.prc-custom-price-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--shining);
    /* تغییر به متغیر */
    margin-bottom: 25px;
    letter-spacing: -2px;
}

@media (min-width: 1024px) {
    .prc-custom-price-text {
        font-size: 40px;
    }
}

.prc-free-btn {
    background: var(--nf-gradient);
    color: white;
    padding: 12px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.prc-free-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* استایل تب‌ها */
.prc-tabs-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.prc-tabs {
    display: inline-flex;
    background: var(--table-head-bg);
    /* تغییر به متغیر */
    border: 1px solid var(--border-color);
    /* تغییر به متغیر */
    border-radius: 50px;
    padding: 6px;
    position: relative;
    z-index: 10;
}

.prc-tab-btn {
    background: transparent;
    border: none;
    padding: 12px 35px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 40px;
    color: var(--text-muted);
    /* تغییر به متغیر */
    transition: all 0.4s ease;
    font-weight: 700;
    font-family: inherit;
}

.prc-tab-btn:hover {
    color: var(--nf-primary);
}

.prc-tab-btn.active {
    background: var(--nf-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

/* محتوای تب */
.prc-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.prc-tab-content.show {
    display: flex;
}

.prc-tab-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* کارت‌های قیمت */
.prc-card {
    background: var(--bg-card);
    /* تغییر به متغیر */
    border: 1px solid var(--border-color);
    /* تغییر به متغیر */
    border-radius: 24px;
    padding: 40px 30px;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    /* تغییر به متغیر */
}

.prc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
    border-color: #e9d5ff;
}

.prc-card.featured {
    border: 2px solid var(--nf-primary);
    box-shadow: 0 15px 40px -5px rgba(124, 58, 237, 0.2);
    z-index: 2;
    transform: scale(1.03);
}

.prc-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

/* هدر کارت */
.prc-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.prc-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--shining);
    /* تغییر به متغیر */
    margin-bottom: 15px;
}



.prc-desc {
    font-size: 14px;
    color: var(--text-muted);
    /* تغییر به متغیر */
    line-height: 1.7;
    min-height: 50px;
}

/* بخش قیمت */
.prc-price-box {
    text-align: center;
    margin-bottom: 35px;
    direction: rtl;
}

.prc-price {
    font-size: 34px;
    font-weight: 900;
    color: var(--nf-primary);
    letter-spacing: -1px;
}

.prc-unit {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

/* بج محبوب‌ترین */
.prc-badge {
    /* برای بج از رنگ ثابت استفاده شد تا در هر دو تم مشخص باشد */
    background: #fdf2f8;
    color: var(--nf-secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    position: absolute;
    top: 25px;
    left: 25px;
    border: 1px solid #fbcfe8;
}

/* سازگاری بج با دارک مود */
[data-theme="dark"] .prc-badge {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.3);
}

/* لیست ویژگی‌ها (مشترک برای همه) */
.prc-features,
.prc-free-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prc-features {
    margin-bottom: 35px;
    flex-grow: 1;
}

.prc-features li,
.prc-free-features li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
    /* تغییر به متغیر */
    line-height: 1.6;
}

.prc-features li.disabled,
.prc-free-features li.disabled {
    color: var(--text-muted);
    /* تغییر به متغیر */
    opacity: 0.6;
    text-decoration: line-through;
    text-decoration-color: var(--border-color);
    /* تغییر به متغیر */
}

.prc-features li.disabled span:first-child,
.prc-free-features li.disabled span:first-child {
    text-decoration: none;
}

.prc-icon {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    order: -1;
    border-radius: 50%;
}

.check-icon {
    color: var(--nf-primary);
    background-color: #f3e8ff;
    font-size: 12px;
    width: 22px;
    height: 22px;
}

/* سازگاری آیکون چک با دارک مود */
[data-theme="dark"] .check-icon {
    background-color: rgba(124, 58, 237, 0.2);
}

.cross-icon {
    color: #f87171;
    font-size: 16px;
    background: transparent;
}

.prc-free-features .cross-icon {
    color: #ef4444;
    width: 20px;
    height: 20px;
    border: 1px solid #fee2e2;
    border-radius: 50%;
    font-size: 12px;
}

[data-theme="dark"] .prc-free-features .cross-icon {
    border-color: rgba(239, 68, 68, 0.3);
}

/* دکمه اصلی کارت ها */
.prc-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--nf-gradient);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
}

.prc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5) !important;
    filter: brightness(1.1);
}

/* --- واکنش‌گرایی --- */
@media (max-width: 1024px) {
    .prc-card {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .prc-container {
        padding: 40px 15px;
    }

    .prc-main-title {
        font-size: 28px;
    }

    /* ریسپانسیو کارت رایگان */
    .prc-free-card {
        flex-direction: column;
    }

    .prc-free-action {
        border-right: none;
        border-top: 1px solid var(--border-color);
        /* تغییر به متغیر */
        padding: 30px;
        order: 2;
    }

    .prc-free-details {
        padding: 30px 20px;
        order: 1;
    }

    .prc-free-features {
        grid-template-columns: 1fr;
    }

    /* تب ها و کارت های معمولی */
    .prc-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        border-radius: 24px;
        padding: 8px;
    }

    .prc-tab-btn {
        width: 100%;
        padding: 12px 5px;
        font-size: 14px;
        text-align: center;
        border-radius: 16px;
    }

    .prc-tab-content.show {
        flex-direction: column;
        align-items: center;
    }

    .prc-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }

    .prc-card.featured {
        transform: none;
        margin-top: 0;
        border-width: 2px;
    }

    .prc-card.featured:hover {
        transform: translateY(-5px);
    }
}


/* تنظیمات تم دارک (برگرداندن به حالت اصلی) */
[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.4);
    --bg-glass: rgba(30, 41, 59, 0.4);
    --bg-header: rgba(15, 23, 42, 0.85);
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --text-highlight: #ffffff;
    --border-color: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --primary-glow: rgba(99, 102, 241, 0.5);
    --blob-opacity: 0.15;
    --btn-outline-border: rgba(255, 255, 255, 0.15);
    --btn-outline-text: white;
    --btn-outline-hover-bg: rgba(255, 255, 255, 0.05);
    --feature-card-special-bg: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(168, 85, 247, 0.15));
    --table-head-bg: #161b2c;
    --table-row-hover: #161b2c;
    /* رنگ سطرهای جدول */
    --table-border: #2a3045;
    --robot-fill: rgba(255, 255, 255, 0.95);
    --robot-stroke: rgba(255, 255, 255, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-body);
    font-family: Vazirmatn;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    position: relative;
    transition: background 0.5s ease, color 0.5s ease;
}

/* General Icon Sizing */

.icon {
    display: inline-block;
    color: #8b5cf6;

}

/* اعمال روی سکشن‌های سنگین پایین صفحه */
#features,
#pricing,
.roi-section,
.steps-section,
#faq,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
    /* تخمین ارتفاع سکشن برای جلوگیری از پرش اسکرول */
}

/* دکمه تغییر تم */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    margin-left: 10px;
}

.theme-toggle-btn:hover {
    background: var(--bg-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(15deg);
}

/* کلاس‌های عمومی */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
    z-index: 1;
    position: relative;
    color: var(--shining);
}

.section-title span {
    color: #e879f9;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary-new {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 25px var(--primary-glow);
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--primary-glow);
}

.btn-outline-new {
    border: 2px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
    background: transparent;
}

.btn-outline-new:hover {
    border-color: var(--primary);
    background: var(--btn-outline-hover-bg);
}

.pulse-effect {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.cta-btn {
    background: var(--gradient-main);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.5);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5);
    color: white;
}

/** Head  End ****************************************************************/

