/* =========================================================================
   AppHub Elementor Widget – Frontend styles
   پیشوند: .apphub  |  راست‌چین
   ========================================================================= */

.apphub {
	--ah-primary: #6366f1;
	--ah-secondary: #d946ef;
	--ah-bg: #f8fafc;
	--ah-card: #ffffff;
	--ah-heading: #0f172a;
	--ah-text: #64748b;
	--ah-border: #e2e8f0;
	--ah-radius: 24px;
	--ah-max: 1280px;
	--ah-surface: #ffffff;
	--ah-muted: #f1f5f9;
	--ah-shadow: 0 8px 30px rgba(15, 23, 42, .07);

	position: relative;
	direction: rtl;
	text-align: right;
	background: var(--ah-bg);
	color: var(--ah-text);
	font-size: 15px;
	line-height: 1.9;
	font-family: inherit;
}

.apphub *,
.apphub *::before,
.apphub *::after { box-sizing: border-box; }

.apphub img { max-width: 100%; }
.apphub a { text-decoration: none; color: inherit; }
.apphub ul { list-style: none; margin: 0; padding: 0; }
.apphub h1, .apphub h2, .apphub h3, .apphub h4 {
	color: var(--ah-heading);
	margin: 0;
	line-height: 1.4;
	font-weight: 800;
}
.apphub h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.35; }
.apphub h2 { font-size: clamp(22px, 3vw, 32px); }
.apphub h3 { font-size: 17px; }
.apphub p { margin: 0; }

.ah-container {
	max-width: var(--ah-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- دکمه‌ها ---------- */
.apphub .ah-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 0;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	font-family: inherit;
	line-height: 1.6;
}
.apphub .ah-btn:active { transform: scale(.96); }
.apphub .ah-btn-primary {
	color: #fff;
	background: linear-gradient(270deg, var(--ah-primary), var(--ah-secondary));
	box-shadow: 0 12px 26px -10px var(--ah-primary);
}
.apphub .ah-btn-dark { background: var(--ah-heading); color: var(--ah-bg); }
.apphub .ah-btn-white { background: #fff; color: #1e1b4b; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.apphub .ah-btn-ghost {
	background: transparent;
	color: var(--ah-heading);
	border: 1px solid var(--ah-border);
}
.apphub .ah-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	border: 1px solid var(--ah-border);
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 17px;
	transition: background .2s ease;
}

/* ---------- هدر ---------- */
.apphub .ah-header {
	position: relative;
	z-index: 40;
	background: color-mix(in srgb, var(--ah-card) 82%, transparent);
	border-bottom: 1px solid var(--ah-border);
	backdrop-filter: blur(14px);
}
.apphub .ah-header.ah-sticky { position: sticky; top: 0; }
.apphub .ah-header-in { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.apphub .ah-logo { display: flex; align-items: center; gap: 10px; }
.apphub .ah-logo-ic {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ah-primary), var(--ah-secondary));
	color: #fff; font-size: 19px;
	box-shadow: 0 10px 22px -12px var(--ah-primary);
}
.apphub .ah-logo-tx { display: flex; flex-direction: column; line-height: 1.4; }
.apphub .ah-logo-tx strong { color: var(--ah-heading); font-size: 17px; font-weight: 900; }
.apphub .ah-logo-tx em { font-style: normal; font-size: 11px; opacity: .7; }

.apphub .ah-nav { display: flex; gap: 4px; margin-right: 22px; }
.apphub .ah-nav a {
	padding: 8px 13px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	transition: background .2s ease;
}
.apphub .ah-nav a:hover { background: var(--ah-muted); color: var(--ah-heading); }
.apphub .ah-header-actions { margin-right: auto; display: flex; align-items: center; gap: 8px; }
.apphub .ah-theme-toggle .ah-moon { display: none; }
.apphub.apphub-dark .ah-theme-toggle .ah-moon { display: block; }
.apphub.apphub-dark .ah-theme-toggle .ah-sun { display: none; }
.apphub .ah-burger { display: none; }
.apphub .ah-mobile-nav { display: none; border-top: 1px solid var(--ah-border); padding: 10px 20px; }
.apphub .ah-mobile-nav.ah-open-nav { display: block; }
.apphub .ah-mobile-nav a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.apphub .ah-mobile-nav a:hover { background: var(--ah-muted); }

@media (max-width: 900px) {
	.apphub .ah-nav, .apphub .ah-header-cta { display: none; }
	.apphub .ah-burger { display: inline-flex; }
}

/* ---------- هیرو ---------- */
.apphub .ah-hero { position: relative; padding: 70px 0 80px; overflow: hidden; }
.apphub .ah-hero-glow {
	position: absolute;
	width: 420px; height: 420px;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .3;
	pointer-events: none;
}
.apphub .ah-g1 { background: var(--ah-primary); top: -140px; right: -120px; }
.apphub .ah-g2 { background: var(--ah-secondary); bottom: -160px; left: -100px; }
.apphub .ah-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.apphub .ah-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ah-primary);
	background: color-mix(in srgb, var(--ah-primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--ah-primary) 25%, transparent);
}
.apphub .ah-grad-text {
	background: linear-gradient(270deg, var(--ah-primary), var(--ah-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.apphub .ah-lead { margin-top: 20px; font-size: 15px; line-height: 2; max-width: 560px; }
.apphub .ah-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.apphub .ah-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; max-width: 520px; }
.apphub .ah-stat {
	padding: 16px 10px;
	border-radius: 18px;
	border: 1px solid var(--ah-border);
	background: var(--ah-card);
	text-align: center;
}
.apphub .ah-stat strong { display: block; color: var(--ah-heading); font-size: 20px; font-weight: 900; }
.apphub .ah-stat span { font-size: 11px; }

/* ماکاپ گوشی */
.apphub .ah-hero-phones { display: flex; justify-content: center; gap: 22px; }
.apphub .ah-phone {
	width: 230px;
	padding: 9px;
	border-radius: 34px;
	background: #0f172a;
	box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .55);
}
.apphub .ah-phone-scr {
	position: relative;
	height: 430px;
	border-radius: 27px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: #fff;
}
.apphub .ah-notch {
	position: absolute;
	top: 10px; left: 50%;
	transform: translateX(-50%);
	width: 78px; height: 16px;
	border-radius: 999px;
	background: rgba(0,0,0,.4);
}
.apphub .ah-ph-emoji {
	display: grid; place-items: center;
	width: 62px; height: 62px;
	border-radius: 20px;
	background: rgba(255,255,255,.28);
	font-size: 30px;
	backdrop-filter: blur(4px);
}
.apphub .ah-ph-title {
	font-size: 13px; font-weight: 600;
	background: rgba(0,0,0,.28);
	padding: 6px 16px;
	border-radius: 999px;
}
.apphub .ah-float { animation: ahFloat 6s ease-in-out infinite; }
.apphub .ah-tilt-l { transform: rotate(-4deg) translateY(20px); }
.apphub .ah-tilt-r { transform: rotate(4deg) translateY(-20px); }
@keyframes ahFloat {
	0%, 100% { margin-top: 0; }
	50% { margin-top: -14px; }
}
@media (max-width: 1000px) {
	.apphub .ah-hero-grid { grid-template-columns: 1fr; }
	.apphub .ah-hero-phones { display: none; }
}

/* ---------- منتخب ---------- */
.apphub .ah-featured { padding: 26px 0 30px; }
.apphub .ah-featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.apphub .ah-feat {
	position: relative;
	border-radius: var(--ah-radius);
	padding: 30px;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 22px 45px -25px rgba(15, 23, 42, .55);
}
.apphub .ah-feat::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.14) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.14) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: .22;
	pointer-events: none;
}
.apphub .ah-feat-in { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.apphub .ah-feat h3 { color: #fff; font-size: 24px; margin: 14px 0 8px; }
.apphub .ah-feat p { color: rgba(255,255,255,.88); font-size: 14px; max-width: 340px; }
.apphub .ah-feat-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px; font-weight: 700;
	background: rgba(255,255,255,.22);
	backdrop-filter: blur(6px);
}
.apphub .ah-feat-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 20px; font-size: 12px; color: rgba(255,255,255,.9); }
.apphub .ah-feat-emoji {
	flex: 0 0 auto;
	display: grid; place-items: center;
	width: 82px; height: 82px;
	border-radius: 26px;
	background: rgba(255,255,255,.2);
	font-size: 40px;
	backdrop-filter: blur(6px);
	transition: transform .3s ease;
}
.apphub .ah-feat:hover .ah-feat-emoji { transform: scale(1.08) rotate(4deg); }

/* ---------- بخش‌ها ---------- */
.apphub .ah-sec-head { text-align: center; margin-bottom: 34px; }
.apphub .ah-sec-head p { margin-top: 12px; font-size: 14px; }
.apphub .ah-apps { padding: 46px 0 60px; }

/* جست‌وجو */
.apphub .ah-search {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 620px;
	margin: 0 auto 22px;
	padding: 14px 18px;
	border-radius: 18px;
	border: 1px solid var(--ah-border);
	background: var(--ah-card);
	box-shadow: var(--ah-shadow);
}
.apphub .ah-search svg { width: 20px; height: 20px; flex: 0 0 auto; opacity: .5; }
.apphub .ah-search-input {
	flex: 1;
	border: 0;
	background: transparent;
	outline: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--ah-heading);
}

/* فیلترها */
.apphub .ah-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.apphub .ah-chip {
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid var(--ah-border);
	background: var(--ah-card);
	color: var(--ah-text);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: all .2s ease;
}
.apphub .ah-chip:hover { border-color: var(--ah-heading); }
.apphub .ah-chip.ah-active {
	background: var(--ah-heading);
	border-color: var(--ah-heading);
	color: var(--ah-bg);
	box-shadow: 0 10px 20px -12px var(--ah-heading);
}

/* گرید اپ‌ها */
.apphub .ah-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.apphub .ah-cols-2 { grid-template-columns: repeat(2, 1fr); }
.apphub .ah-cols-3 { grid-template-columns: repeat(3, 1fr); }
.apphub .ah-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .apphub .ah-grid, .apphub .ah-cols-4, .apphub .ah-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .apphub .ah-grid, .apphub .ah-cols-4, .apphub .ah-cols-3, .apphub .ah-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .apphub .ah-grid, .apphub .ah-cols-4, .apphub .ah-cols-3, .apphub .ah-cols-2 { grid-template-columns: 1fr; } }

/* کارت اپ */
.apphub .ah-card {
	border: 1px solid var(--ah-border);
	border-radius: var(--ah-radius);
	background: var(--ah-card);
	box-shadow: var(--ah-shadow);
}
.apphub .ah-app-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 20px;
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease;
}
.apphub .ah-app-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px -22px rgba(15,23,42,.35); }
.apphub .ah-app-card.ah-hidden { display: none; }
.apphub .ah-app-top { display: flex; align-items: flex-start; gap: 14px; }
.apphub .ah-app-ic {
	flex: 0 0 auto;
	display: grid; place-items: center;
	width: 62px; height: 62px;
	border-radius: 18px;
	font-size: 30px;
	overflow: hidden;
	box-shadow: 0 12px 24px -14px rgba(0,0,0,.5);
	transition: transform .28s ease;
	background: var(--ah-muted);
}
.apphub .ah-app-card:hover .ah-app-ic { transform: scale(1.06) rotate(3deg); }
.apphub .ah-app-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.apphub .ah-app-name h3 { font-size: 16px; }
.apphub .ah-tag {
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	background: color-mix(in srgb, #f59e0b 18%, transparent);
	color: #b45309;
}
.apphub .ah-app-desc { margin-top: 5px; font-size: 13px; line-height: 1.8; }
.apphub .ah-app-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; }
.apphub .ah-app-meta .ah-rate { color: #f59e0b; font-weight: 700; }
.apphub .ah-plats { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.apphub .ah-plat {
	display: grid; place-items: center;
	width: 28px; height: 28px;
	border-radius: 9px;
	background: var(--ah-muted);
	color: var(--ah-text);
	transition: all .2s ease;
}
.apphub .ah-app-card:hover .ah-plat { background: var(--ah-heading); color: var(--ah-bg); }
.apphub .ah-plat svg { width: 15px; height: 15px; }
.apphub .ah-cat {
	margin-right: auto;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--ah-muted);
	font-size: 11px;
	font-weight: 600;
	color: var(--ah-text);
}
.apphub .ah-app-btns { display: flex; gap: 8px; margin-top: 20px; }
.apphub .ah-app-btns .ah-btn { flex: 1; padding: 11px 10px; font-size: 13px; }
.apphub .ah-btn-dl {
	color: #fff;
	background: linear-gradient(270deg, var(--ah-primary), var(--ah-secondary));
}
.apphub .ah-btn-more {
	flex: 0 0 auto !important;
	border: 1px solid var(--ah-border);
	color: var(--ah-text);
	background: transparent;
}

/* بدون نتیجه */
.apphub .ah-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--ah-border); border-radius: var(--ah-radius); }
.apphub .ah-empty-emoji { font-size: 34px; }
.apphub .ah-empty-title { color: var(--ah-heading); font-weight: 800; margin-top: 14px; }
.apphub .ah-empty .ah-btn { margin-top: 20px; }

/* ---------- ویژگی‌ها ---------- */
.apphub .ah-features {
	padding: 60px 0;
	border-top: 1px solid var(--ah-border);
	border-bottom: 1px solid var(--ah-border);
	background: color-mix(in srgb, var(--ah-card) 55%, var(--ah-bg));
}
.apphub .ah-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.apphub .ah-feature { padding: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.apphub .ah-feature:hover { transform: translateY(-5px); }
.apphub .ah-feature-ic {
	display: grid; place-items: center;
	width: 50px; height: 50px;
	border-radius: 16px;
	color: #fff;
	font-size: 22px;
	box-shadow: 0 12px 26px -14px rgba(0,0,0,.6);
}
.apphub .ah-feature h3 { margin-top: 16px; }
.apphub .ah-feature p { margin-top: 8px; font-size: 13px; }

/* ---------- مراحل ---------- */
.apphub .ah-steps { padding: 60px 0; }
.apphub .ah-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.apphub .ah-step { position: relative; padding: 28px 24px 24px; }
.apphub .ah-step-num {
	position: absolute;
	top: -18px; right: 24px;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 15px;
	font-size: 18px; font-weight: 900;
	color: #fff;
	background: linear-gradient(135deg, var(--ah-primary), var(--ah-secondary));
	box-shadow: 0 14px 26px -14px var(--ah-primary);
}
.apphub .ah-step h3 { margin-top: 16px; }
.apphub .ah-step p { margin-top: 8px; font-size: 13px; }

/* ---------- سوالات متداول ---------- */
.apphub .ah-faq {
	padding: 60px 0;
	border-top: 1px solid var(--ah-border);
	background: color-mix(in srgb, var(--ah-card) 55%, var(--ah-bg));
}
.apphub .ah-faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.apphub .ah-faq-item {
	border: 1px solid var(--ah-border);
	border-radius: 18px;
	background: var(--ah-card);
	overflow: hidden;
}
.apphub .ah-faq-q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%;
	padding: 17px 20px;
	border: 0; background: transparent;
	color: var(--ah-heading);
	font: inherit; font-size: 14px; font-weight: 700;
	text-align: right;
	cursor: pointer;
}
.apphub .ah-faq-q em { font-style: normal; opacity: .55; transition: transform .3s ease; }
.apphub .ah-faq-item.ah-open .ah-faq-q em { transform: rotate(180deg); }
.apphub .ah-faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .32s ease;
}
.apphub .ah-faq-item.ah-open .ah-faq-a { grid-template-rows: 1fr; }
.apphub .ah-faq-a > div { overflow: hidden; }
.apphub .ah-faq-a p { padding: 0 20px 18px; font-size: 14px; }

/* ---------- خبرنامه ---------- */
.apphub .ah-newsletter { padding: 60px 0; }
.apphub .ah-nl {
	position: relative;
	padding: 56px 26px;
	border-radius: 32px;
	text-align: center;
	color: #fff;
	background: linear-gradient(270deg, var(--ah-primary), var(--ah-secondary));
	box-shadow: 0 30px 60px -30px var(--ah-primary);
	overflow: hidden;
}
.apphub .ah-nl::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.12) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.12) 1px, transparent 1px);
	background-size: 44px 44px; opacity: .25;
}
.apphub .ah-nl > * { position: relative; }
.apphub .ah-nl h2 { color: #fff; }
.apphub .ah-nl p { color: rgba(255,255,255,.9); max-width: 560px; margin: 12px auto 0; font-size: 14px; }
.apphub .ah-nl-form {
	display: flex; flex-wrap: wrap; gap: 12px;
	justify-content: center;
	max-width: 520px; margin: 30px auto 0;
}
.apphub .ah-nl-form input {
	flex: 1 1 220px;
	padding: 14px 20px;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,.3);
	background: rgba(255,255,255,.16);
	color: #fff;
	font-family: inherit; font-size: 14px;
	outline: 0;
	backdrop-filter: blur(6px);
}
.apphub .ah-nl-form input::placeholder { color: rgba(255,255,255,.65); }
.apphub .ah-nl-msg { margin-top: 16px; font-size: 14px; font-weight: 600; }

/* ---------- فوتر ---------- */
.apphub .ah-footer {
	border-top: 1px solid var(--ah-border);
	background: var(--ah-card);
	padding: 46px 0 0;
}
.apphub .ah-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 36px;
}
.apphub .ah-footer-about p { margin-top: 16px; font-size: 13px; max-width: 420px; }
.apphub .ah-footer h4 { font-size: 14px; margin-bottom: 16px; }
.apphub .ah-footer ul { display: grid; gap: 10px; font-size: 13px; }
.apphub .ah-footer ul a:hover { color: var(--ah-primary); }
.apphub .ah-footer-bottom {
	border-top: 1px solid var(--ah-border);
	padding: 20px;
	text-align: center;
	font-size: 12px;
	opacity: .65;
}
@media (max-width: 800px) { .apphub .ah-footer-grid { grid-template-columns: 1fr; } }

/* ---------- مودال ---------- */
.apphub .ah-modal {
	position: fixed; inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	background: rgba(2, 6, 23, .65);
	backdrop-filter: blur(6px);
	overflow-y: auto;
}
@media (min-width: 700px) { .apphub .ah-modal { align-items: center; padding: 24px; } }
.apphub .ah-modal-box {
	width: 100%;
	max-width: 900px;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 28px 28px 0 0;
	background: var(--ah-card);
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
	animation: ahPop .28s cubic-bezier(.22,1,.36,1) both;
}
@media (min-width: 700px) { .apphub .ah-modal-box { border-radius: 28px; } }
@keyframes ahPop { from { opacity: 0; transform: scale(.95) translateY(14px); } to { opacity: 1; transform: none; } }

.apphub .ah-modal-head {
	position: relative;
	padding: 26px 24px 62px;
	color: #fff;
}
.apphub .ah-modal-close {
	position: absolute;
	top: 18px; left: 18px;
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,.25);
	color: #fff;
	font-size: 17px;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.apphub .ah-modal-head-in { position: relative; display: flex; align-items: center; gap: 16px; }
.apphub .ah-modal-ic {
	display: grid; place-items: center;
	width: 64px; height: 64px;
	border-radius: 20px;
	background: rgba(255,255,255,.25);
	font-size: 30px;
	backdrop-filter: blur(6px);
}
.apphub .ah-modal-head h2 { color: #fff; font-size: 23px; }
.apphub .ah-modal-head p { color: rgba(255,255,255,.88); font-size: 13px; margin-top: 5px; }

.apphub .ah-modal-body { padding: 0 22px 28px; margin-top: -40px; }
.apphub .ah-mstats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	padding: 16px;
	border: 1px solid var(--ah-border);
	border-radius: 20px;
	background: var(--ah-card);
	box-shadow: var(--ah-shadow);
	position: relative;
	text-align: center;
}
.apphub .ah-mstats div strong { display: block; color: var(--ah-heading); font-size: 16px; font-weight: 800; }
.apphub .ah-mstats div span { font-size: 11px; opacity: .7; }
@media (max-width: 600px) { .apphub .ah-mstats { grid-template-columns: repeat(2, 1fr); } }

.apphub .ah-dl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.apphub .ah-dl-row .ah-btn-dl { background: var(--ah-heading); color: var(--ah-bg); }
.apphub .ah-safe {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 11px 14px;
	border-radius: 14px;
	font-size: 12px; font-weight: 700;
	color: #059669;
	background: color-mix(in srgb, #10b981 14%, transparent);
}
.apphub .ah-modal h3 { font-size: 14px; margin-bottom: 10px; margin-top: 26px; }
.apphub .ah-modal p.about { font-size: 14px; line-height: 2.1; }
.apphub .ah-list { display: grid; gap: 8px; }
.apphub .ah-list li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.9; }
.apphub .ah-list li::before {
	content: "✔";
	color: #10b981;
	font-size: 12px;
	line-height: 2.2;
}
.apphub .ah-list.plain li::before { content: "•"; color: var(--ah-text); }
.apphub .ah-modal-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 780px) { .apphub .ah-modal-grid2 { grid-template-columns: 1fr; } }
.apphub .ah-boxed {
	padding: 16px;
	border: 1px solid var(--ah-border);
	border-radius: 18px;
	background: var(--ah-muted);
}
.apphub .ah-spec { display: grid; gap: 9px; font-size: 13px; }
.apphub .ah-spec div {
	display: flex; justify-content: space-between; gap: 12px;
	border-bottom: 1px dashed var(--ah-border);
	padding-bottom: 8px;
}
.apphub .ah-spec div:last-child { border: 0; padding-bottom: 0; }
.apphub .ah-spec span:first-child { opacity: .65; }
.apphub .ah-spec span:last-child { font-weight: 600; color: var(--ah-heading); }

.apphub .ah-shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 12px; }
.apphub .ah-shot {
	flex: 0 0 auto;
	width: 150px;
	padding: 7px;
	border-radius: 26px;
	background: #0f172a;
}
.apphub .ah-shot-in {
	height: 250px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 30px;
	position: relative;
	overflow: hidden;
}
.apphub .ah-shot-in::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.15) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.15) 1px, transparent 1px);
	background-size: 24px 24px;
}

/* ---------- حالت تاریک ---------- */
.apphub.apphub-dark {
	--ah-bg: #020617;
	--ah-card: #0f172a;
	--ah-heading: #f1f5f9;
	--ah-text: #94a3b8;
	--ah-border: rgba(255, 255, 255, .11);
	--ah-muted: rgba(255, 255, 255, .07);
	--ah-shadow: 0 8px 30px rgba(0, 0, 0, .45);
}
.apphub.apphub-dark .ah-btn-white { background: #f8fafc; color: #1e1b4b; }
.apphub.apphub-dark .ah-btn-ghost { color: var(--ah-heading); }

/* تصاویر آپلودشده: آیکون و اسکرین‌شات */
.apphub .ah-app-ic img,
.apphub .ah-modal-ic img,
.apphub .ah-feat-emoji img,
.apphub .ah-ph-emoji img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	display: block;
}
.apphub .ah-app-ic.has-img,
.apphub .ah-modal-ic.has-img {
	background: var(--ah-muted);
	padding: 3px;
	box-shadow: var(--ah-shadow);
}
.apphub .ah-shot-in img {
	width: 100%;
	height: 100%;
	min-height: 250px;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}
.apphub .ah-shot-in.ah-has-img { background: var(--ah-muted); }
.apphub .ah-shot-in.ah-has-img::after { display: none; }

/* اسکرین‌شات آپلودشده روی ماکاپ گوشی هیرو */
.apphub .ah-phone-shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}
.apphub .ah-phone-scr.ah-has-shot .ah-ph-emoji { display: none; }
.apphub .ah-phone-scr.ah-has-shot .ah-ph-title {
	background: rgba(0, 0, 0, .5);
	backdrop-filter: blur(6px);
	z-index: 3;
}
.apphub .ah-phone-scr.ah-has-shot .ah-notch { z-index: 3; }
.apphub .ah-ph-emoji img {
	border-radius: inherit;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .55);
}

/* دسترس‌پذیری */
.apphub .ah-modal[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
	.apphub *, .apphub *::before, .apphub *::after { animation: none !important; transition: none !important; }
}
