/* OHANACAREER — giữ nguyên bố cục sàn gốc, đổi sang nền trắng ánh tím (Tailwind tokens → CSS variables) */
:root {
  --radius: 14px;
  --royal: #6D28D9;          /* tím chủ đạo (thay xanh royal) */
  --navy: #2E1065;           /* tím đậm (thay navy) */
  --navy-2: #4C1D95;
  --deep: #3B0764;           /* tím đậm cho chữ slogan */
  --magenta: #C026D3;
  --cyan: #38BDF8;
  --green-tint: #F3E8FF;
  --blue-tint: #F7F3FF;
  --background: #ffffff;
  --foreground: var(--royal);
  --primary: #7C3AED;
  --primary-grad: linear-gradient(100deg, #7C3AED 0%, #9333EA 50%, #C026D3 100%);
  --primary-foreground: #ffffff;
  --muted: var(--blue-tint);
  --muted-foreground: #7A63A8;
  --accent: var(--green-tint);
  --border: #EADFFB;
  --ring: #8B5CF6;
  --font-sans: "Arimo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Be Vietnam Pro", "Arimo", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0; color: var(--foreground);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
  background:
    radial-gradient(900px 620px at -5% 0%, rgba(196,181,253,.38), transparent 62%),
    radial-gradient(760px 560px at 105% 28%, rgba(232,121,249,.20), transparent 62%),
    radial-gradient(900px 700px at 40% 108%, rgba(167,139,250,.26), transparent 62%),
    var(--background);
  background-attachment: fixed;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
::selection { background: #E9D5FF; color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scrollbar-none { scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }
.font-display { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.25; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ── Top bar ── */
.topbar { display: none; background: linear-gradient(90deg, #2E1065, #4C1D95 55%, #2E1065); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; }
@media (min-width: 640px) { .topbar { display: block; } }
.topbar .wrap { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.topbar .lead { display: flex; align-items: center; gap: 8px; }
.topbar .right { display: flex; align-items: center; gap: 20px; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar .right button { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.icon { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Header ── */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px -24px rgba(109,40,217,.5); }
.header-row { height: 68px; display: flex; align-items: center; gap: 16px; }
@media (min-width: 640px) { .header-row { height: 80px; gap: 32px; } }
.logo { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(124,58,237,.35)); }
@media (min-width: 640px) { .logo-mark { width: 56px; height: 56px; } }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: .01em; text-transform: uppercase;
  background: linear-gradient(90deg, #7E22CE, #6D28D9 55%, #5B21B6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 640px) { .logo-name { font-size: 21px; } }
@media (max-width: 380px) { .logo-name { font-size: 15.5px; } }
/* Slogan: nhãn tím chữ trắng, tinh tế nhưng nổi bật dưới tên */
.logo-tag {
  position: relative; overflow: hidden; align-self: flex-start; margin-top: 4px; padding: 3px 9px 3px 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 8.5px; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: #fff;
  background: linear-gradient(100deg, #5B21B6 0%, #7C3AED 45%, #A855F7 75%, #C026D3 100%);
  box-shadow: 0 4px 14px -4px rgba(124,58,237,.65), inset 0 0 0 1px rgba(255,255,255,.22);
  text-shadow: 0 0 8px rgba(255,255,255,.45);
}
.logo-tag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: tag-shine 4.5s ease-in-out infinite; }
@keyframes tag-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (min-width: 640px) { .logo-tag { font-size: 10px; padding: 3px 11px 3px 12px; } }
.logo-tile { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.search { display: none; flex: 1; max-width: 576px; align-items: center; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--blue-tint); padding-left: 14px; }
.search:focus-within { border-color: var(--ring); background: #fff; box-shadow: 0 0 0 4px rgba(139,92,246,.12); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font-size: 14px; color: var(--foreground); outline: none; }
.search input::placeholder { color: var(--muted-foreground); }
.search button { margin: 4px; height: 36px; padding: 0 20px; border-radius: 999px; background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; }
.search button:hover { filter: brightness(1.08); }
@media (min-width: 768px) { .search { display: flex; } }
.search-mobile { display: flex; padding: 0 16px 12px; }
.search-mobile .box { flex: 1; display: flex; align-items: center; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--blue-tint); padding-left: 14px; }
.search-mobile input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font-size: 14px; outline: none; color: var(--foreground); }
@media (min-width: 768px) { .search-mobile { display: none; } }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-navy { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.btn-navy:hover { background: var(--navy-2); }
@media (min-width: 640px) { .btn-navy { display: inline-flex; } }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); color: var(--royal); }
@media (min-width: 640px) { .menu-btn { display: none; } }

.catnav { border-top: 1px solid var(--border); }
.catnav .wrap { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .catnav .wrap { justify-content: space-between; height: 56px; gap: 8px; } }
.catnav a {
  flex-shrink: 0; height: 100%; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 0 12px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--royal);
  border-bottom: 3px solid transparent; transition: .2s;
}
.catnav a:hover { color: var(--magenta); border-color: var(--magenta); }
@media (min-width: 1280px) { .catnav a { font-size: 16px; } }
.catnav a.hot { color: var(--magenta); font-weight: 800; border-bottom-color: rgba(192,38,211,.6); }
.catnav a.hot:hover { color: var(--royal); }
.catnav a.hot .point { display: inline-block; font-size: 20px; animation: point-nudge .9s ease-in-out infinite; }
.partner-tag { position: relative; display: inline-flex; background: linear-gradient(90deg, #6D28D9 0%, #6D28D9 40%, #E879F9 50%, #6D28D9 60%, #6D28D9 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: partner-shine 3s linear infinite; }
.badge-new { position: absolute; top: -11px; right: -22px; padding: 1px 5px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .05em; color: #fff; background: #e11d48; -webkit-text-fill-color: #fff; animation: promo-blink 1.2s ease-in-out infinite; }

/* ── Promo bar ── */
.promo { position: relative; color: #fff; background: linear-gradient(90deg, #5B21B6, #7C3AED, #C026D3, #7C3AED, #5B21B6); background-size: 300% 100%; animation: promo-shimmer 4s linear infinite; }
.promo .wrap { padding-top: 12px; padding-bottom: 12px; padding-right: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; text-align: center; }
.promo-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #fff; color: var(--royal); padding: 4px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; animation: promo-blink 1.2s ease-in-out infinite; }
.promo-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.promo-cta { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--royal); font-size: 14px; font-weight: 700; animation: promo-blink 1.6s ease-in-out infinite; }
.promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.promo-close:hover { background: rgba(255,255,255,.3); }
.promo.hidden { display: none; }
@keyframes promo-shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes promo-blink { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 50% { opacity: .75; transform: scale(1.06); box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@keyframes point-nudge { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(5px); opacity: .35; } }
@keyframes partner-shine { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }

/* ── Hero: nền trắng ánh tím, sàn lưới phối cảnh, logo trên bệ phát sáng ── */
.hero { position: relative; color: var(--navy); background: transparent; }
.hero-frame { position: relative; max-width: 1672px; margin: 0 auto; overflow: hidden; }
.hero-cover { background: linear-gradient(180deg, #FBF8FF, #F3EBFF); }
.hero-cover picture, .hero-cover img { display: block; width: 100%; height: auto; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 380px at 74% 46%, rgba(167,139,250,.55), transparent 70%),
    radial-gradient(420px 320px at 88% 18%, rgba(232,121,249,.30), transparent 70%),
    radial-gradient(600px 420px at 8% 10%, rgba(196,181,253,.45), transparent 70%),
    radial-gradient(500px 300px at 30% 100%, rgba(56,189,248,.14), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF6FF 55%, #F3EBFF 100%);
}
.hero-grid { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%;
  background-image: linear-gradient(rgba(139,92,246,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.28) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(520px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.stars { position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #A78BFA, transparent), radial-gradient(1.5px 1.5px at 28% 64%, #C084FC, transparent),
    radial-gradient(2px 2px at 46% 14%, #8B5CF6, transparent), radial-gradient(1.5px 1.5px at 58% 78%, #E879F9, transparent),
    radial-gradient(2.5px 2.5px at 66% 30%, #A78BFA, transparent), radial-gradient(1.5px 1.5px at 82% 70%, #7DD3FC, transparent),
    radial-gradient(2px 2px at 92% 40%, #C084FC, transparent), radial-gradient(1.5px 1.5px at 6% 80%, #A78BFA, transparent);
  animation: twinkle 3.2s ease-in-out infinite;
}
.stars-2 { transform: translate(37px, 23px) scale(1.1); animation-delay: -1.6s; }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .3; } }
.hero-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.streak { position: absolute; left: -40%; width: 40%; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(167,139,250,.95) 50%, transparent); box-shadow: 0 0 12px 2px rgba(192,132,252,.7); animation: streak 5s linear infinite; }
.streak-1 { top: 58%; animation-duration: 4.2s; }
.streak-2 { top: 70%; animation-duration: 5.6s; animation-delay: -2s; animation-direction: reverse; }
.streak-3 { top: 82%; height: 3px; animation-duration: 3.6s; animation-delay: -1s; }
.streak-4 { top: 46%; animation-duration: 6.5s; animation-delay: -3.5s; animation-direction: reverse; opacity: .7; }
@keyframes streak { 0% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(350%) skewX(-20deg); } }
.scan { position: absolute; top: -20%; left: -30%; width: 18%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(18deg); animation: scan 7s ease-in-out infinite; }
@keyframes scan { 0% { left: -30%; } 55%, 100% { left: 120%; } }
.hero-stage { position: relative; max-width: 1280px; margin: 0 auto; padding: 36px 16px 24px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 640px) { .hero-stage { padding: 48px 24px 28px; } }
@media (min-width: 1024px) { .hero-stage { grid-template-columns: 1.05fr 1fr; padding: 64px 24px 40px; min-height: 520px; } }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid #DDD0FB; color: var(--royal); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 24px -12px rgba(124,58,237,.45); }
.hero-title {
  margin-top: 16px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  font-size: clamp(44px, 11vw, 96px);
  background: linear-gradient(95deg, #7E22CE 0%, #6D28D9 40%, #8B5CF6 70%, #C026D3 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(124,58,237,.28));
}
.hero-title span { display: block; }
.hero-title .hero-title-2 { margin-top: 6px; font-size: .52em; letter-spacing: .06em; background: linear-gradient(95deg, #6D28D9 0%, #8B5CF6 55%, #C026D3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tag { margin-top: 12px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--deep); font-size: clamp(12px, 2.4vw, 18px); }
.hero-sub { margin-top: 14px; max-width: 520px; color: #5B4A86; font-size: 15px; }
@media (min-width: 640px) { .hero-sub { font-size: 16px; } }
.hero-feats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.hero-feats li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.78); border: 1px solid #E4D7FC; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--navy); box-shadow: 0 10px 26px -18px rgba(109,40,217,.6); backdrop-filter: blur(6px); }
.hero-feats i { font-style: normal; flex-shrink: 0; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; background: var(--primary-grad); }
.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 540px); justify-self: center; display: grid; place-items: center; }
.hero-visual img { position: relative; z-index: 2; width: 100%; height: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); animation: hover-float 5s ease-in-out infinite; }
@keyframes hover-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
.core-glow { position: absolute; z-index: 1; width: 62%; aspect-ratio: 1; border-radius: 999px; background: radial-gradient(circle, rgba(196,181,253,.9), rgba(167,139,250,.35) 45%, transparent 70%); filter: blur(10px); }
.pedestal { position: absolute; z-index: 1; bottom: 4%; width: 70%; height: 16%; border-radius: 50%; background: radial-gradient(ellipse, rgba(139,92,246,.45), rgba(192,132,252,.15) 55%, transparent 72%); border: 2px solid rgba(167,139,250,.5); box-shadow: 0 0 40px rgba(167,139,250,.6), inset 0 0 24px rgba(255,255,255,.6); }
.orbit { position: absolute; z-index: 1; border-radius: 50%; border: 1.5px solid rgba(139,92,246,.35); animation: spin 18s linear infinite; }
.orbit b { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 999px; background: radial-gradient(circle at 35% 35%, #fff, #A78BFA 55%, #6D28D9); box-shadow: 0 0 14px rgba(167,139,250,.9); }
.orbit-1 { width: 96%; aspect-ratio: 2.4; transform: rotate(-12deg); }
.orbit-2 { width: 78%; aspect-ratio: 1.9; border-color: rgba(192,38,211,.28); animation-duration: 13s; animation-direction: reverse; }
.orbit-3 { width: 110%; aspect-ratio: 3.2; border-style: dashed; border-color: rgba(56,189,248,.35); animation-duration: 26s; }
@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.wave { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border-radius: 999px; border: 2px solid rgba(167,139,250,.7); transform: translate(-50%,-50%) scale(.6); box-shadow: 0 0 24px rgba(167,139,250,.5), inset 0 0 18px rgba(196,181,253,.4); animation: wave 3.6s ease-out infinite; }
.wave-2 { animation-delay: -1.8s; }
@keyframes wave { 0% { transform: translate(-50%,-50%) scale(.6); opacity: .9; } 100% { transform: translate(-50%,-50%) scale(3); opacity: 0; } }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(to top, rgba(243,235,255,.9), transparent); pointer-events: none; }
.hero-body { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 640px) { .hero-body { padding: 28px 24px; } }
@media (min-width: 1024px) { .hero-body { flex-direction: row; align-items: center; gap: 40px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; transition: .2s; }
.btn-primary { background: var(--primary-grad); color: var(--primary-foreground); box-shadow: 0 14px 30px -14px rgba(147,51,234,.8); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid #CDB8F8; color: var(--royal); background: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; border-color: var(--ring); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .stats { margin-left: auto; } }
.stat { border: 1px solid #E4D7FC; background: rgba(255,255,255,.8); border-radius: 12px; padding: 10px 16px; box-shadow: 0 10px 24px -18px rgba(109,40,217,.6); }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 20px; background: var(--primary-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 12px; color: var(--muted-foreground); }
@media (min-width: 640px) { .stat b { font-size: 24px; } }

/* ── Trust strip ── */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.6); }
.trust .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 640px) { .trust .wrap { gap: 24px; } }
@media (min-width: 1024px) { .trust .wrap { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg, #F3E8FF, #EDE4FF); color: var(--royal); display: grid; place-items: center; box-shadow: inset 0 0 0 1px #E4D7FC; }
.trust-item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.trust-item small { display: block; font-size: 12px; color: var(--muted-foreground); }

/* ── Sections ── */
.main { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .main { padding-top: 56px; padding-bottom: 80px; } }
.section + .section { margin-top: 56px; }
@media (min-width: 640px) { .section + .section { margin-top: 80px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--magenta); }
.sec-title { margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--navy); }
@media (min-width: 640px) { .sec-title { font-size: 30px; } }
.sec-more { font-size: 14px; font-weight: 600; color: var(--royal); white-space: nowrap; }
.sec-more:hover { color: var(--magenta); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--royal); background: #fff; }
.pill:hover { border-color: var(--ring); }
.pill.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── Product grid & card ── */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid { gap: 24px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #fff; transition: all .3s; }
.card:hover { transform: translateY(-4px); border-color: #D8C6FB; box-shadow: 0 24px 48px -16px rgba(109,40,217,.35); }
.card-media { position: relative; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
@media (min-width: 640px) { .card-body { padding: 20px; } }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--navy); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--royal); }
.card-desc { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted-foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--muted-foreground); }
.card-meta > span:first-child { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; color: var(--royal); }
.card-meta .comm { margin-left: 0; border-radius: 10px; line-height: 1.4; background: var(--accent); color: var(--magenta); padding: 2px 8px; font-weight: 600; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-foreground); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy); }
.price-old { margin-top: 2px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted-foreground); }
.price-old .off { padding: 1px 7px; border-radius: 999px; background: #e11d48; color: #fff; font-weight: 800; font-size: 11px; }
.card-actions { margin-top: 16px; display: flex; gap: 8px; }
.buy { flex: 1; height: 44px; border-radius: 999px; background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.buy:hover { filter: brightness(1.08); }
.cart-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--royal); }
.cart-btn:hover { border-color: var(--ring); }
.cart-btn.added { background: var(--accent); color: var(--magenta); }
@media (max-width: 639px) { .card-meta .comm { font-size: 11px; padding: 3px 8px; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--muted-foreground); }

/* ── Combo strip ── */
.combo { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .combo { grid-template-columns: repeat(4, 1fr); } }
.combo div { border-radius: 14px; border: 1px solid #E4D7FC; background: linear-gradient(135deg, #FFFFFF, #F5EEFF); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--navy); }
.combo b { font-family: var(--font-display); font-weight: 800; color: var(--magenta); }

/* ── Affiliate banner (vũ trụ tím, viền neon như poster Promotion) ── */
.affiliate { position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 40px 24px;
  background:
    radial-gradient(2px 2px at 18% 30%, rgba(255,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 72% 20%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 86% 76%, rgba(255,255,255,.7), transparent), radial-gradient(2px 2px at 40% 84%, rgba(255,255,255,.6), transparent),
    radial-gradient(520px 320px at 100% 0%, rgba(192,38,211,.45), transparent 70%),
    linear-gradient(135deg, #1E0B4B 0%, #2E1065 50%, #3B0F7A 100%);
  border: 1.5px solid rgba(196,181,253,.55);
  box-shadow: 0 0 0 1px rgba(56,189,248,.18), 0 0 36px -6px rgba(167,139,250,.65), inset 0 0 40px rgba(139,92,246,.25);
}
@media (min-width: 640px) { .affiliate { padding: 56px 48px; } }
.affiliate-glow { position: absolute; left: -96px; bottom: -96px; width: 320px; height: 320px; border-radius: 999px; background: rgba(56,189,248,.28); filter: blur(100px); }
.affiliate-grid { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) { .affiliate-grid { grid-template-columns: 1.4fr 1fr; } }
.kicker-green { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #F0ABFC; }
.affiliate h2 { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.2; }
@media (min-width: 640px) { .affiliate h2 { font-size: 40px; } }
.affiliate p { margin-top: 12px; color: rgba(255,255,255,.75); max-width: 520px; }
.affiliate .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) { .affiliate .ctas { justify-content: flex-end; } }
.affiliate .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.affiliate .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ── Footer ── */
.footer { margin-top: 24px; color: rgba(255,255,255,.72);
  background: radial-gradient(700px 300px at 85% 0%, rgba(192,38,211,.25), transparent 70%), linear-gradient(180deg, #2E1065, #1E0B4B); }
.footer-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { width: 52px; height: 52px; padding: 4px; border-radius: 14px; background: #fff; }
.footer-brand span { display: block; font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: .01em; color: #fff; }
.footer-brand small { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 9.5px; letter-spacing: .16em; color: #fff; background: linear-gradient(100deg, #7C3AED, #C026D3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.footer p.about { margin-top: 16px; max-width: 360px; font-size: 14px; line-height: 1.6; }
.footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.footer ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (min-width: 640px) { .footer-bottom .wrap { flex-direction: row; } }

/* ── Floating widgets ── */
.zalo-fab { position: fixed; right: 20px; bottom: 196px; z-index: 9000; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: #0068FF; color: #fff; box-shadow: 0 4px 20px rgba(0,104,255,.5); transition: transform .2s; }
.zalo-fab:hover { transform: scale(1.1); }
.zalo-fab b { font-size: 11px; font-weight: 800; letter-spacing: .02em; }

/* ── Side posters (chỉ hiện khi lề ≥ 1600px) ── */
.side { display: none; }
@media (min-width: 1600px) {
  .side { --gutter: calc((100vw - 1280px) / 2); --pw: min(220px, calc(var(--gutter) - 40px)); display: block; position: fixed; top: 50%; transform: translateY(-50%); z-index: 20; width: var(--pw); max-height: calc(100vh - 240px); overflow: auto; scrollbar-width: none; }
  .side-l { left: calc((var(--gutter) - var(--pw)) / 2); }
  .side-r { right: calc((var(--gutter) - var(--pw)) / 2); }
}
.side-inner { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border-radius: 24px; color: #fff; text-align: center; background: linear-gradient(165deg, #8B5CF6 0%, #6D28D9 50%, #3B0764 100%); box-shadow: 0 24px 50px -18px rgba(109,40,217,.6); border: 1px solid rgba(255,255,255,.18); animation: float 5s ease-in-out infinite; }
.side-r .side-inner { animation-delay: -2.5s; background: linear-gradient(165deg, #C026D3 0%, #7C3AED 55%, #3B0764 100%); }
@keyframes float { 0%, 100% { transform: translateY(-18px); } 50% { transform: translateY(18px); } }
.side-chip { align-self: center; display: inline-flex; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.side-big { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.side-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; text-align: left; }
.side-list li { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.12); }
.side-list li span { font-weight: 800; }
.side-cta { display: inline-flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; background: #fff; color: var(--royal); font-weight: 800; font-size: 14px; animation: promo-blink 1.8s ease-in-out infinite; }
.side-cta:hover { transform: scale(1.04); }
.side-sep { height: 1px; background: rgba(255,255,255,.2); }


/* ── Bot Ohana nhảy múa (mở bộ não Many Sub-Agents) ── */
.ohana-bot { position: fixed; right: 12px; bottom: 10px; z-index: 9001; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; background: none; -webkit-tap-highlight-color: transparent; }
.bot-stage { position: relative; width: 104px; height: 150px; display: grid; place-items: end center; }
.bot-stage img { position: relative; z-index: 2; height: 142px; width: auto; transform-origin: 50% 100%; animation: ohana-dance 1.6s cubic-bezier(.45,.05,.55,.95) infinite; filter: drop-shadow(0 10px 14px rgba(76,29,149,.45)); }
.ohana-bot:hover .bot-stage img, .ohana-bot:focus-visible .bot-stage img { animation-duration: .9s; }
@keyframes ohana-dance {
  0%   { transform: translateY(0) rotate(0) scale(1, 1); }
  12%  { transform: translateY(0) rotate(0) scale(1.06, .92); }
  30%  { transform: translateY(-22px) rotate(-9deg) scale(.96, 1.05); }
  45%  { transform: translateY(-26px) rotate(-4deg) scale(1, 1); }
  60%  { transform: translateY(0) rotate(0) scale(1.07, .91); }
  72%  { transform: translateY(-10px) rotate(8deg) scale(.98, 1.03); }
  86%  { transform: translateY(0) rotate(3deg) scale(1.03, .96); }
  100% { transform: translateY(0) rotate(0) scale(1, 1); }
}
.bot-shadow { position: absolute; z-index: 1; bottom: 2px; width: 64px; height: 12px; border-radius: 50%; background: radial-gradient(ellipse, rgba(76,29,149,.45), transparent 70%); animation: ohana-shadow 1.6s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes ohana-shadow { 0%, 12%, 60%, 86%, 100% { transform: scale(1); opacity: 1; } 30%, 45% { transform: scale(.55); opacity: .5; } 72% { transform: scale(.8); opacity: .8; } }
.bot-ring { position: absolute; z-index: 0; bottom: 18px; left: 50%; width: 96px; height: 96px; margin-left: -48px; border-radius: 999px; border: 2px solid rgba(167,139,250,.75); background: radial-gradient(circle, rgba(196,181,253,.35), transparent 65%); animation: ohana-ring 2.2s ease-out infinite; }
.bot-ring.r2 { animation-delay: -1.1s; }
@keyframes ohana-ring { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(1.5); opacity: 0; } }
.bot-badge { position: absolute; z-index: 3; top: 6px; right: 4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: #e11d48; color: #fff; font: 800 12px/1 var(--font-display); border: 2px solid #fff; box-shadow: 0 4px 12px rgba(225,29,72,.5); animation: promo-blink 1.2s ease-in-out infinite; }
.bot-label { position: relative; z-index: 3; margin-top: -6px; padding: 4px 10px; border-radius: 999px; background: var(--primary-grad); color: #fff; font: 800 11px/1.2 var(--font-display); letter-spacing: .08em; border: 2px solid #fff; box-shadow: 0 8px 20px -6px rgba(124,58,237,.8); }
.bot-bubble { position: absolute; right: 96px; bottom: 112px; width: max-content; max-width: 210px; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--navy); font: 700 13px/1.35 var(--font-display); text-align: left; border: 1.5px solid #DDD0FB; box-shadow: 0 14px 30px -12px rgba(109,40,217,.55); animation: bubble-pop .45s cubic-bezier(.2,1.4,.4,1) both, bubble-float 3s ease-in-out .45s infinite; }
.bot-bubble.swap { animation: none; opacity: 0; transform: scale(.7); }
@keyframes bubble-pop { from { opacity: 0; transform: scale(.6) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bubble-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ohana-bot.hide { display: none; }
@media (max-width: 640px) { .bot-stage { width: 84px; height: 122px; } .bot-stage img { height: 114px; } .bot-ring { width: 78px; height: 78px; margin-left: -39px; } .bot-bubble { right: 78px; bottom: 92px; max-width: 170px; font-size: 12px; } .zalo-fab { bottom: 168px; right: 16px; } }

/* ── Khung chat bộ não ── */
.brain { position: fixed; z-index: 9002; right: 20px; bottom: 20px; width: min(420px, calc(100vw - 32px)); height: min(680px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid #E4D7FC; box-shadow: 0 30px 80px -20px rgba(46,16,101,.55), 0 0 0 1px rgba(167,139,250,.15); animation: brain-in .35s cubic-bezier(.2,1.2,.4,1); }
.brain[hidden] { display: none; }
@keyframes brain-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .brain { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; } }
.brain-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #fff; background: radial-gradient(260px 120px at 90% 0%, rgba(232,121,249,.45), transparent 70%), linear-gradient(135deg, #2E1065, #5B21B6); }
.brain-head img { width: 48px; height: 44px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.14); padding: 2px; }
.brain-title { flex: 1; min-width: 0; line-height: 1.2; }
.brain-title b { display: block; font: 900 14px/1.2 var(--font-display); letter-spacing: .03em; }
.brain-title small { font-size: 11.5px; opacity: .8; }
.brain-icon { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; }
.brain-icon:hover { background: rgba(255,255,255,.28); }
.brain-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 8px 10px; background: #F7F3FF; border-bottom: 1px solid var(--border); }
.brain-modes button { height: 34px; border-radius: 999px; font: 700 12.5px/1 var(--font-display); color: var(--royal); }
.brain-modes button.on { background: var(--primary-grad); color: #fff; box-shadow: 0 6px 16px -8px rgba(147,51,234,.9); }
.brain-agents { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; border-bottom: 1px solid var(--border); background: #fff; }
.brain-agents[hidden] { display: none; }
.agent-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--border); font: 700 12.5px/1 var(--font-display); color: var(--navy); background: #fff; }
.agent-chip i { font-style: normal; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-size: 9.5px; font-weight: 800; }
.agent-chip.on { border-color: var(--royal); background: #F3E8FF; }
.brain-log { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(400px 260px at 100% 0%, rgba(196,181,253,.22), transparent 70%), #FCFAFF; overscroll-behavior: contain; }
.msg { max-width: 92%; font-size: 14px; line-height: 1.55; }
.msg.user { align-self: flex-end; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--primary-grad); color: #fff; white-space: pre-wrap; word-break: break-word; }
.msg.bot { align-self: flex-start; width: 92%; }
.msg-who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font: 800 12px/1.2 var(--font-display); color: var(--navy); }
.msg-who i { font-style: normal; width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; }
.msg-who em { font-style: normal; font-weight: 600; color: var(--muted-foreground); }
.msg-body { padding: 10px 13px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid #EADFFB; color: #2A1B4D; overflow-wrap: anywhere; box-shadow: 0 8px 20px -16px rgba(109,40,217,.6); }
.msg.meeting .msg-body { background: #FBF8FF; }
.msg.summary .msg-body { border: 1.5px solid #C4B5FD; background: linear-gradient(180deg, #fff, #F6F0FF); }
.msg.err .msg-body { border-color: #FECDD3; background: #FFF1F2; color: #9F1239; }
.msg-body h1, .msg-body h2, .msg-body h3, .msg-body h4 { margin: 10px 0 4px; font: 800 14.5px/1.3 var(--font-display); color: var(--navy); }
.msg-body p { margin: 0 0 8px; } .msg-body p:last-child { margin-bottom: 0; }
.msg-body ul, .msg-body ol { margin: 4px 0 8px; padding-left: 20px; }
.msg-body li { margin: 2px 0; }
.msg-body a { color: var(--royal); text-decoration: underline; }
.msg-body code { padding: 1px 5px; border-radius: 6px; background: #F3E8FF; font-size: 12.5px; }
.msg-body .tbl { overflow-x: auto; margin: 6px 0 10px; }
.msg-body table { border-collapse: collapse; font-size: 12.5px; min-width: 100%; }
.msg-body th, .msg-body td { border: 1px solid #E4D7FC; padding: 5px 8px; text-align: left; vertical-align: top; }
.msg-body th { background: #F3E8FF; color: var(--navy); font-weight: 700; }
.msg-status { margin-top: 6px; font-size: 12px; color: var(--muted-foreground); display: flex; align-items: center; gap: 6px; }
.dots { display: inline-flex; gap: 3px; } .dots b { width: 6px; height: 6px; border-radius: 99px; background: #A78BFA; animation: dot 1s ease-in-out infinite; } .dots b:nth-child(2) { animation-delay: .15s; } .dots b:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.route-note { align-self: center; max-width: 94%; padding: 5px 12px; border-radius: 999px; background: #F3E8FF; color: var(--royal); font-size: 12px; font-weight: 600; text-align: center; }
.welcome { text-align: center; padding: 6px 4px 2px; }
.welcome img { width: 92px; margin: 0 auto 6px; animation: ohana-dance 1.6s cubic-bezier(.45,.05,.55,.95) infinite; transform-origin: 50% 100%; }
.welcome > b { display: block; font: 900 16px/1.3 var(--font-display); color: var(--navy); }
.welcome p { margin-top: 4px; font-size: 13px; color: var(--muted-foreground); }
.suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.suggest button { padding: 7px 12px; border-radius: 999px; border: 1px solid #DDD0FB; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--royal); text-align: left; }
.suggest button:hover { border-color: var(--royal); background: #F7F3FF; }
.brain-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 6px; border-top: 1px solid var(--border); background: #fff; }
.brain-input textarea { flex: 1; resize: none; max-height: 120px; min-height: 42px; padding: 10px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--blue-tint); font: inherit; font-size: 14px; color: var(--navy); outline: none; }
.brain-input textarea:focus { border-color: var(--ring); background: #fff; }
.brain-input button { width: 42px; height: 42px; flex-shrink: 0; border-radius: 999px; display: grid; place-items: center; background: var(--primary-grad); color: #fff; }
.brain-input button:disabled { opacity: .5; cursor: wait; }
.brain-foot { padding: 0 12px 8px; font-size: 10.5px; text-align: center; color: var(--muted-foreground); background: #fff; }


/* ══ Cửa hàng sinh động (19/10) ══ */
/* Quả cầu tím trôi chậm phía sau nội dung */
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: orb-drift 22s ease-in-out infinite; }
.orbs span:nth-child(1) { width: 340px; height: 340px; left: -80px; top: 30%; background: #C4B5FD; }
.orbs span:nth-child(2) { width: 280px; height: 280px; right: -60px; top: 55%; background: #F0ABFC; animation-duration: 26s; animation-delay: -6s; }
.orbs span:nth-child(3) { width: 220px; height: 220px; left: 40%; top: 80%; background: #A5B4FC; animation-duration: 30s; animation-delay: -12s; }
.orbs span:nth-child(4) { width: 180px; height: 180px; right: 25%; top: 15%; background: #DDD6FE; animation-duration: 24s; animation-delay: -3s; }
@keyframes orb-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 25px) scale(.95); } }

/* Tiêu đề mục: vạch gradient chạy */
.sec-title { position: relative; display: inline-block; }
.sec-title::after { content: ""; display: block; height: 4px; width: 56px; margin-top: 8px; border-radius: 99px; background: linear-gradient(90deg, #7C3AED, #C026D3, #7C3AED); background-size: 200% 100%; animation: bar-flow 3s linear infinite; }
@keyframes bar-flow { to { background-position: -200% 0; } }

/* Hiện dần khi cuộn tới */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Dải danh mục có biểu tượng */
.cat-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 4px; }
.cat-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 6px; border-radius: 999px; background: #fff; border: 1px solid #E4D7FC; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); box-shadow: 0 8px 20px -16px rgba(109,40,217,.7); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-chip .cc-ico { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: #F3E8FF; color: var(--royal); transition: .2s; }
.cat-chip:hover { transform: translateY(-2px); border-color: #C4B5FD; box-shadow: 0 14px 26px -16px rgba(109,40,217,.8); }
.cat-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-chip.on .cc-ico { background: var(--primary-grad); color: #fff; }

/* Kệ trống: mascot bay + lời mời */
.grid.is-empty { display: block; }
.empty-store { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: 32px 22px; border-radius: 26px; color: var(--muted-foreground);
  background: radial-gradient(420px 260px at 85% 10%, rgba(232,121,249,.22), transparent 70%), radial-gradient(420px 260px at 10% 100%, rgba(167,139,250,.25), transparent 70%), linear-gradient(135deg, #FFFFFF, #F6F0FF);
  border: 1.5px solid #E4D7FC; box-shadow: 0 30px 60px -40px rgba(109,40,217,.7); }
@media (min-width: 768px) { .empty-store { grid-template-columns: 240px 1fr; padding: 36px 44px; } }
.es-mascot { position: relative; width: 200px; height: 220px; margin: 0 auto; display: grid; place-items: end center; }
.es-mascot img { position: relative; z-index: 2; height: 210px; width: auto; animation: es-float 3.2s ease-in-out infinite; filter: drop-shadow(0 16px 20px rgba(76,29,149,.4)); }
@keyframes es-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.es-ring { position: absolute; z-index: 1; bottom: 8px; left: 50%; width: 170px; height: 40px; margin-left: -85px; border-radius: 50%; border: 2px solid rgba(167,139,250,.7); box-shadow: 0 0 24px rgba(167,139,250,.6); animation: es-ring 2.4s ease-out infinite; }
.es-ring.r2 { animation-delay: -1.2s; }
@keyframes es-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.es-spark { position: absolute; z-index: 3; color: #A855F7; font-size: 18px; animation: twinkle 1.8s ease-in-out infinite; }
.es-spark.s1 { top: 10px; left: 18px; } .es-spark.s2 { top: 40px; right: 12px; animation-delay: -.6s; color: #E879F9; } .es-spark.s3 { bottom: 70px; left: 6px; animation-delay: -1.2s; font-size: 13px; }
.es-copy { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
@media (min-width: 768px) { .es-copy { text-align: left; align-items: flex-start; } }
.es-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #F3E8FF; color: var(--royal); font: 800 12px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.es-dot { width: 8px; height: 8px; border-radius: 99px; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.es-copy b { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; background: linear-gradient(95deg, #4C1D95, #7C3AED 55%, #C026D3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.es-copy > span:not(.es-chip) { max-width: 560px; font-size: 15px; line-height: 1.6; }
.es-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; justify-content: center; }
@media (min-width: 768px) { .es-ctas { justify-content: flex-start; } }

/* Thẻ "Sắp lên kệ" có ánh sáng lướt */
.ghost-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1024px) { .ghost-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.ghost-card { position: relative; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid #EADFFB; box-shadow: 0 16px 30px -26px rgba(109,40,217,.7); }
.ghost-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); transform: translateX(-100%); animation: ghost-shine 2.4s ease-in-out infinite; }
.ghost-card:nth-child(2)::after { animation-delay: .3s; } .ghost-card:nth-child(3)::after { animation-delay: .6s; } .ghost-card:nth-child(4)::after { animation-delay: .9s; }
@keyframes ghost-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.gc-media { position: relative; aspect-ratio: 16/9; background: radial-gradient(120px 80px at 70% 40%, rgba(232,121,249,.45), transparent 70%), linear-gradient(135deg, #2E1065, #5B21B6 60%, #7C3AED); }
.gc-chip { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font: 800 11px/1 var(--font-display); letter-spacing: .06em; border: 1px solid rgba(255,255,255,.3); }
.gc-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.gc-line { display: block; height: 11px; border-radius: 99px; background: #EFE7FD; }
.gc-line.w80 { width: 80%; height: 13px; background: #E4D7FC; } .gc-line.w60 { width: 60%; } .gc-line.w40 { width: 40%; }
.gc-foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gc-price { display: block; width: 38%; height: 16px; border-radius: 99px; background: #DDD0FB; }
.gc-btn { display: block; width: 44%; height: 32px; border-radius: 99px; background: linear-gradient(100deg, #C4B5FD, #E9D5FF); }

/* Combo: biểu tượng + viền sáng khi rê chuột */
.combo div { position: relative; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.combo div i { font-style: normal; flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-grad); color: #fff; font: 800 13px/1 var(--font-display); box-shadow: 0 8px 16px -8px rgba(147,51,234,.8); }
.combo div span { flex: 1; }
.combo div:hover { transform: translateY(-3px); border-color: #C4B5FD; box-shadow: 0 18px 30px -20px rgba(109,40,217,.8); }
.combo div b { font-size: 18px; }

/* Ô số liệu & thẻ sinh động hơn */
.stat { transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(109,40,217,.7); }
.trust-ico { transition: transform .3s; }
.trust-item:hover .trust-ico { transform: rotate(-8deg) scale(1.08); }
.eco { transition: transform .25s, box-shadow .25s, border-color .25s; }
.eco:hover .eco-n { transform: rotate(-6deg) scale(1.1); }
.eco-n { transition: transform .25s; }


/* ══ 3 Template cộng đồng ghim cuối trang ══ */
.templates { position: relative; padding: 56px 0 64px; background: radial-gradient(600px 300px at 15% 0%, rgba(196,181,253,.35), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(240,171,252,.28), transparent 70%), linear-gradient(180deg, rgba(255,255,255,0), #F3EBFF); border-top: 1px solid #EADFFB; }
.tpl-note { font-size: 14px; color: var(--muted-foreground); }
.tpl-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
.tpl { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid #E4D7FC; box-shadow: 0 24px 48px -30px rgba(76,29,149,.75); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.tpl:hover { transform: translateY(-6px); border-color: #C4B5FD; box-shadow: 0 34px 60px -28px rgba(76,29,149,.9); }
.tpl-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #2E1065; }
.tpl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tpl:hover .tpl-media img { transform: scale(1.06); }
.tpl-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s; }
.tpl:hover .tpl-media::after { transform: translateX(100%); }
.tpl-tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--royal); font: 800 11.5px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(46,16,101,.5); }
.tpl-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.tpl-body b { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--deep); }
.tpl-body small { font-size: 14px; line-height: 1.55; color: var(--muted-foreground); }
.tpl-go { margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--primary-grad); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 12px 24px -12px rgba(147,51,234,.9); }
.tpl-go i { font-style: normal; transition: transform .25s; }
.tpl:hover .tpl-go i { transform: translateX(4px); }
.templates + .footer { margin-top: 0; }


/* ══ Hiệu ứng động chuyên nghiệp (20/10) ══ */
/* Thanh tiến độ cuộn */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 9100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, #7C3AED, #C026D3, #F472B6); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 10px rgba(192,38,211,.6); }

/* Header thu gọn khi cuộn */
.header, .header-row, .logo-mark, .logo-name { transition: all .3s ease; }
.header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 12px 30px -18px rgba(76,29,149,.55); }
@media (min-width: 640px) { .header.scrolled .header-row { height: 64px; } .header.scrolled .logo-mark { width: 46px; height: 46px; } }

/* Ảnh bìa phóng chậm kiểu điện ảnh */
.hero-cover img { animation: kenburns 20s ease-in-out infinite alternate; transform-origin: 62% 45%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.045) translateY(-4px); } }
.hero-ctas, .stats { animation: rise-in .8s cubic-bezier(.2,.8,.2,1) both; }
.stats { animation-delay: .15s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Nút chính: vệt sáng lướt định kỳ + gợn sóng khi bấm */
.btn, .tpl-go, .cat-chip, .pill { position: relative; overflow: hidden; }
.btn-primary::after, .tpl-go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); animation: btn-shine 3.8s ease-in-out infinite; pointer-events: none; }
@keyframes btn-shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(147,51,234,.95); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .65s ease-out; pointer-events: none; }
.cat-chip .ripple, .pill .ripple, .btn-ghost .ripple { background: rgba(124,58,237,.18); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Dải chữ chạy 11 nền tảng */
.marquee { position: relative; overflow: hidden; padding: 14px 0; background: linear-gradient(90deg, #2E1065, #5B21B6 50%, #2E1065); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; gap: 12px; animation: marquee 42s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 700 14px/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.mq-item i { font-style: normal; color: #F0ABFC; animation: twinkle 2s ease-in-out infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Thẻ nghiêng 3D theo chuột + đốm sáng theo con trỏ */
.tilt { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; transform-style: preserve-3d; will-change: transform; }
.tilt.tilt:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); transition: transform .12s ease-out, box-shadow .25s, border-color .25s; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 60%); mix-blend-mode: soft-light; }
.tilt:hover::after { opacity: 1; }
.eco.tilt:hover { border-color: #A78BFA; box-shadow: 0 26px 48px -24px rgba(109,40,217,.9), 0 0 0 1px rgba(167,139,250,.35); }
.stat.tilt { position: relative; }

/* Nút lên đầu trang (góc trái dưới, không đụng bot bên phải) */
.to-top { position: fixed; left: 18px; bottom: 22px; z-index: 9000; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: var(--primary-grad); box-shadow: 0 12px 26px -10px rgba(124,58,237,.85); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top .icon { width: 20px; height: 20px; }

/* Điện thoại: bong bóng bot nằm phía trên bot, không che nút giữa trang */
@media (max-width: 640px) {
  .bot-bubble { right: 6px; bottom: 150px; max-width: 150px; padding: 7px 11px; font-size: 11.5px; border-radius: 14px 14px 4px 14px; pointer-events: none; animation: bubble-peek 12s ease-in-out infinite !important; }
  @keyframes bubble-peek { 0%, 4% { opacity: 0; transform: translateY(8px) scale(.9); } 8%, 34% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translateY(8px) scale(.9); } }
  .mq-item { font-size: 12.5px; padding: 6px 12px; }
}


/* ══ Form đăng ký Affiliate ══ */
.aff-form { background:rgba(255,255,255,.97); border:1px solid #E4D7FC; border-radius:20px; padding:22px; box-shadow:0 26px 54px -34px rgba(76,29,149,.8); display:flex; flex-direction:column; gap:12px; }
.aff-head { font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--navy); margin-bottom:2px; }
.aff-field { display:flex; flex-direction:column; gap:5px; }
.aff-field label { font-size:12.5px; font-weight:700; color:var(--navy); }
.aff-form input, .aff-form select { height:44px; padding:0 13px; border:1px solid var(--border); border-radius:11px; background:#FAF7FF; font:inherit; font-size:14.5px; color:var(--navy); outline:none; transition:border-color .2s, box-shadow .2s, background .2s; }
.aff-form input:focus, .aff-form select:focus { border-color:#8B5CF6; background:#fff; box-shadow:0 0 0 4px rgba(139,92,246,.14); }
.aff-agree { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--muted-foreground); line-height:1.4; cursor:pointer; }
.aff-agree input { width:18px; height:18px; margin-top:1px; accent-color:var(--royal); flex-shrink:0; }
.aff-submit { margin-top:4px; width:100%; }
.aff-msg { min-height:18px; font-size:13.5px; font-weight:600; }
.aff-msg.ok { color:#15803d; }
.aff-msg.bad { color:#be123c; }
@media (min-width:768px){ .affiliate-grid { grid-template-columns:1.1fr .9fr; align-items:start; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* ── Trang công ty OHANA: hệ sinh thái + cộng đồng ── */
.btn-ghost-sm { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #CDB8F8; color: var(--royal); font-size: 14px; font-weight: 600; background: rgba(255,255,255,.7); }
.btn-ghost-sm:hover { border-color: var(--ring); background: #fff; }
.btn-ghost-sm .icon, .btn-navy .icon { width: 16px; height: 16px; }
@media (min-width: 640px) { .btn-ghost-sm { display: inline-flex; } }
/* điện thoại: chỉ hiện nút menu (nút Đăng nhập ẩn để header không tràn ngang) */

.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 900px) { .eco-grid { grid-template-columns: repeat(4, 1fr); } }
.eco { position: relative; overflow: hidden; border: 1px solid #E4D7FC; background: rgba(255,255,255,.85); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 14px 30px -24px rgba(109,40,217,.7); transition: transform .2s, box-shadow .2s, border-color .2s; }
.eco:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(109,40,217,.8); border-color: #C4B5FD; }
.eco::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--eco, var(--primary-grad)); }
.eco-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; background: var(--eco, var(--primary-grad)); margin-bottom: 10px; }
.eco b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--deep); line-height: 1.3; }
.eco p { margin-top: 4px; font-size: 13.5px; color: var(--muted-foreground); }
.eco.g1 { --eco: linear-gradient(135deg, #7C3AED, #A855F7); }
.eco.g2 { --eco: linear-gradient(135deg, #C026D3, #E879F9); }
.eco.g3 { --eco: linear-gradient(135deg, #2563EB, #38BDF8); }
.eco.g4 { --eco: linear-gradient(135deg, #DB2777, #F472B6); }
.eco.g5 { --eco: linear-gradient(135deg, #4C1D95, #7C3AED); }

.comm-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .comm-grid { grid-template-columns: repeat(3, 1fr); } }
.comm { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; color: #fff; overflow: hidden; box-shadow: 0 24px 44px -26px rgba(46,16,101,.9); transition: transform .2s, box-shadow .2s; }
.comm:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -26px rgba(46,16,101,1); }
.comm.fb { background: linear-gradient(135deg, #1D4ED8, #6D28D9); }
.comm.grp { background: linear-gradient(135deg, #7C3AED, #C026D3); }
.comm.tg { background: linear-gradient(135deg, #0284C7, #4C1D95); }
.comm::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); }
.comm-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.18); margin-bottom: 6px; }
.comm-ico .icon { width: 24px; height: 24px; }
.comm b { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.comm small { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.comm-go { margin-top: 10px; display: inline-flex; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; }

.tg-fab { background: #229ED9; box-shadow: 0 4px 20px rgba(34,158,217,.5); }
.tg-fab .icon { width: 22px; height: 22px; }

.btn-navy { white-space: nowrap; }
@media (max-width: 639px) { .hide-sm { display: none; } }

/* Cửa hàng chưa có sản phẩm */
