/* ==========================================================================
   1. SEO CONTENT SECTION
   ========================================================================== */

#seo-content {
    padding: 50px 0;
    background: #ffffff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    color: #4b5563;
    line-height: 1.9;
    overflow-x: hidden;
}

#seo-content .seo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* هدر بخش سئو */
#seo-content .seo-header {
    text-align: center;
    margin-bottom: 40px;
}

#seo-content .seo-header .seo-img-link {
    display: inline-block;
    text-decoration: none;
    max-width: 100%;
    margin: 0 0 25px 0;
    width: 100%;
    text-align: center;
}

#seo-content .seo-header img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

#seo-content .seo-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

#seo-content .seo-header .seo-subtitle {
    font-size: 16px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 15px auto;
    line-height: 1.9;
}

#seo-content .seo-header .seo-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2063EF, #7c3aed);
    border-radius: 4px;
    margin: 0 auto;
}

/* گرید اصلی - همیشه یک ستونه */
#seo-content .seo-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

/* ستون متن مقاله */
#seo-content .seo-article {
    font-size: 15px;
    color: #4b5563;
    line-height: 2;
    min-width: 0;
}

#seo-content .seo-article h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

#seo-content .seo-article h2 span {
    color: #7c3aed;
}

#seo-content .seo-article h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 28px 0 14px 0;
    line-height: 1.5;
}

#seo-content .seo-article p {
    font-size: 15px;
    color: #4b5563;
    line-height: 2;
    margin: 0 0 16px 0;
    text-align: justify;
}

#seo-content .seo-article strong {
    color: #0f172a;
    font-weight: 700;
}

/* باکس هایلایت */
#seo-content .seo-highlight {
    background: #f0f6ff;
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    border-right: 4px solid #2063EF;
}

#seo-content .seo-highlight p {
    margin: 0;
    font-weight: 600;
    color: #0D2C6D;
    font-size: 15px;
    line-height: 1.9;
}

/* لیست مزیت‌ها */
#seo-content .seo-benefits {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

#seo-content .seo-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 10px;
}

#seo-content .seo-benefits li::before {
    content: '✓';
    color: #10b981;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

/* کارت‌های سایدبار */
#seo-content .seo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

#seo-content .seo-card {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

#seo-content .seo-card:hover {
    border-color: #c7d9ff;
    box-shadow: 0 8px 24px rgba(32, 99, 239, 0.08);
    transform: translateY(-3px);
}

#seo-content .seo-card-icon {
    width: 48px;
    height: 48px;
    background: #eef3ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

#seo-content .seo-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

#seo-content .seo-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.9;
    margin: 0;
    text-align: justify;
}

/* ریسپانسیو سئو */
@media (max-width: 768px) {
    #seo-content { padding: 40px 0; }
    #seo-content .seo-header h2 { font-size: 22px; }
    #seo-content .seo-header .seo-subtitle { font-size: 14px; }
    #seo-content .seo-article h2 { font-size: 19px; }
    #seo-content .seo-article h3 { font-size: 16px; }
    #seo-content .seo-article p,
    #seo-content .seo-benefits li { font-size: 14px; }
    #seo-content .seo-highlight { padding: 16px; }
    #seo-content .seo-highlight p { font-size: 14px; }
}

/* ==========================================================================
   2. CONTACT AREA - بنر معرفی سامانه
   ========================================================================== */

#contact {
    padding-bottom: 60px;
}

/* بنر اصلی */
#contact .site-builder-banner {
    position: relative;
    margin-bottom: 50px;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
    border: 1px solid #eef2ff;
}

#contact .site-builder-banner .banner-top-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 33%, #ec4899 66%, #f59e0b 100%);
}

#contact .site-builder-banner .banner-body {
    padding: 50px 40px 45px;
    position: relative;
}

#contact .site-builder-banner .banner-decoration-1 {
    position: absolute;
    top: -80px; left: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#contact .site-builder-banner .banner-decoration-2 {
    position: absolute;
    bottom: -100px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* بج بالای عنوان */
#contact .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4ff;
    color: #4f46e5;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid #e0e7ff;
}

#contact .banner-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

#contact .banner-title {
    color: #0f172a;
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

#contact .banner-title .banner-gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#contact .banner-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 28px;
    max-width: 520px;
}

/* ویژگی‌های زیر متن بنر */
#contact .banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#contact .banner-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    color: #334155;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

#contact .banner-feature svg {
    flex-shrink: 0;
}

/* کارت سمت چپ بنر */
#contact .banner-card-wrapper {
    text-align: center;
    margin-top: 20px;
}

#contact .banner-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

#contact .banner-card .card-decoration-1 {
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

#contact .banner-card .card-decoration-2 {
    position: absolute;
    bottom: -30px; left: -30px;
    width: 90px; height: 90px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

#contact .banner-card .card-inner {
    position: relative;
    z-index: 1;
}

#contact .banner-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

#contact .banner-card .card-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

#contact .banner-card .card-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
}

#contact .banner-card .card-stats {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    gap: 20px;
}

#contact .banner-card .card-stat-value {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

#contact .banner-card .card-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

#contact .banner-card .card-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   3. CONTACT AREA - بخش راهنما
   ========================================================================== */

#contact .guide-wrapper {
    margin-bottom: 40px;
}

#contact .guide-card {
    padding: 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

#contact .guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
}

#contact .guide-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8f0fe, #ede9fe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

#contact .guide-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

#contact .guide-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* گرید گام‌های راهنما - ۲ ستونه در دسکتاپ، ۱ ستونه در موبایل */
#contact .guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

#contact .guide-step {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    border-right: 3px solid #2063EF;
    transition: all 0.3s ease;
}

#contact .guide-step:hover {
    background: #eef4ff;
}

#contact .guide-step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2063EF, #7c3aed);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

#contact .guide-step p {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.9;
    margin: 0;
    text-align: justify;
}

#contact .guide-step strong {
    color: #2063EF;
    font-weight: 700;
}

/* ==========================================================================
   4. CONTACT AREA - بخش قوانین
   ========================================================================== */

#contact .rules-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border-radius: 14px;
    border-right: 4px solid #ef4444;
}

#contact .rules-header-icon {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

#contact .rules-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: #b91c1c;
    margin: 0 0 3px 0;
    line-height: 1.4;
}

#contact .rules-header p {
    font-size: 12.5px;
    color: #991b1b;
    margin: 0;
    line-height: 1.6;
}

#contact .rules-warning {
    background: #fef3c7;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-right: 3px solid #f59e0b;
    display: flex;
    gap: 10px;
}

#contact .rules-warning span {
    font-size: 18px;
    flex-shrink: 0;
}

#contact .rules-warning p {
    font-size: 13px;
    color: #92400e;
    margin: 0;
    line-height: 1.8;
    font-weight: 600;
    text-align: justify;
}

#contact .rules-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact .rules-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #fee2e2;
    transition: all 0.3s ease;
}

#contact .rules-item:hover {
    border-color: #fca5a5;
    background: #fffafa;
}

#contact .rules-item-icon {
    color: #ef4444;
    font-weight: 900;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 3px;
}

#contact .rules-item p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
    line-height: 1.9;
    text-align: justify;
}

#contact .rules-accept {
    margin-top: 20px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-radius: 12px;
    border-right: 3px solid #10b981;
    display: flex;
    gap: 10px;
}

#contact .rules-accept span {
    font-size: 18px;
    flex-shrink: 0;
}

#contact .rules-accept p {
    font-size: 13px;
    color: #065f46;
    margin: 0;
    line-height: 1.8;
    font-weight: 600;
    text-align: justify;
}

/* ==========================================================================
   5. RESPONSIVE CONTACT
   ========================================================================== */

@media (max-width: 991px) {
    #contact .banner-title {
        font-size: 26px;
    }
    #contact .banner-description {
        font-size: 15px;
    }
    #contact .banner-body {
        padding: 40px 24px 35px;
    }
}

@media (max-width: 767px) {
    #contact .banner-title {
        font-size: 22px;
    }
    #contact .banner-description {
        font-size: 14px;
    }
    #contact .banner-body {
        padding: 30px 20px 25px;
    }
    #contact .banner-card {
        padding: 24px 18px;
    }
    #contact .banner-card .card-title {
        font-size: 20px;
    }
    #contact .guide-card {
        padding: 20px;
    }
    #contact .guide-header h3 {
        font-size: 17px;
    }
    #contact .rules-header h3 {
        font-size: 15px;
    }
    #contact .rules-item p,
    #contact .guide-step p {
        font-size: 13px;
    }
}