/* =========================================================
   Snapzia - design system
   Red. Logical properties throughout, so Arabic (RTL) mirrors for free.
   ========================================================= */
:root {
	--ink: #1C1415;
	--ink-soft: #5B4F51;
	--muted: #7A6E70;
	--brand: #C8232C;
	--brand-mid: #9E1B22;
	--brand-tint: #FDEEEF;
	--accent: #F26B73;        /* light red accent */
	--accent-deep: #C8232C;
	--bg: #FAF8F8;
	--card: #FFFFFF;
	--line: #EDE5E5;
	--radius: 20px;
	--radius-sm: 14px;
	--shadow-sm: 0 1px 2px rgba(28, 20, 21, .06), 0 4px 14px -6px rgba(28, 20, 21, .10);
	--shadow-md: 0 12px 30px -12px rgba(90, 14, 19, .25);
	--font: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; line-height: 1.8; }
img, video { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-mid); text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.container.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site_header { position: relative; z-index: 20; }
.site_header, .site_header_solid { background: #fff; border-bottom: 1px solid var(--line); }
.header_bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand_mark { flex: none; display: block; filter: drop-shadow(0 6px 10px rgba(200, 35, 44, .35)); }
.brand_word { font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
html[lang="ar"] .brand_word { font-family: 'Inter', sans-serif; }
.brand_light, .brand_light:hover { color: #fff; }

.lang_menu { position: relative; }
.lang_menu summary {
	list-style: none; cursor: pointer; user-select: none;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	transition: background .15s, border-color .15s;
}
.lang_menu summary::-webkit-details-marker { display: none; }
.lang_menu[open] .lang_chev { transform: rotate(180deg); }
.lang_chev { transition: transform .2s; }
.lang_menu summary:hover { background: var(--bg); }
.lang_list {
	position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30;
	margin: 0; padding: 8px; list-style: none; min-width: 200px; max-height: 70vh; overflow-y: auto;
	background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
}
.lang_list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; }
.lang_list a:hover { background: var(--brand-tint); color: var(--brand); }
.lang_list a.active_lang { background: var(--brand-tint); color: var(--brand); font-weight: 700; }

/* ---------- Hero (flat colour, white pills) ---------- */
.hero { background: var(--brand); color: #fff; text-align: center; padding: 52px 0 56px; }
.hero_compact { padding: 36px 0 40px; }
.hero_inner { max-width: 760px; margin-inline: auto; }
.hero h1 { color: #fff; font-size: clamp(28px, 4.6vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.45; }
.hero_sub { color: rgba(255, 255, 255, .88); font-size: clamp(16px, 2.2vw, 19px); margin: 0 auto 28px; max-width: 640px; }
.hero_compact .hero_sub { margin-bottom: 22px; }

.dl_card { display: flex; flex-direction: column; gap: 10px; max-width: 620px; margin-inline: auto; text-align: start; }
.dl_field {
	display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px;
	padding-inline: 16px 6px; box-shadow: 0 6px 16px -10px rgba(70, 8, 12, .5);
	border: 2px solid transparent; transition: border-color .15s;
}
.dl_field:focus-within { border-color: var(--accent); }
.dl_input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 0; text-overflow: ellipsis; }
.dl_input::placeholder { color: #B3A4A6; }
.dl_paste {
	flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; cursor: pointer;
	border: 0; border-radius: 10px; background: transparent; color: var(--muted); transition: background .15s, color .15s;
}
.dl_paste:hover { background: var(--brand-tint); color: var(--brand); }
.dl_paste span { display: none; }
.dl_submit {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px;
	border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700;
	color: var(--brand); background: #fff; box-shadow: 0 6px 16px -10px rgba(70, 8, 12, .5);
	transition: background .15s;
}
.dl_submit:hover { background: #FFF2F2; }
.dl_submit[disabled] { cursor: progress; }
.dl_spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(200, 35, 44, .22); border-top-color: var(--brand); animation: vz-spin .8s linear infinite; }
.dl_submit.is_loading .dl_label { display: none; }
.dl_submit.is_loading .dl_spinner { display: block; }
@keyframes vz-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
	.hero { padding: 40px 0 44px; }
	.hero_compact { padding: 28px 0 32px; }
	.dl_field { padding-inline: 14px 6px; }
}

/* ---------- Result ---------- */
.result_wrap { max-width: 760px; margin: 24px auto 0; padding-bottom: 20px; }
.top_ad_wrap { padding-top: 18px; }
.result_title { text-align: center; font-size: clamp(20px, 3vw, 26px); font-weight: 700; margin: 8px 0 20px; letter-spacing: -.01em; }
.result_card {
	display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 28px; align-items: center;
	background: var(--card); border: 0; border-radius: 28px; padding: 24px; box-shadow: 0 24px 60px -26px rgba(28, 20, 21, .35);
}
.result_media { display: flex; justify-content: center; background: #1C1415; border-radius: 18px; overflow: hidden; }
.result_media video, .result_media img { display: block; max-height: 440px; width: auto; max-width: 100%; margin-inline: auto; background: #1C1415; }
.result_actions { display: flex; flex-direction: column; gap: 12px; }
.result_actions_single { max-width: 420px; margin: 22px auto 0; }

.btn_main, .btn_outline, .btn_ghost {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
	padding: 15px 20px; border-radius: 14px; font-size: 16px; font-weight: 700; text-align: center; cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.btn_main { color: #fff; background: linear-gradient(180deg, #DB343D 0%, #C8232C 100%); border: 0; box-shadow: 0 10px 22px -12px rgba(200, 35, 44, .6); }
.btn_main:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 26px -14px rgba(200, 35, 44, .7); }
.btn_outline { color: var(--brand); background: #fff; border: 2px solid #F2BFC3; }
.btn_outline:hover { color: var(--brand-mid); border-color: var(--brand); background: var(--brand-tint); }
.btn_ghost { color: var(--ink-soft); background: transparent; border: 2px dashed #E2D6D7; font-weight: 600; }
.btn_ghost:hover { color: var(--brand); border-color: var(--brand); }

.error_notice { max-width: 760px; margin: 12px auto 0; padding: 16px 20px; border-radius: var(--radius-sm); background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; font-weight: 500; text-align: center; }

.carousel_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.carousel_item { margin: 0; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-sm); }
.carousel_media { position: relative; border-radius: 12px; overflow: hidden; background: #1C1415; aspect-ratio: 4 / 5; }
.carousel_media img, .carousel_media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel_count { position: absolute; top: 8px; inset-inline-end: 8px; background: rgba(28, 20, 21, .7); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.carousel_item .btn_main { padding: 12px 14px; font-size: 15px; }

@media (max-width: 820px) {
	.result_card { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
	.result_media video, .result_media img { max-height: 400px; }
}

/* ---------- Content blocks ---------- */
.block { padding: 72px 0; }
.block_tint { background: linear-gradient(180deg, #FFF4F4 0%, #FFF9F9 100%); border-block: 1px solid #F5E1E2; }
.block_title { text-align: center; font-size: clamp(25px, 3.6vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 0 auto 36px; max-width: 760px; }
.block_title::after { content: ""; display: block; width: 56px; height: 5px; margin: 16px auto 0; border-radius: 5px; background: linear-gradient(90deg, var(--brand), #F26B73); }
.block_intro { text-align: center; max-width: 720px; margin: -14px auto 36px; color: var(--ink-soft); font-size: 17px; }
.lead_text { text-align: center; color: var(--ink-soft); font-size: 18px; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.step_card { position: relative; text-align: center; padding: 0 12px; }
.step_icon {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
	width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
	background: #fff; color: var(--brand); box-shadow: 0 0 0 8px var(--brand-tint), 0 8px 18px -8px rgba(200, 35, 44, .35);
}
.step_num {
	position: absolute; top: -2px; inset-inline-end: -2px; width: 28px; height: 28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--brand); color: #fff; font: 700 14px/1 'Inter', sans-serif; border: 2px solid #fff;
}
.step_card:not(:last-child)::after {
	content: ""; position: absolute; top: 41px; inset-inline-start: 50%; width: calc(100% + 24px); height: 3px;
	background: linear-gradient(90deg, var(--brand), #F26B73); z-index: 0;
}
html[dir="rtl"] .step_card:not(:last-child)::after { background: linear-gradient(270deg, var(--brand), #F26B73); }
.step_card h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.step_card p { margin: 0; color: var(--ink-soft); }

.flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

/* Features */
.feature_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature_card, .device_card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature_icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--brand-tint); color: var(--brand); }
.feature_card h3, .device_card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.feature_card p, .device_card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* Devices */
.device_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Troubleshooting */
.trouble_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trouble_card { background: var(--card); border: 1px solid var(--line); border-inline-start: 5px solid var(--accent-deep); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.trouble_card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.trouble_card h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 6px; }
.trouble_card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* FAQ */
.faq_list { display: flex; flex-direction: column; gap: 12px; }
.faq_item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq_item details[open] { background: #fff; }
.faq_item:has(details[open]) { border-color: #F2BFC3; }
.faq_item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.faq_item summary::-webkit-details-marker { display: none; }
.faq_item summary h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; }
.faq_chev { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); position: relative; transition: transform .25s, background .2s; }
.faq_chev::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-inline-end: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-2px) rotate(45deg); }
.faq_item details[open] .faq_chev { transform: rotate(180deg); background: var(--brand); }
.faq_item details[open] .faq_chev::before { border-color: #fff; }
.faq_answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq_answer p { margin: 0 0 10px; }
.faq_answer p:last-child { margin-bottom: 0; }
.os_list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.os_list li { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 12px; padding: 10px 14px; }
.os_list p { margin: 0; font-size: 15px; }
.os_icon { flex: none; width: 24px; height: 24px; background: var(--icon) center / contain no-repeat; opacity: .8; }

/* ---------- Footer ---------- */
.site_footer { margin-top: 0; background: #160C0D; color: #E2D6D7; padding: 56px 0 28px; }
.page_inner .site_footer { margin-top: 40px; }
.footer_main { display: flex; flex-wrap: wrap; gap: 36px 60px; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer_brand { max-width: 420px; }
.footer_tagline { margin: 16px 0 0; color: #B3A4A6; font-size: 15px; }
.footer_heading { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
html[lang="ar"] .footer_heading { letter-spacing: 0; }
.footer_links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site_footer a { color: #E2D6D7; }
.site_footer a:hover { color: var(--accent); }
.footer_disclaimer { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer_disclaimer .footer_heading { margin-bottom: 8px; }
.footer_disclaimer p { margin: 0; color: #B3A4A6; font-size: 14px; }
.footer_bottom { padding-top: 22px; text-align: center; font-size: 14px; color: #B3A4A6; }

/* ---------- Inner pages (about, contact, legal) ---------- */
.page_inner main { min-height: 60vh; }
.about_page { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow-sm); line-height: 1.85; color: var(--ink-soft); }
.about_page h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.about_page h2 { font-size: clamp(21px, 3vw, 26px); font-weight: 700; margin-bottom: 14px; }
.about_page h1, .about_page h2, .about_page h3 { color: var(--ink); }
.about_page ul, .about_page ol { padding-inline-start: 24px; }
.about_page li { margin-bottom: 6px; }
.about_page a.about_link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.divider::after { content: ""; display: block; width: 56px; height: 5px; margin: 14px 0 0; border-radius: 5px; background: linear-gradient(90deg, var(--brand), #F26B73); }
.divider.text-center::after { margin-inline: auto; }
.primary_cta_btn, .secondary_cta_btn {
	display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .15s, background .15s;
}
.primary_cta_btn { color: #fff; background: linear-gradient(180deg, #DB343D 0%, #C8232C 100%); border: 0; }
.primary_cta_btn:hover { color: #fff; transform: translateY(-1px); }
.secondary_cta_btn { color: var(--brand); background: #fff; border: 2px solid #F2BFC3; }
.secondary_cta_btn:hover { color: var(--brand-mid); border-color: var(--brand); background: var(--brand-tint); }
.contact_form .form-label { font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; }
.contact_form .form-control { width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; font: inherit; background: var(--bg); color: var(--ink); transition: border-color .15s, background .15s; }
.contact_form .form-control:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: none; }
.contact_form textarea.form-control { min-height: 170px; resize: vertical; }
.back_wrap { margin-top: 20px; }
.alert { border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.feature_grid { grid-template-columns: repeat(2, 1fr); }
	.device_grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; }
	.step_card { display: flex; align-items: flex-start; gap: 18px; text-align: start; padding: 0 0 30px; }
	.step_card:last-child { padding-bottom: 0; }
	.step_icon { margin: 0; flex: none; width: 68px; height: 68px; box-shadow: 0 0 0 6px var(--brand-tint), 0 8px 18px -8px rgba(200, 35, 44, .35); }
	.step_icon svg { width: 28px; height: 28px; }
	.step_card:not(:last-child)::after { top: 74px; bottom: 0; width: 3px; height: auto; inset-inline-start: 33px; background: linear-gradient(180deg, var(--brand), #F26B73); }
	html[dir="rtl"] .step_card:not(:last-child)::after { background: linear-gradient(180deg, var(--brand), #F26B73); }
	.step_body { padding-top: 4px; }
}
@media (max-width: 680px) {
	.block { padding: 52px 0; }
	.trouble_grid { grid-template-columns: 1fr; }
	.feature_grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.feature_card { padding: 16px; border-radius: 16px; }
	.feature_card .feature_icon { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; }
	.feature_card h3 { font-size: 16px; }
	.feature_card p { font-size: 14px; line-height: 1.55; }
	.footer_main { flex-direction: column; }
	.faq_item summary { padding: 16px 18px; }
	.faq_answer { padding: 0 18px 18px; }
	.brand_word { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Small utilities (the trimmed bootstrap build lacks these) ---------- */
.py-5 { padding-block: 3rem; }
.mt-5 { margin-top: 3rem; }
.my-5 { margin-block: 3rem; }
.text-muted { color: var(--muted); }
.alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-group { margin-bottom: 1rem; }

/* ---------- Header actions + tools menu ---------- */
.header_actions { display: flex; align-items: center; gap: 8px; }
.nav_menu { position: relative; }
.nav_menu summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
	transition: background .15s, border-color .15s;
}
.nav_menu summary::-webkit-details-marker { display: none; }
.nav_menu summary:hover, .nav_menu[open] summary { background: var(--brand-tint); border-color: #F2BFC3; color: var(--brand); }
.nav_list {
	position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 8px; list-style: none;
	min-width: 250px; max-width: calc(100vw - 32px); max-height: 70vh; overflow-y: auto;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
}
.nav_list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav_list a:hover { background: var(--brand-tint); color: var(--brand); }
.nav_list a.is_current { background: var(--brand-tint); color: var(--brand); font-weight: 700; }
@media (max-width: 480px) {
	.header_bar { gap: 6px; }
	.header_actions { gap: 6px; }
	.brand { gap: 7px; }
	.brand_mark { width: 30px; height: 30px; }
	.brand_word { font-size: 20px; }
	.lang_menu summary { padding: 8px 10px; gap: 5px; font-size: 13px; }
	.lang_menu summary > svg:first-child { display: none; }
	.nav_menu summary { width: 38px; height: 38px; }
}

/* ---------- Header nav + blog + guides ---------- */
.guide_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide_card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.guide_cat { align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html[lang="ar"] .guide_cat { letter-spacing: 0; }
.guide_card h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0 0 10px; }
.guide_card h3 a { color: var(--ink); }
.guide_card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide_card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide_more { margin-top: auto; align-self: flex-start; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 700; }
html[dir="rtl"] .guide_more span, html[dir="rtl"] .guide_all span { display: inline-block; transform: scaleX(-1); }
.guide_all { text-align: center; margin: 28px 0 0; font-weight: 700; }
@media (max-width: 991px) { .guide_grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* blog pages sit on a white canvas; keep the shared shell tidy */
.page_inner .blog_article_page { background: #fff; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; margin-inline: auto; }
.mb-5 { margin-bottom: 3rem; }
.blog_index_card { background: #fff; }

header.text-center .divider::after { margin-inline: auto; }


/* ---------- Snapzia brand ---------- */
.brand { line-height: 0; }
.site_logo { display: block; height: 35px; width: auto; }
.footer_logo_badge { display: inline-flex; align-items: center; padding: 8px 14px; background: #fff; border-radius: 12px; }
.footer_logo_badge img { display: block; height: 30px; width: auto; }
@media (max-width: 480px) { .site_logo { height: 30px; } }

/* =========================================================
   Downloader result pages (markup shared by all tool pages)
   ========================================================= */
.top_ad_wrap { padding-top: 8px; }
.meta-header { text-align: center; font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 40px auto 26px; }
.meta-header::after { content: ""; display: block; width: 56px; height: 5px; margin: 14px auto 0; border-radius: 5px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.error_notice { max-width: 760px; margin: 28px auto; padding: 14px 18px; text-align: center; font-weight: 600; color: var(--brand-mid); background: var(--brand-tint); border: 1px solid #F1BFC3; border-radius: 12px; }
.hls_notice { max-width: 760px; margin: 0 auto 20px; padding: 14px 18px; font-size: 15px; background: #FFF6E5; border: 1px solid #F5DDA6; border-radius: 12px; color: #6B4E00; }

.row.result_card {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 40px;
	padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.row.result_card > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; }
.meta-video { display: flex; justify-content: center; background: #1C1415; border-radius: 16px; overflow: hidden; }
.meta-video video, .meta-video img { display: block; max-width: 100%; max-height: 440px; width: auto; height: auto; margin-inline: auto; }
.meta { display: flex; flex-direction: column; gap: 12px; }
.meta hr { display: none; }
.f-width { width: 100%; }

.download_button {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
	border: 2px solid var(--brand); border-radius: 12px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; text-align: center;
	color: #fff; background: var(--brand); box-shadow: 0 10px 22px -12px rgba(200, 35, 44, .8);
}
.download_button:hover { color: #fff; background: var(--brand-mid); border-color: var(--brand-mid); }
.download_button:disabled { opacity: .7; cursor: wait; }
.download_button span { display: inline; }
.meta a.download_button { color: var(--brand); background: #fff; box-shadow: none; }
.meta a.download_button:hover { color: var(--brand-mid); background: var(--brand-tint); border-color: var(--brand); }
.meta a.download_button:first-of-type { color: #fff; background: var(--brand); box-shadow: 0 10px 22px -12px rgba(200, 35, 44, .8); }
.meta a.download_button:first-of-type:hover { color: #fff; background: var(--brand-mid); }
.meta a.download_button:last-of-type { color: var(--ink-soft); background: transparent; border: 2px dashed #D6C7C8; font-weight: 600; }
.meta a.download_button:last-of-type:hover { color: var(--brand); background: transparent; border-color: var(--brand); }

/* MP3 tool */
.mp3_bar_wrap { height: 8px; border-radius: 8px; background: var(--brand-tint); overflow: hidden; }
.mp3_bar { height: 100%; width: 0; border-radius: 8px; background: var(--brand); transition: width .25s; }
.mp3_status { font-size: 15px; font-weight: 600; text-align: center; color: var(--ink-soft); }
.mp3_result { display: flex; flex-direction: column; gap: 10px; }
.mp3_result a.download_button, .meta .mp3_result a.download_button:last-of-type { color: #fff; background: var(--brand); border: 2px solid var(--brand); border-style: solid; font-weight: 700; }
.mp3_size { font-size: 14px; color: var(--muted); text-align: center; }
.mp3_note { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
#mp3_convert_btn.is_busy::before { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: vz-spin .8s linear infinite; }

/* Why-choose grid + related tools */
.why_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why_item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why_icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.why_item p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.5; }
.related_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related_link { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 14px; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--brand); background: #fff; border: 2px solid var(--brand); border-radius: 12px; }
.related_link:hover { color: var(--brand-mid); background: var(--brand-tint); }
.feature_icon .feature_svg_icon { width: 34px; height: 34px; display: block; }
.lead_text + .lead_text { margin-top: 16px; }

@media (max-width: 991px) {
	.row.result_card { grid-template-columns: 1fr; padding: 18px; }
	.why_grid { grid-template-columns: repeat(2, 1fr); }
	.related_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.why_grid { grid-template-columns: 1fr; }
}

.ad_slot { margin: 24px 0; text-align: center; min-height: 90px; }
