/* Tông màu theo giao diện phần mềm 1.1 (navy + vàng đồng, xem giao_dien.py).
   Không đặt chữ trắng trên nền vàng đồng vì khó đọc. */
:root {
  --navy: #0b233f;
  --navy-2: #12365c;
  --xanh: #0f4871;
  --xanh-dam: #0b3a5c;
  --xanh-nhat: #eaf1f7;
  --dong: #be8a4b;
  --dong-dam: #8f6430;
  --dong-nhat: #f7f0e6;
  --nen: #ffffff;
  --nen-2: #f5f7fa;
  --chu: #1b2733;
  --mo: #5e6b75;
  --vien: #dfe4e8;
  --xanh-la: #2f9e6b;
  --bo: 14px;
  --bong: 0 18px 40px -18px rgba(11, 35, 63, .35);
  --khung: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--chu);
  background: var(--nen);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--xanh); }
h1, h2, h3 { line-height: 1.25; margin: 0; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--dong); outline-offset: 2px; }

.khung { width: 100%; max-width: var(--khung); margin: 0 auto; padding: 0 24px; }
.khung--hep { max-width: 900px; }

/* ---------- Nút ---------- */
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.nut:hover { transform: translateY(-1px); }
.nut--chinh { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(11,35,63,.6); }
.nut--chinh:hover { background: var(--xanh); }
/* Nút mua: nâu vàng đậm (không dùng vàng đồng #be8a4b vì chữ trắng trên nền đó khó đọc) */
.nut--dong { background: var(--dong-dam); color: #fff; box-shadow: 0 6px 16px -6px rgba(143,100,48,.7); }
.nut--dong:hover { background: #7a5326; }
.nut--vien { background: #fff; color: var(--navy); border-color: var(--vien); }
.nut--vien:hover { border-color: var(--navy); }
.nut--sang { background: #fff; color: var(--navy); }
.nut--sang:hover { background: var(--dong-nhat); }
.nut--vien-sang { color: #fff; border-color: rgba(255,255,255,.45); }
.nut--vien-sang:hover { border-color: #fff; }
.nut--nho { padding: 8px 16px; font-size: 14px; }
.nut--lon { padding: 14px 26px; font-size: 16px; }
.nut--rong { width: 100%; }

/* ---------- Thanh trên ---------- */
.thanh-tren {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.thanh-tren.da-cuon { border-color: var(--vien); box-shadow: 0 4px 18px -12px rgba(11,35,63,.4); }
.thanh-tren__trong { display: flex; align-items: center; gap: 28px; height: 64px; }
.thuong-hieu { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.thuong-hieu img { border-radius: 9px; }
.thuong-hieu b { font-size: 18px; font-weight: 800; }
.thuong-hieu em { font-style: normal; color: var(--dong-dam); font-weight: 600; font-size: 15px; }
.thuong-hieu--sang { color: #fff; }
.thuong-hieu--sang em { color: #d9b07c; }
.menu { display: flex; gap: 26px; }
.menu a { color: var(--chu); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.menu a:hover { color: var(--xanh); }
.thanh-tren__phai { margin-left: auto; display: flex; align-items: center; gap: 16px; }
/* Nút mạng xã hội: giữ màu thương hiệu, chữ và biểu tượng trắng */
.xa-hoi { display: flex; align-items: center; gap: 8px; }
.xa-hoi__nut {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: -.2px; text-decoration: none;
  transition: transform .15s, filter .15s;
}
.xa-hoi__nut:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.xa-hoi__nut--fb { background: #1877f2; }
.xa-hoi__nut--zalo { background: #0068ff; }
.xa-hoi__nut--yt { background: #e60000; }
.nut-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 12px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, transparent, var(--nen-2)); z-index: -1;
}
.hero__luoi {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--vien) 1px, transparent 1px),
    linear-gradient(90deg, var(--vien) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__noi-dung { text-align: center; max-width: 860px; }
.nhan-ban {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  background: #fff; border: 1.5px solid #3b9dff; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  /* cùng kiểu neon với .hero__qua, đổi sang màu xanh */
  box-shadow: 0 0 6px #5cb1ff, 0 0 16px rgba(40, 140, 250, .6);
  text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease;
  animation: neon-ban 4s ease-in-out infinite;
}
.nhan-ban:hover { background: #e6f2ff; color: var(--navy); text-decoration: none; transform: translateY(-1px); }
.nhan-ban img { border-radius: 5px; }
@keyframes neon-ban {
  0%, 100% { box-shadow: 0 0 5px #5cb1ff, 0 0 14px rgba(40, 140, 250, .5); }
  45% { box-shadow: 0 0 9px #5cb1ff, 0 0 24px rgba(40, 140, 250, .85), 0 0 34px rgba(30, 125, 245, .5); }
  /* chớp nhẹ như bóng đèn thật */
  90% { opacity: 1; }
  92% { opacity: .72; }
  94% { opacity: 1; }
  96% { opacity: .82; }
  98% { opacity: 1; }
}
.an-di {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.video--hero { position: relative; margin-top: 24px; text-align: left; }
.hero__nut { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Giữ nền kem, chữ đồng; hiệu ứng neon chỉ nằm ở viền sáng quanh khung */
.hero__qua {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 18px 0 20px; padding: 10px 20px;
  border: 1.5px solid #e8a23c; border-radius: 12px; background: var(--dong-nhat);
  color: var(--dong-dam); font-size: 15px; font-weight: 700; line-height: 1.4; text-align: left;
  box-shadow: 0 0 6px #f0b04f, 0 0 16px rgba(232, 150, 40, .6);
  text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease;
  animation: neon-qua 4s ease-in-out infinite;
}
.hero__qua:hover { background: #fbe3bd; color: var(--dong-dam); text-decoration: none; transform: translateY(-1px); }
.hero__qua svg { flex-shrink: 0; }
@keyframes neon-qua {
  0%, 100% { box-shadow: 0 0 5px #f0b04f, 0 0 14px rgba(232, 150, 40, .5); }
  45% { box-shadow: 0 0 9px #f0b04f, 0 0 24px rgba(232, 150, 40, .85), 0 0 34px rgba(232, 140, 30, .5); }
  /* chớp nhẹ như bóng đèn thật */
  90% { opacity: 1; }
  92% { opacity: .72; }
  94% { opacity: 1; }
  96% { opacity: .82; }
  98% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__qua, .nhan-ban { animation: none; }
}
.hero__phu { margin-top: 16px; font-size: 13.5px; line-height: 1.8; color: var(--mo); }
.hero__phu b { color: var(--navy); }

/* Thẻ nổi trang trí */
.the-noi {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--vien); border-radius: 12px;
  padding: 10px 14px; box-shadow: var(--bong); font-size: 13px; display: grid; gap: 2px;
  animation: troi 6s ease-in-out infinite;
}
.the-noi b { font-size: 20px; color: var(--navy); line-height: 1.2; }
.the-noi small { color: var(--mo); font-size: 12px; }
.the-noi__nhan { color: var(--dong-dam); font-weight: 600; font-size: 12px; }
/* Vị trí tính từ giữa trang; rải lệch nhau một chút cho tự nhiên, không đè video */
.the-noi--1 { top: 8px; left: calc(50% - 352px); transform: rotate(-3deg); }
.the-noi--3 { top: 24px; right: calc(50% - 545px); transform: rotate(1.5deg); animation-delay: -1s; }
.the-noi--5 { top: 190px; left: max(16px, calc(50% - 635px)); transform: rotate(2deg); animation-delay: -4s; }
.the-noi--6 { top: 345px; right: max(16px, calc(50% - 690px)); transform: rotate(-2deg); animation-delay: -1.5s; }
.the-noi--2 { top: 465px; left: max(16px, calc(50% - 622px)); transform: rotate(-1deg); animation-delay: -2s; }
.the-noi--4 { top: 628px; left: calc(50% - 518px); transform: rotate(-2deg); grid-template-columns: auto 1fr; align-items: center; gap: 10px; animation-delay: -3s; }
.the-noi--7 { top: 615px; right: calc(50% - 560px); transform: rotate(1.5deg); animation-delay: -2.5s; }
.the-noi--4 b { font-size: 13px; }
.the-noi--4 div { display: grid; gap: 2px; }
.the-noi__icon {
  width: 36px; height: 40px; border-radius: 6px; background: var(--xanh-nhat); color: var(--xanh);
  display: grid; place-items: center; font-weight: 800; font-size: 11px;
}
.cham-do {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d64545;
  margin-right: 6px; vertical-align: 1px; animation: nhay 1.6s ease-out infinite;
}
@keyframes nhay { 0% { box-shadow: 0 0 0 0 rgba(214,69,69,.5); } 100% { box-shadow: 0 0 0 7px rgba(214,69,69,0); } }
@keyframes troi { 50% { translate: 0 -8px; } }

/* Khung cửa sổ phần mềm bao ảnh chụp */
.cua-so {
  margin: 0; border-radius: var(--bo); overflow: hidden; background: #fff;
  border: 1px solid var(--vien); box-shadow: 0 30px 70px -30px rgba(11,35,63,.45);
}
.cua-so--gon { border-radius: 12px; box-shadow: var(--bong); }

/* ---------- Dải chạy ---------- */
.dai-chay { background: var(--nen-2); padding: 6px 0 40px; text-align: center; }
.dai-chay__ray {
  display: flex; overflow: hidden; gap: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.dai-chay__danh-sach {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-shrink: 0;
  animation: chay 40s linear infinite;
}
.dai-chay__danh-sach li {
  white-space: nowrap; padding: 8px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--vien); font-weight: 600; font-size: 14px; color: var(--xanh);
}
@keyframes chay { to { transform: translateX(calc(-100% - 14px)); } }

/* ---------- Mục chung ---------- */
.muc { padding: 96px 0; }
.muc--nen { background: var(--nen-2); }
.muc--toi { background: var(--navy); color: #d5dde6; }
.muc__dau { text-align: center; max-width: 900px; margin: 0 auto 52px; }
.muc__dau h2 { text-wrap: balance; }
.muc__dau p { max-width: 800px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.muc__nhan {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dong-dam); margin-bottom: 12px;
}
.muc__dau h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.muc__dau p { color: var(--mo); margin-top: 14px; font-size: 17px; }
.muc__dau--sang h2 { color: #fff; }
.muc__dau--sang .muc__nhan { color: #d9b07c; }

.luoi-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.luoi-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.the-diem {
  padding: 26px 22px; border-radius: var(--bo); background: #fff; border: 1px solid var(--vien);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.the-diem:hover { border-color: var(--dong); box-shadow: var(--bong); transform: translateY(-3px); }
.the-diem__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--xanh-nhat); margin-bottom: 18px;
}
.the-diem__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--xanh); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.the-diem h3 { font-size: 18px; margin-bottom: 8px; }
.the-diem p { color: var(--mo); font-size: 15px; }

/* Danh sách có dấu tick */
.ds-tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ds-tick li { position: relative; padding-left: 30px; }
.ds-tick li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--dong-nhat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%238f6430' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---------- Tab tính năng ---------- */
.tab__danh-sach {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px;
}
.tab__danh-sach button {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--vien); background: #fff; color: var(--chu);
  transition: background .15s, color .15s, border-color .15s;
}
.tab__danh-sach button:hover { border-color: var(--navy); }
.tab__danh-sach button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab__o { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.tab__o[hidden] { display: none; }
.tab__o.vua-hien { animation: hien .35s ease; }
.tab__chu h3 { font-size: 26px; margin-bottom: 22px; }
.tab__chu .ds-tick { font-size: 16px; }
@keyframes hien { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Con số ---------- */
.con-so { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; border-bottom: 3px solid var(--dong); }
.con-so__luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.con-so b { display: block; font-size: 52px; font-weight: 800; color: #e3bd8b; line-height: 1.1; }
.con-so span { color: #c9d4df; font-size: 15px; }

/* ---------- Dành cho ai ---------- */
.the-ai { padding: 28px; border-radius: var(--bo); border: 1px solid var(--vien); border-top: 4px solid var(--dong); background: #fff; }
.the-ai h3 { font-size: 19px; margin-bottom: 10px; }
.the-ai p { color: var(--mo); }

/* ---------- An toàn ---------- */
.the-toi { padding: 28px; border-radius: var(--bo); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.the-toi h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.the-toi p { color: #b9c6d3; }

/* ---------- Video ---------- */
.video { border-radius: var(--bo); overflow: hidden; box-shadow: var(--bong); background: var(--navy); }
.video video { width: 100%; aspect-ratio: 16 / 9; }
/* Nút phát lớn phủ lên ảnh bìa, ẩn khi video đã chạy */
.video__phat {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; padding: 0; cursor: pointer; font: inherit;
  background: linear-gradient(180deg, rgba(11,35,63,.15), rgba(11,35,63,.55));
}
.video__phat[hidden] { display: none; }
.video__nut-tron {
  width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: transform .2s;
}
.video__nut-tron svg { width: 34px; height: 34px; fill: var(--navy); margin-left: 4px; }
.video__phat:hover .video__nut-tron { transform: scale(1.08); }
.video__chu { color: #fff; font-weight: 600; font-size: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ---------- Bảng giá ---------- */
.luoi-gia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.luoi-gia.luoi-gia--1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.the-gia {
  position: relative; display: flex; flex-direction: column; padding: 30px 24px;
  background: #fff; border: 1px solid var(--vien); border-radius: var(--bo);
}
.the-gia h3 { font-size: 20px; }
.the-gia__mo-ta { color: var(--mo); font-size: 14px; margin-top: 4px; }
.the-gia__gia { margin: 22px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--vien); }
.the-gia__gia b { display: block; font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.the-gia__gia span { color: var(--mo); font-size: 14px; }
.the-gia .ds-tick { font-size: 15px; margin-bottom: 28px; flex: 1; }
.the-gia--noi { border: 2px solid var(--navy); box-shadow: var(--bong); }
/* Nút quà tặng dưới nút mua: dùng chung kiểu neon với .hero__qua, chỉ đổi khổ cho vừa thẻ giá */
.the-gia__qua { justify-content: center; width: 100%; margin: 14px 0 0; padding: 11px 16px; }
.the-gia__nhan {
  position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px;
  background: var(--dong-nhat); color: var(--dong-dam); border: 1px solid var(--dong);
  font-size: 12px; font-weight: 700;
}

/* ---------- Cách mua ---------- */
.buoc { list-style: none; counter-reset: buoc; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.buoc li { counter-increment: buoc; position: relative; padding: 24px 22px 22px; border-radius: var(--bo); background: var(--nen-2); }
.buoc li::before {
  content: counter(buoc); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.buoc b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.buoc span { color: var(--mo); font-size: 15px; }

.lien-he-mua {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px;
  border-radius: var(--bo); background: var(--navy); color: #c9d4df; border-bottom: 3px solid var(--dong);
}
.lien-he-mua h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.lien-he-mua p { max-width: 640px; }
.lien-he-mua__nut { display: flex; gap: 12px; flex-shrink: 0; }
.khong-ngat { white-space: nowrap; }

/* ---------- Hỏi đáp ---------- */
.hoi-dap { display: grid; gap: 12px; }
.hoi-dap details { background: #fff; border: 1px solid var(--vien); border-radius: 12px; padding: 0 22px; }
.hoi-dap details[open] { border-color: #c9d2da; }
.hoi-dap summary {
  list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 17px;
}
.hoi-dap summary::-webkit-details-marker { display: none; }
.hoi-dap summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--dong-dam); border-bottom: 2px solid var(--dong-dam); transform: rotate(45deg);
  transition: transform .2s;
}
.hoi-dap details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hoi-dap details p { color: var(--mo); padding-bottom: 20px; }
.hoi-dap details ol { color: var(--mo); margin: -8px 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.hoi-dap details b { color: var(--chu); }

/* ---------- Góp ý ---------- */
.gop-y__lien-he { margin-top: 32px; }
/* Nút Facebook giữ màu thương hiệu như .xa-hoi__nut--fb */
.nut--fb { background: #1877f2; color: #fff; }
.nut--fb:hover { background: #1265d4; }

/* ---------- Kêu gọi cuối ---------- */
.cuoi { background: radial-gradient(ellipse at top, var(--navy-2), var(--navy) 70%); padding: 90px 0; text-align: center; color: #c9d4df; }
.cuoi__trong img { margin: 0 auto 22px; border-radius: 16px; }
.cuoi h2 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; }
.cuoi p { margin-top: 12px; font-size: 17px; }

/* ---------- Chân trang ---------- */
.chan { background: #071729; color: #9fb0c0; padding: 56px 0 28px; font-size: 14px; }
.chan__luoi { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.chan__luoi > div { display: grid; gap: 8px; align-content: start; }
.chan__luoi p { margin-top: 10px; }
.chan h3 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.chan a:not(.thuong-hieu) { color: #9fb0c0; text-decoration: none; }
.chan a:not(.thuong-hieu):hover { color: #fff; }
.chan__duoi { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Trang tải phần mềm (tai-ve.html) ---------- */
.tai-ve { padding: 56px 0 80px; background: var(--nen-2); }
.tai-ve__dau { margin-bottom: 36px; }
.tai-ve__dau h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.the-tai {
  display: grid; grid-template-columns: 300px 1fr; background: #fff; overflow: hidden;
  border: 1px solid var(--vien); border-bottom: 3px solid var(--dong); border-radius: var(--bo); box-shadow: var(--bong);
}
.the-tai__trai { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 26px; background: var(--xanh-nhat); }
.the-tai__trai img { border-radius: 16px; margin-bottom: 14px; }
.the-tai__trai h2 { font-size: 24px; font-weight: 800; }
.the-tai__trai p { color: var(--mo); font-size: 14px; margin: 2px 0 22px; }
.the-tai__tt { margin: 0; padding: 14px 32px; align-self: center; }
.the-tai__tt div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--vien); }
.the-tai__tt div:last-child { border-bottom: 0; }
.the-tai__tt dt { color: var(--mo); font-size: 15px; }
.the-tai__tt dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 15px; }
.the-tai__file { overflow-wrap: anywhere; }
.tai-ve__hai-cot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.tai-ve__hai-cot section { padding: 26px; background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); }
.tai-ve__hai-cot h2 { font-size: 19px; margin-bottom: 16px; }
.tai-ve__hai-cot .ds-tick { font-size: 15px; }
.tai-ve__buoc { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; }
.tai-ve__hai-cot .tai-ve__cap-nhat { grid-column: 1 / -1; }
.tai-ve__cap-nhat p { margin: 0 0 14px; color: var(--mo); font-size: 14px; }
.tai-ve__phu { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vien); color: var(--mo); font-size: 14px; }
.tai-ve__ho-tro { margin-top: 24px; text-align: center; color: var(--mo); font-size: 14px; }

/* ---------- Trang phần mềm tặng kèm (tang-kem.html) ---------- */
.luoi-qua { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.the-qua {
  display: flex; flex-direction: column; min-width: 0; padding: 26px; background: #fff;
  border: 1px solid var(--vien); border-bottom: 3px solid var(--dong); border-radius: var(--bo); box-shadow: var(--bong);
}
.the-qua__dau { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.the-qua__dau img { flex-shrink: 0; border-radius: 12px; }
.the-qua__dau h2 { font-size: 21px; font-weight: 800; }
.the-qua__dau p { color: var(--mo); font-size: 14px; }
.the-qua .ds-tick { font-size: 15px; justify-content: center; }
.ban-tai { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.ban-tai__muc { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--vien); border-radius: 12px; background: var(--nen-2); }
.ban-tai__muc h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ban-tai__hop { font-size: 15px; margin-bottom: 10px; }
.ban-tai__file { color: var(--mo); font-size: 14px; margin-bottom: 16px; }
.ban-tai__muc .nut { margin-top: auto; }
.the-qua--buoc { margin-top: 20px; border-bottom-width: 1px; box-shadow: none; }
.the-qua--buoc h2 { font-size: 19px; margin-bottom: 16px; }

/* ---------- Hiện dần khi cuộn ---------- */
.se-hien { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.se-hien.da-hien { opacity: 1; transform: none; }

/* ======================= Màn hình nhỏ ======================= */
@media (max-width: 1360px) {
  .the-noi { display: none; }
}
@media (max-width: 1080px) {
  .luoi-4, .luoi-gia { grid-template-columns: repeat(2, 1fr); }
  .buoc { grid-template-columns: repeat(2, 1fr); }
  .the-gia--noi { order: -1; }
  /* 3 nút chiếm gần hết ô liên hệ nên xếp chữ lên trên nút sớm hơn .lien-he-mua thường */
  .gop-y__lien-he { flex-direction: column; align-items: stretch; text-align: center; }
  .gop-y__lien-he p { margin: 0 auto; }
  .gop-y__lien-he .lien-he-mua__nut { flex-wrap: wrap; justify-content: center; }
}
/* Menu 5 mục: bỏ dòng "La bàn đấu thầu" để không xuống dòng trước khi chuyển sang nút menu */
@media (max-width: 960px) {
  .thuong-hieu em { display: none; }
}
@media (max-width: 860px) {
  .menu {
    display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--vien); box-shadow: 0 14px 24px -16px rgba(11,35,63,.4);
  }
  .menu.mo { display: flex; }
  .menu a { padding: 14px 24px; border-top: 1px solid var(--nen-2); }
  .nut-menu {
    display: grid; gap: 4px; width: 40px; height: 40px; padding: 11px 9px; border: 1px solid var(--vien);
    border-radius: 9px; background: #fff; cursor: pointer;
  }
  .nut-menu span { display: block; height: 2px; background: var(--navy); border-radius: 1px; }
  .tab__o { grid-template-columns: 1fr; gap: 28px; }
  .tab__o figure { order: -1; }
  .luoi-3 { grid-template-columns: 1fr; }
  .con-so__luoi { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .lien-he-mua { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
  .lien-he-mua p { margin: 0 auto; }
  .lien-he-mua__nut { flex-wrap: wrap; justify-content: center; }
  .chan__luoi { grid-template-columns: 1fr 1fr; }
  .chan__luoi > div:first-child { grid-column: 1 / -1; }
  .the-tai, .tai-ve__hai-cot, .luoi-qua { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .khung { padding: 0 16px; }
  .thanh-tren__trong { gap: 12px; }
  .thuong-hieu em { display: none; }
  .hero { padding: 44px 0 8px; }
  .video__nut-tron { width: 60px; height: 60px; }
  .video__chu { font-size: 14px; }
  .hero__nut .nut { width: 100%; }
  .muc { padding: 64px 0; }
  .muc__dau { margin-bottom: 36px; }
  .luoi-4, .luoi-gia, .buoc { grid-template-columns: 1fr; }
  .tab__danh-sach { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin: 0 -16px 28px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .tab__danh-sach::-webkit-scrollbar { display: none; }
  .tab__danh-sach button { flex-shrink: 0; }
  .tab__chu h3 { font-size: 21px; }
  .con-so b { font-size: 42px; }
  .lien-he-mua__nut .nut { width: 100%; }
  .chan__luoi { grid-template-columns: 1fr; }
  .tai-ve { padding: 40px 0 56px; }
  .the-tai__tt { padding: 8px 20px; }
  .the-tai__tt div { grid-template-columns: 120px 1fr; }
  .tai-ve__hai-cot section, .the-qua { padding: 22px 20px; }
  .ban-tai { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .se-hien { opacity: 1; transform: none; }
}
