/* =========================================
   ۱. مزیت رقابتی (دارک گلس‌مورفیسم)
========================================= */
.features-eeat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px; 
    margin-bottom: 80px;
}

.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-box h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #F3F4F6;
}

.glass-box p {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted);
}

/* =========================================
   ۲. ویترین خودروها
========================================= */
.car-showcase {
    margin-bottom: 80px;
}

.car-showcase h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-main);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.car-card:hover {
    transform: translateY(-5px);
}

.car-img {
    height: 200px;
    background: var(--bg-surface-light); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info {
    padding: 20px;
    text-align: center;
}

.car-info h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.car-info .price {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-cta-outline {
    background: #950000;
    display: block;
    border: 2px solid #950000;
    color: #F3F4F6;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-cta-outline:hover {
    background: var(--cta-bg);
    color: #fff;
}

/* =========================================
   ۳. مسیر واردات (تایم‌لاین)
========================================= */
.import-timeline {
    margin-bottom: 80px;
    background: var(--bg-surface);
    padding: 50px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* خط اتصال دهنده بین مراحل */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 50px;
    left: 50px;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--cta-bg);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px auto;
    border: 4px solid var(--bg-surface);
}

.step p {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main);
}

/* =========================================
   ۴. بلاک E-E-A-T
========================================= */
.seo-content {
    margin-bottom: 80px;
}

.seo-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-box {
    background: var(--bg-surface);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--bg-surface-light); /* حاشیه مینیمال به جای قرمز */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-box h3 {
    font-size: 17px;
    margin-top: 0;
    color: var(--text-main);
}

.content-box p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================
   ۵. بنر نهایی
========================================= */
.final-cta {
    margin-bottom: 80px;
    text-align: center;
}

.banner-link {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cta-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =========================================
   ریسپانسیو
========================================= */
/* =========================================
   ریسپانسیو (موبایل و تبلت)
========================================= */
/* =========================================
   ریسپانسیو (موبایل و تبلت) - مدل لیست عمودی استاندارد
========================================= */
@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: stretch; /* کشیدگی برای پر کردن عرض */
        gap: 0; /* گپ رو حذف میکنیم تا با پدینگ فاصله بدیم */
    }

    .timeline-wrapper::before {
        display: none;
    }

    .step {
        width: 100%;
        display: flex;
        align-items: center; /* هم‌تراز کردن دایره و متن */
        gap: 20px;
        text-align: right;
        padding-bottom: 40px; /* فاصله تا مرحله بعد */
        position: relative;
    }

    .step-num {
        margin: 0; /* حذف مارجین دسکتاپ */
        flex-shrink: 0; /* جلوگیری از فشرده شدن دایره */
    }

    .step p {
        margin: 0;
    }

    /* خط یکپارچه عمودی */
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50px; /* شروع از زیر دایره */
        right: 27px; /* تنظیم دقیق وسط دایره */
        width: 2px;
        height: calc(100% - 50px); /* پر کردن کامل فاصله تا دایره بعدی */
        background: var(--border-color);
        z-index: 1;
    }
}

/* =========================================
   دکمه شیشه‌ای مشاهده همه خودروها
========================================= */
.showcase-action {
    text-align: center;
    margin-top: 45px;
}

.btn-glass-all {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.03); /* شیشه‌ای خیلی محو */
    color: var(--text-main);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-glass-all:hover {
    background: rgba(179, 57, 57, 0.15); /* هاله قرمز تو هاور */
    border-color: var(--cta-bg);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(179, 57, 57, 0.3);
}