/*
Theme Name: Cibweb Theme
Author: Siavoush
Description: قالب اختصاصی پلتفرم سیب‌وب
Version: 1.0
*/

:root {
    --primary: #5A14E5;
    --primary-hover: #4A0BCC;
    --primary-light: #F3E8FF;
    --secondary: #10B981;
    --bg-body: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #111827;
    --text-muted: #4B5563;
    --border: #E5E7EB;
    --radius-pill: 50px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -10px rgba(90, 20, 229, 0.15);
    --shadow-float: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Vazirmatn', sans-serif; }
body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* دکمه‌ها */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px 0 rgba(90, 20, 229, 0.3); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { background: white; color: var(--text-main); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ================= هدر شناور (Floating Header) ================= */
.floating-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px; /* کپسولی شدن */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    padding: 10px 10px 10px 24px;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
}

.site-name {
    display: inline-block;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, #A855F7 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(90, 20, 229, 0.3);
}

/* استایل برای لوگوی سفارشی وردپرس */
.custom-logo-link img {
    max-height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links ul{
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* افکت خط زیر منوها هنگام هاور */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    right: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #F1F5F9;
}

.btn-cta {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 20, 229, 0.3);
    border: none;
}

.btn-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 20, 229, 0.4);
}

/* ریسپانسیو هدر */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* در موبایل مخفی میشه، بهتره منوی همبرگری اضافه کنیم بعدا */
    }
    .floating-header {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .btn-login {
        display: none;
    }
    .site-name {
        font-size: 1.1rem;
    }
}

/* هیرو */
.hero { padding: 160px 0 80px; text-align: center; position: relative; background: radial-gradient(circle at top center, rgba(90, 20, 229, 0.05) 0%, transparent 50%); }
.hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 24px; }
.hero h1 span { background: linear-gradient(90deg, var(--primary) 0%, #A855F7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-form { display: flex; background: white; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 8px; max-width: 600px; margin: 0 auto 40px; box-shadow: var(--shadow-float); align-items: center; }
.hero-form input { flex: 3; border: none; outline: none; padding: 12px 24px; font-family: inherit; font-size: 1.1rem; background: transparent; }
.hero-form .btn { padding: 14px 40px; }

/* ماکاپ */
.hero-mockup { max-width: 1000px; margin: 0 auto; background: white; border-radius: var(--radius-lg); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); border: 1px solid var(--border); overflow: hidden; position: relative; }
.mockup-header { background: #F8FAFC; padding: 12px 20px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #EF4444; } .dot.yellow { background: #F59E0B; } .dot.green { background: #10B981; }
.mockup-body { display: flex; height: 500px; background: #FFFFFF; }
.sidebar { width: 240px; background: #F8FAFC; border-left: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
/*.menu-item { height: 40px; background: #E2E8F0; border-radius: 8px; width: 100%; }*/
.menu-item.active { background: rgba(90, 20, 229, 0.1); border-right: 4px solid var(--primary); }
.main-content { flex: 1; padding: 40px; background: #FFFFFF; }
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-card { background: #F8FAFC; border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.stat-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--primary); opacity: 0.8; }
.stat-line { height: 16px; background: #E2E8F0; border-radius: 4px; width: 80%; }
.stat-line.short { width: 50%; }
.chart-area { border: 1px solid var(--border); border-radius: 12px; height: 200px; background: #FAFAFA; padding: 20px; display: flex; align-items: flex-end; gap: 10px; }
.chart-bar { flex: 1; background: rgba(90, 20, 229, 0.2); border-radius: 4px 4px 0 0; }
.chart-bar.active { background: var(--primary); }

/* لوگوها */
.logos-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-body); text-align: center; }
.logos-section p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.logos-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: 0.5; filter: grayscale(100%); }
.logo-item { font-size: 1.4rem; font-weight: 800; color: #475569; }

/* ویژگی‌ها */
.features { padding: 100px 0; background: var(--bg-body); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 120px; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; line-height: 1.3; }
.feature-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--text-main); font-weight: 500; }
.feature-list li::before { content: '✓'; display: flex; justify-content: center; align-items: center; width: 24px; height: 24px; background: rgba(16, 185, 129, 0.1); color: var(--secondary); border-radius: 50%; font-size: 0.8rem; }
.visual-box { background: var(--bg-light); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow-sm); position: relative; }
.shop-ui { background: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-float); }
.shop-img { height: 200px; background: #E2E8F0; border-radius: 12px; margin-bottom: 20px; position: relative; }
.shop-badge { position: absolute; top: 16px; right: 16px; background: var(--primary); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.shop-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.shop-title { font-weight: bold; font-size: 1.2rem; }
.shop-price { font-weight: 900; color: var(--primary); font-size: 1.3rem; }
.shop-btn { width: 100%; background: var(--primary); color: white; padding: 14px; border-radius: 8px; border: none; font-weight: bold; cursor: pointer; }
.analytics-ui { background: white; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-float); }
.analytics-header { display: flex; justify-content: space-between; margin-bottom: 24px; font-weight: bold; }
.analytics-bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; border-bottom: 2px solid var(--border); padding-bottom: 10px; }
.bar { flex: 1; background: rgba(90, 20, 229, 0.15); border-radius: 6px 6px 0 0; }
.bar.active { background: var(--primary); }

/* تعرفه‌ها */
.pricing { padding: 100px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.price-card { background: white; border-radius: var(--radius-lg); padding: 40px 32px; border: 1px solid var(--border); transition: all 0.3s ease; position: relative; }
.price-card:hover { box-shadow: var(--shadow-float); border-color: rgba(90, 20, 229, 0.3); }
.price-card.popular { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: var(--shadow-lg); background: linear-gradient(to bottom, #FFFFFF, #F8FAFC); }
.pop-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 6px 24px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; }
.price-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; color: var(--text-muted); }
.price-amount { font-size: 2.8rem; font-weight: 900; color: var(--text-main); margin-bottom: 24px; }
.price-amount span { font-size: 1rem; color: var(--text-muted); font-weight: normal; }
.price-list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-list li { color: var(--text-muted); font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.price-list li::before { content: '✓'; color: var(--secondary); font-weight: bold; }
.price-btn { width: 100%; padding: 16px; border-radius: var(--radius-pill); font-weight: bold; border: none; cursor: pointer; transition: 0.3s; font-size: 1rem; font-family: inherit; }
.price-btn.outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.price-btn.outline:hover { border-color: var(--primary); color: var(--primary); }
.price-btn.solid { background: var(--primary); color: white; }
.price-btn.solid:hover { background: var(--primary-hover); }

/* سوالات متداول */
.faq { padding: 100px 0; background: var(--bg-body); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; cursor: pointer; transition: 0.3s; }
.faq-item:hover { border-color: var(--primary); }
.faq-item summary { font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 16px; color: var(--text-muted); line-height: 1.8; }

/* بنر */
.cta-section { padding: 80px 0 100px; }
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, #4A0BCC 100%); border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; color: white; box-shadow: var(--shadow-lg); }
.cta-box h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; }
.cta-box p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.cta-box .btn { background: white; color: var(--primary); font-size: 1.1rem; padding: 16px 48px; }
.cta-box .btn:hover { background: var(--bg-light); }

/* فوتر */
footer { background: var(--bg-dark); color: #94A3B8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 24px; font-size: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col a { transition: color 0.2s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #1E293B; font-size: 0.9rem; }

/* مودال (پاپ آپ) */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 2000; padding: 20px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: white; width: 100%; max-width: 650px; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); overflow: hidden; position: relative; transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; }
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-header { padding: 24px 32px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 1.2rem; font-weight: 800; color: var(--text-main); }
.close-btn { background: #F1F5F9; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; color: var(--text-muted); display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.close-btn:hover { background: #E2E8F0; color: #EF4444; }
.progress-container { height: 4px; background: #F1F5F9; width: 100%; }
.progress-bar { height: 100%; background: var(--primary); width: 33.33%; transition: width 0.4s ease; }
.modal-body { padding: 32px; min-height: 320px; display: flex; flex-direction: column; }
.step-content { display: none; animation: fadeIn 0.4s ease forwards; flex: 1; }
.step-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.step-content h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-control { width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; background: #FAFAFA; transition: 0.2s; margin-bottom: 16px; }
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }
.domain-group { display: flex; margin-bottom: 16px; }
.domain-group input { border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 0; border-left: none; }
.domain-group .suffix { background: #F1F5F9; border: 1px solid var(--border); border-right: none; border-radius: var(--radius-md) 0 0 var(--radius-md); padding: 0 16px; display: flex; align-items: center; color: var(--text-muted); font-weight: 600; }
.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.selection-card { border: 2px solid var(--border); border-radius: var(--radius-md); padding: 16px; cursor: pointer; transition: 0.2s; position: relative; }
.selection-card:hover { border-color: #CBD5E1; }
.selection-card.active { border-color: var(--primary); background: var(--primary-light); }
.selection-card.active::after { content: '✓'; position: absolute; top: 10px; left: 10px; background: var(--primary); color: white; width: 20px; height: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.7rem; font-weight: bold; }
.card-title { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.card-price { font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.modal-footer { padding: 20px 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #FAFAFA; }
.btn-next { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(90,20,229,0.3); }
.btn-prev { background: white; color: var(--text-muted); border: 1px solid var(--border); }
.btn-prev:disabled { opacity: 0.5; cursor: not-allowed; }

/* ریسپانسیو */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse .feature-text { order: 1; }
    .feature-row.reverse .feature-visual { order: 2; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .price-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .modal-box { max-width: 90%; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-form { flex-direction: column; padding: 16px; border-radius: 16px; }
    .hero-form input { margin-bottom: 12px; text-align: center; width: 100%; }
    .hero-form .btn { width: 100%; }
    .mockup-body { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .modal-box { height: 90vh; }
    .modal-body { padding: 24px; overflow-y: auto; }
    .selection-grid { grid-template-columns: 1fr; }
}



.custom-logo-link{
    display: flex;
}





/* ================= استایل صفحه قالب‌ها (Samples) ================= */
.page-header-samples { text-align: center; padding: 160px 20px 40px; }
.page-header-samples h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.page-header-samples p { color: var(--text-muted); font-size: 1.1rem; }

.filter-container { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; padding: 0 20px; }
.filter-btn { background: white; border: 1px solid var(--border); padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.3s; color: var(--text-muted); font-family: inherit; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 14px rgba(90,20,229,0.3); }

.templates-grid { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.template-card { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s ease; animation: fadeIn 0.5s ease; }
.template-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
.template-img { height: 220px; background: #E2E8F0; position: relative; overflow: hidden; }
.mockup { width: 100%; height: 100%; padding: 15px; display: flex; flex-direction: column; gap: 10px; background: white; }
.mockup-nav { height: 20px; background: #F1F5F9; border-radius: 4px; }
.mockup-hero { flex: 1; background: var(--primary-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: bold; font-size: 0.9rem; }
.template-info { padding: 24px; }
.template-cat { font-size: 0.8rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; display: block; }
.template-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.template-actions { display: flex; gap: 10px; }
.btn-tpl { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem; cursor: pointer; border: none; transition: 0.2s; }
.btn-tpl-outline { background: white; border: 1px solid var(--border); color: var(--text-main); }
.btn-tpl-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-tpl-primary { background: var(--primary); color: white; }
.btn-tpl-primary:hover { background: var(--primary-hover); }
.hidden-tpl { display: none !important; }

/* ================= استایل صفحه ورود (Login) ================= */
.login-body { background-color: var(--bg-light); display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 120px 20px 60px; background: radial-gradient(circle at top right, rgba(90, 20, 229, 0.05) 0%, transparent 40%), radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.05) 0%, transparent 40%); }
.auth-card { background: white; width: 100%; max-width: 440px; border-radius: 24px; padding: 40px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); border: 1px solid var(--border); }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); font-size: 0.95rem; }
.auth-form-group { margin-bottom: 20px; }
.auth-form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.input-group { display: flex; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #FAFAFA; transition: 0.2s; }
.input-group:focus-within { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }
.input-group-text { background: #F1F5F9; padding: 0 16px; display: flex; align-items: center; font-weight: 600; color: var(--text-muted); border-left: 1px solid var(--border); }
.input-group input { flex: 1; padding: 16px; border: none; outline: none; background: transparent; font-family: inherit; font-size: 1rem; direction: ltr; text-align: right; }
.btn-auth { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; font-family: inherit; margin-top: 10px; }
.btn-auth:hover { background: var(--primary-hover); transform: translateY(-2px); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 700; text-decoration: none; }
.divider { display: flex; align-items: center; text-align: center; margin: 24px 0; color: var(--text-muted); font-size: 0.9rem; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.divider span { padding: 0 10px; }
.btn-auth-outline { width: 100%; padding: 14px; background: white; border: 1px solid var(--border); color: var(--text-main); border-radius: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: 0.2s; }
.btn-auth-outline:hover { border-color: var(--primary); color: var(--primary); }





/* ================= استایل صفحه وبلاگ (Blog) ================= */
.blog-header { text-align: center; padding: 160px 20px 60px; background: white; border-bottom: 1px solid var(--border); }
.blog-header h1 { font-size: 2.8rem; font-weight: 900; color: var(--text-main); }
.blog-header p { color: var(--text-muted); font-size: 1.1rem; }
.blog-container { max-width: 1100px; margin: 60px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.featured-post { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 40px; text-decoration: none; color: inherit; display: block; transition: 0.3s; }
.featured-post:hover { box-shadow: var(--shadow-float); }
.featured-img { height: 350px; background: #E2E8F0; display: flex; justify-content: center; align-items: center; color: #94A3B8; }
.featured-content { padding: 30px; }
.post-tag { background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 16px; }
.featured-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.featured-content p { color: var(--text-muted); }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-card { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; text-decoration: none; color: inherit; transition: 0.3s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); }
.post-img { height: 180px; background: #CBD5E1; }
.post-content { padding: 20px; }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; justify-content: space-between; }
.sidebar-widget { background: white; padding: 24px; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 24px; }
.widget-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 8px; }
.widget-list { list-style: none; }
.widget-list li { margin-bottom: 12px; }
.widget-list a { text-decoration: none; color: var(--text-muted); display: flex; justify-content: space-between; transition: 0.2s; }
.widget-list a:hover { color: var(--primary); }

/* ================= استایل پایگاه دانش (Knowledge) ================= */
.kb-hero { background: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 100%); padding: 160px 20px 120px; text-align: center; position: relative; overflow: hidden; }
.kb-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px); background-size: 30px 30px; opacity: 0.5; }
.kb-hero-content { position: relative; z-index: 2; }
.kb-hero h1 { font-size: 3rem; font-weight: 900; color: white; margin-bottom: 16px; letter-spacing: -1px; }
.kb-hero p { font-size: 1.2rem; color: #C4B5FD; margin-bottom: 40px; }
.search-wrapper { max-width: 650px; margin: 0 auto; position: relative; }
.search-input { width: 100%; padding: 20px 60px 20px 24px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.1); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); font-family: inherit; font-size: 1.1rem; outline: none; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3); transition: all 0.3s ease; }
.search-input:focus { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 25px 50px -12px rgba(90,20,229,0.4); }
.search-icon { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--text-muted); }
.kb-container { max-width: 1100px; margin: -60px auto 80px; padding: 0 20px; position: relative; z-index: 10; }
.kb-section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.kb-section-title::before { content: ''; display: block; width: 6px; height: 24px; background: var(--primary); border-radius: 4px; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-bottom: 60px; }
.cat-card { background: var(--bg-body); border-radius: var(--radius-md); padding: 30px; text-decoration: none; color: var(--text-main); border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05); border-color: rgba(90,20,229,0.3); }
.cat-icon-wrapper { width: 60px; height: 60px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin-bottom: 20px; transition: 0.3s; }
.cat-card:hover .cat-icon-wrapper { transform: scale(1.1) rotate(-5deg); }
.bg-purple { background: #F3E8FF; color: #9333EA; } .bg-blue { background: #E0F2FE; color: #0284C7; } .bg-green { background: #DCFCE7; color: #16A34A; } .bg-orange { background: #FFEDD5; color: #EA580C; }
.cat-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.cat-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.article-count { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.popular-articles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 80px; }
.article-row { background: var(--bg-body); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--text-main); transition: all 0.2s ease; }
.article-row:hover { background: #F8FAFC; border-color: var(--primary); padding-right: 30px; }
.article-row h4 { font-size: 1.05rem; font-weight: 600; }
.article-row span { color: var(--primary); font-size: 1.2rem; }
.support-box { background: linear-gradient(135deg, var(--primary) 0%, #4A0BCC 100%); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; color: white; box-shadow: 0 20px 40px -10px rgba(90, 20, 229, 0.3); }
.support-box h2 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; }
.support-box p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.btn-support { background: white; color: var(--primary); padding: 16px 40px; border-radius: 50px; font-weight: 800; text-decoration: none; display: inline-block; transition: 0.3s; font-size: 1.1rem; }
.btn-support:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* ================= استایل درباره ما (About) ================= */
.hero-about { padding: 160px 20px 80px; text-align: center; background: white; }
.hero-about h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; }
.hero-about h1 span { color: var(--primary); }
.hero-about p { max-width: 700px; margin: 0 auto; color: var(--text-muted); font-size: 1.2rem; }
.content-section { max-width: 1000px; margin: 60px auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.text-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.text-box p { color: var(--text-muted); margin-bottom: 16px; }
.img-box { background: #E2E8F0; height: 300px; border-radius: 24px; display: flex; justify-content: center; align-items: center; color: #94A3B8; font-weight: bold; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-top: 60px; }
.stat-box { background: white; padding: 30px; border-radius: 16px; border: 1px solid #E2E8F0; }
.stat-box h3 { font-size: 2.5rem; color: var(--primary); font-weight: 900; margin-bottom: 10px; }
.stat-box p { color: var(--text-muted); font-weight: 600; }

/* ================= استایل تماس با ما (Contact) ================= */
.contact-header { text-align: center; padding: 160px 20px 40px; }
.contact-header h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.contact-header p { color: var(--text-muted); font-size: 1.2rem; }
.contact-container { max-width: 1100px; margin: 0 auto 80px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 16px; }
.info-icon { width: 48px; height: 48px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; flex-shrink: 0; }
.info-text h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.info-text p { color: var(--text-muted); font-size: 0.95rem; direction: ltr; text-align: right; }
.contact-form { background: white; padding: 40px; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); }
.contact-form h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 1rem; transition: 0.2s; background: #FAFAFA; }
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px var(--primary-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: #4A0BCC; transform: translateY(-2px); }

/* ================= استایل پنل کاربری (Dashboard) ================= */
.dashboard-wrapper { padding: 140px 20px 60px; max-width: 1200px; margin: 0 auto; min-height: 80vh; }
.dashboard-container { display: flex; background: white; border-radius: 24px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.dash-sidebar { width: 260px; background: #F8FAFC; border-left: 1px solid var(--border); padding: 30px 20px; display: flex; flex-direction: column; }
/*.menu-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; color: var(--text-muted); font-weight: 600; text-decoration: none; transition: 0.2s; margin-bottom: 8px; }*/
.menu-item:hover, .menu-item.active { background: var(--primary-light); color: var(--primary); }
.dash-main { flex: 1; padding: 40px; }
.page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 30px; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.site-card { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); transition: 0.3s; }
.site-card:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); border-color: var(--primary); }
.site-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.site-name { font-size: 1.2rem; font-weight: 800; }
.site-status { background: #D1FAE5; color: #065F46; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.site-url { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; direction: ltr; text-align: right; }
.site-actions { display: flex; gap: 10px; }
.btn { padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; text-align: center; flex: 1; cursor: pointer; border: none; transition: 0.2s; }
.btn-primary { background: var(--primary); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.add-site-card { background: transparent; border: 2px dashed var(--border); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; cursor: pointer; transition: 0.2s; color: var(--text-muted); text-decoration: none; }
.add-site-card:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.add-site-icon { font-size: 2rem; margin-bottom: 10px; }

/* ریسپانسیو صفحات جدید */
@media (max-width: 768px) {
    .blog-container, .contact-container, .grid-2, .stats-grid, .popular-articles-grid { grid-template-columns: 1fr; }
    .dashboard-container { flex-direction: column; }
    .dash-sidebar { width: 100%; border-left: none; border-bottom: 1px solid var(--border); }
    .kb-hero h1 { font-size: 2.2rem; }
    .support-box { padding: 40px 20px; }
    .contact-form { padding: 24px; }
}


.hero-form .btn{
    border-radius: 100px!important;
}






/* ===== Ultimate Multisite - استایل فرم ثبت‌نام ساده و هماهنگ ===== */

:root {
    --wu-primary: #0a6ebd;
    --wu-primary-dark: #075a9c;
    --wu-accent: #5b21b6;
    --wu-text: #1f2937;
    --wu-muted: #6b7280;
    --wu-border: #e5e7eb;
    --wu-bg: #ffffff;
    --wu-radius: 14px;
    --wu-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* کانتینر کلی فرم */
.wu_checkout_form_6ae3c65b53a3e {
    max-width: 560px;
    margin: 40px auto;
    padding: 32px;
    background: var(--wu-bg);
    border-radius: var(--wu-radius);
    box-shadow: var(--wu-shadow);
    border: 1px solid var(--wu-border);
    font-family: inherit;
    color: var(--wu-text);
    direction: rtl;
}

/* کانتینر مراحل با گرید ساده */
.wu_checkout_form_6ae3c65b53a3e #wu-step-checkout,
.wu_checkout_form_6ae3c65b53a3e #wu-step-site,
.wu_checkout_form_6ae3c65b53a3e #wu-step-payment {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 8px;
}

/* نوار پیشرفت */
#wrapper-field-steps nav ul {
    display: flex !important;
    gap: 8px;
    margin: 0 0 12px !important;
    padding: 0 !important;
}
#wrapper-field-steps li {
    flex: 1;
    padding: 0 !important;
    margin: 0;
    list-style: none;
}
#wrapper-field-steps li > span.wu-h-2 {
    height: 4px !important;
    border-radius: 999px;
    background: #d1d5db !important;
    margin-bottom: 8px !important;
}
#wrapper-field-steps li:has(.wu-text-blue-600) > span.wu-h-2,
#wrapper-field-steps li:has(.wu-text-blue-500) > span.wu-h-2 {
    background: linear-gradient(90deg, var(--wu-primary), var(--wu-accent)) !important;
}
#wrapper-field-steps .wu-text-2xs {
    font-size: 11px !important;
    color: var(--wu-muted) !important;
}
#wrapper-field-steps .wu-text-sm {
    font-size: 13px !important;
    color: var(--wu-muted) !important;
}
#wrapper-field-steps li:has(.wu-text-blue-600) .wu-text-sm,
#wrapper-field-steps li:has(.wu-text-blue-500) .wu-text-2xs {
    color: var(--wu-primary) !important;
    font-weight: 700;
}

/* برچسب‌ها */
.wu_checkout_form_6ae3c65b53a3e label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--wu-text);
}

/* ورودی‌ها */
.wu_checkout_form_6ae3c65b53a3e input[type="text"],
.wu_checkout_form_6ae3c65b53a3e input[type="email"],
.wu_checkout_form_6ae3c65b53a3e input[type="password"],
.wu_checkout_form_6ae3c65b53a3e select {
    width: 100% !important;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--wu-border) !important;
    border-radius: 10px !important;
    background: #f9fafb;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}
.wu_checkout_form_6ae3c65b53a3e input:focus,
.wu_checkout_form_6ae3c65b53a3e select:focus {
    outline: none;
    background: #fff;
    border-color: var(--wu-primary) !important;
    box-shadow: 0 0 0 4px rgba(10, 110, 189, 0.15);
}

/* ستاره قرمز اجباری */
.wu-checkout-required-field {
    color: #ef4444 !important;
    margin-right: 2px;
}

/* فیلد آدرس سایت: پیشوند و پسوند */
.wu_checkout_form_6ae3c65b53a3e .wu-input-addon {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f3f4f6;
    color: var(--wu-muted);
    font-size: 14px;
    border: 1.5px solid var(--wu-border);
    direction: ltr;
    white-space: nowrap;
}
.wu_checkout_form_6ae3c65b53a3e .wu-input-addon-prefix {
    border-radius: 10px 0 0 10px;
    border-left: none;
}
.wu_checkout_form_6ae3c65b53a3e .wu-input-addon-suffix {
    border-radius: 0 10px 10px 0;
    border-right: none;
}
.wu_checkout_form_6ae3c65b53a3e .wu-input-grouped {
    border-radius: 0 !important;
    flex: 1;
}

/* پیش‌نمایش آدرس */
#wu-your-site-block {
    padding: 12px 16px;
    margin-top: 4px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--wu-primary-dark);
    font-size: 14px;
    text-align: center;
}
#wu-your-site-block small {
    color: var(--wu-muted);
}

/* انتخاب قالب */
#wu-site-template-filter {
    border-radius: 10px !important;
    border: 1px solid var(--wu-border) !important;
    box-shadow: none !important;
    gap: 8px;
}
#wu-site-template-filter a {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--wu-muted);
    text-decoration: none;
}
#wu-site-template-filter a.current {
    background: var(--wu-primary);
    color: #fff !important;
}
#wu-site-template-container-grid {
    gap: 20px !important;
}
.wu-site-template-title {
    font-size: 16px !important;
    margin: 12px 0 10px;
    color: var(--wu-text);
}
#wu-site-template-container-grid > div {
    border: 1px solid var(--wu-border) !important;
    border-radius: var(--wu-radius) !important;
    box-shadow: none !important;
    padding: 14px !important;
    transition: transform .2s, box-shadow .2s;
}
#wu-site-template-container-grid > div:hover {
    transform: translateY(-3px);
    box-shadow: var(--wu-shadow) !important;
}
.wu-site-template-image {
    border-radius: 10px !important;
    margin-bottom: 0 !important;
}

/* خلاصه سفارش */
#wu-order-summary-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 14px;
}
#wu-order-summary-table th {
    color: var(--wu-muted);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid var(--wu-border);
}
#wu-order-summary-table td {
    padding: 10px 0;
    border-bottom: 1px dashed var(--wu-border);
}
#wu-order-summary-table tfoot tr:last-child td {
    border-bottom: none;
    font-size: 16px;
    padding-top: 14px;
}

/* پیام پرداخت و بلوک‌های راهنما */
.wu_checkout_form_6ae3c65b53a3e [role="alert"],
.wu_checkout_form_6ae3c65b53a3e .wu-bg-yellow-200 {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
    border-radius: 10px !important;
    padding: 14px !important;
    font-size: 14px;
    line-height: 1.8;
}

/* دکمه‌ها */
.wu_checkout_form_6ae3c65b53a3e button[type="submit"],
.wu_checkout_form_6ae3c65b53a3e .btn-primary {
    width: 100%;
    height: 48px;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--wu-primary), var(--wu-accent)) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10, 110, 189, 0.25);
    transition: transform .15s, box-shadow .2s, filter .2s;
}
.wu_checkout_form_6ae3c65b53a3e button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(10, 110, 189, 0.32);
}
.wu_checkout_form_6ae3c65b53a3e button[type="submit"]:active {
    transform: translateY(0);
}

/* دکمه‌های انتخاب قالب */
#wu-site-template-container .btn-primary {
    height: 42px;
    font-size: 14px;
    border-radius: 10px !important;
}

/* ریسپانسیو */
@media (max-width: 640px) {
    .wu_checkout_form_6ae3c65b53a3e {
        margin: 16px;
        padding: 20px;
    }
    #wrapper-field-steps .wu-text-sm {
        font-size: 12px !important;
    }
}


.wu-checkout-wrap .wu_checkout_form_6ae3c65b53a3e {
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}
