/* Sola AI landing page · giai đoạn A */
:root {
  --bg: #060d1c;
  --bg-2: #0a1428;
  --bg-3: #0e1b35;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border: rgba(160, 200, 255, 0.14);
  --border-strong: rgba(160, 200, 255, 0.28);
  --text: #f2f6fc;
  --muted: #b3c0d6;
  --soft: #8c9bb5;
  --blue: #2f8cff;
  --blue-2: #1767e0;
  --teal: #1ed6c4;
  --grad: linear-gradient(100deg, #1ed6c4 0%, #2f8cff 60%, #5b8cff 100%);
  --ink: #04101f;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font-head: "Barlow Condensed", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
/* điện thoại: bỏ vệt xám khi chạm (đã có :active riêng), chạm là bấm ngay không chờ chạm đúp, nút không bị bôi chọn chữ khi giữ lâu */
html { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
button, .btn { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 640px) { body { font-size: 16px; } }

/* nền sao rất nhẹ, không đặt chữ lên ảnh */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 64%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 34% 78%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 52% 44%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(1px 1px at 6% 62%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(900px 600px at 85% -10%, rgba(47,140,255,.16), transparent 65%),
    radial-gradient(700px 500px at -10% 40%, rgba(30,214,196,.07), transparent 65%),
    var(--bg);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { color: #fff; font-weight: 600; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- chữ ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: 0.2px; }
/* chia chữ đều giữa các dòng: tiêu đề không còn rớt 1 chữ xuống dòng; đoạn văn không còn chữ lẻ ở dòng cuối (05/12) */
h1, h2, h3, h4, .compare-quote, .update-quote, .slogan, .rule h5, .vs-head > div { text-wrap: balance; }
p, li { text-wrap: pretty; }
.hero h1 { text-wrap: wrap; } /* Hero Đạt đã duyệt, giữ cách ngắt dòng cũ */
#su-that h2 .grad-text { display: block; } /* "Ứng dụng được AI mới khó." xuống dòng riêng, không ngắt giữa cụm "Ứng dụng" */
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.04; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(26px, 2.8vw, 34px); }
h4 { font-size: 23px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.note { font-size: 15px; color: var(--soft); font-style: italic; margin: 14px 0 0; max-width: 70ch; }

/* ---------- nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(47,140,255,.7); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border-strong); color: var(--text); }
/* rê chuột chỉ cho máy có chuột: trên điện thoại :hover bị kẹt lại sau khi chạm */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(47,140,255,.85); }
  .btn-ghost:hover { background: rgba(255,255,255,.09); }
  .nav a:hover { color: #fff; }
  .agent:hover { background: rgba(255,255,255,.04); }
}
/* phản hồi ngay khi ngón tay chạm (mọi thiết bị), thay cho vệt xám mặc định của trình duyệt */
.btn:active { transform: scale(.97); transition-duration: .1s; }
.agent:active { background: rgba(255,255,255,.08); }
.contact-line:active { opacity: .7; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 28, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(160,200,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(47,140,255,.55)); }
.brand span { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .5px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.site-header .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 860px) { .nav { display: none; } }

/* ---------- section ---------- */
section { padding: 110px 0; position: relative; }
@media (max-width: 640px) { section { padding: 72px 0; } }
/* mục 3 nối tiếp mục 2 (không có vạch ngăn), bớt khoảng trống giữa hai mục (05/12) */
#so-sanh { padding-top: 20px; }
.section-head { max-width: 820px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 + .lead, .section-head h2 + p { margin-top: 18px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ---------- hero ---------- */
.hero { padding: 56px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero h1 { margin-bottom: 26px; }
@media (min-width: 641px) { .hero h1 .grad-text { white-space: nowrap; } }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 470px; }
/* nền ảnh chân dung là navy rất tối (#00061c): làm mờ dần mép ảnh để ảnh hòa vào nền */
.hero { background: radial-gradient(620px 560px at 78% 52%, #00061c 0%, #00061c 45%, rgba(0,6,28,0) 100%); }
.hero-photo img {
  position: relative; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 5%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 5%, #000 80%, transparent 100%);
          mask-composite: intersect;
}
.hero-photo::after {
  content: ""; position: absolute; left: 50%; bottom: 6%; width: 70%; height: 30%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47,140,255,.28), transparent); filter: blur(24px); z-index: -1;
}
/* thẻ tên nổi ngay dưới ảnh chân dung, chỉ chồng lên mép dưới đã mờ vào nền, không che tay (Đạt góp ý 05/12) */
.name-card { position: absolute; left: 50%; translate: -50% 0; bottom: -82px; width: max-content; z-index: 2; display: grid; gap: 2px; padding: 14px 20px 15px 22px; border-radius: 16px;
  background: rgba(12,25,52,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(47,140,255,.4); box-shadow: 0 30px 70px -30px rgba(47,140,255,.7), inset 0 1px 0 rgba(255,255,255,.08);
  animation: float 6s ease-in-out infinite; }
.name-card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); box-shadow: 0 0 12px rgba(30,214,196,.7); }
.name-card b { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 2px; }
.name-card span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (min-width: 861px) { .hero { padding-bottom: 112px; } } /* chừa chỗ cho thẻ tên dưới ảnh, không sát vạch ngăn */
@media (prefers-reduced-motion: reduce) { .name-card { animation: none; } }
/* ---------- hero: bot Sola, icon kính và thẻ nhỏ lơ lửng quanh ảnh chân dung (Đạt yêu cầu 05/12) ----------
   Dựng bằng mã, không dùng ảnh. Vị trí tính theo % khung ảnh, chỉ nằm ở vùng trống hai bên đầu và ngoài vai: không che mặt, không che tay.
   .orb giữ vị trí + dịch theo chuột (translate), .bob trôi lên xuống, .tilt nghiêng kiểu robot: ba chuyển động tách lớp nên không giẫm nhau. */
.orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orbit-back { z-index: 0; } /* đứng trước ảnh trong mã nên ảnh vẽ đè lên: vật như nằm sau lưng */
/* ánh sáng xanh sau lưng nhân vật, thở chậm. Ảnh chân dung đã tách nền (portrait-cut.webp, Đạt góp ý 05/12: nền đặc của ảnh cũ
   để lại vùng tối quanh đầu và cổ) nên ánh sáng nằm dưới ảnh vẫn liền mạch tới sát tóc và vai */
.orbit-back::before { content: ""; position: absolute; inset: -8% -30% 6%; filter: blur(24px);
  background: radial-gradient(closest-side at 50% 44%, rgba(60,150,255,.42), rgba(47,140,255,.26) 50%, rgba(40,110,255,.1) 76%, transparent); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .72; } }
.orb-defs { position: absolute; }
.orb { position: absolute; left: var(--x, auto); right: var(--rx, auto); top: var(--y); width: var(--s, auto); opacity: 0; scale: .92;
  transition: translate .9s cubic-bezier(.23,1,.32,1), scale .8s cubic-bezier(.23,1,.32,1) var(--in, 0s), opacity .8s ease var(--in, 0s); }
.hero-photo.in .orb { opacity: var(--o, 1); scale: 1; }
.bob { position: relative; isolation: isolate; animation: bob var(--t, 7s) ease-in-out var(--dl, 0s) infinite; }
.bob::before { content: ""; position: absolute; inset: -42%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--g, rgba(47,140,255,.5)), transparent); animation: halo 5.5s ease-in-out var(--dl, 0s) infinite; }
.tilt { animation: tilt var(--tt, 11s) ease-in-out var(--dl, 0s) infinite; }
@keyframes bob { 50% { transform: translate3d(var(--dx, 0px), var(--dy, -10px), 0); } }
@keyframes tilt { 0%, 16%, 100% { transform: rotate(var(--r0, -4deg)); } 32%, 56% { transform: rotate(var(--r1, 5deg)); } 74% { transform: rotate(-1deg); } }
@keyframes halo { 50% { opacity: .45; } }
.hero-photo.off .bob, .hero-photo.off .bob::before, .hero-photo.off .tilt, .hero-photo.off .orbit::before { animation-play-state: paused; } /* Hero ra khỏi khung nhìn thì nghỉ */

.bot { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 12px 14px rgba(2,10,40,.6)); }
.bot .eyes { fill: #061436; transform-box: fill-box; transform-origin: center; }
.bot .smile { fill: none; stroke: #061436; stroke-width: 3.6; stroke-linecap: round; }
.bot .face { transition: translate .5s cubic-bezier(.23,1,.32,1); }
/* khung giao diện hậu cảnh: kính mờ, chỉ có thanh và cột, không có chữ */
.panel { display: flex; flex-direction: column; gap: 8%; aspect-ratio: 1.35; padding: 9%; border-radius: 14px;
  background: linear-gradient(150deg, rgba(90,150,255,.2), rgba(12,25,52,.5)); border: 1px solid rgba(140,195,255,.4); box-shadow: 0 0 40px -6px rgba(47,140,255,.6); }
.panel i { display: block; flex: none; }
.panel .ln { height: 6%; border-radius: 9px; background: rgba(170,205,255,.4); }
.panel .ln.s { width: 46%; }
.panel .bars { flex: 1; display: flex; align-items: flex-end; gap: 7%; }
.panel .bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#1ed6c4, #2f8cff); }
.panel .bb { height: 15%; width: 62%; border-radius: 7px; background: rgba(130,185,255,.34); }
.panel .bb.r { align-self: flex-end; width: 46%; background: var(--grad); }
.panel .bb.w { width: 76%; }
.mini { display: flex; align-items: center; gap: 9px; width: max-content; padding: 8px 14px 8px 9px; border-radius: 14px; font-size: 12px; line-height: 1.35; color: var(--text); white-space: nowrap;
  background: rgba(12,25,52,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(120,180,255,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 40px -22px rgba(47,140,255,.9); }
.mini b { display: block; font-weight: 600; }
.mini small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.mini .pulse { width: 6px; height: 6px; }
.mini .mi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--ink); background: var(--grad); }
.mini .mi svg { width: 16px; height: 16px; }
.mini.pill { gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; font-weight: 600; }
.o-mini .bob::before { inset: -70% -12%; }
/* vật ở xa: nhỏ, mờ nhẹ, tối hơn. Làm mờ đặt ở lớp trong cùng (đứng yên) để trình duyệt không phải vẽ lại mỗi khung hình */
.orb.back { --o: .58; }
.orb.back .bot, .orb.back .panel { filter: blur(1.8px); }
.orb.back .bob::before { display: none; }
/* khung hậu cảnh nghiêng theo phối cảnh, mặt quay về phía nhân vật, đung đưa rất chậm */
.orb.back .tilt:has(.panel) { transform: perspective(600px) rotateY(var(--ry)) rotateX(4deg); animation-name: sway; }
@keyframes sway { 50% { transform: perspective(600px) rotateY(calc(var(--ry) * .8)) rotateX(1deg); } }
/* tiền cảnh: bóng đổ đậm lên vai để thấy rõ bot ở phía trước */
.orb.fore .bot { filter: drop-shadow(0 20px 20px rgba(0,3,20,.8)); }

/* 3 lớp: hậu cảnh trôi chậm và ít, trung cảnh vừa, tiền cảnh nhanh và nhiều hơn. Kích thước tính theo % khung ảnh nên tự co theo màn hình.
   --rx neo mép phải của vật (bên trái ảnh), --x neo mép trái (bên phải ảnh) */
.o-panL { --rx: 74%;  --y: 4%;  --s: 36%; --ry: 30deg;  --t: 13s;  --tt: 17s;   --dl: -4s;  --dy: -5px; --in: .1s; }
.o-panR { --x: 77%;   --y: 14%; --s: 38%; --ry: -30deg; --t: 12s;  --tt: 19s;   --dl: -8s;  --dy: 5px;  --in: .2s; }
.o-star { --x: -11%;  --y: 52%; --s: 11%;               --t: 11s;  --tt: 16s;   --dl: -3s;  --dy: -6px; --r0: -3deg; --r1: 3deg; --in: .3s; }
.o-teal { --rx: 90%;  --y: 30%; --s: 18%;               --t: 8.4s; --tt: 12s;   --dl: -2s;  --dy: -9px; --r0: 3deg;  --r1: -3deg; --in: .4s; --g: rgba(30,214,196,.36); }
.o-pill { --x: 70%;   --y: 1%;                          --t: 9s;   --tt: 15s;   --dl: -5s;  --dy: 6px;  --r0: 1deg;  --r1: -1deg; --in: .5s; }
.o-blue { --x: 77%;   --y: 43%; --s: 28%;               --t: 6.8s; --tt: 10.5s; --dl: -.5s; --dy: -13px; --dx: 2px; --r0: -3deg; --r1: 3deg; --in: .55s; --g: rgba(47,140,255,.3); }
/* điện thoại, máy tính bảng: thẻ tên nằm trong khung nên lớp vật phải khớp riêng với ảnh, nếu không bot tụt xuống che bàn tay */
@media (max-width: 860px) { .orbit { bottom: auto; aspect-ratio: 1122 / 1402; } }
@media (max-width: 1227px) { /* mép phải trang sát ảnh: lùi vật bên phải vào, bỏ nhãn chữ */
  .o-pill { display: none; }
  .o-panR { --x: 72%; --s: 34%; }
  .o-blue { --x: 74%; }
}

@media (prefers-reduced-motion: reduce) { /* giảm chuyển động: đứng yên, vẫn còn ánh sáng thở nhẹ và chớp mắt */
  .bob, .tilt { animation: none; }
  .orb { scale: 1; transition: opacity .8s ease; }
}
@media (max-width: 860px) {
  .hero-photo { margin-bottom: 22px; }
  .name-card { position: relative; left: 50%; bottom: auto; translate: -50% 0; margin: -6px 0 0; max-width: calc(100vw - 32px); animation: none; text-align: center; padding: 12px 18px 13px; }
  .name-card::before { display: none; }
  .name-card b { font-size: 21px; }
  .name-card span { font-size: 12.5px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-photo { order: -1; max-width: 320px; }
  .hero-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 640px) { .hero-photo { max-width: 230px; margin: 0 auto 22px; } }

/* ---------- mục 2 ---------- */
.truth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.truth-grid .card { padding: 34px; }
.truth-grid h3 { margin-bottom: 14px; font-size: clamp(24px, 2.4vw, 30px); }
.truth-grid p { color: var(--muted); margin: 0; }
.truth-intro { font-size: clamp(18px, 1.8vw, 21px); color: var(--text); max-width: 64ch; margin-bottom: 40px; }
@media (max-width: 760px) { .truth-grid { grid-template-columns: 1fr; } .truth-grid .card { padding: 26px; } }

/* ---------- mục 3: các cách tiếp cận AI (bảng so sánh đã bỏ, 05/12) ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.approach-grid .card { padding: 26px 28px; }
.approach-grid h4 { margin-bottom: 8px; }
.approach-grid p { margin: 0; color: var(--muted); font-size: 16px; }
.approach-grid .is-sola { border-color: rgba(47,140,255,.55); background: linear-gradient(180deg, rgba(47,140,255,.14), rgba(47,140,255,.04)); }
.approach-grid .is-sola h4 { color: #fff; }
.compare-quote { margin-top: 34px; text-align: center; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; }
@media (max-width: 820px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* ---------- mục 4 ---------- */
.machine-head { text-align: center; max-width: 900px; margin: 0 auto 70px; }
.machine-head .kicker { justify-content: center; }
.machine-head .lead { margin: 22px auto 0; }

.office { padding: 40px; }
.office-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.office-head h3 { max-width: 560px; }
.office-head p { color: var(--muted); max-width: 440px; margin: 0; }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role {
  padding: 20px; border-radius: var(--radius-sm);
  background: rgba(6,13,28,.55); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
@media (hover: hover) and (pointer: fine) { .role:hover { border-color: var(--border-strong); transform: translateY(-2px); } }
.role .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(47,140,255,.14); color: #7fb8ff;
}
.role .ic svg { width: 21px; height: 21px; }
.role h4 { font-size: 20px; margin-bottom: 4px; }
.role p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.role .tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .office { padding: 24px 18px; } .roles { grid-template-columns: 1fr 1fr; gap: 10px; } .role { padding: 16px; } .role h4 { font-size: 18px; } }
@media (max-width: 400px) {
  .roles { grid-template-columns: 1fr; gap: 8px; }
  .role { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 14px; }
  .role .ic { grid-row: span 3; margin-bottom: 0; }
  .role .tag { margin-bottom: 2px; }
  .role p { font-size: 15px; }
}

.brain { margin-top: 28px; padding: 44px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; }
.brain h3 { margin-bottom: 16px; }
.brain .inside { color: var(--muted); }
.brain-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.brain-points li { display: flex; gap: 14px; color: var(--muted); }
.brain-points li svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 3px; }
.vs { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); align-self: start; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; }
.vs-row > div { padding: 15px 18px; font-size: 15px; border-bottom: 1px solid var(--border); }
.vs-row > div:first-child { color: var(--soft); border-right: 1px solid var(--border); }
.vs-row > div:last-child { color: var(--text); background: rgba(47,140,255,.07); }
.vs-row:last-child > div { border-bottom: 0; }
.vs-head > div { font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.vs-head > div:last-child { color: #fff; background: rgba(47,140,255,.18); }
@media (max-width: 900px) { .brain { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; } .vs-row > div { padding: 12px 13px; font-size: 14px; } }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 26px; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.points li strong { color: var(--text); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.sub h4 { margin-bottom: 14px; color: #fff; }
.sub > p { color: var(--muted); }
.approve {
  margin-top: 26px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(30,214,196,.07); border: 1px solid rgba(30,214,196,.28);
  display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 16px;
}
.approve svg { flex: none; width: 21px; height: 21px; color: var(--teal); margin-top: 2px; }
.approve b { color: var(--teal); font-weight: 600; }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; gap: 26px; } }

/* khung điện thoại (ảnh Zalo, video livestream) */
.phone {
  width: 100%; max-width: 250px; padding: 9px; border-radius: 30px;
  background: #0b1426; border: 1px solid var(--border-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 40px -18px rgba(47,140,255,.5);
}
.phone img, .phone video { width: 100%; height: auto; border-radius: 22px; background: #000; }
.phone video { aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 480px) { .phone { padding: 6px; border-radius: 22px; } .phone img, .phone video { border-radius: 17px; } }


/* màn hình "Đội Sola AI của bạn" (mục 4) */
.team-head { margin: 90px 0 30px; max-width: 760px; }
.team-head h3 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 12px; }
.team-head p { color: var(--muted); margin: 0; font-size: 18px; }

.console { position: relative; border-radius: 22px; border: 1px solid var(--border-strong); overflow: hidden;
  background: linear-gradient(180deg, #0c1934 0%, #081226 100%);
  box-shadow: 0 50px 120px -50px rgba(47,140,255,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.tbar { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.025); }
.tbar .dots { display: flex; gap: 7px; } .tbar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3958; }
.tbar .ttl { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .5px; }
.tbar .ttl b { color: var(--text); font-weight: 500; }
.live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: #9ff3e9; white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(30,214,196,.6); animation: pulse 1.8s infinite; flex: none; display: inline-block; }
.pulse.wait { background: #ffc24b; animation-name: pulseY; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(30,214,196,0); } 100% { box-shadow: 0 0 0 0 rgba(30,214,196,0); } }
@keyframes pulseY { 0% { box-shadow: 0 0 0 0 rgba(255,194,75,.6); } 70% { box-shadow: 0 0 0 8px rgba(255,194,75,0); } 100% { box-shadow: 0 0 0 0 rgba(255,194,75,0); } }

.cbody { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 640px; }
.side { border-right: 1px solid var(--border); padding: 14px 12px; background: rgba(4,10,22,.35); }
.side .grp { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--soft); text-transform: uppercase; margin: 14px 10px 6px; }
.side .grp:first-child { margin-top: 4px; }
.agent { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text); cursor: pointer; font: inherit; transition: background .2s, border-color .2s; }
.agent[aria-selected="true"] { background: rgba(47,140,255,.13); border-color: rgba(47,140,255,.35); }
.agent:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, rgba(30,214,196,.22), rgba(47,140,255,.28)); color: #bfe0ff; }
.av svg { width: 19px; height: 19px; }
.agent .nm { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.agent .st { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.agent .st .pulse { width: 6px; height: 6px; }

.cmain { position: relative; min-width: 0; }
.apanel { padding: 30px 34px 34px; position: relative; }
.console.ready .apanel:not(.on) { display: none; }
.console:not(.ready) .apanel + .apanel { border-top: 1px solid var(--border); }
.ahead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ahead h3 { font-size: 36px; margin: 0; }
.replace { font-family: var(--font-mono); font-size: 12.5px; color: #9fcbff; border: 1px solid rgba(47,140,255,.4); background: rgba(47,140,255,.08); padding: 4px 11px; border-radius: 99px; }
.result { font-size: 19px; color: var(--text); margin: 10px 0 0; max-width: 60ch; }

/* luồng làm việc */
.stage { margin-top: 24px; display: grid; gap: 14px; }
.cmd { display: flex; gap: 12px; align-items: flex-start; }
.me { width: 34px; height: 34px; border-radius: 50%; background: #23314f; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.bub { background: rgba(255,255,255,.07); border: 1px solid var(--border); padding: 10px 14px; border-radius: 4px 14px 14px 14px; font-size: 16px; min-height: 44px; }
.caret::after { content: "▍"; color: var(--teal); animation: blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.fsteps { list-style: none; margin: 0; padding: 0 0 0 46px; display: grid; gap: 9px; }
.fsteps li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--muted); opacity: .3; transition: opacity .3s; }
.fsteps li.doing, .fsteps li.done { opacity: 1; }
.fsteps li.done { color: var(--text); }
.ico { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #33466c; flex: none; display: grid; place-items: center; }
.doing .ico { border-color: rgba(30,214,196,.25); border-top-color: var(--teal); animation: spin .8s linear infinite; }
.done .ico { border-color: var(--teal); background: var(--teal); }
.done .ico::after { content: ""; width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translate(0,-1px) rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.out { padding-left: 46px; }
.rv { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .55s, transform .7s; }
.rv.show { opacity: 1; transform: none; }
.apbar { margin-left: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,194,75,.35); background: rgba(255,194,75,.07); }
.apbar .t { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.apbar .b { margin-left: auto; display: flex; gap: 8px; }
.apbar .btn { padding: 8px 16px; font-size: 14px; min-height: 0; }
/* màn hình cảm ứng: vùng chạm đủ 44px cho ngón tay (05/12) */
@media (pointer: coarse) {
  .apbar .btn { min-height: 44px; padding: 0 20px; }
  .contact-line { min-height: 44px; margin-bottom: 2px; }
}
.apbar.ok { border-color: rgba(30,214,196,.45); background: rgba(30,214,196,.08); }

/* thiết kế: ấn phẩm dựng bằng hình khối và chữ, không dùng ảnh */
.bkit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.bkit .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); }
.bkit i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,.25); }
.designs { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; max-width: 780px; }
.pzw { flex: var(--ar) 1 0; min-width: 0; margin: 0; container-type: inline-size; }
.pzw figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--soft); margin-top: 6px; text-align: center; }
.pz { position: relative; width: 100%; aspect-ratio: var(--arx); border-radius: 10px; overflow: hidden; font-family: var(--font-head); line-height: 1; box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.pz1 { background: #f3ede3; color: #2f3a2c; padding: 9cqw; }
.pz1 .lg { font-family: var(--font-mono); font-size: 6cqw; color: #6f8f6a; display: block; }
.pz1 b { display: block; font-size: 22cqw; margin-top: 8cqw; position: relative; z-index: 1; }
.pz1 small { display: block; font-family: var(--font-body); font-size: 7cqw; margin-top: 4cqw; position: relative; z-index: 1; color: #5b5a52; }
.pz1 .dot { position: absolute; right: -24cqw; bottom: -30cqw; width: 66cqw; height: 66cqw; border-radius: 50%; background: #6f8f6a; }
.pz2 { background: #6f8f6a; color: #f3ede3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10cqw; gap: 8cqw; text-align: center; }
.pz2 small { font-size: 13cqw; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.pz2 .arch { width: 74cqw; height: 84cqw; border-radius: 999px 999px 10px 10px; background: #f3ede3; color: #6f8f6a; display: grid; place-items: center; }
.pz2 .arch svg { width: 40cqw; height: 40cqw; }
.pz2 em { font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: 9cqw; padding: 3cqw 9cqw; border-radius: 99px; background: #c8714c; color: #fff; }
.pz3 { background: #c8714c repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 6cqw, transparent 6cqw 12cqw); color: #fff7ee; padding: 10cqw; display: flex; flex-direction: column; justify-content: center; }
.pz3 b { font-size: 40cqw; }
.pz3 small { font-family: var(--font-body); font-size: 8cqw; margin-top: 4cqw; font-weight: 600; }
.pz4 { background: #f3ede3; color: #2f3a2c; display: flex; align-items: center; padding-left: 7cqw; }
.pz4 > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2cqw; }
.pz4 small { font-family: var(--font-body); font-size: 3.8cqw; color: #5b5a52; }
.pz4 b { font-size: 10cqw; }
.pz4 em { font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: 3.4cqw; padding: 1.4cqw 4cqw; border-radius: 99px; background: #6f8f6a; color: #fff; margin-top: 1.5cqw; }
.pz4 .half { position: absolute; right: -8cqw; top: 50%; transform: translateY(-50%); width: 46cqw; height: 46cqw; border-radius: 50%; background: #6f8f6a; color: #f3ede3; display: grid; place-items: center; }
.pz4 .half svg { width: 17cqw; height: 17cqw; margin-right: 7cqw; }

/* video: bàn dựng biến đổi theo từng bước */
.editor { border-radius: 14px; border: 1px solid var(--border); background: #070f20; padding: 12px 14px 14px; max-width: 780px; }
.ed-top { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.ed-cover { color: var(--teal); opacity: 0; transition: opacity .4s; }
.stage.fx-cover .ed-cover { opacity: 1; }
.ed-time { margin-left: auto; color: var(--text); }
.ed-time .t2, .stage.fx-cut .ed-time .t1 { display: none; }
.stage.fx-cut .ed-time .t2 { display: inline; color: var(--teal); }
.ed-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.ed-lb, .ed-ln { display: grid; grid-auto-rows: 28px; row-gap: 6px; }
.ed-lb { font-family: var(--font-mono); font-size: 11px; color: var(--soft); align-items: center; }
.ed-ln { position: relative; }
.lane { display: flex; gap: 3px; padding: 3px; border-radius: 6px; background: rgba(255,255,255,.04); overflow: hidden; min-width: 0; }
.clip { flex: var(--w) 1 0; border-radius: 4px; background: linear-gradient(135deg, rgba(47,140,255,.45), rgba(30,214,196,.4)); border: 1px solid rgba(47,140,255,.55); }
.cut { flex: var(--w) 1 0; min-width: 0; border-radius: 4px; font-style: normal; font-family: var(--font-mono); font-size: 10px; color: #ffd6d6; display: grid; place-items: center; white-space: nowrap; overflow: hidden;
  border: 1px solid rgba(255,99,99,.6); background: repeating-linear-gradient(45deg, rgba(255,99,99,.35) 0 6px, rgba(255,99,99,.15) 6px 12px); transition: flex-grow .7s ease, opacity .5s, border-width .7s, margin .7s; }
.stage.fx-cut .cut { flex-grow: 0; opacity: 0; border-width: 0; margin-left: -3px; }
.wave { align-items: center; gap: 2px; }
.wave i { flex: 1; height: var(--h); border-radius: 2px; background: var(--teal); opacity: .12; transition: opacity .6s; }
.stage.fx-voice .wave i { opacity: .85; }
.subs span, .music span { flex: 1; border-radius: 4px; font-size: 10.5px; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; opacity: 0; transition: opacity .4s, transform .4s; }
.subs span { background: rgba(255,194,75,.18); border: 1px solid rgba(255,194,75,.45); color: #ffe2a6; transform: translateY(4px); }
.subs span:nth-child(2) { transition-delay: .15s; } .subs span:nth-child(3) { transition-delay: .3s; }
.music span { background: rgba(176,132,255,.18); border: 1px solid rgba(176,132,255,.45); color: #dcc8ff; justify-content: flex-start; padding: 0 8px; transition-delay: .35s; }
.stage.fx-sub .subs span, .stage.fx-sub .music span { opacity: 1; transform: none; }
.phd { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.8); animation: playhead 6s linear infinite; }
@keyframes playhead { to { left: calc(100% - 2px); } }
.vnote { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); max-width: 70ch; }

/* content: bài cho từng kênh */
.pcards { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 10px; align-items: start; }
.pc { border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.035); padding: 12px; font-size: 14px; }
.pc .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.pc .hd b { font-weight: 600; }
.pc p { margin: 0; line-height: 1.5; }
.pc .tags { display: block; margin-top: 8px; color: #8ab4ff; font-size: 12.5px; }
.pc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); line-height: 1.45; }
.pc ul b { color: var(--text); font-weight: 600; }
.pc.gg .url { color: var(--soft); font-size: 12px; }
.pc.gg .gt { color: #8ab4ff; font-size: 15.5px; font-weight: 600; line-height: 1.3; margin: 2px 0 4px; }
.pc.gg .sn { color: var(--muted); font-size: 13px; line-height: 1.45; }
.seo { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.seo span { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--border-strong); color: #cfe3ff; }
.seo span:last-child { border-color: rgba(30,214,196,.5); color: #bff7ef; }
.ch-chip { font-family: var(--font-mono); font-size: 10.5px; padding: 2px 7px; border-radius: 99px; border: 1px solid var(--border-strong); color: #cfe3ff; margin-left: auto; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.week div { text-align: center; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.week b { display: block; font-family: var(--font-mono); font-weight: 500; color: var(--text); font-size: 12px; }

/* chat */
.chat { max-width: 560px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.chat-h b { font-weight: 600; }
.chat-b { padding: 14px; display: grid; gap: 8px; min-height: 120px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg.kh { background: rgba(255,255,255,.08); justify-self: start; border-bottom-left-radius: 4px; }
.msg.ai { background: rgba(47,140,255,.2); border: 1px solid rgba(47,140,255,.35); justify-self: end; border-bottom-right-radius: 4px; }
.msg.ai small { display: block; font-family: var(--font-mono); font-size: 10.5px; color: #9fcbff; margin-bottom: 2px; }
.typing { justify-self: end; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: rgba(47,140,255,.14); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fcbff; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-2px); } }
.pcard { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 10px; background: rgba(4,10,22,.55); border: 1px solid var(--border); }
.pcard .pi { width: 46px; height: 46px; border-radius: 8px; background: #6f8f6a; color: #f3ede3; display: grid; place-items: center; flex: none; }
.pcard .pi svg { width: 24px; height: 24px; }
.pcard b { display: block; font-weight: 600; font-size: 14px; }
.pcard .sz, .pcard .lnk { display: block; font-size: 12.5px; color: var(--muted); }
.pcard u { text-decoration: none; color: #fff; font-weight: 700; border-bottom: 2px solid var(--teal); }
.pcard .lnk { color: #8ab4ff; }
.order { justify-self: center; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(30,214,196,.4); background: rgba(30,214,196,.08); color: #bff7ef; }
.chans { display: flex; flex-wrap: wrap; gap: 6px; }
.chans span { font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); }
.chans span.on { border-color: rgba(30,214,196,.5); color: #bff7ef; }

/* báo cáo, quảng cáo */
.report { max-width: 620px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255,255,255,.03); padding: 6px 16px; }
.report .rh { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.rline { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(160,200,255,.07); font-size: 15px; }
.rline:last-child { border-bottom: 0; }
.rline svg { width: 18px; height: 18px; color: #9fcbff; }
.rline .v { font-family: var(--font-mono); font-size: 14px; color: var(--text); text-align: right; }
.rline .n { display: block; font-size: 12.5px; color: var(--muted); }
.rline.warn svg { color: #ffc24b; }
.camp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccard { border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.03); padding: 14px; font-size: 14.5px; }
.ccard .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--soft); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ccard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; color: var(--muted); }
.ccard ul b { color: var(--text); font-weight: 600; }
.ccard.alert { border-color: rgba(255,194,75,.4); background: rgba(255,194,75,.06); }
.paused { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.1); color: var(--text); }

/* phần "làm được gì" */
.more { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
/* hiện ra sau thanh "Chờ bạn duyệt" (chỉ khi JS chạy, để không mất nội dung) */
.console.ready .more { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s; }
.console.ready .more.show { opacity: 1; transform: none; }
.more-h { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }
.more-body { margin-top: 14px; }
.more-body .points li { font-size: 16px; }
.more-body > .points { grid-template-columns: 1fr 1fr; column-gap: 34px; }
.more-body .desc { color: var(--muted); max-width: 72ch; }
.more-body h4 { font-size: 20px; }

@media (max-width: 1100px) { .pcards { grid-template-columns: 1fr 1fr; } .pc.gg { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .team-head { margin-top: 70px; }
  .cbody { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  /* 2 hàng, thấy 4 AI cùng lúc; cột thứ 3 ló ra để khách biết kéo ngang xem tiếp */
  .side { border-right: 0; border-bottom: 1px solid var(--border); display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-auto-columns: minmax(0, 1fr); gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; padding: 12px; scrollbar-width: none; } /* kéo hết dải AI không kéo theo trang hay vuốt quay lại */
  .side::-webkit-scrollbar { display: none; }
  .side .grp { display: none; }
  .agent { width: 100%; height: 100%; padding: 8px 10px 8px 8px; border-color: var(--border); }
  .agent .nm { font-size: 14px; }
  .agent .st { display: none; }
  .av { width: 32px; height: 32px; }
  .apanel { padding: 22px 16px 28px; }
  .more-body > .points { grid-template-columns: 1fr; }
  .ahead h3 { font-size: 30px; }
  .result { font-size: 17px; }
  .fsteps, .out { padding-left: 0; }
  .apbar { margin-left: 0; } .apbar .b { margin-left: 0; }
  .camp { grid-template-columns: 1fr 1fr; }
  .tbar .ttl { font-size: 12px; } .live span { display: none; }
}
@media (max-width: 560px) {
  .side { grid-auto-columns: 44%; }
  .agent { gap: 8px; padding: 8px; }
  .agent .av { width: 28px; height: 28px; border-radius: 9px; } .agent .av svg { width: 16px; height: 16px; }
  .agent .nm { font-size: 13.5px; }
  .pzw.wide { flex-basis: 100%; }
  .pcards { grid-template-columns: 1fr; }
  .ed-body { grid-template-columns: 44px minmax(0, 1fr); } .ed-lb { font-size: 10px; } .cut, .subs span, .music span { font-size: 9px; }
  .camp { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .doing .ico, .caret::after, .typing i, .phd { animation: none; }
  .rv, .console.ready .more { transition: none; transform: none; }
  .cut, .wave i, .subs span, .music span, .ed-cover { transition: none; }
}

/* phần khép */
.close-wrap { margin-top: 70px; padding: 48px; }
.close-wrap > h3 { font-size: clamp(30px, 3.6vw, 46px); max-width: 760px; margin-bottom: 34px; }
.close-grid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.close-item { margin-bottom: 26px; }
.close-item h4 { margin-bottom: 8px; color: #fff; }
.close-item p { color: var(--muted); margin: 0; }
.slogan { margin: 44px 0 26px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.15; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rule { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(6,13,28,.55); }
.rule h5 { margin: 0 0 12px; font-family: var(--font-head); font-size: 21px; font-weight: 600; line-height: 1.25; display: flex; gap: 10px; align-items: flex-start; }
.rule h5 svg { width: 20px; height: 20px; flex: none; margin-top: 3px; } /* tiêu đề 2 dòng: icon ngang dòng đầu, không lơ giữa hai dòng */
.rule ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; display: grid; gap: 6px; }
.rule.r1 h5 { color: var(--teal); }
.rule.r2 h5 { color: #8fc2ff; }
.rule.r3 h5 { color: #ffc27a; }
.close-final { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.close-final .card { padding: 26px; background: rgba(6,13,28,.5); }
.close-final h4 { margin-bottom: 8px; }
.close-final p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .close-wrap { padding: 28px 20px; }
  .close-grid { grid-template-columns: 1fr; }
  .close-grid .phone { margin: 0 auto; }
  .rules, .close-final { grid-template-columns: 1fr; }
}


/* ---------- mục 5 ---------- */
.update { text-align: center; }
.update h2 { max-width: 900px; margin: 0 auto; }
.update .lead { margin: 20px auto 0; }
/* nhật ký cập nhật bộ máy (05/12): khung kiểu app SOLA, đường dọc sáng dần theo cuộn (JS đặt vị trí, --p) */
.ulog { max-width: 860px; margin: 50px auto 46px; text-align: left; border-radius: 22px; border: 1px solid var(--border-strong); overflow: hidden;
  background: linear-gradient(180deg, #0c1934 0%, #081226 100%); box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.06); }
.uwrap { position: relative; padding: 28px 30px 30px; }
.urail { position: absolute; width: 2px; border-radius: 2px; background: rgba(160,200,255,.14); }
.urail > i, .road > i { position: absolute; left: 0; top: 0; border-radius: 2px; box-shadow: 0 0 10px rgba(47,140,255,.8); }
.urail > i { width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, #1ed6c4, #2f8cff); }
.ulist { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.uitem { display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 18px; align-items: start; transition: opacity .5s; }
.unode, .step .no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: #0b1630; border: 2px solid #33466c; color: #7f95ba; transition: border-color .4s, box-shadow .4s, color .4s, background .4s; }
.unode svg { width: 19px; height: 19px; }
.uitem.on .unode, .step.lit .no { border-color: var(--teal); color: #fff; background: linear-gradient(135deg, rgba(30,214,196,.35), rgba(47,140,255,.45)), #0b1630; box-shadow: 0 0 0 5px rgba(30,214,196,.1), 0 0 22px rgba(30,214,196,.5); }
.utag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal); }
.ubody h4 { margin: 4px 0 6px; font-size: 22px; }
.ubody p { margin: 0; color: var(--muted); font-size: 16px; }
.uchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.uchips span { font-size: 13.5px; padding: 3px 11px; border-radius: 99px; border: 1px solid rgba(47,140,255,.4); background: rgba(47,140,255,.1); color: #cfe3ff; }
.ubody .ugo { color: var(--text); }
.uok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: 7px; color: var(--ink); background: var(--teal); transition: opacity .4s .25s, transform .4s .25s; }
.uok svg { width: 16px; height: 16px; stroke-width: 3; }
.uok.loop { background: none; color: var(--teal); border: 1px solid rgba(30,214,196,.5); }
.uitem.on .uok.loop svg { animation: spin 4s linear infinite; }
/* chỉ làm mờ, ẩn dấu tích khi JS chạy (không JS vẫn đọc đủ) */
.uwrap.ready .uitem:not(.on) { opacity: .45; }
.uwrap.ready .uitem:not(.on) .uok { opacity: 0; transform: scale(.6); }
@media (max-width: 640px) {
  .uwrap { padding: 22px 16px 24px; }
  .uitem { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .unode { width: 40px; height: 40px; }
  .uok { display: none; }
  .ubody h4 { font-size: 20px; }
}
.update-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; max-width: 820px; margin: 0 auto; }

/* ---------- mục 6 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; }
/* lộ trình (05/12): mốc tròn nằm trên đường ray phía trên thẻ; JS đặt vị trí đường ray, --p */
.roadmap { position: relative; padding-top: 74px; }
.road { position: absolute; border-radius: 2px; background: rgba(160,200,255,.14); }
.road > i { height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); }
.road.v > i { width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, #1ed6c4, #2f8cff); }
.step .no { position: absolute; top: -70px; left: 18px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .5px; }
.loopback { position: absolute; top: -60px; left: 72px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11.5px; color: #9ff3e9; padding: 3px 9px; border-radius: 99px; border: 1px dashed rgba(30,214,196,.55); white-space: nowrap; }
.loopback svg { width: 13px; height: 13px; }
.step h4 { margin: 0 0 10px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step.lit { border-color: rgba(47,140,255,.42); }
@media (max-width: 1060px) {
  .roadmap { padding: 0 0 0 62px; }
  .steps { grid-template-columns: 1fr; }
  .step .no { top: 22px; left: -62px; }
  .loopback { position: static; margin-bottom: 10px; }
  .step.lit { box-shadow: 0 34px 90px -46px rgba(47,140,255,.6), inset 3px 0 0 rgba(30,214,196,.7); }
}
@media (max-width: 640px) { .roadmap { padding-left: 54px; } .step .no { left: -54px; width: 40px; height: 40px; } }

/* ---------- liên hệ ---------- */
.contact .card { padding: 54px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  background: radial-gradient(600px 300px at 90% 0%, rgba(47,140,255,.22), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
.contact h2 { margin-bottom: 18px; }
.contact p { color: var(--muted); }
.contact-box { padding: 28px; border-radius: var(--radius); background: rgba(6,13,28,.6); border: 1px solid var(--border); }
.contact-box .who { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.contact-line { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--text); text-decoration: none; font-size: 16px; word-break: break-word; }
.contact-line svg { flex: none; width: 19px; height: 19px; color: var(--teal); }
.contact-actions { display: grid; gap: 10px; margin-top: 22px; }
.contact-actions .btn { width: 100%; }
.small { font-size: 14px; color: var(--soft); margin: 18px 0 0; }
@media (max-width: 860px) { .contact .card { grid-template-columns: 1fr; padding: 30px 20px; gap: 28px; } }
@media (max-width: 640px) { .contact .card { padding: 28px 14px; } .contact-box { padding: 22px 18px; } }
.nowrap { white-space: nowrap; }

footer { padding: 34px 0 44px; border-top: 1px solid rgba(160,200,255,.08); color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand img { width: 30px; height: 30px; }
footer .brand span { font-size: 20px; color: var(--text); }

/* ---------- chuyển động nhẹ ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .role { transition: none; }
}

/* mục AI Livestream (tách khỏi Đội Sola AI, 04/12) */
.live-show { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 44px; align-items: start; }
.live-left { width: 496px; }
.live-vids { display: flex; gap: 16px; }
.lvid { margin: 0; width: 240px; }
.lvid .phone { position: relative; max-width: none; }
.lvid video { display: block; }
.onair { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #fff; background: #ff2d55; padding: 3px 8px; border-radius: 6px; pointer-events: none; }
.onair i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
.lvid figcaption { text-align: center; font-size: 13px; color: var(--soft); margin-top: 10px; }
.lr-h { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lr { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(6,13,28,.6); }
.lr .ch { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 2px 9px; border-radius: 99px; border: 1px solid; }
.lr.tt .ch { color: #9ff3e9; border-color: rgba(30,214,196,.5); }
.lr.sp .ch { color: #ffb08a; border-color: rgba(255,122,69,.55); }
.lr .v { font-family: var(--font-mono); font-weight: 500; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; color: #fff; margin: 10px 0 4px; }
.lr .v small { font-size: .6em; color: var(--muted); }
.lr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.night { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #ffe2a6; padding: 2px 9px; border-radius: 99px; background: rgba(255,194,75,.14); border: 1px solid rgba(255,194,75,.45); }
.night svg { width: 13px; height: 13px; }
.lr .m { font-size: 14px; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }
.lr .m b { color: var(--text); font-weight: 600; }
.lr img { margin-top: auto; width: 100%; height: auto; border-radius: 8px; opacity: .92; }
.lsave2 { margin-top: 22px; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: linear-gradient(100deg, rgba(30,214,196,.12), rgba(47,140,255,.12)); border: 1px solid var(--border-strong); }
.lsave2 .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; }
.lsave2 > span:last-child { color: var(--muted); }
.live-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.li { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.li-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.li-h svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.li h4 { font-size: 21px; color: #fff; }
.li .points li { font-size: 15.5px; }

/* mục Zalo Agent OS (tách khỏi Đội Sola AI, 04/12) */
.zdesc { color: var(--muted); margin: 14px 0 0; max-width: 62ch; }
/* máy tính: 3 nhóm xếp dọc, so le chữ - ảnh; ảnh to để đọc được nội dung */
.zgrid { display: grid; gap: 24px; counter-reset: z; }
.zcol { counter-increment: z; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". ph" "h ph" "ul ph" ". ph"; gap: 0 64px; padding: 44px 56px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.zcol:nth-child(even) { grid-template-columns: 360px minmax(0, 1fr); grid-template-areas: "ph ." "ph h" "ph ul" "ph ."; }
.zc-h { grid-area: h; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.zc-h::before { content: "0" counter(z); font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; color: var(--teal); }
.zc-h h3 { font-size: clamp(28px, 3vw, 38px); }
.zcol .phone { grid-area: ph; max-width: 360px; margin: 0; }
.zcol .points { grid-area: ul; }
.zcol .points li { font-size: 17px; }
.zind { color: var(--muted); margin: 26px 0 0; }
.close-sec { padding-top: 40px; }
.close-sec .close-wrap { margin-top: 0; }

@media (max-width: 1000px) {
  .live-show { grid-template-columns: 1fr; gap: 30px; }
  .live-left { width: auto; max-width: 560px; margin: 0 auto; }
  .live-vids { justify-content: center; }
  .live-info { grid-template-columns: 1fr; }
  .zcol, .zcol:nth-child(even) { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: ". ph" "h ph" "ul ph" ". ph"; gap: 0 32px; padding: 32px; }
}
@media (max-width: 760px) {
  .zcol, .zcol:nth-child(even) { display: block; }
  .zcol .phone { max-width: 330px; margin: 0 auto 22px; }
}
@media (max-width: 560px) {
  .live-vids { gap: 10px; }
  .lvid { width: auto; flex: 1; min-width: 0; }
  .onair { top: 14px; left: 14px; font-size: 10px; }
  .lr-grid { gap: 8px; }
  .lr { padding: 12px; }
  .lr .v { font-size: 19px; }
  .lr .m { font-size: 12.5px; }
  .zcol, .zcol:nth-child(even) { display: block; padding: 22px 18px; }
  .zcol .phone { max-width: 330px; margin: 0 auto 22px; }
  .zcol .points li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .onair i { animation: none; } }

/* ---------- ánh sáng và hiệu ứng toàn trang (Đạt duyệt 05/12) ----------
   Ánh sáng lan tỏa lấy từ khung Đội Sola AI; chỉ đặt ở khối chính mỗi mục để giữ điểm nhấn.
   Không đụng #van-phong (phiên giai đoạn B). */
:root {
  --glow-soft: 0 34px 90px -46px rgba(47,140,255,.42);
  --glow: 0 50px 120px -50px rgba(47,140,255,.55);
  --glow-strong: 0 60px 140px -46px rgba(47,140,255,.7), 0 0 0 1px rgba(47,140,255,.18);
}
.truth-grid .card, .step { box-shadow: var(--glow-soft), inset 0 1px 0 rgba(255,255,255,.05); }
.approach-grid .is-sola, .brain, .close-wrap, .lsave2 { box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.06); }
.contact .card { box-shadow: var(--glow-strong), inset 0 1px 0 rgba(255,255,255,.07); border-color: rgba(47,140,255,.4); }
.lvid .phone, .zcol .phone { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 40px 110px -40px rgba(47,140,255,.6); }

/* vệt sáng nền so le sau từng mục: nền xanh đêm có chiều sâu, chữ vẫn trên nền đủ tối */
/* kéo dài lên trên, xuống dưới để vệt sáng mờ dần, không bị cắt thành đường ở mép mục */
section::before { content: ""; position: absolute; inset: -240px 0; z-index: -1; pointer-events: none;
  background: radial-gradient(var(--aw, 760px) var(--ah, 520px) at var(--ax, 12%) var(--ay, 40%), var(--ac, rgba(47,140,255,.11)), transparent 70%); }
.hero::before { display: none; }
#su-that { --ax: 8%; --ay: 55%; --ac: rgba(30,214,196,.08); }
#so-sanh { --ax: 92%; --ay: 60%; }
#bo-may { --ax: 50%; --ay: 6%; --aw: 1000px; --ah: 600px; --ac: rgba(47,140,255,.13); }
#khoi-6 { --ax: 6%; --ay: 45%; --ac: rgba(30,214,196,.09); }
#khoi-8 { --ax: 94%; --ay: 35%; }
.close-sec { --ax: 10%; --ay: 50%; --ac: rgba(30,214,196,.08); }
#cap-nhat { --ax: 50%; --ay: 30%; --aw: 900px; --ah: 480px; }
#trien-khai { --ax: 90%; --ay: 55%; --ac: rgba(30,214,196,.08); }
#lien-he::before { bottom: 0; } /* mục cuối: không kéo dài trang */
#lien-he { --ax: 50%; --ay: 50%; --aw: 1000px; --ah: 560px; --ac: rgba(47,140,255,.16); }

/* thẻ nổi lên và vệt sáng theo chuột (chỉ máy tính, JS gắn lớp .fx) */
.fx { position: relative; }
.fx::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(90,170,255,.13), transparent 65%); }
.fx.in { transition: opacity .7s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.fx:not(.reveal) { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .fx:hover { transform: translateY(-4px); border-color: rgba(47,140,255,.45); box-shadow: 0 40px 100px -44px rgba(47,140,255,.7), inset 0 1px 0 rgba(255,255,255,.08); }
  .fx:hover::before { opacity: 1; }
}

/* nút chính: vệt sáng lướt qua mỗi vài giây để gợi bấm */
a.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
a.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-160%) skewX(-20deg); animation: shine 5s ease-in-out infinite 1.5s; }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-20deg); } 30%, 100% { transform: translateX(360%) skewX(-20deg); } }

/* điện thoại: ánh sáng nhẹ hơn cho trang không nặng */
@media (max-width: 640px) {
  :root { --glow-soft: 0 26px 60px -40px rgba(47,140,255,.4); --glow: 0 34px 80px -44px rgba(47,140,255,.55); --glow-strong: 0 40px 90px -40px rgba(47,140,255,.65), 0 0 0 1px rgba(47,140,255,.18); }
  section::before { --aw: 520px; --ah: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  a.btn-primary::after { animation: none; display: none; }
  .fx, .fx.in, .fx:not(.reveal), .step .no, .unode, .uok, .uitem { transition: none; }
  .uitem.on .uok.loop svg { animation: none; }
}
