/*
Theme Name: MQG AI Landing Child
Theme URI: https://minhquangreen.com/
Description: Child theme landing page AI Agent cho Minh Quân Green. Có thể dùng cùng Flatsome.
Author: Minh Quân Green
Template: flatsome
Version: 1.2.1
Text Domain: mqg-ai-landing
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root{
	/* Refined enterprise palette — slate dominant, teal as accent */
	--teal:#0d9488;
	--teal-dark:#0f766e;
	--teal-darker:#134e4a;
	--teal-soft:#ccfbf1;
	--teal-tint:#f0fdfa;
	--amber:#d97706;
	--amber-dark:#b45309;

	--slate-50:#f8fafc;
	--slate-100:#f1f5f9;
	--slate-200:#e2e8f0;
	--slate-300:#cbd5e1;
	--slate-400:#94a3b8;
	--slate-500:#64748b;
	--slate-600:#475569;
	--slate-700:#334155;
	--slate-800:#1e293b;
	--slate-900:#0f172a;
	--slate-950:#020617;

	--bg:#ffffff;
	--bg-soft:#fafbfc;
	--bg-warm:#faf9f7;
	--text:#0f172a;
	--text-2:#334155;
	--muted:#64748b;
	--border:#e2e8f0;
	--border-strong:#cbd5e1;

	--sh-sm:0 1px 2px rgba(15,23,42,.05);
	--sh:0 2px 8px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.04);
	--sh-md:0 4px 16px rgba(15,23,42,.08), 0 12px 32px rgba(15,23,42,.06);
	--sh-lg:0 12px 40px rgba(15,23,42,.10), 0 32px 64px rgba(15,23,42,.08);
	--sh-teal:0 8px 24px rgba(13,148,136,.25);
	--sh-amber:0 8px 24px rgba(217,119,6,.25);

	--r-xs:6px; --r-sm:8px; --r:12px; --r-lg:16px; --r-xl:24px;
	--cont:1180px;
}


/* custom */
.news::after{
	display: none;
}

a.btn.btn-primary.btn-lg:hover {
    color: #fff;
}
a.btn.btn-primary:hover {
    color: #fff;
}
/* custom */

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
	font-family:'Be Vietnam Pro',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
	background:var(--bg); color:var(--text); line-height:1.65;
	-webkit-font-smoothing:antialiased;
	font-feature-settings:'cv11','ss01';
}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}
.container{max-width:var(--cont);margin:0 auto;padding:0 24px}

/* ===== TYPE SCALE ===== */
.eyebrow-text{
	font-size:11.5px;font-weight:700;letter-spacing:1.2px;
	text-transform:uppercase;color:var(--teal-dark);
}
.section-head{max-width:760px;margin:0 auto 36px}
.section-head.center{text-align:center}
.section-head .eyebrow-text{margin-bottom:14px;display:inline-block}
.section-head h2{
	font-size:clamp(28px,3.6vw,40px);
	font-weight:800;letter-spacing:-.7px;line-height:1.18;
	color:var(--slate-900);margin-bottom:14px;
}
.section-head p{font-size:17px;color:var(--text-2);line-height:1.65}

.post-thumb {
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* ===== HEADER ===== */
body.mqg-menu-lock {
  overflow: hidden;
}
.site-header{
	position:sticky;top:0;z-index:50;
	background:rgba(255,255,255,.88);
	backdrop-filter:saturate(180%) blur(14px);
	border-bottom:1px solid rgba(226,232,240,.7);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:24px}
.brand{display:inline-flex;align-items:center;gap:0}
.brand-logo{height:46px;width:auto;display:block;flex-shrink:0}
.brand-text{display:none}
.foot-brand .brand-logo{filter:brightness(0) invert(.96);opacity:.92;height:54px}
@media (max-width:560px){.brand-logo{height:38px}.foot-brand .brand-logo{height:44px}}
.nav-links{display:flex;list-style:none;gap:2px}
.nav-links a{padding:8px 13px;border-radius:7px;font-size:14px;font-weight:500;color:var(--text-2);transition:all .15s;white-space:nowrap;letter-spacing:-.1px}
.nav-links a:hover{background:var(--slate-100);color:var(--slate-900)}
.nav-links a.active{color:var(--slate-900);background:var(--slate-100)}
.brand-text{min-width:0}
.brand-tag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1280px){.brand-tag{display:none}}
.nav-cta{display:flex;align-items:center;gap:10px}
.lang{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:7px;border:1px solid var(--border);font-size:12px;font-weight:600;color:var(--text-2)}
.lang:hover{border-color:var(--slate-400);color:var(--slate-900)}

.btn{
	display:inline-flex;align-items:center;justify-content:center;gap:8px;
	padding:11px 22px;border-radius:10px;
	font-size:14.5px;font-weight:600;letter-spacing:-.2px;
	transition:transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s cubic-bezier(.4,0,.2,1), background .18s ease, border-color .18s ease;
	cursor:pointer;border:0;font-family:inherit;
	position:relative;white-space:nowrap;line-height:1;
	-webkit-tap-highlight-color:transparent;
}
.btn:active{transform:translateY(0) scale(.98)}
.btn-primary{
	background:linear-gradient(180deg,#1e293b 0%,#0f172a 100%);
	color:#fff;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.12),
		inset 0 -1px 0 rgba(0,0,0,.10),
		0 1px 2px rgba(15,23,42,.10),
		0 4px 12px rgba(15,23,42,.14);
}
.btn-primary:hover{
	background:linear-gradient(180deg,#0f172a 0%,#020617 100%);
	transform:translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.16),
		0 6px 16px rgba(15,23,42,.18),
		0 12px 28px rgba(15,23,42,.22);
}
.wpcf7-spinner{
	display: none;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner.button{
	padding: 5px 10px;
	margin: 0;
}
.btn-teal,
.news-form.form-flat input.wpcf7-form-control.wpcf7-submit.has-spinner.button{
	background:linear-gradient(180deg,#14b8a6 0%,#0d9488 55%,#0f766e 100%);
	color:#fff;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.24),
		inset 0 -1px 0 rgba(0,0,0,.10),
		0 1px 2px rgba(13,148,136,.18),
		0 6px 16px rgba(13,148,136,.28);
}
.btn-teal:hover{
	transform:translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.30),
		0 6px 16px rgba(13,148,136,.30),
		0 14px 30px rgba(13,148,136,.38);
}
.btn-secondary{
	background:#fff;color:var(--slate-900);
	border:1px solid var(--border-strong);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.8),
		0 1px 2px rgba(15,23,42,.04);
}
.btn-secondary:hover{
	border-color:var(--slate-400);background:var(--slate-50);
	transform:translateY(-1px);
	box-shadow:0 4px 12px rgba(15,23,42,.08), 0 8px 20px rgba(15,23,42,.06);
}
.btn-ghost{color:var(--text-2);padding:11px 14px;background:transparent}
.btn-ghost:hover{color:var(--slate-900);background:var(--slate-100)}
.btn-lg{padding:14px 26px;font-size:15px;border-radius:11px}
.btn svg{flex-shrink:0;transition:transform .22s cubic-bezier(.4,0,.2,1)}
.btn:hover svg{transform:translateX(2px)}
.mobile-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;border-radius:8px;border:1px solid var(--border)}
/* =========================================================
* MQG HEADER — TÁCH BIỆT KHỎI FLATSOME
* ========================================================= */

.mqg-site-header {
	position: sticky;
	top: 0;
	z-index: 9998;

	width: 100%;

	border-bottom: 1px solid rgba(226, 232, 240, 0.78);

	background: rgba(255, 255, 255, 0.9);

	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
}

.admin-bar .mqg-site-header {
	top: 32px;
}

.mqg-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;

	width: 100%;
	max-width: 1180px;
	min-height: 72px;
	margin: 0 auto;
	padding: 12px 24px;
}


/* ===== Logo ===== */

.mqg-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;

	text-decoration: none;
}

.mqg-brand-logo {
	display: block;

	width: auto;
	max-width: 220px;
	height: 46px;

	object-fit: contain;
}


/* ===== Desktop menu ===== */

.mqg-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;

	margin-left: auto;
}

.mqg-nav-links {
	display: flex;
	align-items: center;
	gap: 2px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.mqg-nav-links li {
	margin: 0;
	padding: 0;
}

.mqg-nav-links a {
	display: block;

	padding: 8px 12px;

	border-radius: 7px;

	color: #334155;

	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.1px;
	text-decoration: none;
	white-space: nowrap;

	transition:
		background 0.18s ease,
		color 0.18s ease;
}

.mqg-nav-links a:hover,
.mqg-nav-links a.active,
.mqg-nav-links .current-menu-item > a,
.mqg-nav-links .current_page_item > a {
	background: #f1f5f9;
	color: #0f172a;
}


/* ===== CTA ===== */

.mqg-nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;

	flex-shrink: 0;
}

.mqg-header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	padding: 11px 18px;

	border-radius: 10px;

	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.15px;
	text-decoration: none;
	white-space: nowrap;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.mqg-header-btn-primary {
	background:
		linear-gradient(
			180deg,
			#1e293b 0%,
			#0f172a 100%
		);

	color: #ffffff;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.13),
		0 1px 2px rgba(15, 23, 42, 0.1),
		0 5px 13px rgba(15, 23, 42, 0.16);
}

.mqg-header-btn-primary:hover {
	background:
		linear-gradient(
			180deg,
			#0f172a 0%,
			#020617 100%
		);

	color: #ffffff;

	transform: translateY(-1px);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.16),
		0 8px 20px rgba(15, 23, 42, 0.22);
}

.mqg-header-btn svg {
	flex-shrink: 0;
}


/* ===== Mobile-only elements: hidden on desktop ===== */

.mqg-mobile-toggle,
.mqg-mobile-nav-head,
.mqg-mobile-menu-cta,
.mqg-menu-overlay {
	display: none;
}


/* =========================================================
* TABLET VÀ MOBILE DRAWER
* ========================================================= */

@media (max-width: 1080px) {

	.mqg-header-inner {
		min-height: 68px;
		padding: 10px 20px;
	}

	.mqg-brand-logo {
		max-width: 205px;
		height: 42px;
	}

	.mqg-mobile-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;

		width: 42px;
		height: 42px;
		padding: 0;

		border: 1px solid #e2e8f0;
		border-radius: 9px;

		background: #ffffff;
		color: #0f172a;

		cursor: pointer;

		transition:
			background 0.18s ease,
			border-color 0.18s ease,
			transform 0.18s ease;
	}

	.mqg-mobile-toggle:hover {
		border-color: #cbd5e1;
		background: #f8fafc;
	}

	.mqg-mobile-toggle:active {
		transform: scale(0.96);
	}

	/*
	* Drawer trượt từ bên phải.
	* Không dùng selector .nav của Flatsome.
	*/
	.mqg-main-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 10001;

		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;

		width: min(380px, calc(100vw - 24px));
		height: 100dvh;
		margin: 0;
		padding: 0;

		border-left: 1px solid #e2e8f0;

		background: #ffffff;

		box-shadow:
			-10px 0 30px rgba(15, 23, 42, 0.1);

		opacity: 0;
		visibility: hidden;
		pointer-events: none;

		transform: translateX(104%);

		transition:
			transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.22s ease,
			visibility 0.22s ease;
	}

	.admin-bar .mqg-main-nav {
		top: 32px;
		height: calc(100dvh - 32px);
	}

	.mqg-main-nav.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;

		transform: translateX(0);
	}

	.mqg-mobile-nav-head {
		display: flex;
		align-items: center;
		justify-content: space-between;

		min-height: 66px;
		padding: 14px 18px;

		border-bottom: 1px solid #e2e8f0;
	}

	.mqg-mobile-nav-title {
		color: #0f172a;

		font-size: 15px;
		font-weight: 700;
		letter-spacing: -0.15px;
	}

	.mqg-mobile-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;

		width: 38px;
		height: 38px;
		padding: 0;

		border: 1px solid #e2e8f0;
		border-radius: 8px;

		background: #ffffff;
		color: #0f172a;

		cursor: pointer;
	}

	.mqg-nav-links {
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: stretch;
		gap: 3px;
		overflow-y: auto;

		width: 100%;
		margin: 0;
		padding: 14px;
	}

	.mqg-nav-links a {
		padding: 12px 13px;

		border-radius: 8px;

		font-size: 14px;
		line-height: 1.45;
	}

	.mqg-mobile-menu-cta {
		display: block;

		padding: 14px;

		border-top: 1px solid #e2e8f0;

		background: #ffffff;
	}

	.mqg-mobile-menu-cta .mqg-header-btn {
		width: 100%;
		padding: 14px 16px;
	}

	.mqg-menu-overlay {
		position: fixed;
		inset: 0;
		z-index: 10000;

		display: block;

		background: rgba(15, 23, 42, 0.46);

		opacity: 0;
		visibility: hidden;
		pointer-events: none;

		transition:
			opacity 0.22s ease,
			visibility 0.22s ease;
	}

	.mqg-menu-overlay.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	body.mqg-menu-lock {
		overflow: hidden;
	}
}


/* =========================================================
* MOBILE NHỎ
* ========================================================= */

@media (max-width: 640px) {

	.mqg-header-inner {
		min-height: 62px;
		padding: 9px 16px;
	}

	.mqg-brand-logo {
		max-width: 178px;
		height: 38px;
	}

	/*
	* Mobile nhỏ chỉ giữ logo và nút hamburger.
	* CTA vẫn có trong menu drawer.
	*/
	.mqg-desktop-cta {
		display: none;
	}

	.mqg-mobile-toggle {
		width: 40px;
		height: 40px;
	}

	.mqg-main-nav {
		width: min(340px, calc(100vw - 18px));
	}
}


/* =========================================================
* WORDPRESS ADMIN BAR TRÊN MOBILE
* ========================================================= */

@media (max-width: 782px) {

	.admin-bar .mqg-site-header {
		top: 46px;
	}

	.admin-bar .mqg-main-nav {
		top: 46px;
		height: calc(100dvh - 46px);
	}
}

/* ===== HERO ===== */
.hero{
	position:relative;overflow:hidden;padding:60px 0 52px;
	background:linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
}
.hero::before{
	content:'';position:absolute;inset:0;
	background-image:
		linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
	background-size:56px 56px;
	mask-image:radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
	pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:center;position:relative}

.eyebrow-pill{
	display:inline-flex;align-items:center;gap:10px;
	padding:7px 12px 7px 8px;border-radius:999px;
	background:#fff;border:1px solid var(--border-strong);
	font-size:12px;font-weight:600;color:var(--slate-700);
	margin-bottom:22px;box-shadow:var(--sh-sm);
}
.eyebrow-pill .live-dot{
	width:7px;height:7px;border-radius:50%;background:var(--teal);
	box-shadow:0 0 0 0 rgba(13,148,136,.5);animation:pulse 2s infinite;flex-shrink:0;
}
@keyframes pulse{
	0%{box-shadow:0 0 0 0 rgba(13,148,136,.5)}
	70%{box-shadow:0 0 0 8px rgba(13,148,136,0)}
	100%{box-shadow:0 0 0 0 rgba(13,148,136,0)}
}

.hero h1{
	font-size:clamp(34px,4.8vw,58px);
	font-weight:800;line-height:1.05;letter-spacing:-1.4px;
	color:var(--slate-900);margin-bottom:22px;
}
.hero h1 .em{color:var(--teal-darker)}

.hero-sub{
	font-size:18px;color:var(--text-2);max-width:560px;line-height:1.65;margin-bottom:32px;
}
.hero-sub strong{color:var(--slate-900);font-weight:700}

.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:40px}

.hero-meta{
	display:flex;gap:36px;flex-wrap:wrap;padding-top:32px;border-top:1px solid var(--border);
}
.hero-meta .it{display:flex;flex-direction:column;gap:2px}
.hero-meta .num{font-size:24px;font-weight:800;color:var(--slate-900);letter-spacing:-.5px;line-height:1}
.hero-meta .lb{font-size:12px;color:var(--muted);font-weight:500;margin-top:4px}

.hero-photo{
	position:relative;border-radius:var(--r-xl);overflow:hidden;
	aspect-ratio:1/1.1;
	background:linear-gradient(135deg,var(--slate-100) 0%,#fff 100%);
	box-shadow:var(--sh-lg);
	border:1px solid var(--border);
}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-photo .badge{
	position:absolute;bottom:20px;left:20px;
	display:inline-flex;align-items:center;gap:8px;
	padding:8px 14px;border-radius:999px;
	background:rgba(15,23,42,.88);color:#fff;
	font-size:12.5px;font-weight:600;
	backdrop-filter:blur(8px);
	width: auto;
}
.hero-photo .badge .live-dot{width:6px;height:6px;border-radius:50%;background:#34d399;animation:pulse 2s infinite}

/* ===== PROCESS — 3 bước ===== */
.process{padding:64px 0;background:var(--bg)}
.proc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.proc-card{
	position:relative;
	background:#fff;border:1px solid var(--border);
	border-radius:var(--r-xl);
	padding:40px 32px 32px;
	transition:all .2s;
	display:flex;flex-direction:column;
}
.proc-card:hover{border-color:var(--slate-300);box-shadow:var(--sh-md);transform:translateY(-2px)}
.proc-card.highlight{
	background:linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 100%);
	color:#fff;border-color:transparent;
	box-shadow:0 12px 32px rgba(15,23,42,.20);
}
.proc-num{
	position:absolute;top:24px;right:32px;
	font-family:'JetBrains Mono',monospace;
	font-size:13px;font-weight:700;letter-spacing:1px;
	color:var(--slate-300);
}
.proc-card.highlight .proc-num{color:rgba(94,234,212,.7)}
.proc-ic{
	width:50px;height:50px;border-radius:12px;
	background:var(--slate-100);color:var(--slate-700);
	display:flex;align-items:center;justify-content:center;margin-bottom:22px;
}
.proc-card.highlight .proc-ic{background:rgba(13,148,136,.20);color:#5eead4;border:1px solid rgba(13,148,136,.30)}
.proc-tag{
	font-size:11.5px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;
	color:var(--teal-dark);margin-bottom:8px;
}
.proc-card.highlight .proc-tag{color:#5eead4}
.proc-card h3{
	font-size:21px;font-weight:800;color:var(--slate-900);
	letter-spacing:-.4px;margin-bottom:12px;line-height:1.25;
}
.proc-card.highlight h3{color:#fff}
.proc-card > p{font-size:14.5px;color:var(--text-2);line-height:1.65;margin-bottom:20px;flex-grow:1}
.proc-card.highlight > p{color:var(--slate-300)}
.proc-feats{list-style:none;display:flex;flex-direction:column;gap:9px;padding-top:18px;border-top:1px solid var(--border)}
.proc-card.highlight .proc-feats{border-top-color:rgba(255,255,255,.08)}
.proc-feats li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;color:var(--text-2);line-height:1.5}
.proc-card.highlight .proc-feats li{color:var(--slate-300)}
.proc-feats li svg{color:var(--teal-dark);flex-shrink:0;margin-top:2px;width:15px;height:15px}
.proc-card.highlight .proc-feats li svg{color:#5eead4}

/* ===== HUB CTA — Network panel dẫn về /cong-cu/ ===== */
.hub-cta{padding:64px 0;background:var(--slate-50)}
.hub-panel{
	position:relative;overflow:hidden;
	border-radius:var(--r-xl);
	background:linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
	color:#fff;
	box-shadow:0 24px 60px rgba(15,23,42,.20);
	border:1px solid rgba(255,255,255,.05);
}
.hub-bg{
	position:absolute;inset:0;
	background:
		radial-gradient(60% 50% at 80% 100%, rgba(13,148,136,.22) 0%, transparent 60%),
		radial-gradient(50% 40% at 0% 0%, rgba(217,119,6,.10) 0%, transparent 60%);
	pointer-events:none;
}
.hub-bg::before{
	content:'';position:absolute;inset:0;
	background-image:
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size:40px 40px;
	mask-image:radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
}
.hub-inner{
	position:relative;
	display:grid;grid-template-columns:1.15fr 1fr;gap:48px;
	align-items:center;
	padding:64px 56px;
}
.hub-text .eyebrow-text{color:#5eead4;margin-bottom:14px;display:inline-block}
.hub-text h2{
	font-size:clamp(28px,3.6vw,40px);
	font-weight:800;line-height:1.15;letter-spacing:-.7px;
	color:#fff;margin-bottom:16px;
}
.hub-text h2 .em{color:#f59e0b}
.hub-text > p{font-size:16.5px;color:var(--slate-300);line-height:1.65;margin-bottom:24px;max-width:520px}
.hub-text > p strong{color:#fff;font-weight:600}

.hub-stats{
	display:flex;gap:32px;margin-bottom:28px;padding:18px 0;
	border-top:1px solid rgba(255,255,255,.08);
	border-bottom:1px solid rgba(255,255,255,.08);
}
.hub-stats .it{display:flex;flex-direction:column}
.hub-stats .num{font-size:22px;font-weight:800;color:#fff;line-height:1;letter-spacing:-.4px}
.hub-stats .num.accent{color:#5eead4}
.hub-stats .lb{font-size:11.5px;color:var(--slate-400);font-weight:500;margin-top:5px;letter-spacing:.2px}

/* Visual graphic */
.hub-visual{
	position:relative;width:100%;aspect-ratio:1;max-width:380px;margin:0 auto;
}
.hub-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.hub-node{
	position:absolute;
	width:52px;height:52px;border-radius:12px;
	background:rgba(255,255,255,.06);
	border:1px solid rgba(255,255,255,.12);
	display:flex;align-items:center;justify-content:center;
	color:#5eead4;
	backdrop-filter:blur(8px);
	box-shadow:0 8px 24px rgba(0,0,0,.20);
	z-index:2;
	transition:all .2s;
}
.hub-node:hover{transform:scale(1.06);background:rgba(13,148,136,.16);border-color:rgba(94,234,212,.4)}
.hub-node-1{top:8%;left:12%}
.hub-node-2{top:8%;right:12%}
.hub-node-3{top:42%;left:0%}
.hub-node-4{top:42%;right:0%}
.hub-node-5{bottom:8%;left:12%}
.hub-node-more{bottom:8%;right:12%;color:#fbbf24;font-weight:800;font-size:13px;background:rgba(217,119,6,.14);border-color:rgba(245,158,11,.28)}
.hub-center{
	position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
	width:104px;height:104px;border-radius:50%;
	background:linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
	display:flex;flex-direction:column;align-items:center;justify-content:center;
	box-shadow:0 12px 36px rgba(13,148,136,.4), inset 0 1px 0 rgba(255,255,255,.22);
	z-index:3;
	border:3px solid rgba(255,255,255,.10);
}
.hub-center-mark{font-size:24px;font-weight:800;color:#fff;letter-spacing:-.5px;line-height:1}
.hub-center-lb{font-size:10.5px;color:rgba(255,255,255,.85);font-weight:600;margin-top:4px;letter-spacing:.5px;text-transform:uppercase}

/* ===== GIẢI PHÁP CÓ SẴN — 3 packages ===== */
.solutions{padding:64px 0;background:var(--bg)}
.sol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sol-card{
	position:relative;
	background:#fff;border:1px solid var(--border);
	border-radius:var(--r-xl);
	padding:32px 28px 28px;
	transition:all .22s ease;
	display:flex;flex-direction:column;
}
.sol-card:hover{transform:translateY(-3px);box-shadow:var(--sh-md);border-color:var(--slate-300)}
.sol-card.featured{
	border-color:var(--teal);
	box-shadow:0 12px 36px rgba(13,148,136,.14);
	transform:translateY(-6px);
}
.sol-card.featured:hover{transform:translateY(-8px);box-shadow:0 16px 44px rgba(13,148,136,.20)}
.sol-badge{
	position:absolute;top:-12px;left:50%;transform:translateX(-50%);
	background:linear-gradient(180deg,var(--teal) 0%,var(--teal-dark) 100%);
	color:#fff;padding:4px 14px;border-radius:999px;
	font-size:11px;font-weight:700;letter-spacing:.5px;
	box-shadow:var(--sh-teal);
}
.sol-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sol-ic{
	width:44px;height:44px;border-radius:11px;flex-shrink:0;
	background:linear-gradient(135deg, var(--teal-soft) 0%, #a7f3d0 100%);
	color:var(--teal-darker);
	display:flex;align-items:center;justify-content:center;
}
.sol-tag{
	font-family:'JetBrains Mono',monospace;font-size:10.5px;
	font-weight:700;color:var(--muted);letter-spacing:.8px;text-transform:uppercase;
}
.sol-card h3{font-size:20px;font-weight:800;color:var(--slate-900);letter-spacing:-.4px;line-height:1.25;margin-bottom:10px}
.sol-card > p{font-size:14.5px;color:var(--text-2);line-height:1.6;margin-bottom:18px}
.sol-feats{list-style:none;display:flex;flex-direction:column;gap:8px;flex-grow:1;margin-bottom:20px}
.sol-feats li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;color:var(--text-2);line-height:1.55}
.sol-feats li svg{color:var(--teal-dark);flex-shrink:0;margin-top:3px;width:15px;height:15px}
.sol-foot{
	display:flex;align-items:center;justify-content:space-between;gap:12px;
	padding-top:20px;border-top:1px solid var(--border);
}
.sol-info{
	display:inline-flex;align-items:center;gap:8px;
	padding:7px 14px;border-radius:999px;
	background:var(--teal-tint);
	border:1px solid rgba(13,148,136,.18);
	font-size:12.5px;font-weight:600;color:var(--teal-darker);
	letter-spacing:-.1px;
}
.sol-info .dot{
	width:7px;height:7px;border-radius:50%;background:var(--teal);
	box-shadow:0 0 0 3px rgba(13,148,136,.16);flex-shrink:0;
}
.sol-foot .btn{padding:8px 14px;font-size:13px}
.sol-note{
	text-align:center;margin-top:36px;
	font-size:13.5px;color:var(--text-2);line-height:1.7;
	max-width:720px;margin-left:auto;margin-right:auto;
}
.sol-note strong{color:var(--slate-900);font-weight:700}

/* ===== TECH STACK ===== */
.tech{padding:60px 0;background:var(--bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.tech-head{text-align:center;margin-bottom:28px}
.tech-head p{font-size:13px;color:var(--muted);font-weight:500;letter-spacing:.4px;text-transform:uppercase}
.tech-list{
	display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;
}
.tech-item{
	display:inline-flex;align-items:center;gap:10px;
	padding:12px 18px;border-radius:10px;
	background:#fff;border:1px solid var(--border);
	transition:all .15s;
}
.tech-item:hover{border-color:var(--slate-400);background:var(--slate-50);transform:translateY(-1px)}
.tech-item .ic{width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:var(--slate-700);flex-shrink:0}
.tech-item .tech-name{font-size:13.5px;font-weight:700;color:var(--slate-900);letter-spacing:-.1px}
.tech-item .tech-purpose{
	font-size:11px;font-weight:500;color:var(--muted);
	padding-left:10px;border-left:1px solid var(--border);margin-left:2px;
	letter-spacing:.1px;
}
.tech-note{
	text-align:center;font-size:13px;color:var(--muted);
	max-width:680px;margin:24px auto 0;line-height:1.65;
}

/* ===== BLOG LATEST ===== */
.blog-latest{padding:64px 0;background:var(--bg-soft)}
.blog-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:40px;gap:24px;flex-wrap:wrap}
.blog-header > div .eyebrow-text{display:block;margin-bottom:6px}
.blog-header h2{font-size:32px;font-weight:800;color:var(--slate-900);letter-spacing:-.5px;line-height:1.2}
.blog-header a{color:var(--slate-900);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid var(--border-strong);border-radius:8px;background:#fff;transition:all .15s}
.blog-header a:hover{border-color:var(--slate-400);background:var(--slate-50)}

.blog-grid-5{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:auto auto;gap:18px}
.blog-grid-5 > a:nth-child(1){grid-row:1/3}
.post-card{
	background:#fff;border:1px solid var(--border);
	border-radius:var(--r-lg);overflow:hidden;
	transition:all .2s;display:flex;flex-direction:column;
}
.post-card:hover{transform:translateY(-2px);box-shadow:var(--sh-md);border-color:var(--slate-300)}
.post-thumb{
	aspect-ratio:16/9;
	background:linear-gradient(135deg, var(--slate-800) 0%, var(--slate-600) 100%);
	position:relative;
}
.post-thumb.t2{background:linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 100%)}
.post-thumb.t3{background:linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%)}
.post-thumb.t4{background:linear-gradient(135deg, #7c2d12 0%, #ea580c 100%)}
.post-thumb.t5{background:linear-gradient(135deg, #581c87 0%, #9333ea 100%)}
.post-thumb::after{
	content:'';position:absolute;inset:0;
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size:24px 24px;
}
.blog-grid-5 > a:nth-child(1) .post-thumb{aspect-ratio:auto;height:100%;min-height:240px}
.post-meta{padding:18px 20px 0;display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);flex-wrap:wrap}
.post-meta .cat{padding:3px 9px;border-radius:6px;background:var(--slate-100);color:var(--slate-700);font-weight:700;letter-spacing:.2px;font-size:10.5px;text-transform:uppercase}
.post-card h3{padding:10px 20px;font-size:15.5px;font-weight:700;color:var(--slate-900);letter-spacing:-.2px;line-height:1.32}
.blog-grid-5 > a:nth-child(1) h3{font-size:22px;letter-spacing:-.4px;line-height:1.25}
.post-card p{padding:0 20px 20px;font-size:13.5px;color:var(--text-2);line-height:1.6;flex-grow:1}

/* ===== TOPICS — 5 chủ đề ===== */
.topics{padding:64px 0;background:var(--bg)}
.topics-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.topic-card{
	background:#fff;border:1px solid var(--border);
	border-radius:var(--r-lg);padding:26px 22px;
	transition:all .2s;display:flex;flex-direction:column;text-align:center;
}
.topic-card:hover{transform:translateY(-2px);box-shadow:var(--sh);border-color:var(--slate-300)}
.topic-card .ic{
	width:46px;height:46px;border-radius:11px;
	background:var(--slate-100);color:var(--slate-700);
	display:flex;align-items:center;justify-content:center;
	margin:0 auto 14px;
}
.topic-card h3{font-size:15px;font-weight:700;color:var(--slate-900);letter-spacing:-.2px;margin-bottom:4px}
.topic-card .count{font-size:11.5px;color:var(--muted);font-weight:500}

/* ===== YOUTUBE ===== */
.yt{padding:64px 0;background:var(--bg-soft);border-top:1px solid var(--border)}
.yt-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.yt-left .eyebrow-text{display:block;margin-bottom:10px}
.yt-left h2{font-size:30px;font-weight:800;color:var(--slate-900);letter-spacing:-.5px;margin-bottom:14px;line-height:1.2}
.yt-left p{font-size:16px;color:var(--text-2);line-height:1.65;margin-bottom:26px}
.yt-stats{display:flex;gap:36px;margin-bottom:28px}
.yt-stats .it .num{font-size:22px;font-weight:800;color:var(--slate-900);letter-spacing:-.4px;line-height:1}
.yt-stats .it .lb{font-size:12px;color:var(--muted);font-weight:500;margin-top:4px}
.yt-thumb{
	aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden;
	background:linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
	position:relative;box-shadow:var(--sh-lg);
}
.yt-thumb::before{
	content:'';position:absolute;inset:0;
	background-image:
		linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size:24px 24px;
}
.yt-play{
	position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
	width:72px;height:72px;border-radius:50%;
	background:rgba(255,255,255,.96);
	display:flex;align-items:center;justify-content:center;
	color:#dc2626;box-shadow:0 12px 32px rgba(0,0,0,.3);
}

/* ===== BIO ===== */
.bio{padding:64px 0;background:var(--bg)}
.bio-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:54px;align-items:start}
.bio-photo{
	position:sticky;top:90px;
	aspect-ratio:1/1.1;border-radius:var(--r-xl);overflow:hidden;
	background:var(--slate-100);box-shadow:var(--sh-md);
	border:1px solid var(--border);
}
.bio-right .eyebrow-text{display:block;margin-bottom:10px}
.bio-right h2{font-size:32px;font-weight:800;color:var(--slate-900);letter-spacing:-.5px;margin-bottom:18px;line-height:1.2}
.bio-right h2 .em{color:var(--teal-dark)}
.bio-right > p{font-size:16px;color:var(--text-2);line-height:1.75;margin-bottom:18px}
.bio-right > p strong{color:var(--slate-900);font-weight:700}
.bio-intro{font-size:16.5px;color:var(--text-2);line-height:1.7;margin-bottom:24px}
.bio-audience{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:28px}
.aud-card{
	display:flex;gap:14px;align-items:flex-start;
	background:var(--slate-50);border:1px solid var(--border);
	border-radius:var(--r);padding:18px 18px;
	transition:all .18s;
}
.aud-card:hover{border-color:var(--teal);background:var(--teal-tint)}
.aud-ic{
	width:38px;height:38px;border-radius:10px;flex-shrink:0;
	background:#fff;color:var(--teal-dark);
	border:1px solid var(--border);
	display:flex;align-items:center;justify-content:center;
}
.aud-tag{
	font-size:11.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
	color:var(--teal-dark);margin-bottom:4px;
}
.aud-text p{font-size:13.5px;color:var(--text-2);line-height:1.55;margin:0}
.bio-exp{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:24px 0}
.bio-exp .it{
	background:var(--slate-50);border:1px solid var(--border);
	border-radius:var(--r);padding:18px;
}
.bio-exp .num{font-size:22px;font-weight:800;color:var(--slate-900);letter-spacing:-.3px;line-height:1.1}
.bio-exp .lb{font-size:13px;color:var(--text-2);font-weight:500;margin-top:6px;line-height:1.4}
.bio-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}

/* ===== NEWSLETTER ===== */
.news{padding:64px 0;background:linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);color:#fff;position:relative;overflow:hidden}
.news::before{
	content:'';position:absolute;inset:0;
	background:
		radial-gradient(50% 60% at 80% 0%, rgba(13,148,136,.16) 0%, transparent 60%),
		radial-gradient(40% 50% at 20% 100%, rgba(217,119,6,.10) 0%, transparent 60%);
}
.news::after{
	content:'';position:absolute;inset:0;
	background-image:
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size:48px 48px;
	mask-image:radial-gradient(ellipse 70% 50% at 50% 50%, #000 30%, transparent 75%);
}
.news-inner{position:relative;text-align:center;max-width:680px;margin:0 auto}
.news .eyebrow-pill{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#a7f3d0}
.news h2{font-size:clamp(28px,3.4vw,38px);font-weight:800;line-height:1.2;letter-spacing:-.5px;color:#fff;margin-bottom:14px}
.news > p{font-size:16.5px;color:var(--slate-300);margin-bottom:28px;line-height:1.6}
.news-form{display:flex;gap:10px;max-width:520px;margin:0 auto}
.news-form input,
.news-form.form-flat .wpcf7-email {
	flex:1;padding:14px 18px;border-radius:10px;
	border:1px solid rgba(255,255,255,.12);
	background:rgba(0,0,0,.20);color:#fff;
	font-family:inherit;font-size:14.5px;
	min-height: 100%;
	height: 100%;
}
.wpcf7 form .wpcf7-response-output{
	padding-top: 0 !important;
	background: #fff;
	max-width: 580px;
	margin: 10px auto;
	
}
.news-form input::placeholder{color:var(--slate-400)}
.news-form input:focus{outline:0;border-color:rgba(255,255,255,.30);background:rgba(0,0,0,.30)}
.news-form .btn{flex-shrink:0}
.news-privacy{font-size:12px;color:var(--slate-400);margin-top:16px}

/* ===== FOOTER ===== */
.site-footer{background:var(--slate-950);color:var(--slate-400);padding:60px 0 22px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:42px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.06)}
.foot-brand .brand-mark{margin-bottom:14px}
.foot-brand .brand-name{color:#fff}
.foot-brand .brand-tag{color:#475569}
.foot-tag-line{margin-top:14px;font-size:13.5px;color:var(--slate-400);line-height:1.65;max-width:300px}
.foot-col h5{color:#fff;font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:14px}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.foot-col a{font-size:13.5px;color:var(--slate-400);transition:color .15s}
.foot-col a:hover{color:#fff}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;font-size:12px;color:var(--slate-500)}
.foot-social{display:flex;gap:8px}
.foot-social a{
	width:32px;height:32px;border-radius:7px;
	background:rgba(255,255,255,.05);
	display:flex;align-items:center;justify-content:center;
	color:var(--slate-400);transition:all .15s;
}
.foot-social a:hover{background:var(--teal-dark);color:#fff}

/* blog list */

/* ===== RESPONSIVE ===== */
@media (max-width:1080px){
	.nav-links{display:none}
	.mobile-toggle{display:flex}
}
@media (max-width:980px){
	.hero-grid,.yt-grid,.bio-grid,.hub-inner,.proc-grid,.sol-grid{grid-template-columns:1fr;gap:28px}
	.sol-card.featured{transform:none}
	.hub-inner{padding:36px 28px}
	.hub-visual{max-width:280px}
	.bio-photo{position:static;max-width:320px}
	.blog-grid-5{grid-template-columns:repeat(2,1fr);grid-template-rows:auto;gap:14px}
	.blog-grid-5 > a:nth-child(1){grid-row:auto;grid-column:1/-1}
	.topics-grid{grid-template-columns:repeat(3,1fr);gap:12px}
	.foot-grid{grid-template-columns:1fr 1fr;gap:28px}
	section{padding-top:48px !important;padding-bottom:48px !important}
	.hero{padding:48px 0 40px !important}
}
@media (max-width:560px){
	.hero{padding:36px 0 32px !important}
	section{padding-top:40px !important;padding-bottom:40px !important}
	.container{padding:0 18px}
	h1{font-size:30px !important;letter-spacing:-.8px !important}
	h2{font-size:24px !important}
	.section-head{margin-bottom:24px}
	.section-head p{font-size:15px}
	.bio-audience{grid-template-columns:1fr}
	.topics-grid{grid-template-columns:repeat(2,1fr);gap:10px}
	.blog-grid-5{grid-template-columns:1fr}
	.blog-header{flex-direction:column;align-items:flex-start;gap:12px}
	.blog-header h2{font-size:22px}
	.news-form{flex-direction:column}
	.yt-stats,.hero-meta{gap:18px}
	.hero-meta .num{font-size:20px}
	.hero-meta .lb{font-size:11px}
	.foot-grid{grid-template-columns:1fr;gap:24px}
	.foot-bottom{flex-direction:column;gap:12px;text-align:center}
	.nav-cta .lang,.nav-cta .btn-ghost{display:none}
	.proc-card{padding:24px 22px 22px}
	.sol-card{padding:24px 22px 22px}
	.sol-feats li{font-size:13px}

	/* Mobile premium buttons */
	.btn{padding:13px 20px;font-size:14px;border-radius:11px;width:auto}
	.btn-lg{padding:15px 22px;font-size:14.5px;border-radius:12px}
	.hero-cta{display:flex;flex-direction:column;gap:10px;width:100%}
	.hero-cta .btn{width:100%;padding:15px 22px;font-size:14.5px}
	.cta-actions{flex-direction:column;width:100%}
	.cta-actions .btn{width:100%}
	.bio-cta{flex-direction:column;width:100%}
	.bio-cta .btn{width:100%}
	.sol-foot{flex-direction:column;align-items:stretch;gap:12px}
	.sol-foot .btn{width:100%;padding:12px 18px}
	.sol-info{align-self:center}
	.nav-cta .btn-primary{padding:9px 14px;font-size:13px}
	.nav .brand-tag{display:none}
}

/* ===== WORDPRESS INTEGRATION ===== */
body.mqg-ai-page{margin:0}
.mqg-newsletter-wrap .wpcf7{max-width:620px;margin:0 auto}
.mqg-newsletter-wrap .wpcf7 form{margin:0}
.mqg-newsletter-wrap .wpcf7-spinner{display:none}
.mqg-newsletter-wrap .wpcf7-response-output{color:#fff;border-color:rgba(255,255,255,.28)!important;margin:14px 0 0!important;padding:9px 12px!important;font-size:13px;border-radius:8px}
.mqg-newsletter-message{font-size:13px;color:#a7f3d0;margin-top:14px;min-height:20px}
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}

@media (max-width:560px){
	.tl-ongoing{flex-direction:column;align-items:flex-start;gap:14px;padding:24px}
	.foot-grid{grid-template-columns:1fr 1fr;gap:10px}
	.foot-bottom{flex-direction:column;gap:14px;text-align:center}
}

@media  (max-width:1080px){
	.mqg-main-nav.mqg-header-nav.is-open {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		padding: 0;
		top: 0 !important;
	}
	.mqg-main-nav.mqg-header-nav.is-open ul.nav-links.mqg-nav-links {
		display: block !important;
	}
}

/* ============================================================
 * MQG PREMIUM UPGRADE  (added by assistant)
 * - Agent demo modal (Relevance AI iframe popup)
 * - Header / nav / card / footer micro-interactions
 * ============================================================ */

/* --- Agent demo modal --- */
#mqg-agent-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:24px;opacity:0;transition:opacity .25s ease;}
#mqg-agent-modal.is-open{display:flex;opacity:1;}
.mqg-agent-modal__overlay{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
.mqg-agent-modal__dialog{position:relative;width:min(440px,94vw);height:min(660px,88vh);background:#fff;border-radius:var(--r-lg,16px);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--sh-lg);transform:translateY(16px) scale(.98);transition:transform .3s cubic-bezier(.2,.8,.2,1);}
#mqg-agent-modal.is-open .mqg-agent-modal__dialog{transform:translateY(0) scale(1);}
.mqg-agent-modal__head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:linear-gradient(135deg,var(--teal-darker,#134e4a),var(--teal,#0d9488));color:#fff;}
.mqg-agent-modal__title{font-weight:700;font-size:15px;letter-spacing:.2px;}
.mqg-agent-modal__close{border:0;background:rgba(255,255,255,.16);color:#fff;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;}
.mqg-agent-modal__close:hover{background:rgba(255,255,255,.32);}
.mqg-agent-modal__body{position:relative;flex:1;background:#f8fafc;}
.mqg-agent-modal__frame{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .4s ease;}
.mqg-agent-modal__loader{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted,#64748b);font-size:14px;font-weight:600;}
.mqg-agent-modal__loader::before{content:"";width:18px;height:18px;border:2px solid var(--teal-soft,#ccfbf1);border-top-color:var(--teal,#0d9488);border-radius:50%;animation:mqgspin .7s linear infinite;}
@keyframes mqgspin{to{transform:rotate(360deg);}}
@media (max-width:560px){#mqg-agent-modal{padding:0;align-items:flex-end;}.mqg-agent-modal__dialog{width:100%;height:92vh;border-radius:18px 18px 0 0;}}

/* --- Header / nav polish --- */
.mqg-site-header{transition:box-shadow .25s ease,background .25s ease;}
.mqg-site-header.mqg-scrolled{box-shadow:0 4px 24px rgba(15,23,42,.08);backdrop-filter:saturate(180%) blur(8px);-webkit-backdrop-filter:saturate(180%) blur(8px);background:rgba(255,255,255,.88);}
.mqg-nav-links a{position:relative;}
.mqg-nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:-4px;height:2px;background:var(--teal,#0d9488);border-radius:2px;transition:right .25s ease;}
.mqg-nav-links a:hover::after,.mqg-nav-links a.active::after{right:0;}
.mqg-header-btn-primary{transition:transform .2s ease,box-shadow .2s ease;}
.mqg-header-btn-primary:hover{transform:translateY(-1px);box-shadow:var(--sh-teal);}

/* --- Agent cards --- */
.agent-card{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease;}
.agent-card:hover{transform:translateY(-6px);box-shadow:var(--sh-lg);}
.agent-card.live{cursor:pointer;}
.agent-card.live .agent-cta{transition:gap .2s ease,color .2s ease;}
.agent-card.live:hover .agent-cta{gap:10px;color:var(--teal,#0d9488);}

/* --- Filter pills --- */
.pill{transition:transform .15s ease,box-shadow .2s ease;}
.pill:hover{transform:translateY(-1px);}

/* --- Footer micro-interactions --- */
.foot-col a{transition:color .2s ease,padding-left .2s ease;}
.foot-col a:hover{color:var(--teal-soft,#ccfbf1);padding-left:4px;}
.foot-social a{transition:transform .2s ease,opacity .2s ease;}
.foot-social a:hover{transform:translateY(-2px);opacity:1;}
/* === END MQG PREMIUM UPGRADE === */


/* ============================================================
 * MQG REFINE V2 - Premium typography, spacing & mobile polish
 * (additive only, appended at end so it overrides prior rules)
 * ============================================================ */

/* 1. PREMIUM HEADING FONT — replace monospace JetBrains with the
 * refined Be Vietnam Pro (full Vietnamese support, elegant weights) */
h1, h2, h3, h4, h5, h6,
.hero-cat h1, .catalog-grid .card h3, .agent-num, .agent-num span,
span.agent-num, .em, span.em, .cta-stat-num,
.section-title, .card h3, .card h4,
.mqg-404__title, .mqg-404__badge {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif !important;
  letter-spacing: -0.018em;
}
h1, .hero-cat h1 { font-weight: 800 !important; letter-spacing: -0.03em; line-height: 1.12; }
h2 { font-weight: 800 !important; letter-spacing: -0.025em; }
h3, .card h3 { font-weight: 700 !important; letter-spacing: -0.012em; line-height: 1.32; }
/* small technical labels keep a touch of tracking but stay sans */
.agent-num, span.agent-num { font-weight: 700 !important; letter-spacing: 0.06em; }

/* 2. REFINED TYPE SCALE — slightly calmer, more premium sizing */
body { font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.hero-cat h1 { font-size: clamp(30px, 5vw, 50px); }
.hero-cat p, .lead { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; }
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; line-height: 1.6; }

/* 3. TIGHTEN LARGE WHITESPACE (desktop) */
.hero-cat { padding-top: 56px !important; padding-bottom: 36px !important; }
.hero-cat .stats { margin-top: 26px !important; }
.catalog-toolbar, .filter-pills, .pills { margin-top: 22px !important; margin-bottom: 26px !important; }
section { padding-top: 0; }

/* 4. MOBILE POLISH — fix the "rời rạc" / disjointed feel ----------- */
@media (max-width: 600px) {
  .hero-cat { padding: 40px 0 28px !important; text-align: center; }
  .hero-cat h1 { font-size: 28px !important; line-height: 1.18 !important; letter-spacing: -0.02em !important; }
  .hero-cat p, .hero-cat .lead { font-size: 15px !important; line-height: 1.62 !important; }

  /* Filter pills: keep them on one tidy row instead of stacked & loose */
  .filter-pills, .pills, .catalog-toolbar {
    display: flex !important; flex-wrap: wrap !important; flex-direction: row !important;
    justify-content: center !important; gap: 8px !important; margin: 18px auto 22px !important;
  }
  .filter-pills .pill, .pills .pill, .pill {
    width: auto !important; flex: 0 0 auto !important; margin: 0 !important;
    padding: 9px 14px !important; font-size: 13px !important; white-space: nowrap;
  }

  /* Stats: tighten the tall stacked block */
  .hero-cat .stats { margin-top: 20px !important; gap: 0 !important; border-radius: 14px; }
  .hero-cat .stats .it { padding: 14px 16px !important; }
  .cta-stat-num, .stat-num { font-size: 22px !important; }

  /* Consistent vertical rhythm between cards */
  .catalog-grid { gap: 16px !important; }
  .catalog-grid .card { margin: 0 !important; }

  /* Footer: align logo & columns evenly, centered, balanced spacing */
  .foot-grid, .mqg-footer__grid { gap: 26px !important; text-align: center; }
  .mqg-footer .footer-brand, .foot-brand { text-align: center; }
  .mqg-footer .footer-brand img, .foot-brand img, footer img[src*="logo"] {
    display: block; margin: 0 auto 14px !important; max-width: 200px; height: auto;
  }
  .mqg-footer ul, .foot-grid ul { padding-left: 0; list-style: none; }
  .mqg-footer .foot-bottom, .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .mqg-footer .foot-bottom .socials, .footer-bottom .socials { justify-content: center; }

  /* General section breathing room — remove oversized gaps */
  section, .section { padding-top: 36px !important; padding-bottom: 36px !important; }
}

/* 5. Very small phones */
@media (max-width: 380px) {
  .hero-cat h1 { font-size: 25px !important; }
  .filter-pills .pill, .pill { padding: 8px 12px !important; font-size: 12.5px !important; }
}


/* ============================================================
 * MQG AGENT FULLPAGE - Open agent as a full-screen page
 * (overrides the small popup dialog -> full viewport experience)
 * ============================================================ */
.mqg-agent-modal { padding: 0 !important; }
.mqg-agent-modal__overlay { background: rgba(15,23,42,0.55) !important; }

/* The dialog now fills (almost) the entire viewport */
.mqg-agent-modal__dialog {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Header bar stays compact and branded at the top */
.mqg-agent-modal__dialog > .mqg-agent-modal__head,
.mqg-agent-modal__head {
  flex: 0 0 auto !important;
  border-radius: 0 !important;
  padding: 18px 28px !important;
}

/* The iframe / body fills all remaining space */
.mqg-agent-modal__body,
.mqg-agent-modal__dialog iframe {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  display: block !important;
}
.mqg-agent-modal__body { display: flex !important; flex-direction: column !important; }
.mqg-agent-modal__body > iframe { flex: 1 1 auto !important; }

/* Close button: larger, clearly visible top-right */
.mqg-agent-modal__close {
  width: 40px !important; height: 40px !important;
  font-size: 20px !important;
  border-radius: 10px !important;
}

/* On large desktops, optionally cap the inner width for readability
 * while keeping the page full-height (comment-free, keeps full width). */

/* Mobile: true full screen, header a touch smaller */
@media (max-width: 600px) {
  .mqg-agent-modal__head { padding: 14px 18px !important; }
  .mqg-agent-modal__head .mqg-agent-modal__title,
  .mqg-agent-modal__head h3 { font-size: 16px !important; }
  .mqg-agent-modal__close { width: 36px !important; height: 36px !important; }
}


/* MQG AGENT CLOSE ENHANCE - make full-page close button clearly visible */
.mqg-agent-modal__close {
  background: rgba(255,255,255,0.18) !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background .18s ease, transform .18s ease !important;
}
.mqg-agent-modal__close:hover {
  background: rgba(255,255,255,0.34) !important;
  transform: scale(1.06) !important;
}

/* single post css */
:root {
	--container: 1200px;
	--container-narrow: 900px;
}
.mqg-content p{
	margin-bottom: 5px 
	padding: 0
}
.mqg-content h2{
	padding: 8px 0 
	margin: 0
}
.mqg-author-box{
	display: none 
}
.mqg-content > .mqg-author-box{
	display: flex 
}
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container-narrow {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 0 24px;
}
/* ===== ARTICLE HEADER ===== */
.article-header {
	padding: 24px 0 18px;
}

.breadcrumb {
	font-size: 14px;
	color: var(--c-subtext);
	margin-bottom: 24px;
}

.breadcrumb a {
	color: var(--c-subtext);
	transition: color .15s;
}

.breadcrumb a:hover {
	color: var(--c-primary);
}

.breadcrumb-sep {
	margin: 0 8px;
	color: #cbd5e1;
}

.article-cluster {
	display: inline-block;
	background: rgba(20, 184, 166, .1);
	color: var(--c-primary);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin-bottom: 20px;
}

.article-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-bottom: 24px;
	color: var(--c-text);
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--c-subtext);
	font-size: 15px;
	flex-wrap: wrap;
}

.article-meta-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-meta-author img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.article-meta-author strong {
	color: var(--c-text);
	font-weight: 600;
}

.meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #cbd5e1;
}

/* ===== FEATURED IMAGE ===== */
.article-featured {
	aspect-ratio: 16/9;
	border-radius: var(--radius-lg);
	margin: 5px auto 10px ;
	max-width: var(--container);
	width: calc(100% - 48px);
	display: grid;
	place-items: center;
	color: white;
	font-weight: 700;
	font-size: 28px;
}

/* ===== DIRECT ANSWER BLOCK ===== */
.direct-answer {
	background: var(--c-bg-light);
	border-left: 4px solid var(--c-primary);
	padding: 24px 28px;
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	margin: 0 0 40px;
	font-size: 17px;
	line-height: 1.7;
}

.direct-answer strong {
	color: var(--c-text);
	font-weight: 700;
}

.direct-answer .label {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--c-primary);
	margin-bottom: 8px;
}

/* ===== ARTICLE BODY ===== */
.mqg-article {
	margin-top: 0px !important;
	max-width: 100% !important;
	padding: 0 !important;
}
.article-body {
	font-size: 17px;
	line-height: 1.8;
	color: var(--c-text);
}
.article-body p {
	color: #1e293b;
}

.article-body h2 {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.25;
}

.article-body h3 {
	font-size: 22px;
	font-weight: 700;
	margin-top: 32px;
	margin-bottom: 12px;
}

.answer-capsule {
	background: #fefce8;
	border: 1px solid #fef08a;
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	font-weight: 500;
	color: #713f12;
	margin: 16px 0 !important;
}

.article-body ul,
.article-body ol {
	padding-left: 24px;
}

.article-body li {
	margin-bottom: 8px;
}

.article-body strong {
	font-weight: 700;
	color: var(--c-text);
}

.article-body a {
	color: var(--c-primary);
	border-bottom: 1px solid rgba(20, 184, 166, .3);
	transition: border-color .15s;
}

.article-body a:hover {
	border-bottom-color: var(--c-primary);
}

.article-body blockquote {
	border-left: 3px solid var(--c-text);
	padding-left: 20px;
	margin: 32px 0;
	font-style: italic;
	color: var(--c-subtext);
	font-size: 18px;
}

.article-body code {
	background: var(--c-bg-soft);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 14px;
	font-family: 'JetBrains Mono', monospace;
	color: #be185d;
}

.article-body pre {
	background: #0f172a;
	color: #e2e8f0;
	padding: 20px;
	border-radius: var(--radius-md);
	overflow-x: auto;
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	line-height: 1.6;
}

.article-body pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}

.article-body th,
.article-body td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--c-border);
}

.article-body th {
	background: var(--c-bg-light);
	font-weight: 700;
	color: var(--c-text);
}

.article-body .callout {
	background: #ecfeff;
	border: 1px solid #67e8f9;
	padding: 20px;
	border-radius: var(--radius-md);
	margin: 24px 0;
}

.article-body .callout strong {
	color: #0e7490;
}
.article-tags{
	margin: 15px 0;
}
.article-tags a{
	padding: 5px 10px; 
	font-size: 12px; 
	background: green;
	border-radius: 99px; 
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.06);
	color: #fff;
	display: inline-block;
	margin: 5px 0;
}
/* ===== AUTHOR BOX ===== */
.author-box {
	display: flex;
	gap: 24px;
	padding: 32px;
	margin: 56px 0;
	background: var(--c-bg-light);
	border-left: 4px solid var(--c-primary);
	border-radius: var(--radius-md);
	align-items: flex-start;
	display: none;
}

.author-box img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.author-box h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 6px;
}

.author-box h3 .nickname {
	font-weight: 400;
	color: var(--c-subtext);
	font-size: 15px;
}

.author-box p {
	color: var(--c-subtext);
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 10px;
}

.author-box .links a {
	margin-right: 16px;
	color: var(--c-primary);
	font-weight: 600;
	font-size: 14px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
	margin: 16px 0;
}

.faq-section h2 {
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 24px;
}

.faq-item {
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	margin-bottom: 12px;
	overflow: hidden;
}

.faq-item summary {
	padding: 16px 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	background: white;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

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

.faq-item summary::after {
	content: '+';
	font-size: 22px;
	font-weight: 400;
	color: var(--c-subtext);
	transition: transform .2s;
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item[open] summary {
	background: var(--c-bg-light);
}

.faq-item .answer {
	padding: 0 20px 20px;
	color: var(--c-subtext);
	font-size: 15px;
	line-height: 1.7;
}

/* ===== RELATED POSTS ===== */
.mqg-author-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.related-section {
	background: var(--c-bg-light);
	padding: 80px 0;
	margin-top: 50px;
	box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.12);
}

.related-section h2 {
	text-align: center;
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 35px;
	letter-spacing: -.01em;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.blog-card {
	background: white;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
	display: flex;
	flex-direction: column;
}
.blog-card .blog-thumb {
	padding: 15px;
}

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

.blog-thumb {
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, #14b8a6, #0d9488);
	display: grid;
	place-items: center;
	color: white;
	font-weight: 700;
	font-size: 18px;
}

.blog-thumb.c2 {
	background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.blog-thumb.c3 {
	background: linear-gradient(135deg, #f97316, #ef4444);
}

.blog-thumb.c4 {
	background: linear-gradient(135deg, #10b981, #14b8a6);
}

.blog-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.blog-tag {
	font-size: 11px;
	font-weight: 700;
	color: var(--c-primary);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.blog-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-text);
	margin: 0;
	flex: 1;
}

@media (max-width: 1024px) {
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.related-section{
		padding: 30px 0;
		margin-top: 20px;
	}
	.related-section h2{
		margin-bottom: 15px;
	}
}

@media (max-width: 768px) {
	.article-body .mqg-content .mqg-author-box{
		padding: 15px 10px;
	}
	.article-body .mqg-title{
		font-size: 20px !important;
	}
	.related-section{
		padding: 25px 0;
		margin-top: 20px;
	}
	.related-section h2{
		margin-bottom: 20px;
	}
	.related-grid .blog-card .blog-thumb{
		height: auto !important;
		text-align: center;
	}
	.nav-links {
		display: none;
	}

	.article-title {
		font-size: 22px !important;
	}

	.article-body h2 {
		font-size: 24px;
	}

	.article-body {
		font-size: 16px;
	}

	.author-box {
		flex-direction: column;
		text-align: center;
	}

	.author-box img {
		margin: 0 auto;
	}

	.related-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width:541px){
	.mqg-author-links a {
		font-size: 13px;
	}
}
/* End css single post */
