﻿ 
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #1674ed;
    --blue-light: #56a8ff;
    --blue-dark: #123c83;
    --text: #12356f;
    --muted: #6683b4;
    --border: #d8e5f7;
    --surface: #ffffff;
    --soft-blue: #edf5ff;
    --gray: #c8cbd0;
    --v-green: #34c759; /* یا آبی ویرا: #1674ed */
    --v-blue: #1674ed;
    --v-gray: #d1d5db;
    --v-gold: #f59e0b; /* رنگ نارنجی/طلایی برای بخش خریدنی */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 50% 30%, #f5faff 0, #ffffff 42%), #ffffff;
}

.comparison-page {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: auto;
    padding: 110px 0 55px;
}

/* خط رشد و فلش بالای کارت‌ها */
.growth-line {
    position: absolute;
    top: 30px;
    right: 5%;
    left: 5%;
    height: 120px;
    overflow: visible;
    pointer-events: none;
}

    .growth-line path {
        fill: none;
        stroke: #3288ee;
        stroke-width: 4;
        stroke-linecap: round;
    }

    .growth-line circle {
        fill: #a9cdf7;
        stroke: #80b2ed;
        stroke-width: 2;
    }

.plans {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 22px;
}

.plan {
    position: relative;
    min-height: 700px;
    padding: 30px 22px 22px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, .83);
    box-shadow: 0 14px 30px rgba(53, 107, 181, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(7px);
}

    .plan.featured {
        min-height: 735px;
        margin-top: -28px;
        border-color: #2587ee;
        box-shadow: 0 18px 42px rgba(26, 112, 231, .22), 0 0 28px rgba(85, 165, 255, .18);
    }

.recommended {
    position: absolute;
    top: -35px;
    right: 50%;
    width: 245px;
    padding: 10px 18px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    border-radius: 25px;
    background: linear-gradient(90deg, #1773ed, #1461df);
    box-shadow: 0 8px 18px rgba(24, 111, 231, .28);
    transform: translateX(50%);
}

    .recommended::before {
        content: "★";
        margin-left: 9px;
        color: #ffffff;
    }

.plan-icon {
    display: flex;
    width: 118px;
    height: 118px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--blue);
    border: 2px solid #d8e6fa;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    box-shadow: 0 8px 16px rgba(75, 137, 216, .08);
}

.featured .plan-icon {
    color: white;
    border-color: transparent;
    background: linear-gradient(145deg, #42a5ff, #0870ed);
    box-shadow: 0 10px 22px rgba(29, 125, 238, .28);
}

.plan-icon svg {
    width: 58px;
    height: 58px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan h2 {
    margin: 0;
    color: #123873;
    font-size: 32px;
    font-weight: 800;
    direction: ltr;
}

.plan-subtitle {
    margin: 5px 0 25px;
    color: #3971bf;
    font-size: 17px;
    font-weight: 500;
}

.separator {
    height: 1px;
    margin: 0 10px 18px;
    background: linear-gradient(90deg, transparent, #d5e3f6, transparent);
}

.features {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

    .features li {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 4px;
        border-bottom: 1px solid #edf2f9;
        font-size: 15px;
        font-weight: 500;
    }

        .features li:last-child {
            border-bottom: 0;
        }

.status {
    display: flex;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    color: white;
    direction: ltr;
    border-radius: 50%;
    background: #338fee;
    font-size: 17px;
    font-weight: 800;
}

    .status.no {
        color: white;
        background: var(--gray);
    }

.plan-footer {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    color: #4977b8;
    border: 1px solid #d4e3f8;
    border-radius: 12px;
    background: #eef5ff;
    font-size: 14px;
    font-weight: 500;
}

.featured .plan-footer {
    color: white;
    border-color: #1674ed;
    background: linear-gradient(90deg, #1685f5, #0968e4);
    box-shadow: 0 7px 15px rgba(27, 119, 235, .2);
}

.footer-icon {
    font-size: 25px;
}

/* لوگوی پایین صفحه */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 55px;
    direction: ltr;
}

.brand-symbol {
    position: relative;
    width: 62px;
    height: 54px;
}

    .brand-symbol::before,
    .brand-symbol::after {
        content: "";
        position: absolute;
        width: 26px;
        height: 48px;
        border-radius: 5px 16px 5px 16px;
        background: linear-gradient(145deg, #55b4ff, #096de6);
        transform: skew(-25deg) rotate(22deg);
    }

    .brand-symbol::before {
        right: 28px;
        top: 0;
    }

    .brand-symbol::after {
        right: 8px;
        top: 6px;
        background: linear-gradient(145deg, #1d83f4, #123cb2);
    }

.brand-name {
    color: #123b83;
    font-family: Arial, sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 5px;
}

.brand-caption {
    margin-top: -5px;
    color: #5576a7;
    font-size: 12px;
    letter-spacing: 0;
    text-align: center;
}

/* واکنش‌گرایی */
@media (max-width: 850px) {
    .comparison-page {
        padding-top: 90px;
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin: auto;
    }

    .plan,
    .plan.featured {
        min-height: 650px;
        margin-top: 0;
    }

    .recommended {
        top: -30px;
    }

    .growth-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .comparison-page {
        width: min(100% - 20px, 400px);
        padding-top: 55px;
    }

    .plan {
        padding-right: 16px;
        padding-left: 16px;
    }

        .plan h2 {
            font-size: 27px;
        }

    .features li {
        font-size: 14px;
    }

    .brand-name {
        font-size: 30px;
    }
}















.feature-status-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    font-family: Tahoma, sans-serif;
    direction: rtl;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* استایل پایه آیکون‌ها */
.v-status {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

    .v-status:hover {
        transform: scale(1.1);
    }

/* ۱. آیکون موجود (تیک) */
.v-yes {
    background-color: var(--v-blue);
    box-shadow: 0 4px 10px rgba(22, 116, 237, 0.25);
}

    .v-yes::after {
        content: '';
        width: 6px;
        height: 11px;
        border: solid white;
        border-width: 0 2.5px 2.5px 0;
        transform: rotate(45deg);
        margin-top: -2px;
    }

/* ۲. آیکون ناموجود (خط تیره) */
.v-no {
    background-color: var(--v-gray);
}

    .v-no::after {
        content: '';
        width: 12px;
        height: 2.5px;
        background-color: white;
        border-radius: 2px;
    }

/* ۳. آیکون قابل خرید (پلاس یا سبد) */
.v-addon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

    /* علامت پلاس برای قابل خرید بودن */
    .v-addon::before, .v-addon::after {
        content: '';
        position: absolute;
        background-color: white;
        border-radius: 2px;
    }

    .v-addon::before {
        width: 12px;
        height: 2.5px;
    }

    .v-addon::after {
        width: 2.5px;
        height: 12px;
    }