/*
 Theme Name:   GeneratePress Child - Exportix
 Theme URI:    https://exportix.ir
 Description:  قالب اختصاصی استودیو دیجیتال برندینگ صادراتی اکسپورتیکس
 Author:       Exportix Team
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-exportix-child
*/

@font-face {
  font-family: 'IRANYekan';
  src: url('fonts/IRANYekanWebRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekan';
  src: url('fonts/IRANYekanWebMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANYekan';
  src: url('fonts/IRANYekanWebBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت به کل سایت به صورت اصولی */
body,
button,
input,
select,
optgroup,
textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: 'IRANYekan', Tahoma, sans-serif !important;
}

:root {
    --bg-color: #f8fafc;
    --surface: #ffffff;
    --surface-card: #f1f5f9;
    --bg-card: #f8fafc;
    --radius-md: 12px;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --accent-green: #059669;
    --accent-amber: #d97706;
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-color: #0b0e14;
    --surface: #121721;
    --surface-card: #18202d;
    --bg-card: #141b27;
    --border: #232c3d;
    --border-hover: #3b475e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 15.5px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.page .entry-header {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

.exportix-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

header.exportix-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    font-size: 11px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--surface-card);
    border-color: var(--border-hover);
}

.section-header {
    text-align: center;
    margin: 70px 0 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15.5px;
    max-width: 750px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
    flex-grow: 1;
}

.feature-bullets {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.feature-bullets li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-bullets li::before {
    content: "✔";
    color: var(--accent-green);
    font-weight: bold;
}

/* سئو */
.seo-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px;
    margin: 40px 0;
    box-shadow: var(--card-shadow);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.roadmap-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.roadmap-step {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

/* نمونه‌کار */
.portfolio-section {
    padding: 20px 0 40px;
}

.portfolio-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.portfolio-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.portfolio-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.metric-box {
    background: var(--surface-card);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.metric-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* گرید ۵تایی مطالعات موردی */
.case-studies-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.case-study-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.case-study-pill:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.case-study-pill .icon {
    font-size: 1.6rem;
    line-height: 1;
}

.case-study-pill span {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
}

/* CRM */
.demo-showcase {
    margin: 60px 0 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.demo-mockup {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}

.crm-lead-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}

.badge-country {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.sms-box {
    background: rgba(217, 119, 6, 0.08);
    border: 1px dashed var(--accent-amber);
    color: var(--text-main);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.popular-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* فرم */
.demo-form-section {
    padding: 70px 0;
}

.demo-form-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    background: var(--surface-card);
    border: 1px solid var(--border);
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
}

/* درباره ما */
.about-section {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.about-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.company-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-chips {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item a.val, .contact-item span.val {
    font-weight: 700;
    color: var(--text-main);
    direction: ltr;
}

/* فوتر */
footer.exportix-footer {
    border-top: 1px solid var(--border);
    padding: 35px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
    background: var(--surface);
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .grid-3, .demo-showcase, .roadmap-grid, .portfolio-card, .about-box {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
    .case-studies-bar {
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
    }
    .case-study-pill {
        min-width: auto;
        flex-shrink: 1;
        padding: 14px 10px;
    }
}

@media (max-width: 576px) {
    .case-studies-bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .case-study-pill {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 12px;
    }
    .case-study-pill .icon {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Case Study Specific Styles
   ========================================================================== */
.case-hero-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 16px);
    padding: 45px 35px;
    box-shadow: var(--card-shadow);
    margin-bottom: 50px;
}
.badge-target {
    display: inline-block;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.25s ease;
}
.case-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.page-structure-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface-card);
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
}
.page-num {
    background: var(--primary);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 15px;
}
.step-road {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.step-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}
.step-badge {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-green, #059669);
    background: rgba(5, 150, 105, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 20px 24px;
}
.faq-q {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}
.faq-a {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .grid-3, .step-road { grid-template-columns: 1fr; }
}

.nav-links li a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* ==========================================================================
   Fixed Dropdown Menu Styling for GeneratePress - Exportix
   ========================================================================== */
/* ==========================================================================
   Custom Dropdown Styling for Exportix Flexbox Header
   ========================================================================== */

/* پیدا کردن آیتم‌های دارای زیرمنو در هدر سفارشی شما */
.nav-links li {
    position: relative;
}

/* ساختار کانتینر زیرمنو */
.nav-links ul, 
.nav-links ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important; /* تنظیم برای زبان فارسی (راست‌چین) */
    background: var(--surface, #ffffff) !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    min-width: 280px !important;
    padding: 10px 0 !important;
    list-style: none !important;
    margin-top: 10px !important;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease-in-out !important;
    z-index: 99999 !important;
    display: block !important;
}

/* نمایش زیرمنو هنگام هاور */
.nav-links li:hover > ul,
.nav-links li:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* استایل هر خط از زیرمنو */
.nav-links ul li {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

/* استایل لینک‌های داخل زیرمنو */
.nav-links ul li a {
    display: block !important;
    color: var(--text-main, #1e293b) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 11px 20px !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    border-bottom: 1px solid var(--border, #f1f5f9) !important;
    background: transparent !important;
}

/* حذف خط آخر */
.nav-links ul li:last-child a {
    border-bottom: none !important;
}

/* حالت هاور گزینه‌های زیرمنو */
.nav-links ul li a:hover {
    background-color: var(--surface-card, #eff6ff) !important;
    color: var(--primary, #1d4ed8) !important;
    padding-right: 25px !important; /* جابجایی نرم به سمت داخل */
}

/* ==========================================================================
   اصلاح حرفه‌ای نمایش منو و هیدر در موبایل
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* کوچک‌تر کردن لوگو برای جلوگیری از شلوغی */
    .logo {
        font-size: 15px;
    }

    .logo-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* افزودن دکمه منوی همبرگری به صورت دستی یا مدیریت فضا */
    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-primary {
        padding: 6px 14px;
        font-size: 13px;
    }

    /* بهینه‌سازی بخش Hero و فاصله‌ها در موبایل */
    .inside-hero, .page-hero {
        padding: 20px 15px !important;
        text-align: right;
    }
    
    .page-hero h1, .inside-hero h1 {
        font-size: 1.6rem !important;
        line-height: 1.4 !important;
    }
    
    .page-hero p, .inside-hero p {
        font-size: 0.9rem !important;
    }
}

/* کانتینر سمت شروع (دکمه همبرگر + لوگو) */
.header-start-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* حالت پیش‌فرض دکمه منو در دسکتاپ مخفی است */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* انیمیشن تبدیل همبرگر به ضربدر */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   ریسپانسیو موبایل و پشتیبانی دوطرفه (RTL و LTR)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-inner {
        height: 65px;
        position: relative;
    }

    /* بازنویسی استایل ناوبری در موبایل */
    .main-navigation-custom {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--surface); /* رنگ پس‌زمینه تمیز متناسب با تم */
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        display: none !important; /* به جای مخفی بودن کلاس‌ها */
        padding: 10px 0;
        z-index: 9999;
    }

    /* وقتی منو با کلیک کاربر فعال می‌شود */
    .main-navigation-custom.active {
        display: block !important;
    }

    /* نمایش مجدد لینک‌ها در حالت باز بودن */
    .main-navigation-custom .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        margin: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 13px 6px;
        font-size: 14.5px;
        color: var(--text-main) !important;
        text-align: start; /* هم برای RTL و هم برای LTR به صورت طبیعی کار می‌کند */
    }

    /* زیرمنوها در موبایل */
    .nav-links ul,
    .nav-links ul.sub-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding-inline-start: 16px !important;
        background: transparent !important;
        min-width: 100% !important;
    }

    /* تنظیمات دکمه‌های هدر در موبایل */
    .nav-actions {
        gap: 8px;
    }

    .theme-btn span:not(#themeIcon) {
        display: none; /* فقط آیکون ماه/خورشید نمایش داده شود */
    }

    .nav-actions .btn-primary {
        padding: 7px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .logo {
        font-size: 15px;
    }

    .logo-badge {
        display: none; /* مخفی کردن برچسب کنار لوگو در موبایل برای حفظ نظم */
    }
}

/* اصلاح دکمه‌های ۳ تایی اکشن در هیرو */
.case-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

@media (max-width: 768px) {
    .case-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .case-hero-actions .btn {
        width: 100%;
    }
}

/* اصلاح ساختار برگه ۱ تا ۴ در موبایل */
.page-structure-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface-card);
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
}

.page-num {
    background: var(--primary);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 15px;
}

/* بج‌های بالای کارت‌های پتروشیمی */
.badge-petro {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

section, .card, .about-box, .contact-chips {
    max-width: 100%;
    box-sizing: border-box;
}

/* نوار افقی پلن رایگان */
.free-plan-bar {
    display: grid;
    grid-template-columns: 1.1fr 2fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-muted);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.free-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    margin-bottom: .4rem;
}
.free-plan-bar .plan-name { font-size: 1.1rem; margin: 0; }
.free-plan-bar .plan-target { margin: .25rem 0 0; font-size: .85rem; }
.free-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .4rem 1rem;
    font-size: .88rem;
}
.free-plan-features li::before {
    content: "✔ ";
    color: var(--primary);
    font-weight: 700;
}
.free-plan-cta .plan-btn { white-space: nowrap; }

@media (max-width: 768px) {
    .free-plan-bar { grid-template-columns: 1fr; }
}

/* فشرده‌سازی کارت‌های عمودی */
.price-card { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.price-card .plan-price-box { padding: .6rem; margin-bottom: .75rem; }
.price-card .plan-features li { font-size: .85rem; margin-bottom: .35rem; }
