/*
Theme Name: 7AI Agent & Ecosystem
Theme URI: https://7ai.vn
Author: 7AI Technology Team
Author URI: https://7ai.vn
Description: Giao diện WordPress chuẩn SEO & AEO dành cho Hệ thống AI Agent, Dịch vụ AI, Khoá học AI & Phần mềm AI.
Version: 1.0.2
Text Domain: 7ai-theme
*/

:root {
  --bg-dark: #0a0314;
  --bg-dark-card: #130724;
  --bg-dark-card2: #1b0a33;
  --bg-light: #f7f3fd;
  --bg-light-card: #ffffff;
  --p950: #0a0314;
  --pu: #7c0fd1;
  --pu2: #a426e6;
  --pu3: #c64bff;
  --or: #f5851e;
  --or2: #ffa51f;
  --ink: #170b26;
  --ink2: #4f4463;
  --ink3: #8a7f9e;
  --lav: #f1e6fc;
  --line: #e2d2f5;
  --line-dark: rgba(255, 255, 255, 0.12);
  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--ink); background: var(--bg-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; }

/* ── HEADER ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 3, 20, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.3s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.logo-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--pu), var(--or)); display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 0 16px rgba(198, 75, 255, 0.6); }
.logo-text span { background: linear-gradient(120deg, #fff, var(--or2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #e9c8ff; background: rgba(124, 15, 209, 0.3); border: 1px solid rgba(198, 75, 255, 0.4); padding: 2px 6px; border-radius: 6px; margin-left: 6px; }

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #d6c6ea; transition: all 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
.nav-link .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--or2); opacity: 0; transition: opacity 0.2s; }
.nav-link:hover .dot { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 12px; font-size: 14.5px; font-weight: 800; background: linear-gradient(135deg, var(--or2), var(--or)); color: #fff; box-shadow: 0 4px 18px rgba(245, 133, 30, 0.45); transition: all 0.3s var(--ease); border: none; cursor: pointer; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 133, 30, 0.7); }

.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; padding: 4px; }

/* ── HERO SECTION ── */
.hero { background: var(--p950); color: #fff; padding: 130px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 65% at 76% 46%, rgba(164, 38, 230, 0.45), transparent 70%), radial-gradient(45% 55% at 6% 0%, rgba(124, 15, 209, 0.4), transparent 70%), radial-gradient(38% 42% at 98% 100%, rgba(245, 133, 30, 0.25), transparent 72%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 80% at 62% 45%, #000 25%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 62% 45%, #000 25%, transparent 78%); }

.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-kick { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: #e9c8ff; background: rgba(124, 15, 209, 0.25); border: 1px solid rgba(198, 75, 255, 0.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero-kick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or2); box-shadow: 0 0 0 4px rgba(255, 165, 31, 0.25); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero-h1 { font-size: clamp(34px, 3.8vw, 54px); font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(100deg, #e2b3ff 0%, #c64bff 42%, #ffab4a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-quote { padding: 8px 0 8px 18px; border-left: 3px solid var(--or); margin-bottom: 22px; }
.hero-quote span { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c3a8df; }
.hero-quote strong { display: block; margin-top: 4px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; color: #fff; }

.hero-lede { font-size: 17px; line-height: 1.7; color: #d9cbe9; margin-bottom: 32px; }
.hero-lede b { color: #fff; font-weight: 700; }
.hero-lede mark { background: linear-gradient(transparent 60%, rgba(245, 133, 30, 0.5) 60%); color: #fff; padding: 0 4px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 14px; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, var(--or2), var(--or)); color: #fff; box-shadow: 0 10px 30px -8px rgba(245, 133, 30, 0.7); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(245, 133, 30, 0.9); }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 14px; font-weight: 700; font-size: 16px; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.05); }
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Stats Bar */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); padding-top: 28px; gap: 20px; }
.hero-stat b { display: block; font-family: var(--font-mono); font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; color: #fff; line-height: 1; }
.hero-stat span { display: block; font-size: 14px; color: #c3a8df; margin-top: 6px; }

/* ── ORBIT VISUALIZATION ── */
.orbit-wrap { position: relative; width: 100%; aspect-ratio: 1/1; max-width: 520px; margin: 0 auto; display: grid; place-items: center; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orbit-core { position: absolute; width: 150px; height: 150px; border-radius: 50%; z-index: 10; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #e0a4ff 0%, #a426e6 36%, #5d10ad 70%, #2a0754 100%); box-shadow: 0 0 0 10px rgba(164, 38, 230, 0.15), 0 0 0 24px rgba(164, 38, 230, 0.08), 0 20px 60px rgba(164, 38, 230, 0.7); }
.orbit-core b { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.1; }
.orbit-core small { display: block; font-family: var(--font-mono); font-size: 10px; color: #f3dfff; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.orbit-node { position: absolute; width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 2.5px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.4); display: grid; place-items: center; font-size: 24px; cursor: pointer; transition: all 0.3s var(--ease); z-index: 5; }
.orbit-node:hover { transform: scale(1.2); box-shadow: 0 0 24px var(--pu3); z-index: 20; }
.orbit-node .tooltip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: rgba(20, 6, 38, 0.95); border: 1px solid rgba(198, 75, 255, 0.5); padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.orbit-node:hover .tooltip { opacity: 1; }

/* ── SECTION HEADER ── */
.sec-header { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.sec-badge { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pu); background: #eee4fa; padding: 6px 14px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.sec-h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 900; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; }
.sec-desc { font-size: 17px; color: var(--ink2); line-height: 1.65; }

/* ── SECTION: DANH SÁCH BỘ AI AGENT (Mona Style Showcase) ── */
.sec-agents { background: var(--lav); padding: 90px 0; }
.agent-showcase { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.agent-dock { position: sticky; top: 100px; background: linear-gradient(160deg, #1c0634 0%, #360c62 60%, #520f92 100%); border-radius: 24px; padding: 30px; color: #fff; box-shadow: 0 30px 60px -20px rgba(60, 10, 110, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); }
.agent-dock-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(245, 133, 30, 0.25); border: 1px solid var(--or); font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; }
.agent-dock-icon { width: 90px; height: 90px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 44px; margin: 20px 0; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15), 0 0 0 14px rgba(198, 75, 255, 0.15); }
.agent-dock-title { font-size: 26px; font-weight: 900; margin-bottom: 8px; color: #fff; }
.agent-dock-role { font-size: 15px; color: #d6c0ee; line-height: 1.5; margin-bottom: 24px; }
.agent-dock-meta { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.agent-dock-meta div { display: flex; justify-content: space-between; color: #c9b1e3; }
.agent-dock-meta b { color: #fff; }
.agent-dock-btn { display: block; text-align: center; margin-top: 24px; padding: 13px; border-radius: 12px; background: var(--or); color: #fff; font-weight: 800; font-size: 15px; }
.agent-dock-btn:hover { background: var(--or2); }

.agent-list { display: flex; flex-direction: column; gap: 16px; }
.agent-item { background: #fff; border-radius: 20px; padding: 24px 28px; border: 1.5px solid var(--line); display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; cursor: pointer; transition: all 0.3s var(--ease); position: relative; }
.agent-item:hover, .agent-item.active { border-color: var(--pu); box-shadow: 0 16px 36px -10px rgba(124, 15, 209, 0.25); transform: translateX(6px); }
.agent-item-avatar { width: 68px; height: 68px; border-radius: 18px; background: #f8f3ff; border: 1px solid #ebdcfc; display: grid; place-items: center; font-size: 32px; flex-shrink: 0; }
.agent-item-content h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.agent-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; text-transform: uppercase; }
.tag-live { background: #d7f3e4; color: #0d7040; }
.tag-hot { background: #ffe6cc; color: #a14704; }
.tag-new { background: #e8d3ff; color: #6a0cb3; }
.agent-item-content p { font-size: 14.5px; color: var(--ink2); margin-bottom: 8px; }
.agent-item-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-item-tags span { font-size: 12px; background: #f2eafd; color: var(--pu); padding: 2px 9px; border-radius: 6px; font-weight: 600; }
.agent-item-action .btn-view { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: 13.5px; background: #f4ebff; color: var(--pu); transition: all 0.2s; }
.agent-item:hover .btn-view { background: var(--pu); color: #fff; }

/* ── SECTION: DỊCH VỤ AI ── */
.sec-services { padding: 90px 0; background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; transition: all 0.3s var(--ease); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pu), var(--or)); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px rgba(124, 15, 209, 0.15); border-color: var(--pu2); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: #f4ebff; display: grid; place-items: center; font-size: 28px; margin-bottom: 20px; color: var(--pu); }
.service-title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.service-desc { font-size: 15px; color: var(--ink2); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-features { border-top: 1px solid #f0e6fc; padding-top: 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.service-features li { font-size: 13.5px; color: #433857; display: flex; align-items: center; gap: 8px; }
.service-features li::before { content: "✓"; color: var(--or); font-weight: 800; }
.service-btn { font-size: 14px; font-weight: 700; color: var(--pu); display: inline-flex; align-items: center; gap: 6px; }
.service-btn:hover { gap: 10px; color: var(--or); }

/* ── SECTION: KHOÁ HỌC AI ── */
.sec-courses { padding: 90px 0; background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.sec-courses::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(124, 15, 209, 0.25), transparent 60%); pointer-events: none; }
.sec-courses .sec-h2 { color: #fff; }
.sec-courses .sec-desc { color: #c9b8e0; }
.sec-courses .sec-badge { background: rgba(124, 15, 209, 0.4); color: #e9c8ff; border: 1px solid rgba(198, 75, 255, 0.4); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 32px 26px; backdrop-filter: blur(10px); display: flex; flex-direction: column; transition: all 0.3s; }
.course-card:hover { transform: translateY(-5px); border-color: var(--pu3); background: rgba(255, 255, 255, 0.08); box-shadow: 0 20px 40px -10px rgba(124, 15, 209, 0.5); }
.course-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--or2); text-transform: uppercase; margin-bottom: 12px; }
.course-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.35; }
.course-desc { font-size: 14.5px; color: #cfbfdf; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.course-meta { display: flex; justify-content: space-between; font-size: 13px; color: #a994c2; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 14px 0; margin-bottom: 18px; }
.course-btn { text-align: center; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, var(--pu), var(--pu2)); color: #fff; font-weight: 700; font-size: 14.5px; }
.course-btn:hover { background: linear-gradient(135deg, var(--pu2), var(--pu3)); }

/* ── SECTION: PHẦN MỀM AI ── */
.sec-software { padding: 90px 0; background: #fff; }
.software-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.software-card { background: #faf7ff; border: 1px solid #ebdcfc; border-radius: 18px; padding: 26px 22px; transition: all 0.25s; text-align: center; }
.software-card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(124, 15, 209, 0.2); border-color: var(--pu); }
.software-icon { width: 56px; height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(70, 20, 120, 0.08); }
.software-name { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.software-desc { font-size: 13.5px; color: var(--ink2); line-height: 1.5; }

/* ── SECTION: BLOG & KIẾN THỨC ── */
.sec-blog { padding: 90px 0; background: var(--lav); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px -10px rgba(60, 20, 100, 0.15); border-color: var(--pu); }
.blog-img-holder { aspect-ratio: 16/9; background: linear-gradient(135deg, #2d0c4d, #7c0fd1); display: grid; place-items: center; color: #fff; font-size: 38px; position: relative; }
.blog-badge { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; background: rgba(10, 3, 20, 0.85); color: #fff; padding: 4px 10px; border-radius: 6px; }
.blog-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12.5px; color: var(--ink3); margin-bottom: 8px; }
.blog-title { font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--ink); margin-bottom: 12px; flex-grow: 1; }
.blog-more { font-size: 14px; font-weight: 700; color: var(--pu); display: inline-flex; align-items: center; gap: 6px; }

/* ── SECTION: LIÊN HỆ ── */
.sec-contact { padding: 90px 0; background: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.contact-info-title { font-size: 34px; font-weight: 900; line-height: 1.25; margin-bottom: 16px; color: var(--ink); }
.contact-info-desc { font-size: 16.5px; color: var(--ink2); line-height: 1.65; margin-bottom: 30px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: #faf7ff; border: 1px solid #ebdcfc; }
.contact-card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--pu), var(--or)); display: grid; place-items: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.contact-card b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.contact-card span { font-size: 14px; color: var(--ink2); }

.contact-form-wrap { background: #faf7ff; border: 1px solid #ebdcfc; border-radius: 24px; padding: 36px 32px; box-shadow: 0 20px 50px -15px rgba(124, 15, 209, 0.1); }
.form-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.form-subtitle { font-size: 14.5px; color: var(--ink2); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-full { margin-bottom: 16px; }
.form-input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #ded0f2; background: #fff; font-size: 15px; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--pu); box-shadow: 0 0 0 3px rgba(124, 15, 209, 0.15); }
.form-submit { width: 100%; padding: 15px; border-radius: 12px; background: linear-gradient(135deg, var(--or2), var(--or)); color: #fff; font-size: 16px; font-weight: 800; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(245, 133, 30, 0.4); transition: all 0.3s; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245, 133, 30, 0.65); }

/* ── FOOTER ── */
.footer { background: var(--p950); color: #fff; padding: 80px 0 30px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-size: 26px; font-weight: 900; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px; }
.footer-desc { font-size: 14.5px; color: #c3b1dc; line-height: 1.65; margin-bottom: 20px; }
.footer-col h4 { font-size: 17px; font-weight: 800; margin-bottom: 20px; color: #fff; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--or); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; color: #c3b1dc; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 30px; text-align: center; font-size: 14px; color: #8f7fa8; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; }
  .agent-showcase { grid-template-columns: 1fr; }
  .agent-dock { position: relative; top: 0; }
  .services-grid, .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .software-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .header-actions .btn-cta { display: none; }
  .hero-h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: 1fr; }
  .agent-item { grid-template-columns: 1fr; text-align: center; }
  .agent-item-avatar { margin: 0 auto; }
  .agent-item-tags { justify-content: center; }
  .services-grid, .courses-grid, .software-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .mobile-drawer { position: fixed; inset: 0; background: rgba(10, 3, 20, 0.98); z-index: 2000; padding: 24px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--ease); }
  .mobile-drawer.active { transform: translateX(0); }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
  .drawer-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
  .drawer-nav { display: flex; flex-direction: column; gap: 16px; }
  .drawer-link { font-size: 19px; font-weight: 700; color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .drawer-cta { margin-top: auto; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, var(--or2), var(--or)); color: #fff; text-align: center; font-weight: 800; }
}

/* ── FLOATING CALL & ZALO WIDGET ── */
.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  transition: transform 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.float-zalo .float-icon {
  background: #0068ff;
}

.float-call .float-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.float-pulse {
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.float-pulse-zalo {
  background: rgba(0, 104, 255, 0.5);
  animation: floatPulseWave 2s infinite ease-out;
}

.float-pulse-call {
  background: rgba(16, 185, 129, 0.55);
  animation: floatPulseWave 2s infinite ease-out 0.4s;
}

@keyframes floatPulseWave {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.85); opacity: 0; }
}

.float-label {
  position: absolute;
  right: 68px;
  background: rgba(16, 6, 32, 0.95);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(198, 75, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s, transform 0.25s;
}

.float-btn:hover .float-label {
  opacity: 1;
  transform: translateX(0);
}

.form-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  margin-top: 16px;
  display: none;
}
.form-alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.form-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    right: 16px;
    gap: 12px;
  }
  .float-icon {
    width: 48px;
    height: 48px;
  }
  .float-pulse {
    width: 48px;
    height: 48px;
  }
  .float-label {
    display: none;
  }
}