/* ============================================================
   سایت عمومی مخزن — استایل عمومی (حس وردپرس)
   ============================================================ */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
	--wp-blue: #2271b1;
	--wp-blue-d: #135e96;
	--ink: #1d2327;
	--muted: #50575e;
	--line: #e2e4e7;
	--bg: #f6f7f7;
	--card: #fff;
	--ok: #00834a;
	--radius: 12px;
	--shadow: 0 2px 10px rgba(0,0,0,.06);
	--shadow-lg: 0 10px 34px rgba(0,0,0,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
	line-height: 1.85; font-size: 15px;
}
a { color: var(--wp-blue); text-decoration: none; }
a:hover { color: var(--wp-blue-d); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; color: var(--ink); }
img { max-width: 100%; height: auto; }

.s-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.s-center { text-align: center; }
.s-muted { color: var(--muted); }

/* دکمه‌ها */
.s-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
	border: 1.5px solid transparent; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.s-btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.s-btn-block { display: flex; width: 100%; margin-bottom: 10px; }
.s-btn-primary { background: var(--wp-blue); color: #fff; }
.s-btn-primary:hover { background: var(--wp-blue-d); color: #fff; }
.s-btn-ghost { background: #fff; color: var(--wp-blue); border-color: var(--line); }
.s-btn-ghost:hover { border-color: var(--wp-blue); color: var(--wp-blue-d); }

/* هدر */
.s-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.s-header-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.s-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--ink); }
.s-logo-mark { color: var(--wp-blue); }
.s-nav { display: flex; gap: 6px; margin-right: auto; }
.s-nav a { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.s-nav a:hover { background: var(--bg); color: var(--ink); }
.s-nav-cta { height: 40px; padding: 0 18px; }

/* هیرو */
.s-hero { background: linear-gradient(180deg, #fff, var(--bg)); padding: 72px 0 60px; text-align: center; border-bottom: 1px solid var(--line); }
.s-kicker { display: inline-block; background: #e7f0f7; color: var(--wp-blue); padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.s-hero h1 { font-size: 44px; margin: 0 0 12px; }
.s-hero-sub { font-size: 20px; color: var(--ink); font-weight: 600; margin: 0 0 10px; }
.s-hero-desc { font-size: 16px; color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.s-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* بخش‌ها */
.s-section { padding: 56px 0; }
.s-section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.s-section-head h2 { margin: 0; font-size: 26px; }
.s-link { font-weight: 700; }

/* ویژگی‌ها */
.s-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.s-feature-ic { font-size: 36px; margin-bottom: 12px; }
.s-feature h2 { font-size: 18px; margin: 0 0 8px; }
.s-feature p { color: var(--muted); margin: 0; font-size: 14px; }

/* گرید کارت‌ها */
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: block; color: inherit; }
.s-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.s-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.s-card-icon { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--bg); }
.s-card-icon-ph { display: grid; place-items: center; font-size: 28px; }
.s-card-titles h3 { margin: 0 0 2px; font-size: 17px; }
.s-card-ver { font-size: 12px; color: var(--muted); }
.s-card-desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; min-height: 42px; }
.s-card-foot { display: flex; gap: 6px; }

/* نشان‌ها */
.s-badge { display: inline-block; background: var(--bg); border: 1px solid var(--line); color: var(--muted); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.s-badge-free { background: #e6f6ee; border-color: #b9e6cd; color: var(--ok); }
.s-badge-prem { background: #fff4d6; border-color: #f0d98a; color: #9a6a00; }
.s-badge-ver { background: #e7f0f7; border-color: #c5dcee; color: var(--wp-blue); }

/* گام‌ها */
.s-steps { max-width: 760px; margin: 0 auto; }
.s-steps h2 { font-size: 26px; margin-bottom: 24px; }
.s-steps-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.s-steps-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-size: 16px; box-shadow: var(--shadow); }
.s-steps-list li span { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--wp-blue); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* سربرگ صفحه */
.s-page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0; }
.s-page-head h1 { font-size: 34px; margin: 0 0 8px; }
.s-page-head p { color: var(--muted); margin: 0; }

/* صفحه‌ی تکی */
.s-single-head { display: flex; gap: 22px; align-items: center; }
.s-single-icon { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; background: var(--bg); }
.s-single-icon-ph { display: grid; place-items: center; font-size: 42px; }
.s-badges { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.s-single-author { color: var(--muted); margin: 6px 0 0; }
.s-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.s-single-main h2 { font-size: 22px; margin-top: 0; }
.s-prose { color: #2c3338; }
.s-changelog { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 14px; }
.s-side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.s-side-card h3 { font-size: 18px; margin-top: 0; }
.s-side-card p { color: var(--muted); font-size: 14px; }
.s-meta-list { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.s-meta-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.s-meta-list span { color: var(--muted); }

/* قیمت‌گذاری */
.s-pricing-wrap { display: flex; justify-content: center; }
.s-price-card { background: var(--card); border: 2px solid var(--wp-blue); border-radius: 18px; padding: 34px; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.s-price-name { font-size: 18px; font-weight: 700; color: var(--muted); }
.s-price-amount { font-size: 44px; font-weight: 800; color: var(--ink); margin: 8px 0 2px; }
.s-price-amount span { font-size: 18px; font-weight: 600; color: var(--muted); }
.s-price-period { color: var(--muted); margin-bottom: 16px; }
.s-price-desc { color: var(--muted); font-size: 14px; }
.s-price-feat { list-style: none; padding: 18px 0; margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: right; display: grid; gap: 10px; }
.s-price-feat li { color: #2c3338; }

/* تماس */
.s-contact-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.s-contact-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.s-contact-info h2 { font-size: 20px; margin-top: 0; }
.s-contact-info p { margin: 10px 0; }
.s-contact-form form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.s-contact-form label { display: block; font-weight: 700; margin-bottom: 14px; font-size: 14px; }
.s-contact-form input, .s-contact-form textarea {
	width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px;
	padding: 11px 14px; font-family: inherit; font-size: 15px; background: #fff;
}
.s-contact-form input:focus, .s-contact-form textarea:focus { outline: none; border-color: var(--wp-blue); box-shadow: 0 0 0 3px rgba(34,113,177,.12); }
.s-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* هشدارها */
.s-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.s-alert-ok { background: #e6f6ee; color: var(--ok); border: 1px solid #b9e6cd; }
.s-alert-err { background: #fcebea; color: #b3261e; border: 1px solid #f3c0bd; }
.s-empty { text-align: center; color: var(--muted); padding: 40px; }

/* پاورقی */
.s-footer { background: #1d2327; color: #c3c4c7; padding: 40px 0 0; margin-top: 40px; }
.s-footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.s-footer .s-logo { color: #fff; }
.s-foot-brand p { color: #a7aaad; margin: 8px 0 0; max-width: 340px; font-size: 14px; }
.s-foot-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.s-foot-links a { color: #c3c4c7; padding: 6px 10px; }
.s-foot-links a:hover { color: #fff; }
.s-copy { border-top: 1px solid #2c3338; padding: 18px 0; text-align: center; font-size: 13px; color: #a7aaad; }

/* ریسپانسیو */
@media (max-width: 880px) {
	.s-features, .s-grid { grid-template-columns: 1fr 1fr; }
	.s-single-grid { grid-template-columns: 1fr; }
	.s-contact-grid { grid-template-columns: 1fr; }
	.s-nav { display: none; }
	.s-hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
	.s-features, .s-grid { grid-template-columns: 1fr; }
	.s-form-row { grid-template-columns: 1fr; }
	.s-hero { padding: 50px 0 40px; }
}

/* تب‌های دسته‌بندی سایت */
.s-tabs { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px; border-radius: 14px; margin-bottom: 26px; box-shadow: var(--shadow); }
.s-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; padding: 10px 18px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .15s; }
.s-tab:hover { color: var(--ink); background: var(--bg); }
.s-tab.is-active { background: var(--wp-blue); color: #fff; }
.s-tab-count { background: rgba(0,0,0,.08); padding: 1px 9px; border-radius: 999px; font-size: 12px; }
.s-tab.is-active .s-tab-count { background: rgba(255,255,255,.25); }
.s-panel { display: none; }
.s-panel.is-active { display: block; animation: sFade .2s ease; }
@keyframes sFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.s-sr-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* مسیر راهنما */
.s-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.s-breadcrumb a { color: var(--wp-blue); }

/* فوتر: نمادها و لوگوهای دستاورد */
.s-trust { background: #fff; border-top: 1px solid var(--line); padding: 26px 0; }
.s-trust-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; }
.s-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.s-logos img { max-height: 80px; width: auto; filter: grayscale(.1); transition: transform .15s; }
.s-logos a:hover img { transform: scale(1.05); }
.s-badges-code { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.s-badges-code img { max-height: 100px; width: auto; }
