/* ===================================
   Smart Agriculture Dashboard - Full Width CSS
   =================================== */

/* Reset & Base Styles */
* {
    font-family: Vazir;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00B56F;
    --dark-green: #009A5B;
    --light-green: #E8F5E8;
    --success-green: #28A745;
    --accent-green: #4CAF50;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: Vazir;
    line-height: 1.6;
    background-color: var(--gray-50);
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 400; /* Regular */
    direction: rtl;
    margin: 0;
    padding: 0;
}
/*h1 h2 h4 */
h1, h2, h3 {
    font-weight: 700; /* Bold */
}

.light-text {
    font-weight: 300; /* Light */
}
/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    width: 100%;
    max-width: none;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.logo-tagline {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 500px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.search-input-group:focus-within {
    border-color: var(--primary-green);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    background: transparent;
    font-family: Vazir;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Vazir;
}

.search-btn:hover {
    background: var(--dark-green);
}

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
}

.nav-item a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: Vazir;
}

.nav-item a:hover,
.nav-item a.active {
    background-color: var(--light-green);
    color: var(--dark-green);
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: Vazir;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--light-green);
}

/* Latest Ads Section Styles */
.latest-ads-section-full {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
    position: relative;
}

.latest-ads-content-full {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-full {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title-full {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    position: relative;
}

.section-title-full::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 2px;
}

.section-subtitle-full {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 30px;
}

.section-actions-full {
    margin-top: 20px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

/* Ads Grid */
.ads-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ad-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.ad-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ad-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-card-full:hover .ad-image {
    transform: scale(1.05);
}

.ad-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.no-image-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.ad-badge-wholesale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.ad-content {
    padding: 24px;
}

.ad-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.ad-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ad-title a:hover {
    color: #10b981;
}

.ad-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.category-icon {
    font-size: 0.875rem;
}

.ad-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.ad-details {
    margin-bottom: 20px;
}

.ad-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.quantity-icon {
    font-size: 0.875rem;
}

.ad-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

.ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.ad-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 0.75rem;
}

.date-icon {
    font-size: 0.75rem;
}

.btn-view-ad {
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-ad:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
    text-decoration: none;
}

/* No Ads Message */
.no-ads-message {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.no-ads-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-ads-message h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 12px;
}

.no-ads-message p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.btn-create-first-ad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-create-first-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .latest-ads-section-full {
        padding: 60px 15px;
    }

    .section-title-full {
        font-size: 2rem;
    }

    .ads-grid-full {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ad-content {
        padding: 20px;
    }

    .ad-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* Hero Section Full Width */
.hero-section-full {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('https://gilazar.com/public/index/img/background-gilazar.jpeg');
    background-size: cover;
    background-position: center;
}

/* اضافه کردن overlay تیره برای بهبود کنتراست */
.hero-section-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* گرادیانت تیره به جای عکس دوم */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* یا اگر می‌خواهید عکس دوم را نگه دارید: */
/*
.hero-section-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://gilazar.com/public/index/img/background-gilazar.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}
*/

/* اضافه کردن overlay اضافی برای تیره‌تر کردن */
.hero-section-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content-full {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: Vazir;
    /* اضافه کردن سایه متن برای بهبود خوانایی */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle-main {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-family: Vazir;
    /* اضافه کردن سایه متن */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-features-full {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-feature-item {
    /* پس‌زمینه تیره‌تر برای آیتم‌ها */
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    font-family: Vazir;
    font-size: 1.1rem;
    /* اضافه کردن سایه متن */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-badge-full {
    margin-bottom: 3rem;
}

.free-badge-main {
    background: var(--accent-green);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
    font-family: Vazir;
    /* اضافه کردن سایه برای بهبود visibility */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-cta-full {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-hero-outline,
.btn-hero-solid {
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: inline-block;
    font-family: Vazir;
    /* اضافه کردن سایه برای دکمه‌ها */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-green);
    text-shadow: none;
}

.btn-hero-solid {
    background: white;
    color: var(--primary-green);
    border: 2px solid white;
}

.btn-hero-solid:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* راه حل جایگزین: استفاده از فیلتر برای تیره کردن عکس */
/*
.hero-section-full {
    background-image: url('https://gilazar.com/public/index/img/background-gilazar.jpeg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.2);
}
*/

/* Services Section Full Width */
.services-section-full {
    width: 100%;
    padding: 6rem 0;
    background: white;
}

.services-content-full {
    width: 100%;
    max-width: none;
    padding: 0 2rem;
}

.section-header-full {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-full {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: Vazir;
}

.section-subtitle-full {
    font-size: 1.4rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    font-family: Vazir;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-full {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-green);
}

.service-card-full:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.service-icon-full {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.service-title-full {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-family: Vazir;
}

.service-description-full {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-family: Vazir;
}

.service-features-full {
    list-style: none;
}

.service-features-full li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-size: 1rem;
    font-family: Vazir;
}

.service-features-full li::before {
    content: '✓';
    background: var(--primary-green);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Features Section Full Width */
.features-section-full {
    width: 100%;
    padding: 6rem 0;
    background: var(--gray-50);
}

.features-content-full {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card-full {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card-full:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-full {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title-full {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: Vazir;
}

.feature-desc-full {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
    font-family: Vazir;
}

/* Statistics Section Full Width */
.statistics-section-full {
    width: 100%;
    padding: 4rem 0; /* کمترش کردم */
    background: var(--primary-green);
    color: white;
}

.stats-content-full {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stats-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* دقیقا ۴ ستون ثابت */
    gap: 2rem; /* فاصله کمتر */
    text-align: center;
}

.stat-item-full {
    padding: 1.5rem;
    border-radius: 12px; /* گردتر برای زیبایی */
    background: rgba(255, 255, 255, 0.05); /* یه بکگراند ملایم */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.stat-icon-full {
    font-size: 2.5rem; /* کوچیک‌تر شد */
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number-full {
    font-size: 2rem; /* جمع‌وجورتر */
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    font-family: Vazir;
}

.stat-label-full {
    font-size: 1.1rem; /* کوچیک‌تر */
    opacity: 0.85;
    font-family: Vazir;
}


/* How It Works Full Width */
.how-it-works-full {
    width: 100%;
    padding: 4rem 0; /* کمتر شد */
    background: white;
}

.how-content-full {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.steps-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* دقیقاً سه ستون */
    gap: 2rem; /* فاصله کمتر */
    margin-top: 3rem;
}

.step-item-full {
    text-align: center;
    position: relative;
    background: #fff;
    padding: 2rem; /* کمتر شد */
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.step-item-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.step-number-full {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--primary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem; /* کوچیک‌تر */
    font-family: Vazir;
}

.step-icon-full {
    font-size: 3rem; /* کوچیک‌تر شد */
    margin-bottom: 1rem;
    display: block;
}

.step-title-full {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: Vazir;
}

.step-description-full {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 1rem;
    font-family: Vazir;
}

/* Final CTA Full Width */
.final-cta-full {
    width: 100%;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    text-align: center;
}

.cta-content-full {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title-full {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: Vazir;
}

.cta-subtitle-full {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-family: Vazir;
}

.cta-buttons-full {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary-full,
.btn-cta-secondary-full {
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: inline-block;
    font-family: Vazir;
}

.btn-cta-primary-full {
    background: white;
    color: var(--primary-green);
    border: 2px solid white;
}

.btn-cta-primary-full:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-cta-secondary-full {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary-full:hover {
    background: white;
    color: var(--primary-green);
}

.cta-note-full {
    opacity: 0.8;
    font-size: 1rem;
    font-family: Vazir;
}

/* Footer Full Width */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 48px 24px 24px;
    width: 100%;
}

.footer-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.footer-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 16px;
    font-family: Vazir;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-family: Vazir;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
    font-family: Vazir;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-family: Vazir;
}

.social-link:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: 32px;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    font-family: Vazir;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    transition: right 0.3s;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-header h3 {
    font-family: Vazir;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.mobile-nav {
    padding: 1rem 0;
}

.mobile-nav a {
    display: block;
    padding: 12px 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    font-family: Vazir;
}

.mobile-nav a:hover {
    background: var(--gray-50);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        gap: 1rem;
    }

    .search-section {
        max-width: 300px;
    }

    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .services-grid-full {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .stats-grid-full {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 12px 16px;
    }

    .hero-section-full {
        min-height: 80vh;
        padding: 4rem 0;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-subtitle-main {
        font-size: 1.4rem;
    }

    .hero-features-full {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta-full {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .section-title-full {
        font-size: 2rem;
    }

    .section-subtitle-full {
        font-size: 1.2rem;
    }

    .services-grid-full,
    .features-grid-full,
    .steps-grid-full {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card-full,
    .feature-card-full,
    .step-item-full {
        padding: 2rem;
    }

    .stats-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-buttons-full {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .services-section-full,
    .features-section-full,
    .statistics-section-full,
    .how-it-works-full,
    .final-cta-full {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content-full,
    .services-content-full,
    .features-content-full,
    .stats-content-full,
    .how-content-full,
    .cta-content-full {
        padding: 0 1rem;
    }

    .hero-title-main {
        font-size: 2rem;
    }

    .hero-subtitle-main {
        font-size: 1.2rem;
    }

    .section-title-full {
        font-size: 1.8rem;
    }

    .service-card-full,
    .feature-card-full,
    .step-item-full {
        padding: 1.5rem;
    }

    .service-title-full,
    .feature-title-full,
    .step-title-full {
        font-size: 1.4rem;
    }

    .stats-grid-full {
        grid-template-columns: 1fr;
    }

    .stat-number-full {
        font-size: 2.2rem;
    }

    .cta-title-full {
        font-size: 2.2rem;
    }

    .btn-hero-outline,
    .btn-hero-solid,
    .btn-cta-primary-full,
    .btn-cta-secondary-full {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Container Override for Full Width */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Main Content Full Width */
.main-content {
    width: 100%;
    margin: 0;
    padding: 0;
}
/* User Menu Dropdown */
.user-toggle {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--gray-700);
}

.user-toggle:hover {
    background: var(--gray-200);
    border-color: var(--primary-green);
}

.user-icon {
    font-size: 1.2rem;
}

/* دکمه و ظرف منو */
.user-menu {
    position: relative;
}

/* حالت دسکتاپ (پیش‌فرض) */
.dropdown-menu {
    position: absolute;
    inset-inline-end: 0;   /* = right در RTL */
    inset-inline-start: auto; /* = left: auto */
    top: 100%;
    margin-top: 8px;

    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 1000;

    /* جلوگیری از بیرون‌زدن افقی */
    min-width: 200px;
    max-width: min(260px, calc(100vw - 24px));
    overflow: hidden;
    transform-origin: top right;
}

/* نمایش منو */
.user-menu.active .dropdown-menu {
    display: block;
    animation: fadeInDown 0.2s ease;
}

/* آیتم‌ها */
.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: var(--gray-800);
    text-decoration: none;
    transition: background 0.2s ease;
}
.dropdown-menu li a:hover { background: var(--gray-100); }
.dropdown-menu .divider {
    height: 1px; margin: 6px 0; background: var(--gray-200);
}

/* اگر والد‌ها overflow:hidden دارند، اجازه‌ی دیده‌شدن منو */
header, .navbar { overflow: visible; }

/* حالت موبایل/عرض کم: منو تمام‌عرضِ امن و قابل اسکرول شود */
@media (max-width: 576px) {
    .user-menu { position: static; } /* تا fixed براساس ویوپرت عمل کند */
    .dropdown-menu {
        position: fixed;
        top: var(--header-height, 64px); /* ارتفاع هدر را اگر متفاوت است تنظیم کن */
        right: 12px;
        left: 12px;
        margin: 0;
        width: auto;
        min-width: 0;
        max-width: none;
        border-radius: 12px;
        max-height: calc(100dvh - 80px);
        overflow: auto; /* اگر منو بلند شد اسکرول بخورد */
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar Fix */
.sidebar, .user-sidebar {
    width: 100%;
    max-width: 250px;
    overflow: hidden;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.sidebar ul, .user-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar li, .user-sidebar li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.sidebar a, .user-sidebar a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.sidebar a:hover, .user-sidebar a:hover {
    background: var(--light-green);
    color: var(--primary-green);
}

.sidebar a.active, .user-sidebar a.active {
    background: var(--primary-green);
    color: white;
}

/* Dashboard Layout Fix */
.dashboard-layout {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.dashboard-sidebar {
    flex: 0 0 250px;
    min-width: 250px;
}

.dashboard-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}
/* Hero Section Size Fix */
.hero-section-full {
    min-height: 70vh; /* از 100vh به 70vh */
    padding: 60px 0; /* کمتر */
}

.hero-title-main {
    font-size: 2.5rem; /* از 4rem به 2.5rem */
    margin-bottom: 1rem; /* کمتر */
}

.hero-subtitle-main {
    font-size: 1.2rem; /* از 1.8rem به 1.2rem */
    margin-bottom: 2rem; /* کمتر */
}

.hero-features-full {
    margin-bottom: 2rem; /* کمتر */
}

.hero-feature-item {
    padding: 0.7rem 1.5rem; /* کمتر */
    font-size: 0.95rem; /* کمتر */
}

.free-badge-main {
    padding: 0.8rem 1.8rem; /* کمتر */
    font-size: 1.1rem; /* کمتر */
}

.hero-cta-full {
    margin-top: 1.5rem; /* کمتر */
}

.btn-hero-outline,
.btn-hero-solid {
    padding: 12px 24px; /* کمتر */
    font-size: 1rem; /* کمتر */
}

/* Section Paddings Fix */
.services-section-full,
.features-section-full,
.statistics-section-full,
.how-it-works-full,
.final-cta-full {
    padding: 3rem 0; /* از 6rem به 3rem */
}

.section-title-full {
    font-size: 2rem; /* از 3rem به 2rem */
}

.section-subtitle-full {
    font-size: 1.1rem; /* از 1.4rem به 1.1rem */
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    z-index: 1000;
    font-size: 1.2rem;
    font-weight: bold;
    display: none;
}

.back-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--gray-600); }
.text-success { color: var(--success-green); }
.text-muted { color: var(--gray-500); }
