﻿:root {
    --primary: #3b82f6;
    --purple: #8b5cf6;
    --green: #10b981;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #fcfcfd;
}

/* کارت‌های قیمت */
.price-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
}

    .price-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.most-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* رنگ‌های دکمه‌ها */
.btn-purple {
    background: var(--purple);
    color: white;
}

.btn-green {
    background: var(--green);
    color: white;
}

.btn-primary {
    background: var(--primary);
}

.btn-purple:hover, .btn-green:hover {
    filter: brightness(1.1);
    color: white;
}

/* استایل لیست‌ها */
.list-unstyled li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

/* استایل کلی نوار پایین */
.features-bar {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* استایل دایره آیکون‌ها */
.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* رنگ‌های ملایم پس‌زمینه آیکون */
.bg-primary-soft {
    background: #eef5ff;
    color: #3b82f6;
}

.bg-green-soft {
    background: #e6fff7;
    color: #10b981;
}

.bg-purple-soft {
    background: #f5f3ff;
    color: #8b5cf6;
}

/* تنظیم متن */
.features-bar h6 {
    font-weight: 700;
    color: #1f2937;
}

.features-bar small {
    font-size: 0.85rem;
}

/* کانتینر تصویر در کارت */
.card-image-container {
    width: 100%;
    height: 180px; /* ارتفاع ثابت برای یکدستی کارت‌ها */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    background-color: #f8f9fa; /* رنگ پس‌زمینه در صورتی که عکس لود نشود */
}

.package-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease; /* افکت حرکت تصویر هنگام هاور */
}

.price-card:hover .package-img {
    transform: scale(1.1); /* بزرگنمایی ملایم تصویر هنگام هاور روی کارت */
}

/* استایل تیک‌های لیست (Checkmarks) */
.list-unstyled li i {
    color: var(--primary);
    margin-left: 8px;
}

/* رنگ‌بندی دکمه‌ها را اگر در کد قبلی نبود، اینجا اضافه کنید */
.btn-purple {
    background-color: var(--purple);
    color: white;
}

.btn-green {
    background-color: var(--green);
    color: white;
}

/* تنظیم دقیق فاصله‌ها در حالت موبایل */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* ایجاد فاصله بین تصویر و متن در حالت موبایل */
    .order-1 {
        margin-bottom: 30px !important; /* فاصله بین تصویر و متن زیر آن */
    }

    /* ایجاد فاصله بین بخش ویژگی‌ها و دکمه */
    .hero-features {
        margin-bottom: 40px !important; /* این همان فاصله‌ای است که مانع چسبیدن دکمه می‌شود */
        justify-content: center !important;
    }

    /* اطمینان از اینکه دکمه در موبایل فاصله دارد */
    .hero-button-container {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* استایل کپسولی ویژگی‌ها برای زیبایی بیشتر */
.feature-item {
    background: #fdfaf7; /* رنگ کرم بسیار ملایم مطابق سلیقه شما */
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid #eee;
    font-size: 0.9rem;
}


/* برای موبایل: اگر فضا کم بود، ویژگی‌ها زیر هم نروند اما کمی فاصله داشته باشند */
@media (max-width: 576px) {
    .hero-features {
        gap: 1rem !important;
    }

        .hero-features .feature-item {
            padding: 6px 12px;
            font-size: 0.9rem;
        }
}

.hero-features .feature-item {
    background-color: #f8f9fa; /* یک رنگ پس‌زمینه بسیار ملایم */
    padding: 8px 16px;
    border-radius: 50px; /* گرد کردن لبه‌ها برای استایل مدرن */
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    .hero-features .feature-item:hover {
        transform: translateY(-3px); /* افکت شناور شدن هنگام هاور */
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        background-color: #fff;
    }

.hero-features .bi {
    /* تنظیم دقیق اندازه آیکون */
    display: inline-block;
    vertical-align: middle;
}

/* برای موبایل: اگر فضا کم بود، ویژگی‌ها زیر هم نروند اما کمی فاصله داشته باشند */
@media (max-width: 576px) {
    .hero-features {
        gap: 1rem !important;
    }

        .hero-features .feature-item {
            padding: 6px 12px;
            font-size: 0.9rem;
        }
}
