/* ==========================================================================
   Mizbandade theme – main stylesheet (light + dark)
   ========================================================================== */

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-wght.woff2") format("woff2-variations"), url("../fonts/Vazirmatn-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--blue: #1e90ff;          /* رنگ سازمانی */
	--blue-300: #84c0ff;
	--blue-400: #4fa6ff;
	--blue-600: #0b74e5;
	--blue-700: #095cbb;
	--green: #10b981;
	--amber: #f59e0b;
	--red: #ef4444;
	--navy: #071a33;
	--navy-2: #0b2547;

	--bg: #ffffff;
	--bg-soft: #f4f8fe;
	--surface: #ffffff;
	--surface-2: #f7faff;
	--text: #0f1f36;
	--muted: #5a6b85;
	--line: #e3ebf6;
	--line-strong: #cfdcee;
	--tint: #eef6ff;          /* blue-50 */
	--tint-2: #d9ebff;        /* blue-100 */
	--tint-3: #b6d9ff;        /* blue-200 */
	--brand-text: #095cbb;
	--link: #0b74e5;
	--header-bg: rgba(255, 255, 255, .82);
	--header-bg-solid: rgba(255, 255, 255, .95);
	--dot: rgba(30, 144, 255, .14);
	--map-land: #b9cde6;
	--code-bg: #0b1f3a;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(15, 31, 54, .06), 0 2px 8px rgba(15, 31, 54, .04);
	--shadow: 0 10px 30px -12px rgba(12, 74, 145, .22);
	--shadow-lg: 0 30px 60px -20px rgba(12, 74, 145, .32);
	--grad: linear-gradient(135deg, #3fa4ff 0%, #1e90ff 45%, #0b6ad6 100%);

	--font: "Vazirmatn", "IRANYekan", Tahoma, system-ui, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--container: 1200px;
	--header-h: 74px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #0a1220;
	--bg-soft: #0e1829;
	--surface: #111d31;
	--surface-2: #15233a;
	--text: #e6edf7;
	--muted: #93a4bd;
	--line: #1f2f48;
	--line-strong: #2b3e5c;
	--tint: rgba(30, 144, 255, .12);
	--tint-2: rgba(30, 144, 255, .22);
	--tint-3: rgba(30, 144, 255, .38);
	--brand-text: #7cbcff;
	--link: #5aafff;
	--header-bg: rgba(10, 18, 32, .78);
	--header-bg-solid: rgba(10, 18, 32, .94);
	--dot: rgba(124, 188, 255, .10);
	--map-land: #2a3d5c;
	--code-bg: #060d18;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--shadow: 0 12px 32px -14px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
	margin: 0; direction: rtl; font-family: var(--font); font-size: 16px; line-height: 1.85;
	color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	transition: background-color .25s, color .25s;
}
img, svg, video { max-width: 100%; height: auto; }
svg.icon { flex-shrink: 0; vertical-align: middle; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4, h5, h6 { line-height: 1.45; margin: 0 0 .6em; font-weight: 800; color: var(--text); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mono { font-family: var(--mono); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 860px); }
.center { text-align: center; margin-top: 32px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; right: 8px; z-index: 999; background: var(--surface); padding: 8px 16px; border-radius: 8px; box-shadow: var(--shadow); }

/* ---------- Buttons & badges ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.4; cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px rgba(30, 144, 255, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(30, 144, 255, .8); }
.btn--light { background: var(--surface); color: var(--brand-text); border-color: var(--tint-2); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--brand-text); border-color: var(--blue-300); }
.btn--ghost { background: var(--tint); color: var(--brand-text); border-color: var(--tint-2); }
.btn--ghost:hover { background: var(--tint-2); color: var(--brand-text); }
.btn--white { background: #fff; color: #095cbb; }
.btn--white:hover { color: #0c4a91; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); }
.btn--outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { background: var(--surface-2); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: not-allowed; transform: none; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(-3px); }

.badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
	background: var(--surface); color: var(--brand-text); border: 1px solid var(--tint-2); box-shadow: var(--shadow-sm);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--tint); color: var(--brand-text); }
.pill--green { background: rgba(16, 185, 129, .12); color: #0b9b6c; }
.pill--gray { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
[data-theme="dark"] .pill--green { color: #34d399; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--tint); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; direction: ltr; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--header-bg);
	-webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background-color .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(12, 74, 145, .25); background: var(--header-bg-solid); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.site-header__brand { flex-shrink: 0; }
.site-header__brand img, .custom-logo { max-height: 46px; width: auto; display: block; }
[data-theme="dark"] .custom-logo { filter: brightness(1.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 20px; }
.brand:hover { color: var(--text); }
.brand__mark { width: 40px; height: 40px; }

.nav { flex: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; }
.nav__list > li > a:hover, .nav__list > li:focus-within > a, .nav__list > li.current-menu-item > a, .nav__list > li.current-menu-ancestor > a { color: var(--link); background: var(--tint); }
.nav__caret { transition: transform .2s; opacity: .6; }
.nav__list > li:hover .nav__caret { transform: rotate(180deg); }
.sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); right: 0; min-width: 540px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list > li:nth-last-child(-n+3) > .sub-menu { min-width: 280px; grid-template-columns: 1fr; }
.sub-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.sub-menu a:hover { background: var(--tint); }
.sub-menu__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; background: var(--tint); color: var(--blue); transition: background-color .2s, color .2s; }
.sub-menu a:hover .sub-menu__icon { background: var(--blue); color: #fff; }
.sub-menu__body { display: flex; flex-direction: column; line-height: 1.5; }
.sub-menu__title { font-weight: 700; font-size: 14.5px; }
.sub-menu__desc { font-size: 12.5px; color: var(--muted); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--text); font-weight: 700; font-size: 14px; direction: ltr; }
.header-phone .icon { color: var(--blue); }
.header-phone:hover { background: var(--tint); color: var(--brand-text); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--blue-300); color: var(--blue); }
.theme-toggle .icon--sun { display: none; }
[data-theme="dark"] .theme-toggle .icon--sun { display: block; }
[data-theme="dark"] .theme-toggle .icon--moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 56px 0 36px; overflow: hidden; isolation: isolate; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0 / 26px 26px, linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; width: 520px; height: 520px; background: #8cc8ff; top: -220px; left: -120px; }
[data-theme="dark"] .hero__glow { background: #1e5aa8; opacity: .35; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.35; font-weight: 900; margin: 18px 0 16px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(40%); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-40%); }
.hero__text { font-size: 17px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions.center { justify-content: center; }
.hero__price { margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero__price strong { color: var(--text); font-size: 18px; font-weight: 900; }
.hero__checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks .icon { color: var(--green); }

/* Realistic client-area mock */
.panel-mock { position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; direction: rtl; font-size: 13px; }
.panel-mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); direction: ltr; }
.panel-mock__dots { display: flex; gap: 6px; }
.panel-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.panel-mock__dots i:nth-child(2) { background: #febc2e; }
.panel-mock__dots i:nth-child(3) { background: #28c840; }
.panel-mock__url { flex: 1; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.panel-mock__url .icon { color: var(--green); }
.panel-mock__body { display: grid; grid-template-columns: 52px 1fr; min-height: 360px; }
.panel-mock__side { background: var(--surface-2); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; }
.panel-mock__side span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); }
.panel-mock__side span.is-active { background: var(--tint); color: var(--blue); }
.panel-mock__main { padding: 16px; display: grid; gap: 12px; align-content: start; }
.panel-mock__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-mock__title { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.panel-mock__server { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.panel-mock__os { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #e95420; color: #fff; font-weight: 900; font-size: 12px; font-family: var(--mono); }
.panel-mock__meta { line-height: 1.6; min-width: 0; }
.panel-mock__meta strong { font-family: var(--mono); font-size: 13px; }
.panel-mock__meta small { display: block; color: var(--muted); font-size: 11.5px; direction: ltr; text-align: right; }
.panel-mock__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.panel-mock__spec { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.4; }
.panel-mock__spec small { display: block; color: var(--muted); font-size: 11px; }
.panel-mock__spec b { font-family: var(--mono); font-size: 12.5px; }
.panel-mock__spec b, .panel-mock__chart-head b, .plan-card__specs b, .price-card__specs b, .ptable__val { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ptable__val { display: table-cell; }
.panel-mock__charts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.panel-mock__chart { padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.panel-mock__chart-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.panel-mock__chart-head b { color: var(--text); font-family: var(--mono); }
.panel-mock__chart svg { display: block; width: 100%; height: 54px; margin-top: 6px; }
.panel-mock__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.panel-mock__actions span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--text); background: var(--surface-2); }
.spark-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.spark-fill { fill: url(#mzSpark); }
.spark-line--green { stroke: var(--green); }
.hero__visual { position: relative; }
.hero__toast { position: absolute; bottom: -18px; right: -14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; animation: floaty 6s ease-in-out infinite; }
.hero__toast-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(16, 185, 129, .14); color: var(--green); }
.hero__toast small { display: block; color: var(--muted); font-size: 11.5px; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Quick cards */
.quick-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.quick-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-3); color: var(--text); }
.quick-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(30, 144, 255, .8); }
.quick-card__body { display: flex; flex-direction: column; min-width: 0; }
.quick-card__title { font-size: 16px; margin: 0; }
.quick-card__text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.quick-card__arrow { margin-inline-start: auto; color: var(--blue-300); transition: transform .2s, color .2s; }
.quick-card:hover .quick-card__arrow { color: var(--blue); transform: translateX(-4px); }

/* Stats */
.stats { padding: 20px 0 8px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--grad); border-radius: var(--radius-lg); padding: 26px 12px; color: #fff; box-shadow: 0 20px 40px -22px rgba(30, 144, 255, .7); }
.stat { text-align: center; }
.stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .22); }
.stat__value { display: block; font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; line-height: 1.3; direction: ltr; }
.stat__value small { font-size: .6em; opacity: .85; margin-inline-start: 2px; }
.stat__label { font-size: 14px; opacity: .92; }

/* Tech strip */
.tech { padding: 30px 0 8px; }
.tech__label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.tech__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tech__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; direction: ltr; }
.os-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #fff; font-size: 11px; font-weight: 900; font-family: var(--mono); background: var(--c, #64748b); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 44px; }
.section-head__title { font-size: clamp(23px, 3vw, 34px); font-weight: 900; margin-bottom: 10px; }
.section-head__sub { color: var(--muted); font-size: 16px; margin: 0; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: start; max-width: none; gap: 16px; }
.section-head--row .section-head__title { margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--tint-2); color: var(--text); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; background: var(--tint); color: var(--blue); transition: background .3s, color .3s; }
.service-card:hover .service-card__icon { background: var(--grad); color: #fff; }
.service-card__title { font-size: 18px; margin-bottom: 6px; }
.service-card__text { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--link); }

/* Features (dark band) */
.section--dark { background: radial-gradient(1000px 500px at 85% -10%, #12407a 0%, transparent 60%), linear-gradient(180deg, var(--navy-2), var(--navy)); color: #c9d8ee; overflow: hidden; }
[data-theme="dark"] .section--dark { background: radial-gradient(1000px 500px at 85% -10%, #0f3463 0%, transparent 60%), linear-gradient(180deg, #08162c, #050d1a); border-block: 1px solid var(--line); }
.section--dark__grid { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(132, 192, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 192, 255, .08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.section--dark .section-head__title, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { background: rgba(30, 144, 255, .16); color: var(--blue-300); }
.section--dark .section-head__sub { color: #9fb3cf; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.feature { padding: 28px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(132, 192, 255, .14); transition: transform .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(132, 192, 255, .4); }
.feature__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; margin-bottom: 20px; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(30, 144, 255, .9); }
.feature__title { font-size: 19px; }
.feature__text { font-size: 14.5px; line-height: 2; margin: 0; }

/* Light feature grid (landing pages) */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 24px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.benefit:hover { border-color: var(--tint-3); box-shadow: var(--shadow); transform: translateY(-4px); }
.benefit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--blue); margin-bottom: 14px; }
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.95; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; right: 12%; left: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--tint-3) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; counter-increment: step; }
.step__icon { position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm); }
.step__icon::after { content: counter(step, persian); position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.step h3 { font-size: 16.5px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Tabs */
.tabs__list { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; cursor: pointer; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--muted); transition: all .2s; }
.tabs__tab:hover { color: var(--brand-text); border-color: var(--tint-3); }
.tabs__tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(30, 144, 255, .85); }
.tabs__list--pill { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px; display: flex; width: fit-content; max-width: 100%; margin-inline: auto; flex-wrap: nowrap; overflow-x: auto; }
.tabs__list--pill .tabs__tab { border: 0; border-radius: 999px; background: transparent; padding: 9px 20px; white-space: nowrap; }
.tabs__list--pill .tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--brand-text); box-shadow: var(--shadow-sm); }
.tabs__panel { animation: fadeUp .45s var(--ease); }
.tabs__panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Plans: table ---------- */
.plans__note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .28); color: var(--text); font-size: 14px; margin: 0 auto 20px; max-width: 900px; }
.plans__note .icon { color: var(--amber); margin-top: 3px; }
.plans__foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.ptable-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.ptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ptable th { text-align: start; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tbody tr { transition: background-color .15s; }
.ptable tbody tr:hover { background: var(--tint); }
.ptable__name { font-family: var(--mono); font-weight: 800; font-size: 14px; direction: ltr; text-align: right; white-space: nowrap; }
.ptable__val { font-weight: 700; direction: ltr; text-align: right; unicode-bidi: plaintext; }
.ptable__price { font-weight: 900; color: var(--text); white-space: nowrap; }
.ptable__price small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.ptable__price .price-line { display: block; }
.ptable__action { text-align: end; width: 1%; white-space: nowrap; }
.ptable tr.is-off { opacity: .62; }

/* ---------- Plans: cards ---------- */
.period-switch { display: flex; justify-content: center; margin: 0 auto 26px; }
.plan-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .plan-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.plan-card:hover { border-color: var(--tint-3); box-shadow: var(--shadow); transform: translateY(-4px); }
.plan-card.is-off { opacity: .7; }
.plan-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.plan-card__name { font-family: var(--mono); font-weight: 900; font-size: 17px; direction: ltr; margin: 0; }
.plan-card__price { padding: 14px 0; border-block: 1px dashed var(--line); margin-bottom: 14px; }
.plan-card__price b { font-size: 24px; font-weight: 900; }
.plan-card__price small { color: var(--muted); font-size: 13px; margin-inline-start: 4px; }
.plan-card__price [data-period] { display: none; }
.plan-card__price [data-period].is-on { display: block; }
.plan-card__specs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.plan-card__specs li { display: flex; justify-content: space-between; gap: 10px; }
.plan-card__specs span { color: var(--muted); }
.plan-card__specs b { font-weight: 700; text-align: left; direction: ltr; unicode-bidi: plaintext; }
.plan-card__more summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--link); margin-bottom: 10px; list-style: none; }
.plan-card__more summary::-webkit-details-marker { display: none; }
.plan-card .btn { margin-top: auto; }

/* ---------- Landing hero ---------- */
.lhero { position: relative; padding: 36px 0 56px; overflow: hidden; isolation: isolate; }
.lhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0 / 24px 24px, linear-gradient(180deg, var(--tint), var(--bg)); }
.lhero__inner { display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: center; margin-top: 18px; }
.lhero__title { font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; margin: 0 0 14px; }
.lhero__intro { color: var(--muted); font-size: 16px; text-align: justify; }
.lhero__intro p:last-child { margin: 0; }
.lhero__intro.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { background: none; border: 0; padding: 0; color: var(--link); font-weight: 700; cursor: pointer; margin-top: 6px; }
.lhero__badges { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lhero__badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.lhero__badges .icon { color: var(--green); }
.price-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.price-card__label { color: var(--muted); font-size: 14px; }
.price-card__value { font-size: 30px; font-weight: 900; line-height: 1.4; }
.price-card__value small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card__plan { display: flex; align-items: center; justify-content: space-between; margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.price-card__plan b { font-family: var(--mono); direction: ltr; }
.price-card__specs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-card__specs li { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.price-card__specs small { display: block; color: var(--muted); font-size: 11.5px; }
.price-card__specs b { direction: ltr; unicode-bidi: plaintext; }
.price-card__actions { display: grid; gap: 8px; }
.price-card__contact { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 10px; }

.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--link); }
.crumbs [aria-current] { color: var(--text); font-weight: 700; }

/* Jump nav for landing pages */
.jumpnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--header-bg-solid); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .jumpnav { top: calc(var(--header-h) + 32px); }
.jumpnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.jumpnav a { display: block; padding: 12px 14px; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.jumpnav a:hover, .jumpnav a.is-active { color: var(--brand-text); border-color: var(--blue); }

/* OS grid */
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.os-item { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; direction: ltr; transition: border-color .2s, transform .2s var(--ease); }
.os-item:hover { border-color: var(--tint-3); transform: translateY(-3px); }
.os-item .os-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }

/* Data tables (bandwidth / resources) */
.dtables { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dtable { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.dtable__head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dtable__head h3 { font-size: 17px; margin: 0; }
.dtable__head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.dtable table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dtable th { text-align: start; padding: 10px 18px; background: var(--surface-2); color: var(--muted); font-size: 13px; }
.dtable td { padding: 11px 18px; border-top: 1px solid var(--line); }
.dtable td:last-child { font-weight: 800; }

/* Info sections & article */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.info-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.info-card h2, .info-card h3 { font-size: 19px; margin-bottom: 10px; }
.info-card p { color: var(--muted); text-align: justify; line-height: 2.05; }
.info-card p:last-child { margin-bottom: 0; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--tint-2); font-size: 13.5px; font-weight: 700; color: var(--brand-text); }
.chips .icon { color: var(--green); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.checklist .icon { color: var(--green); }

.article { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 70px); padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); max-height: calc(100vh - var(--header-h) - 100px); overflow: auto; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); border-inline-start: 2px solid transparent; }
.toc a:hover, .toc a.is-active { color: var(--brand-text); background: var(--tint); border-color: var(--blue); }
.article__body.is-collapsed { max-height: 640px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.article__more { text-align: center; margin-top: 12px; }

/* Related & links */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.link-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.link-card:hover { color: var(--text); border-color: var(--tint-3); box-shadow: var(--shadow); transform: translateY(-4px); }
.link-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.link-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--blue); flex-shrink: 0; }
.link-card h3 { font-size: 17.5px; margin: 0; }
.link-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-card__from { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--muted); }
.link-card__from b { color: var(--text); }
.link-card__from .icon { color: var(--link); }

/* Consult CTA (light) */
.consult { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--tint), var(--surface)); border: 1px solid var(--tint-2); }
.consult__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; flex-shrink: 0; }
.consult__body { flex: 1; min-width: 240px; }
.consult__body h2 { font-size: 20px; margin-bottom: 4px; }
.consult__body p { margin: 0; color: var(--muted); }
.consult__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Network diagram (CDN) */
.netdiag { width: 100%; height: auto; display: block; }
.netdiag text { font-family: var(--font); font-weight: 700; fill: var(--text); }
.netdiag .nd-node { fill: var(--surface); stroke: var(--line-strong); }
.netdiag .nd-edge { fill: var(--tint); stroke: var(--blue); }
.netdiag .nd-line { stroke: var(--tint-3); stroke-width: 2; fill: none; }
.netdiag .nd-flow { stroke: var(--blue); stroke-width: 2.5; fill: none; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
.netdiag .nd-muted { fill: var(--muted); font-weight: 500; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* ---------- World map ---------- */
.dc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.dc__content p { color: var(--muted); text-align: justify; }
.dc__quote { padding: 14px 18px; border-inline-start: 4px solid var(--blue); background: var(--surface); border-radius: 12px; font-weight: 700; color: var(--text) !important; box-shadow: var(--shadow-sm); }
.dc__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc__list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); line-height: 1.45; }
.dc__list small { display: block; color: var(--muted); font-size: 12px; }
.dc__flag { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue); font-weight: 900; font-size: 12px; font-family: var(--mono); flex-shrink: 0; }
.dc__flag--ir { background: rgba(16, 185, 129, .14); color: #0b9b6c; }
[data-theme="dark"] .dc__flag--ir { color: #34d399; }
.wmap { position: relative; width: 100%; aspect-ratio: 1000 / 372; }
.wmap__layer { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.wmap__land { background: var(--map-land); -webkit-mask-image: var(--land); mask-image: var(--land); }
.wmap__iran { background: var(--blue); -webkit-mask-image: var(--iran); mask-image: var(--iran); }
.wmap__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wmap__arc { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 6; opacity: .85; animation: dash 2.2s linear infinite; vector-effect: non-scaling-stroke; }
.wmap__pin { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); border: 2.5px solid var(--surface); box-shadow: 0 2px 8px rgba(12, 74, 145, .4); }
.wmap__pin--ir { background: var(--green); }
.wmap__pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid currentColor; color: var(--blue); opacity: 0; animation: ripple 2.4s calc(var(--i) * .4s) infinite; }
.wmap__pin--ir::after { color: var(--green); }
@keyframes ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.wmap__label { position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 800; background: var(--surface); color: var(--text); border: 1px solid var(--line); padding: 2px 8px; border-radius: 7px; box-shadow: var(--shadow-sm); }
.wmap__pin--below .wmap__label { bottom: auto; top: calc(100% + 7px); }
.wmap__pin--left .wmap__label { bottom: auto; top: 50%; left: auto; right: calc(100% + 7px); transform: translateY(-50%); }
.wmap__pin--right .wmap__label { bottom: auto; top: 50%; left: calc(100% + 7px); transform: translateY(-50%); }
.status-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.status-card:hover { color: var(--text); border-color: var(--tint-3); }
.status-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; flex-shrink: 0; }
.status-card small { display: block; color: var(--muted); }
.status-card .icon { margin-inline-start: auto; color: var(--link); }

/* FAQ */
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--tint-3); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 22px; font-weight: 700; font-size: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; background: var(--tint); color: var(--blue); transition: transform .25s var(--ease), background .2s, color .2s; }
.faq__item[open] .faq__toggle { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq__answer { padding: 0 22px 18px; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 .icon { color: var(--blue); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--blue-300); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-card__title { font-size: 16.5px; line-height: 1.75; margin: 8px 0 14px; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--link); }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .icon { color: var(--blue-400); }

/* CTA (gradient) */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 38px 42px; border-radius: 26px; background: var(--grad); color: #fff; box-shadow: 0 30px 60px -28px rgba(30, 144, 255, .9); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.cta::before { width: 380px; height: 380px; left: -120px; top: -180px; }
.cta::after { width: 260px; height: 260px; left: -40px; top: -100px; }
.cta__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); flex-shrink: 0; }
.cta__body { flex: 1; min-width: 240px; position: relative; }
.cta__title { color: #fff !important; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 4px; }
.cta__body p { margin: 0; opacity: .92; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.cta__hours { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; opacity: .95; }

/* ---------- Contact / about ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.contact-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 14px; }
.contact-card h2 { font-size: 18px; margin-bottom: 4px; }
.contact-card__hours { display: flex; gap: 6px; color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.contact-card__hours .icon { flex-shrink: 0; margin-top: 4px; }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-card li a, .contact-card li span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 14px; }
.contact-card li a:hover { border-color: var(--tint-3); color: var(--brand-text); }
.contact-card li .icon { color: var(--blue); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0; }
.counter { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.counter b { display: block; font-size: 36px; font-weight: 900; line-height: 1.3; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.counter span { color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.person { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.person__avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-size: 20px; flex-shrink: 0; }
.person h3 { font-size: 16.5px; margin: 0; }
.person p { margin: 0; color: var(--muted); font-size: 14px; }
.prose { font-size: 16.5px; line-height: 2.1; }
.prose p { text-align: justify; }
.rules { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { position: relative; padding: 14px 54px 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); line-height: 2; }
.rules li::before { counter-increment: r; content: counter(r, persian); position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; border-radius: 9px; background: var(--tint); color: var(--brand-text); font-weight: 900; display: grid; place-items: center; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb3cf; padding-top: 70px; font-size: 14.5px; position: relative; overflow: hidden; }
[data-theme="dark"] .site-footer { background: #050c18; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.site-footer a { color: #c5d4ea; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .custom-logo { max-height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer__top { display: grid; grid-template-columns: 1.05fr 2fr; gap: 48px; padding-bottom: 40px; }
.footer__about p { margin: 16px 0 22px; line-height: 2.05; text-align: justify; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact small { display: block; color: #7d93b3; font-size: 12.5px; }
.footer__contact-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(30, 144, 255, .14); color: var(--blue-300); flex-shrink: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer__title { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer__title::after { content: ""; position: absolute; right: 0; bottom: 0; width: 24px; height: 3px; border-radius: 3px; background: var(--blue); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__links a { display: inline-block; transition: color .2s, transform .2s; }
.footer__links a:hover { transform: translateX(-4px); }
.footer__mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__social { display: flex; align-items: center; gap: 10px; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.social:hover { transform: translateY(-3px); color: #fff; }
.social--whatsapp:hover { background: #25d366; }
.social--telegram:hover { background: #229ed9; }
.social--instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.footer__namad { display: flex; align-items: center; gap: 16px; }
.footer__namad strong { display: block; color: #fff; }
.footer__namad small { color: #7d93b3; }
.site-footer .btn--ghost { background: rgba(30, 144, 255, .14); border-color: rgba(30, 144, 255, .3); color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7d93b3; }
.footer__bottom p { margin: 0; }
.float-support { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: 0 12px 28px -8px rgba(30, 144, 255, .8); transition: transform .2s; }
.float-support:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Blog / inner ---------- */
.page-hero { padding: 48px 0 36px; background: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0 / 24px 24px, linear-gradient(180deg, var(--tint), var(--bg)); text-align: center; }
.page-hero .crumbs ol { justify-content: center; }
.page-hero__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin: 12px 0; }
.page-hero__sub { color: var(--muted); max-width: 680px; margin-inline: auto; }
.page-hero--post .post-meta { justify-content: center; }
.page-hero__search, .notfound__search { max-width: 520px; margin: 20px auto 0; }
.search-form { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-sm); }
.search-form:focus-within { border-color: var(--blue-300); box-shadow: 0 0 0 4px rgba(30, 144, 255, .12); }
.search-form__input { flex: 1; border: 0; background: transparent; padding: 8px 12px; outline: 0; min-width: 0; }
.search-form__btn { border: 0; background: var(--grad); color: #fff; border-radius: 10px; width: 44px; display: grid; place-items: center; cursor: pointer; }
.single__thumb { margin: -8px 0 32px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.single__thumb img { display: block; width: 100%; }
.entry-content { font-size: 17px; line-height: 2.1; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2 { font-size: 25px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content img { border-radius: 14px; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--tint-3); text-underline-offset: 4px; }
.entry-content blockquote { margin-inline: 0; padding: 16px 22px; background: var(--tint); border-inline-start: 4px solid var(--blue); border-radius: 12px; }
.entry-content pre, .entry-content code { direction: ltr; text-align: left; font-family: var(--mono); font-size: .9em; }
.entry-content pre { background: var(--code-bg); color: #d6e4f7; padding: 18px; border-radius: 14px; overflow: auto; }
.entry-content :not(pre) > code { background: var(--tint); padding: 2px 6px; border-radius: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; }
.entry-content th { background: var(--bg-soft); }
.single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.single__tags a { padding: 4px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 700; }
.single__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.single__nav-item a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 700; background: var(--surface); }
.single__nav-item a:hover { border-color: var(--tint-3); box-shadow: var(--shadow-sm); }
.single__nav-item small { display: block; color: var(--muted); font-weight: 500; }
.single__nav-item--next { text-align: left; grid-column: 2; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-weight: 700; background: var(--surface); }
.page-numbers.current, .page-numbers:hover { background: var(--grad); color: #fff; border-color: transparent; }
.comments { margin: 48px 0; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: var(--surface); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--blue-300); box-shadow: 0 0 0 4px rgba(30, 144, 255, .12); }
.empty, .notfound { text-align: center; color: var(--muted); padding: 48px 0; }
.notfound { padding: 80px 0; }
.notfound__code { font-size: clamp(90px, 18vw, 180px); font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.widget { margin-bottom: 28px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: 100vw; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav__list > li > a { padding: 10px 9px; font-size: 14.5px; }
	.header-phone span { display: none; }
	.service-grid, .feature-grid, .post-grid, .benefits { grid-template-columns: repeat(2, 1fr); }
	.quick-cards { grid-template-columns: repeat(2, 1fr); }
	.footer__top { grid-template-columns: 1fr; }
	.article { grid-template-columns: 1fr; }
	.toc { position: static; max-height: none; }
}
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.nav-toggle { display: grid; }
	.nav {
		/* absolute (not fixed): the header's backdrop-filter makes it the containing block */
		position: absolute; top: 100%; right: 0; left: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
		z-index: 99; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line);
		padding: 16px; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	}
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav__list > li > a { justify-content: space-between; padding: 14px; font-size: 16px; border-radius: 12px; }
	.nav__list > li:hover .nav__caret { transform: none; }
	.nav__list > li.is-open > a { background: var(--tint); color: var(--brand-text); }
	.nav__list > li.is-open .nav__caret { transform: rotate(180deg); }
	.sub-menu, .nav__list > li:nth-last-child(-n+3) > .sub-menu { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 8px; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; }
	.nav__list > li:hover > .sub-menu, .nav__list > li:focus-within > .sub-menu { display: none; }
	.nav__list > li.is-open > .sub-menu { display: grid; }
	.hero__inner, .lhero__inner, .dc { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
	.hero__toast { right: 8px; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.steps::before { display: none; }
	.section { padding: 64px 0; }
	.footer__cols { grid-template-columns: repeat(3, 1fr); }
	.ptable thead { display: none; }
	.ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
	.ptable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
	.ptable tr:last-child { border-bottom: 0; }
	.ptable td { padding: 0; border: 0; }
	.ptable td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
	.ptable td.ptable__name { grid-column: 1 / -1; font-size: 16px; text-align: right; }
	.ptable td.ptable__price { grid-column: 1 / -1; padding-top: 6px; border-top: 1px dashed var(--line); }
	.ptable td.ptable__action { grid-column: 1 / -1; width: auto; }
	.ptable td.ptable__action .btn { width: 100%; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.site-header__actions .btn span { display: none; }
	.site-header__actions .btn { padding: 10px; }
	.header-phone { display: none; }
	.quick-cards, .service-grid, .feature-grid, .post-grid, .post-grid--3, .benefits { grid-template-columns: 1fr; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
	.stat:nth-child(3) { border-inline-start: 0; }
	.footer__cols { grid-template-columns: repeat(2, 1fr); }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.cta { padding: 28px 22px; text-align: center; justify-content: center; }
	.cta__actions, .cta__actions .btn { width: 100%; }
	.tabs__list:not(.tabs__list--pill) { flex-direction: column; }
	.single__nav { grid-template-columns: 1fr; }
	.single__nav-item--next { grid-column: auto; }
	.footer__bottom { flex-direction: column; text-align: center; }
	.float-support { width: 50px; height: 50px; left: 14px; bottom: 14px; }
	.panel-mock__specs { grid-template-columns: repeat(2, 1fr); }
	.panel-mock__body { grid-template-columns: 1fr; }
	.panel-mock__side { display: none; }
	.dc__list { grid-template-columns: 1fr; }
	.counters { grid-template-columns: 1fr; }
	.wmap__label { font-size: 10px; padding: 1px 5px; }
	.consult { padding: 22px; }
}
/* ==========================================================================
   v2: robust buttons, top bar, mega menu, brand icons, configurator,
   site builder pages, templates catalog, trust seals
   ========================================================================== */

/* Buttons keep their colors even if a plugin styles links/buttons globally */
a.btn, a.btn:hover, a.btn:focus, a.btn:visited { text-decoration: none !important; }
.btn--primary, .btn--primary:hover, .btn--primary:focus, .btn--primary:visited { color: #fff !important; }
.btn--light, .btn--light:hover, .btn--light:focus, .btn--light:visited { color: var(--brand-text) !important; }
.btn--ghost, .btn--ghost:hover, .btn--ghost:focus, .btn--ghost:visited { color: var(--brand-text) !important; }
.btn--white, .btn--white:hover, .btn--white:focus, .btn--white:visited { color: #095cbb !important; }
.btn--outline-white, .btn--outline-white:hover { color: #fff !important; }
.site-footer .btn--ghost, .site-footer .btn--ghost:hover { color: #fff !important; }
.btn[aria-disabled="true"] { color: var(--muted) !important; }
button.tabs__tab, button.icon-btn, button.read-more, button.search-form__btn { font-family: var(--font); text-transform: none; letter-spacing: 0; box-shadow: none; }
button.tabs__tab { background: var(--surface) !important; color: var(--muted) !important; border: 1px solid var(--line) !important; }
button.tabs__tab:hover { color: var(--brand-text) !important; }
button.tabs__tab[aria-selected="true"] { background: var(--grad) !important; color: #fff !important; border-color: transparent !important; }
.tabs__list--pill button.tabs__tab { background: transparent !important; border: 0 !important; }
.tabs__list--pill button.tabs__tab[aria-selected="true"] { background: var(--surface) !important; color: var(--brand-text) !important; box-shadow: var(--shadow-sm); }
button.icon-btn { background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--line) !important; padding: 0 !important; }
button.icon-btn:hover { color: var(--blue) !important; border-color: var(--blue-300) !important; }
button.read-more { background: none !important; color: var(--link) !important; border: 0 !important; }
button.search-form__btn { background: var(--grad) !important; color: #fff !important; border: 0 !important; }

/* Top bar */
.topbar { background: var(--navy); color: #b8c7dc; font-size: 13px; position: relative; z-index: 101; }
[data-theme="dark"] .topbar { background: #050c18; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #b8c7dc; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--blue-300); }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__live { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; font-weight: 700; }

/* Header main bar */
.site-header__inner { min-height: 70px; }
.header-register { display: inline-flex; }
.nav__mobile-extra { display: none; }

/* Mega menu */
.nav__list > li.has-mega { position: static; }
.mega {
	position: absolute; top: 100%; right: 0; left: 0; z-index: 99;
	background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 50px -30px rgba(7, 26, 51, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s, transform .2s var(--ease), visibility 0s linear .2s;
}
.mega::before { content: ""; position: absolute; top: -26px; right: 0; left: 0; height: 26px; }
.nav__list > li.has-mega:hover > .mega, .nav__list > li.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding-block: 24px 26px; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.mega__item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; color: var(--text); border: 1px solid transparent; transition: background-color .15s, border-color .15s; height: 100%; }
.mega__item:hover { background: var(--tint); border-color: var(--tint-2); color: var(--text); }
.mega__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: var(--tint); color: var(--blue); transition: background-color .15s, color .15s; }
.mega__item:hover .mega__icon { background: var(--grad); color: #fff; }
.mega__body { display: flex; flex-direction: column; line-height: 1.55; min-width: 0; }
.mega__title { font-weight: 800; font-size: 14.5px; }
.mega__desc { font-size: 12.5px; color: var(--muted); }
.mega__from { margin-top: 4px; font-size: 12px; font-weight: 800; color: #0b9b6c; }
[data-theme="dark"] .mega__from { color: #34d399; }
.mega__feature { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: 18px; background: linear-gradient(160deg, var(--tint), var(--surface-2)); border: 1px solid var(--tint-2); }
.mega__feature strong { font-size: 16.5px; }
.mega__feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.mega__feature .btn { margin-top: auto; }
.mega__feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--grad); color: #fff; }
.mega__price { font-size: 13px; color: var(--muted); }
.mega__price b { color: var(--text); font-size: 16px; }
.mega__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.mega__thumbs img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); }

/* Brand icons */
.brand-icon { flex-shrink: 0; display: block; }
.tech__list li { direction: ltr; gap: 10px; padding: 8px 14px 8px 10px; }
.tech__list li .brand-icon { width: 26px; height: 26px; }
.os-item { gap: 12px; padding: 14px 16px; }
.os-item .brand-icon { width: 36px; height: 36px; }

/* Persian-digit prices */
.fa-num { font-feature-settings: "ss01"; }

/* ---------- Plan configurator (panel style) ---------- */
.cfg { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cfg__step { position: relative; padding-inline-start: 48px; margin-bottom: 26px; }
.cfg__step::before { content: ""; position: absolute; right: 15px; top: 34px; bottom: -26px; width: 2px; background: var(--line); }
.cfg__step:last-child::before { display: none; }
.cfg__num { position: absolute; right: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--blue); color: var(--blue); font-weight: 900; font-size: 14px; }
.cfg__title { font-size: 17px; margin: 2px 0 14px; }
.cfg__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cfg__opt { position: relative; display: block; cursor: pointer; }
.cfg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cfg__card { display: block; height: 100%; padding: 18px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.cfg__opt:hover .cfg__card { border-color: var(--tint-3); }
.cfg__opt input:checked + .cfg__card { border-color: var(--blue); background: linear-gradient(180deg, var(--tint), var(--surface)); box-shadow: 0 0 0 3px rgba(30, 144, 255, .15); }
.cfg__opt input:focus-visible + .cfg__card { outline: 3px solid var(--blue-300); }
.cfg__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); }
.cfg__name { font-weight: 800; font-size: 15px; }
.cfg__name small { font-family: var(--mono); color: var(--muted); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.cfg__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; position: relative; }
.cfg__opt input:checked + .cfg__card .cfg__radio { border-color: var(--blue); }
.cfg__opt input:checked + .cfg__card .cfg__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); }
.cfg__specs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.cfg__specs li { display: flex; justify-content: space-between; }
.cfg__specs span { color: var(--muted); }
.cfg__specs b { direction: ltr; unicode-bidi: isolate; font-weight: 700; }
.cfg__price { font-weight: 900; color: #0b9b6c; font-size: 17px; }
[data-theme="dark"] .cfg__price { color: #34d399; }
.cfg__price small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.cfg__period { text-align: center; }
.cfg__period .cfg__card { padding: 16px 12px; }
.cfg__period strong { display: block; font-size: 15px; }
.cfg__period .cfg__price { display: block; margin: 4px 0; }
.cfg__monthly { display: block; font-size: 12.5px; color: var(--muted); }
.cfg__save { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(16, 185, 129, .14); color: #0b9b6c; font-size: 12px; font-weight: 800; }
[data-theme="dark"] .cfg__save { color: #34d399; }
.cfg__best { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: #10b981; color: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; z-index: 1; }
.cfg__summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cfg__summary h3 { font-size: 16px; margin-bottom: 14px; }
.cfg__summary dl { margin: 0 0 16px; display: grid; gap: 10px; font-size: 14px; }
.cfg__summary dl div { display: flex; justify-content: space-between; gap: 10px; }
.cfg__summary dt { color: var(--muted); }
.cfg__summary dd { margin: 0; font-weight: 800; }
.cfg__total { padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cfg__total b { font-size: 22px; font-weight: 900; }
.cfg__note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Site builder pricing (fastpay) ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.pkg--featured { border: 1.5px solid var(--blue); box-shadow: 0 24px 50px -28px rgba(30, 144, 255, .7); }
.pkg__ribbon { position: absolute; top: -12px; right: 24px; padding: 3px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.pkg__level { color: var(--brand-text); font-weight: 800; font-size: 13.5px; }
.pkg__name { font-size: 22px; margin: 4px 0 2px; }
.pkg__host { color: var(--muted); font-size: 14px; }
.pkg__price { margin: 16px 0 2px; font-size: 28px; font-weight: 900; }
.pkg__renew { color: #0b9b6c; font-size: 13px; font-weight: 700; }
[data-theme="dark"] .pkg__renew { color: #34d399; }
.pkg__list { list-style: none; padding: 16px 0 0; margin: 16px 0 20px; border-top: 1px dashed var(--line); display: grid; gap: 9px; font-size: 14.5px; }
.pkg__list li { display: flex; gap: 8px; align-items: center; }
.pkg__list .icon { color: var(--green); }
.pkg .btn { margin-top: auto; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: start; }
.cmp thead th { background: var(--surface-2); font-weight: 800; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--green); }
.cmp .no { color: var(--muted); opacity: .6; }
.fgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fgroup { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fgroup h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.fgroup h3 .icon { color: var(--blue); }
.fgroup ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fgroup li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; }

/* ---------- Template catalog ---------- */
.tpl-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.tpl-search { flex: 1; max-width: 420px; }
.tpl-count { color: var(--muted); font-size: 14px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tpl-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.tpl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tpl-card__shot { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.tpl-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3s ease; }
.tpl-card:hover .tpl-card__shot img { object-position: bottom; }
.tpl-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tpl-card__body h3 { font-size: 16.5px; margin: 0; }
.tpl-card__body h3 a { color: var(--text); }
.tpl-card__use { color: var(--muted); font-size: 13.5px; }
.tpl-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tpl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tpl-gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.tpl-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl-browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.tpl-browser img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }

/* Trust seals */
.seals { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.seal { display: grid; place-items: center; width: 170px; min-height: 180px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.seal img { max-width: 130px; height: auto; cursor: pointer; }

@media (max-width: 1100px) {
	.topbar__links a:nth-child(-n+2) { display: none; }
	.mega__inner { grid-template-columns: 1fr; }
	.mega__feature { display: none; }
	.cfg { grid-template-columns: 1fr; }
	.cfg__summary { position: static; }
	.pkg-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 960px) {
	.topbar { display: none; }
	.header-register { display: none; }
	.nav__mobile-extra { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
	.nav__list > li.has-mega { position: relative; }
	.mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: transparent; transition: none; }
	.mega::before { display: none; }
	.nav__list > li.has-mega:hover > .mega, .nav__list > li.has-mega:focus-within > .mega { display: none; }
	.nav__list > li.has-mega.is-open > .mega { display: block; }
	.mega__inner { padding: 4px 0 8px; width: 100%; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__item { padding: 10px; }
}
@media (max-width: 640px) {
	.cfg__step { padding-inline-start: 40px; }
	.cfg__options { grid-template-columns: 1fr 1fr; }
	.cfg__options--plans { grid-template-columns: 1fr; }
	.seal { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Guard theme components against generic table/list styles from plugins */
.ptable, .dtable table, .cmp { border: 0 !important; margin: 0 !important; background: transparent; table-layout: auto; }
.ptable th, .ptable td, .dtable th, .dtable td, .cmp th, .cmp td { border-left: 0 !important; border-right: 0 !important; border-top: 0; background-color: transparent; vertical-align: middle; }
.ptable th, .dtable th, .cmp thead th { background-color: var(--surface-2) !important; }
.ptable tbody tr:nth-child(odd), .ptable tbody tr:nth-child(even), .cmp tbody tr:nth-child(odd), .dtable tbody tr:nth-child(odd) { background-color: transparent; }
.ptable tbody tr:hover { background-color: var(--tint) !important; }
.plan-card__specs, .cfg__specs, .pkg__list, .mega__grid, .chips, .checklist, .footer__links, .footer__contact { list-style: none !important; margin-inline: 0; padding-inline: 0; }
.plan-card__specs li, .cfg__specs li, .pkg__list li, .footer__links li { margin: 0; padding-inline: 0; }
