/**
 * home.css — فاز ۶: صفحهٔ اصلی معرفی امکانات کافه منیجر اولدوز
 * مدرن، ریسپانسیو، RTL — کاملاً مستقل از قالب سایت (اسکوپ .och)
 */

@font-face {
	font-family: 'Vazirmatn';
	src: url('admin/fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('admin/fonts/Vazirmatn-Medium.woff2') format('woff2');
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('admin/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('admin/fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-display: swap;
}

.och {
	--och-ink: #292524;
	--och-muted: #78716c;
	--och-bg: #faf7f2;
	--och-card: #ffffff;
	--och-line: #ece3d6;
	--och-primary: #b45309;
	--och-primary-deep: #7c2d12;
	--och-dark: #1c1917;
	--och-radius: 18px;
	--och-shadow: 0 2px 12px rgba(64, 40, 18, 0.07);
	--och-shadow-lg: 0 16px 40px rgba(64, 40, 18, 0.16);

	background: var(--och-bg);
	color: var(--och-ink);
	font-family: Vazirmatn, 'Vazirmatn FD', Tahoma, 'Segoe UI', sans-serif;
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

.och h1, .och h2, .och h3, .och p { margin: 0; }

.och-h2 {
	font-size: clamp(22px, 3.4vw, 30px);
	font-weight: 700;
	color: var(--och-ink);
	text-align: center;
}

.och-lead {
	text-align: center;
	color: var(--och-muted);
	font-size: 14.5px;
	margin-top: 6px !important;
}

/* ═══════════ دکمه‌ها ═══════════ */

.och-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none !important;
	border: 0;
	border-radius: 14px;
	padding: 13px 26px;
	cursor: pointer;
	transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
	-webkit-tap-highlight-color: transparent;
}

.och-btn:hover { transform: translateY(-2px); }

.och-btn--primary {
	background: linear-gradient(140deg, #d97706, var(--och-primary-deep));
	color: #fff;
	box-shadow: 0 8px 20px rgba(124, 45, 18, 0.35);
}

.och-btn--primary:hover { box-shadow: 0 12px 26px rgba(124, 45, 18, 0.45); }

.och-btn--ghost {
	background: #fff;
	color: var(--och-primary-deep);
	border: 1.5px solid var(--och-line);
}

.och-btn--light { background: #fff; color: var(--och-primary-deep); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }

.och-btn--sm { padding: 9px 18px; font-size: 13px; border-radius: 11px; }

/* ═══════════ ناوبری ═══════════ */

.och-nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(250, 247, 242, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--och-line);
	padding-top: max(0px, env(safe-area-inset-top));
}

.och-nav__in {
	max-width: 1120px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.och-brand {
	font-weight: 700;
	font-size: 17px;
	color: var(--och-ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.och-brand b { color: var(--och-primary); }

.och-brand__ico {
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: linear-gradient(145deg, #d97706, var(--och-primary-deep));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	box-shadow: 0 4px 10px rgba(124, 45, 18, 0.3);
}

.och-nav__links {
	display: flex;
	gap: 20px;
	margin-inline-start: auto;
}

.och-nav__links a {
	color: #57534e;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
	transition: color 0.15s;
}

.och-nav__links a:hover { color: var(--och-primary); }

@media (max-width: 720px) {
	.och-nav__links { display: none; }
	.och-nav__in { justify-content: space-between; }
}

/* ═══════════ هیرو ═══════════ */

.och-hero {
	max-width: 1120px;
	margin: 0 auto;
	padding: 54px 20px 30px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
}

@media (max-width: 900px) {
	.och-hero { grid-template-columns: 1fr; padding-top: 40px; }
}

.och-pill {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
	font-size: 12px;
	font-weight: 700;
	border-radius: 99px;
	padding: 5px 14px;
}

.och-hero h1 {
	font-size: clamp(27px, 4.6vw, 44px);
	font-weight: 800;
	line-height: 1.55;
	color: var(--och-dark);
	margin-top: 16px !important;
}

.och-hero h1 em {
	font-style: normal;
	color: var(--och-primary);
	position: relative;
}

.och-hero__sub {
	color: var(--och-muted);
	font-size: 15.5px;
	margin-top: 14px !important;
	max-width: 54ch;
}

.och-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.och-hero__trust {
	list-style: none;
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	padding: 0;
	margin: 22px 0 0 !important;
	color: #6b7280;
	font-size: 12.5px;
}

/* موکاپ‌های سه‌بعدی (بدون تصویر — کاملاً CSS) */

.och-hero__art {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.och-mock {
	position: absolute;
	background: #fff;
	border: 1px solid var(--och-line);
	border-radius: 18px;
	box-shadow: var(--och-shadow-lg);
	padding: 14px;
	animation: och-float 5.5s ease-in-out infinite;
}

@keyframes och-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-9px); }
}

.och-mock--menu {
	width: 172px;
	z-index: 3;
	right: 6%;
	animation-delay: 0.1s;
}

.och-mock__head { display: flex; gap: 5px; margin-bottom: 10px; }
.och-mock__head span { width: 8px; height: 8px; border-radius: 50%; background: #fde68a; }
.och-mock__head span:nth-child(2) { background: #fca5a5; }
.och-mock__head span:nth-child(3) { background: #a7f3d0; }

.och-mock__img {
	height: 84px;
	border-radius: 12px;
	background: linear-gradient(150deg, #f6efe4, #ecdfc8);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
}

.och-mock__line { height: 9px; border-radius: 99px; background: #f0e9de; margin-top: 10px; }
.och-mock__line--w60 { width: 60%; }
.och-mock__line--w40 { width: 40%; margin-inline: auto; }

.och-mock__row {
	display: flex;
	align-items: baseline;
	gap: 5px;
	margin-top: 10px;
	direction: ltr;
	justify-content: flex-end;
}

.och-mock__row b { color: var(--och-primary-deep); font-size: 16px; }
.och-mock__row i { font-style: normal; color: #a8a29e; font-size: 10px; }

.och-mock--chart {
	width: 150px;
	z-index: 2;
	left: 4%;
	top: 12%;
	animation-delay: 0.9s;
}

.och-mock__title { font-size: 11px; font-weight: 700; color: #57534e; margin-bottom: 10px; }

.och-mock__bars {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	height: 76px;
}

.och-mock__bars span {
	flex: 1;
	height: var(--h, 50%);
	border-radius: 6px 6px 3px 3px;
	background: linear-gradient(to top, #fbbf24, #ea580c);
	min-height: 12px;
}

.och-mock--qr {
	width: 120px;
	z-index: 4;
	bottom: 4%;
	left: 26%;
	animation-delay: 1.7s;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.och-mock__qr {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	background:
		repeating-linear-gradient(0deg, var(--och-dark) 0 6px, #fff 6px 12px),
		repeating-linear-gradient(90deg, var(--och-dark) 0 6px, #fff 6px 12px);
	background-blend-mode: multiply;
	opacity: 0.88;
}

@media (max-width: 900px) {
	.och-hero__art { min-height: 300px; margin-top: 8px; }
	.och-mock--menu { right: 12%; }
	.och-mock--chart { left: 2%; top: 4%; }
}

/* ═══════════ نوار آمار ═══════════ */

.och-stats {
	max-width: 980px;
	margin: 26px auto 0;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

@media (max-width: 720px) {
	.och-stats { grid-template-columns: repeat(2, 1fr); }
}

.och-stats > div {
	background: #fff;
	border: 1px solid var(--och-line);
	border-radius: 16px;
	text-align: center;
	padding: 16px 8px 13px;
	box-shadow: var(--och-shadow);
}

.och-stats b {
	display: block;
	font-size: 24px;
	color: var(--och-primary-deep);
	font-variant-numeric: tabular-nums;
}

.och-stats span { font-size: 12px; color: var(--och-muted); }

/* ═══════════ امکانات ═══════════ */

.och-features, .och-steps, .och-faq {
	max-width: 1120px;
	margin: 0 auto;
	padding: 64px 20px 0;
}

.och-features__grid {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 960px) { .och-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .och-features__grid { grid-template-columns: 1fr; } }

.och-card {
	background: var(--och-card);
	border: 1px solid var(--och-line);
	border-radius: var(--och-radius);
	padding: 22px 20px;
	box-shadow: var(--och-shadow);
	transition: transform 0.18s, box-shadow 0.18s;
}

.och-card:hover { transform: translateY(-4px); box-shadow: var(--och-shadow-lg); }

.och-card__ico {
	width: 52px;
	height: 52px;
	border-radius: 15px;
	background: linear-gradient(150deg, #fff7ed, #ffedd5);
	border: 1px solid #fed7aa;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.och-card h3 { font-size: 16px; font-weight: 700; color: var(--och-dark); }

.och-card p { font-size: 13px; color: var(--och-muted); margin-top: 6px !important; line-height: 2; }

/* ═══════════ قدم‌ها ═══════════ */

.och-steps__row {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	counter-reset: step;
}

@media (max-width: 820px) { .och-steps__row { grid-template-columns: 1fr; } }

.och-step {
	position: relative;
	background: linear-gradient(160deg, #fff, #fdf9f3);
	border: 1px solid var(--och-line);
	border-radius: var(--och-radius);
	padding: 24px 20px 20px;
	box-shadow: var(--och-shadow);
}

.och-step__num {
	position: absolute;
	top: -16px;
	inset-inline-start: 20px;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: linear-gradient(140deg, #d97706, var(--och-primary-deep));
	color: #fff;
	font-weight: 800;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(124, 45, 18, 0.35);
}

.och-step h3 { font-size: 15.5px; margin-top: 10px !important; color: var(--och-dark); }
.och-step p { font-size: 13px; color: var(--och-muted); margin-top: 6px !important; }

/* ═══════════ CTA ═══════════ */

.och-cta { max-width: 1120px; margin: 0 auto; padding: 64px 20px 0; }

.och-cta__box {
	background:
		radial-gradient(120% 160% at 85% -30%, rgba(255, 255, 255, 0.16), transparent 55%),
		linear-gradient(150deg, var(--och-primary-deep), #451a03);
	border-radius: 26px;
	text-align: center;
	color: #fff;
	padding: 52px 26px;
	box-shadow: var(--och-shadow-lg);
}

.och-cta__box h2 { font-size: clamp(21px, 3vw, 28px); color: #fff; }

.och-cta__box p { color: #e7d9c9; font-size: 14.5px; margin-top: 10px !important; }

.och-cta__box .och-btn { margin-top: 24px; }

/* ═══════════ سوالات متداول ═══════════ */

.och-faq { padding-bottom: 70px; }

.och-faq details {
	background: #fff;
	border: 1px solid var(--och-line);
	border-radius: 14px;
	padding: 16px 20px;
	margin-top: 12px;
	box-shadow: var(--och-shadow);
	transition: border-color 0.15s;
}

.och-faq details[open] { border-color: #f0d9b5; }

.och-faq summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--och-dark);
	list-style: none;
	position: relative;
	padding-inline-end: 26px;
}

.och-faq summary::-webkit-details-marker { display: none; }

.och-faq summary::after {
	content: '+';
	position: absolute;
	inset-inline-end: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 19px;
	color: var(--och-primary);
	transition: transform 0.2s;
}

.och-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.och-faq details p { font-size: 13px; color: var(--och-muted); margin-top: 10px !important; }

/* ═══════════ فوتر ═══════════ */

.och-foot {
	max-width: 1120px;
	margin: 0 auto;
	padding: 18px 20px 26px;
	border-top: 1px solid var(--och-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	color: var(--och-muted);
	font-size: 12px;
}

.och-foot a { color: var(--och-primary); text-decoration: none; font-weight: 600; }

/* ═══════════ انیمیشن ورود ═══════════ */

.och-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.och-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.och-mock { animation: none; }
	.och-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── بخش قیمت‌گذاری (ست با oldooz-auth: oa_plans) ── */
.och-pricing { margin-top: 56px; }
.och-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	align-items: stretch;
}
.och-price {
	position: relative;
	background: var(--och-card);
	border: 1.5px solid var(--och-line);
	border-radius: var(--och-radius);
	padding: 26px 20px;
	box-shadow: var(--och-shadow);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.och-price.is-hot {
	border-color: var(--och-primary);
	box-shadow: 0 18px 44px rgba(27, 107, 122, 0.18);
	transform: translateY(-4px);
}
.och-price__badge {
	position: absolute;
	top: -12px;
	inset-inline-start: 18px;
	background: var(--och-primary);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
}
.och-price h3 { font-size: 17px; font-weight: 800; color: var(--och-dark); }
.och-price__num { font-size: 24px; font-weight: 900; color: var(--och-primary); }
.och-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.och-price li { font-size: 13px; color: var(--och-soft, #5B6B6E); padding-inline-start: 20px; position: relative; }
.och-price li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--och-primary); font-weight: 800; }
.och-price .och-btn { margin-top: auto; text-align: center; }
@media (max-width: 640px) { .och-price.is-hot { transform: none; } }
