/* Trang chủ giới thiệu. Mọi lớp bọc trong .tg để không đụng giao diện bên trong phần mềm. Màu lấy từ biến ở app.css. */
html { scroll-behavior: smooth; }
.tg { background: #fff; color: var(--chu); font-size: 16px; line-height: 1.55; overflow-x: clip; }
.tg-rong { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tg-hep { max-width: 820px; }
.tg h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.18; letter-spacing: -.03em; font-weight: 800; margin: 0 0 28px; text-wrap: balance; max-width: 22em; }
.tg h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.tg p { margin: 0; }
.tg a:hover { text-decoration: none; }

/* Nút */
.tg-nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px; background: var(--xanh); color: #fff; font-weight: 700; font-size: 14.5px; border: 1.5px solid var(--xanh); white-space: nowrap; transition: background .12s, transform .06s, box-shadow .12s; }
.tg-nut:hover { background: var(--xanh-dam); border-color: var(--xanh-dam); color: #fff; }
.tg-nut:active { transform: translateY(1px); }
.tg-nut-vien { background: transparent; color: var(--chu); border-color: var(--vien-dam); }
.tg-nut-vien:hover { background: var(--vien-nhat); color: var(--chu); border-color: var(--vien-dam); }
.tg-nut-lon { min-height: 56px; padding: 0 26px; font-size: 17px; border-radius: 16px; box-shadow: 0 10px 24px -10px rgba(2,102,252,.7); }
.tg-nut-trang { background: #fff; color: var(--xanh-dam); border-color: #fff; box-shadow: none; }
.tg-nut-trang:hover { background: var(--xanh-nhat); color: var(--xanh-dam); border-color: var(--xanh-nhat); }

/* Thanh đầu */
.tg-dau { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--vien-nhat); }
.tg-dau .tg-rong { display: flex; align-items: center; gap: 22px; height: 68px; }
.tg-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--chu); white-space: nowrap; }
.tg-logo img { border-radius: 50%; }
.tg-dau nav { display: flex; gap: 4px; margin-left: 10px; }
.tg-dau nav a { padding: 8px 12px; border-radius: 10px; color: var(--chu-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tg-dau nav a:hover { background: var(--vien-nhat); color: var(--chu); }
.tg-nut-dau { margin-left: auto; display: flex; gap: 8px; }

/* Bìa */
.tg-bia { background: radial-gradient(1100px 520px at 88% -10%, #dbe9ff 0, transparent 62%), radial-gradient(700px 420px at -5% 105%, #fff0e2 0, transparent 60%), #f7f9fd; padding: 64px 0 72px; }
.tg-bia-luoi { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tg-nhan { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--xanh-vien); color: var(--xanh-dam); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 99px; }
.tg-nhan i { width: 9px; height: 9px; border-radius: 50%; background: var(--xanh-sang); box-shadow: 0 0 0 4px rgba(163,199,9,.25); }
.tg-bia h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; margin: 20px 0 18px; }
.tg-bia h1 em { font-style: normal; }
.tg-bia h1 .vao { color: var(--xanh); } .tg-bia h1 .ra { color: var(--do); }
.tg-mo-ta { font-size: 18px; color: var(--chu-3); max-width: 34em; }
.tg-hang-nut { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.tg-bia .tg-nut-trang { border-color: var(--vien-dam); color: var(--chu); }
.tg-tich { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--chu-2); font-weight: 600; font-size: 14.5px; }
.tg-tich li { display: flex; align-items: center; gap: 7px; }
.tg-tich svg { color: #5d8a00; }

/* Hình trạm cân thu nhỏ */
.tg-may { background: #fff; border: 1px solid var(--vien); border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(14,22,38,.45), 0 2px 0 #fff inset; overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
.tg-may-thanh { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--xanh-dam); color: #fff; font-size: 12.5px; font-weight: 700; }
.tg-may-thanh i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); }
.tg-may-thanh span { margin-left: 8px; }
.tg-may-than { padding: 16px; display: grid; gap: 12px; background: var(--nen); }
.tg-can { background: #0e1626; color: #fff; border-radius: 16px; padding: 14px 20px 16px; text-align: center; }
.tg-dong-ho { font-family: var(--chu-so); font-weight: 800; font-size: 22px; color: #ff4d5e; letter-spacing: .04em; }
.tg-so { font-family: var(--chu-so); font-weight: 800; font-size: clamp(48px, 7vw, 76px); line-height: 1; letter-spacing: -.04em; margin: 4px 0 8px; }
.tg-so small { font-size: .32em; font-weight: 700; color: #9fb0cc; margin-left: 8px; letter-spacing: 0; }
.tg-on { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--xanh-sang); }
.tg-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--xanh-sang); animation: tg-nhay 1.6s ease-in-out infinite; }
@keyframes tg-nhay { 50% { opacity: .35; } }
.tg-chon { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 8px; }
.tg-chon span { border-radius: 12px; padding: 12px 6px; text-align: center; font-weight: 800; font-size: 13.5px; letter-spacing: .03em; }
.tg-chon .vao { background: var(--xanh); color: #fff; }
.tg-chon .ra { background: #fff; color: var(--do); border: 1.5px solid var(--do-vien); }
.tg-chon .can { background: var(--xanh-sang); color: var(--chu-tren-sang); }
.tg-so-cai { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tg-so-cai > div { background: #fff; border: 1px solid var(--vien); border-radius: 12px; overflow: hidden; min-width: 0; }
.tg-so-cai h3 { margin: 0; padding: 8px 10px; font-size: 12.5px; color: #fff; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.tg-so-cai h3 b { font-weight: 600; opacity: .92; font-family: var(--chu-so); font-size: 11px; }
.tg-so-cai h3.vao { background: var(--xanh); } .tg-so-cai h3.ra { background: var(--do); }
.tg-so-cai p { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--vien-nhat); font-size: 12.5px; position: relative; }
.tg-so-cai p span { font-family: var(--chu-so); color: var(--chu-3); font-size: 11px; }
.tg-so-cai p b { margin-left: auto; font-family: var(--chu-so); }
.tg-so-cai p.moi { background: var(--cam-nhat); }
.tg-so-cai p u { position: absolute; right: 8px; top: -7px; text-decoration: none; background: var(--cam); color: #fff; font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 99px; letter-spacing: .04em; }

/* Dải bốn ý */
.tg-dai { background: var(--chu); color: #fff; }
.tg-dai-luoi { display: grid; grid-template-columns: repeat(4, 1fr); }
.tg-dai-luoi > div { padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.tg-dai-luoi > div:last-child { border-right: 0; }
.tg-dai b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.tg-dai span { color: #b6c2d6; font-size: 14px; }
.tg-dai-luoi > div:nth-child(1) b { color: #6aa6ff; } .tg-dai-luoi > div:nth-child(2) b { color: #ff7684; } .tg-dai-luoi > div:nth-child(3) b { color: var(--xanh-sang); } .tg-dai-luoi > div:nth-child(4) b { color: #ffa257; }

/* Khối nội dung */
.tg-khoi { padding: 80px 0; scroll-margin-top: 60px; }
.tg-khoi-trang { background: #f7f9fd; }
.tg-nhan-nho { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--xanh-dam); margin-bottom: 10px !important; }
.tg-nhan-nho.sang { color: #cfe1ff; }
.tg-luoi-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg-luoi-6 article { border: 1px solid var(--vien); border-radius: 20px; padding: 24px; background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tg-luoi-6 article:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(14,22,38,.4); border-color: var(--xanh-vien); }
.tg-luoi-6 .h { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.tg .c-xanh { background: var(--xanh); } .tg .c-cam { background: var(--cam); } .tg .c-la { background: var(--xanh-sang); color: var(--chu-tren-sang) !important; } .tg .c-do { background: var(--do); }
.tg-luoi-6 p { color: var(--chu-3); font-size: 15px; }

/* So sánh trái / phải */
.tg-so-sanh { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tg-so-sanh > div { border-radius: 20px; padding: 26px 28px; }
.tg-so-sanh .cu { background: #fff; border: 1px solid var(--vien); }
.tg-so-sanh .moi { background: var(--xanh); color: #fff; box-shadow: 0 24px 48px -28px rgba(2,102,252,.9); }
.tg-so-sanh h3 { font-size: 20px; margin-bottom: 14px; }
.tg-so-sanh .cu h3 { color: var(--chu-3); }
.tg-so-sanh ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tg-so-sanh li { position: relative; padding-left: 30px; }
.tg-so-sanh li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--do-nhat) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' stroke='%23e0162b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 2l6 6M8 2l-6 6'/%3E%3C/svg%3E"); }
.tg-so-sanh .cu li { color: var(--chu-3); }
.tg-so-sanh .moi li::before { background: #fff center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230266fc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }

/* Ba bước */
.tg-luu-y { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px !important; padding: 14px 18px; border-radius: 14px; background: var(--vang-nhat); color: var(--vang-chu); font-size: 15px; font-weight: 500; }
.tg-luu-y svg { margin-top: 3px; }

/* Miễn phí 30 ngày */
.tg-mien-phi { background: linear-gradient(135deg, var(--xanh) 0%, #0148c2 100%); color: #fff; }
.tg-mien-phi h2 { color: #fff; margin-bottom: 14px; }
.tg-mien-phi p { color: #dbe8ff; max-width: 30em; margin-bottom: 26px; font-size: 17px; }
.tg-mp-luoi { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.tg-mp-ds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tg-mp-ds li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 20px; }
.tg-mp-ds b { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-family: var(--chu-so); margin-bottom: 8px; }
.tg-mp-ds span { color: #dbe8ff; font-size: 14.5px; }
.tg-mp-ds li:first-child { background: #fff; color: var(--xanh-dam); border-color: #fff; } .tg-mp-ds li:first-child span { color: var(--chu-3); }

/* Hỏi đáp */
.tg-hoi { display: grid; gap: 10px; }
.tg-hoi details { border: 1px solid var(--vien); border-radius: 16px; background: #fff; }
.tg-hoi details[open] { border-color: var(--xanh-vien); box-shadow: 0 10px 26px -20px rgba(2,102,252,.6); }
.tg-hoi summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.tg-hoi summary::-webkit-details-marker { display: none; }
.tg-hoi summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--xanh); line-height: 1; }
.tg-hoi details[open] summary::after { content: "–"; }
.tg-hoi details p { padding: 0 22px 20px; color: var(--chu-3); }

/* Lời chốt + chân trang */
.tg-chot { padding: 72px 0; text-align: center; background: #f7f9fd; }
.tg-chot h2 { margin: 0 auto 24px; }
.tg-chan { background: var(--chu); color: #b6c2d6; font-size: 14px; }
.tg-chan .tg-rong { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.tg-chan a { color: #fff; font-weight: 600; }

@media (max-width: 980px) {
    .tg-dau nav { display: none; }
    .tg-bia { padding: 40px 0 52px; }
    .tg-bia-luoi, .tg-mp-luoi { grid-template-columns: 1fr; gap: 36px; }
    .tg-may { transform: none; }
    .tg-luoi-6 { grid-template-columns: 1fr 1fr; }
    .tg-dai-luoi { grid-template-columns: 1fr 1fr; }
    .tg-dai-luoi > div:nth-child(2) { border-right: 0; }
    .tg-dai-luoi > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
    .tg-khoi { padding: 56px 0; }
}
@media (max-width: 640px) {
    .tg-rong { padding: 0 16px; }
    .tg-logo span { display: none; }
    .tg-nut-dau .tg-nut { padding: 0 12px; font-size: 13.5px; }
    .tg-luoi-6, .tg-so-sanh { grid-template-columns: 1fr; }
    .tg-hang-nut .tg-nut { width: 100%; }
    .tg-mp-ds b { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tg-on i { animation: none; } .tg-luoi-6 article, .tg-nut { transition: none; } }

/* ===== Chuyển màu + hiệu ứng (anh muốn giống trang socandientu): bìa màu đậm có đốm màu trôi, khối đổi nền xen kẽ, thẻ mỗi cái một màu ===== */
.tg-tien-do { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--xanh-sang), var(--cam), var(--do)); transform-origin: 0 50%; transform: scaleX(0); }

.tg-bia { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 520px at 82% -12%, #3b8bff 0%, transparent 60%), linear-gradient(160deg, #013a9e, #0266fc 52%, #014ed1); }
.tg-bia::before, .tg-bia::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.tg-bia::before { width: 420px; height: 420px; background: var(--cam); top: -170px; right: 6%; animation: tg-troi 14s ease-in-out infinite; }
.tg-bia::after { width: 380px; height: 380px; background: var(--xanh-sang); bottom: -200px; left: -90px; animation: tg-troi 18s ease-in-out infinite reverse; }
@keyframes tg-troi { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(46px, 34px); } }
.tg-bia-luoi { position: relative; z-index: 1; }
.tg-bia .tg-mo-ta { color: #dbe8ff; }
.tg-bia h1 em { display: inline-block; padding: 0 .16em .04em; border-radius: .22em; }
.tg-bia h1 .vao { background: #fff; color: var(--xanh-dam); }
.tg-bia h1 .ra { background: var(--do); color: #fff; }
.tg-nhan { position: relative; overflow: hidden; background: linear-gradient(135deg, #ffd23f, #fb9a03); border-color: transparent; color: #3a1a00; box-shadow: 0 8px 22px -8px rgba(251,112,3,.8); }
.tg-nhan i { background: var(--do); box-shadow: 0 0 0 4px rgba(224,22,43,.22); }
.tg-nhan::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); animation: tg-loe 3.6s ease-in-out 1.2s infinite; }
@keyframes tg-loe { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.tg-bia .tg-nut-lon:not(.tg-nut-trang) { background: linear-gradient(135deg, #ffd23f, #fb9a03); border-color: transparent; color: #3a1a00; box-shadow: 0 12px 28px -10px rgba(251,112,3,.9); }
.tg-bia .tg-nut-lon:not(.tg-nut-trang):hover { filter: brightness(1.06); color: #3a1a00; }
.tg-bia .tg-nut-trang { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; }
.tg-bia .tg-nut-trang:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }
.tg-tich { color: #fff; } .tg-tich svg { color: var(--xanh-sang); }
.tg-may { border-color: rgba(255,255,255,.5); box-shadow: 0 50px 90px -40px rgba(0,10,40,.8); }

/* Lúc mở trang: chữ trượt lên lần lượt, hình trạm cân trượt vào rồi bồng bềnh */
@media (prefers-reduced-motion: no-preference) {
    .tg-bia-chu > * { animation: tg-vao .7s cubic-bezier(.2,.7,.2,1) both; }
    .tg-bia-chu > :nth-child(2) { animation-delay: .08s; } .tg-bia-chu > :nth-child(3) { animation-delay: .16s; } .tg-bia-chu > :nth-child(4) { animation-delay: .24s; } .tg-bia-chu > :nth-child(5) { animation-delay: .32s; }
    .tg-may { animation: tg-vao-may .9s cubic-bezier(.2,.7,.2,1) .2s both, tg-bong 5s ease-in-out 1.2s infinite; }
    /* Kéo tới đâu, khối trượt lên tới đó. Mặc định vẫn hiện sẵn — trình duyệt không chạy được hiệu ứng thì không mất chữ */
    .tg-hien.da-hien { animation: tg-vao .6s cubic-bezier(.2,.7,.2,1) var(--tre, 0s) both; }
}
@keyframes tg-vao { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tg-vao-may { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
@keyframes tg-bong { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Khối đổi nền xen kẽ */
#tinh-nang { background: linear-gradient(180deg, #eaf2ff, #f6f9ff); }
.tg-khoi-trang { background: linear-gradient(180deg, #fff, #fffaf4); }
#cach-dung { background: linear-gradient(180deg, #f3f9e2, #fbfdf4); }
#hoi-dap { background: linear-gradient(180deg, #fff, #f3f7ff); }
.tg-chot { background: linear-gradient(135deg, #fff1e4, #ffe1e4); }

/* Sáu thẻ tính năng: mỗi thẻ một màu */
.tg-luoi-6 article { border-color: transparent; background: var(--n); box-shadow: 0 10px 26px -18px var(--b); }
.tg-luoi-6 article:hover { box-shadow: 0 22px 40px -20px var(--b); border-color: transparent; }
.tg-luoi-6 article:nth-child(1) { --n: linear-gradient(135deg, #e3eeff, #c3dbff); --b: rgba(2,102,252,.7); }
.tg-luoi-6 article:nth-child(2) { --n: linear-gradient(135deg, #fff1df, #ffd9ad); --b: rgba(251,112,3,.7); }
.tg-luoi-6 article:nth-child(3) { --n: linear-gradient(135deg, #f1f8d3, #dcee9a); --b: rgba(121,162,4,.7); }
.tg-luoi-6 article:nth-child(4) { --n: linear-gradient(135deg, #ffe6e8, #ffc4ca); --b: rgba(224,22,43,.6); }
.tg-luoi-6 article:nth-child(5) { --n: linear-gradient(135deg, #e3eeff, #c3dbff); --b: rgba(2,102,252,.7); }
.tg-luoi-6 article:nth-child(6) { --n: linear-gradient(135deg, #fff1df, #ffd9ad); --b: rgba(251,112,3,.7); }
.tg-luoi-6 p { color: var(--chu-2); }
.tg-luoi-6 .h { box-shadow: 0 8px 18px -8px var(--b); }

/* So sánh và ba bước cũng lên màu */
.tg-so-sanh .cu { background: linear-gradient(160deg, #fff1f1, #fde2e4); border-color: var(--do-vien); }
.tg-so-sanh .cu h3 { color: var(--do-dam); } .tg-so-sanh .cu li { color: var(--chu-2); }
.tg-so-sanh .moi { background: linear-gradient(160deg, #0a74ff, #014ed1); }

/* Khối miễn phí: nền chuyển màu chậm + đốm sáng trôi */
.tg-mien-phi { position: relative; overflow: hidden; background: linear-gradient(120deg, #013a9e, #0266fc, #7a1fd1, #e0162b, #0266fc); background-size: 300% 300%; animation: tg-doi-mau 18s ease-in-out infinite; }
@keyframes tg-doi-mau { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.tg-mien-phi::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: #ffd23f; filter: blur(80px); opacity: .35; top: -160px; right: 10%; animation: tg-troi 16s ease-in-out infinite; pointer-events: none; }
.tg-mp-luoi { position: relative; z-index: 1; }
.tg-mien-phi .tg-nut-trang { background: linear-gradient(135deg, #ffd23f, #fb9a03); border-color: transparent; color: #3a1a00; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); }
.tg-mp-ds li { backdrop-filter: blur(6px); }

@media (prefers-reduced-motion: reduce) { .tg-bia::before, .tg-bia::after, .tg-nhan::after, .tg-mien-phi, .tg-mien-phi::before { animation: none; } }
.tg-bia h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.14; }

.tg-may { color: var(--chu); }

/* Khẩu hiệu: "Kết nối cân thông minh – Quản lý kho chính xác" */
.tg-logo span { display: grid; line-height: 1.2; }
.tg-logo small { font-size: 11.5px; font-weight: 600; color: var(--chu-3); }
.tg-bia h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.2; }
.tg-khau-hieu { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--do-dam); margin-bottom: 10px !important; }
@media (max-width: 1100px) { .tg-logo small { display: none; } }
.tg-bia h1 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.32; }
@media (min-width: 981px) { .tg-bia h1 { white-space: nowrap; } }

/* Bảng giá */
#bang-gia { background: linear-gradient(180deg, #fff, #eef4ff); }
.tg-gia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tg-gia article { position: relative; background: #fff; border: 1px solid var(--vien); border-radius: 22px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 14px 34px -24px rgba(14,22,38,.5); }
.tg-gia h3 { font-size: 17px; color: var(--chu-3); margin: 0; }
.tg-gia .so { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tg-gia .so b { font-family: var(--chu-so); font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tg-gia .so span { color: var(--chu-3); font-weight: 600; }
.tg-gia ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; color: var(--chu-2); font-size: 15px; flex: 1; }
.tg-gia li { position: relative; padding-left: 26px; }
.tg-gia li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--xanh-nhat) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230266fc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.tg-gia .tg-nut { min-height: 48px; font-size: 15.5px; }
.tg-gia .noi-bat { background: linear-gradient(160deg, #0a74ff, #014ed1); border-color: transparent; color: #fff; box-shadow: 0 26px 50px -24px rgba(2,102,252,.95); }
.tg-gia .noi-bat h3, .tg-gia .noi-bat .so span { color: #dbe8ff; }
.tg-gia .noi-bat ul { color: #fff; }
.tg-gia .noi-bat li::before { background-color: #fff; }
.tg-gia .noi-bat .tg-nut { background: linear-gradient(135deg, #ffd23f, #fb9a03); border-color: transparent; color: #3a1a00; }
.tg-gia em { position: absolute; top: -13px; right: 20px; font-style: normal; font-size: 12.5px; font-weight: 800; background: var(--do); color: #fff; padding: 5px 12px; border-radius: 99px; box-shadow: 0 8px 18px -8px rgba(224,22,43,.9); }
@media (max-width: 900px) { .tg-gia { grid-template-columns: 1fr; } }

/* Bìa: tiêu đề lớn là tên phần mềm, khẩu hiệu thành dòng phụ ngay dưới */
.tg-khau-bia { margin: -6px 0 14px !important; font-size: clamp(17px, 1.7vw, 22px); font-weight: 800; color: #fff; }
.tg-khau-bia em { font-style: normal; color: #ffd23f; }
/* Điện thoại: tên phần mềm dài, ẩn chữ cạnh logo để còn chỗ cho nút */
@media (max-width: 700px) { .tg-logo span { display: none; } }
@media (min-width: 701px) and (max-width: 1100px) { .tg-logo span { font-size: 14px; } }

/* Chân trang: thông tin công ty trình bày như web Sổ Cân Điện Tử */
.tg-chan { padding: 40px 0 0; font-size: 15px; }
.tg-chan .tg-rong { display: block; padding-top: 0; padding-bottom: 0; }
.tg-chan-luoi { display: grid !important; grid-template-columns: 1.6fr .9fr 1fr; gap: 32px; align-items: start; }
.tg-chan h3 { color: #fff; font-size: 16px; margin: 0 0 12px; }
.tg-chan .ten-cty { color: #fff; font-weight: 800; font-size: 17px; margin: 0 0 12px; letter-spacing: .2px; }
.tg-chan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tg-chan .tt-cty b { color: #dfe7f5; font-weight: 700; }
.tg-chan small { color: #8fa0b8; }
.tg-chan a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.tg-chan a:hover { text-decoration-color: #fff; }
.tg-chan .lien-ket a { text-decoration: none; font-weight: 500; color: #c9d5e8; }
.tg-chan .lien-ket a:hover { color: #fff; }
.tg-chan .app-chan { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); margin-bottom: 10px; }
.tg-chan .app-chan b { color: #fff; }
.tg-chan .app-chan span { display: flex; gap: 8px; margin-top: 8px; }
.tg-chan .app-chan span a { text-decoration: none; font-size: 13px; padding: 5px 12px; border-radius: 99px; background: #fff; color: var(--chu); font-weight: 700; }
.tg-ban-quyen { margin-top: 28px; padding: 16px 24px 22px !important; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: #8fa0b8; text-align: center; }
@media (max-width: 860px) { .tg-chan-luoi { grid-template-columns: 1fr; gap: 24px; } }

/* Ứng dụng của công ty: giống hệt chân trang web Sổ Cân Điện Tử (hình app bên trái, nút cửa hàng nền đen) */
.tg-chan .app-chan { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 14px; padding: 0; background: none; border: 0; border-radius: 0; }
.tg-chan .app-chan img { border-radius: 12px; flex: none; }
.tg-chan .app-chan b { display: block; color: #fff; font-size: 15.5px; line-height: 1.25; }
.tg-chan .app-chan small { display: block; color: #8fa0b8; font-size: 13px; margin: 2px 0 6px; }
.tg-chan .app-chan .cua { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 0; }
.tg-chan .app-chan .cua a { display: inline-flex; align-items: center; gap: 5px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 4px 9px; font-size: 13px; font-weight: 700; text-decoration: none; }
.tg-chan .app-chan .cua a:hover { border-color: #fff; }
.tg-chan .app-chan .cua svg { width: 15px; height: 15px; }

/* Chân trang bưng từ web Sổ Cân Điện Tử: dòng thông tin có biểu tượng, cột liên kết, dải dưới có dấu Bộ Công Thương */
.tg-chan-luoi { grid-template-columns: 1.5fr 1.1fr .9fr; gap: 28px; }
.tg-chan .tt-cty { display: block; }
.tg-chan .tt-cty li { display: flex; gap: 10px; align-items: flex-start; margin: 7px 0; line-height: 1.5; }
.tg-chan .tt-cty li > span { flex: none; width: 22px; text-align: center; }
.tg-chan .tt-cty b { color: #fff; }
.tg-chan .ten-cty { font-size: 16px; }
.tg-chan .lien-ket { display: block; }
.tg-chan .lien-ket li { margin: 6px 0; }
.tg-chan .lien-ket a { color: #fff; font-weight: 500; }
.tg-chan a.yt { display: inline-flex; align-items: center; gap: 8px; }
.tg-chan a.yt svg { width: 26px; height: 19px; flex: none; }
.tg-chan .day-chan { display: flex !important; flex-direction: row; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; padding: 16px 24px 22px !important; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: #8fa0b8; }
.tg-chan .day-chan p { margin: 0; line-height: 1.5; }
.tg-chan .bct { display: inline-block; background: #fff; border-radius: 10px; padding: 6px 8px; flex: none; }
.tg-chan .bct img { width: 110px; height: auto; display: block; }
@media (max-width: 900px) { .tg-chan .day-chan { flex-direction: column; text-align: center; gap: 10px; } }

/* Dải video YouTube dưới bìa (làm theo web Sổ Cân Điện Tử) */
.tg-video { background: #fff; padding: 56px 0 48px; }
.tg-giua { text-align: center; }
.tg-giua h2 { margin: 0 auto 8px; }
.tg-giua p { color: var(--chu-3); }
.tg-dai-video { position: relative; margin-top: 26px; }
.tg-dai-video .duong-truot { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 8px 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tg-dai-video .duong-truot::-webkit-scrollbar { display: none; }
.tg-dai-video .o-video { flex: 0 0 clamp(230px, 72vw, 300px); scroll-snap-align: start; display: block; background: #fff; border: 1px solid var(--vien); border-radius: 18px; overflow: hidden; color: var(--chu); box-shadow: 0 2px 10px rgba(14,22,38,.07); transition: transform .12s, box-shadow .12s; }
.tg-dai-video .o-video:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(14,22,38,.45); }
.tg-dai-video .hinh { display: block; position: relative; aspect-ratio: 16 / 9; background: #000; }
.tg-dai-video .hinh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-dai-video .hinh::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--do); color: #fff; display: grid; place-items: center; font-size: 20px; padding-left: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.tg-dai-video .o-video b { display: block; padding: 12px 14px 14px; font-size: 15px; line-height: 1.35; font-weight: 700; }
.tg-dai-video .mui { position: absolute; top: calc(50% - 46px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--xanh-dam); font-size: 30px; line-height: 1; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(14,22,38,.28); display: grid; place-items: center; padding: 0 0 4px; }
.tg-dai-video .mui:hover { background: var(--xanh); color: #fff; }
.tg-dai-video .mui.trai { left: -4px; } .tg-dai-video .mui.phai { right: -4px; }
@media (max-width: 640px) { .tg-dai-video .mui { width: 38px; height: 38px; font-size: 24px; } }

/* Khối giới thiệu "là gì" + dòng từ khoá chân trang */
.tg-la-gi { background: #fff; padding-top: 24px; }
.tg-ba-cot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg-ba-cot > div { background: #f7f9fd; border: 1px solid var(--vien-nhat); border-radius: 20px; padding: 22px; }
.tg-ba-cot p { color: var(--chu-2); font-size: 15px; }
.tg-ba-cot strong { color: var(--xanh-dam); font-weight: 700; }
.tg-hop-voi { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tg-hop-voi li { background: var(--xanh-nhat); color: var(--xanh-dam); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 99px; }
.tg-chan .tu-khoa-chan { display: block; margin-top: 22px; padding-top: 16px; padding-bottom: 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #8fa0b8; text-align: center; line-height: 1.7; }
.tg-chan .tu-khoa-chan + .day-chan { margin-top: 12px; border-top: 0; padding-top: 0 !important; }
@media (max-width: 860px) { .tg-ba-cot { grid-template-columns: 1fr; } }

/* Khối "Máy tính + Điện thoại" (15/10/2026): hai cách nhập trái / phải, giữa là nút đồng bộ */
.tg-db { background: linear-gradient(180deg, #f7f9fd 0, #fff 100%); }
.tg-db .tg-giua h2 { margin-left: auto; margin-right: auto; margin-bottom: 14px; }
.tg-db h2 .xanh { color: var(--xanh); }
.tg-db-mo { font-size: 18px; color: var(--chu-3); max-width: 40em; margin: 0 auto 34px !important; }
.tg-db-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: 0; align-items: stretch; }
.tg-db-the { position: relative; border-radius: 24px; padding: 26px 26px 24px; display: flex; flex-direction: column; }
.tg-db-the.may { background: #fff; border: 1.5px solid var(--xanh-vien); box-shadow: 0 24px 48px -32px rgba(2,102,252,.55); }
.tg-db-the.dt { background: #12314F; color: #fff; box-shadow: 0 24px 48px -28px rgba(18,49,79,.9); }
.tg-db-the h3 { font-size: 21px; margin: 18px 0 10px; }
.tg-db-the.dt h3 { color: #E8C86A; }
.tg-db-the ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tg-db-the li { position: relative; padding-left: 28px; font-size: 15.5px; }
.tg-db-the.may li { color: var(--chu-2); }
.tg-db-the li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--xanh-nhat) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230266fc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.tg-db-the.dt li::before { background-color: rgba(232,200,106,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23E8C86A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5'/%3E%3C/svg%3E"); }
.tg-db-so { position: absolute; top: -16px; left: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 19px var(--chu-so); color: #fff; background: var(--xanh); box-shadow: 0 0 0 5px #fff; }
.tg-db-the.dt .tg-db-so { background: #E8C86A; color: #12314F; }
.tg-db-hinh { height: 210px; display: grid; place-items: center; border-radius: 18px; }
.tg-db-the.may .tg-db-hinh { background: radial-gradient(260px 160px at 50% 40%, #e6f0ff, transparent 70%); }
.tg-db-the.dt .tg-db-hinh { background: radial-gradient(240px 170px at 50% 45%, rgba(232,200,106,.18), transparent 70%); }

/* Máy tính thu nhỏ */
.tg-db .lap { width: min(300px, 92%); }
.tg-db .lap-man { background: #0b1220; border: 7px solid #1f2937; border-bottom-width: 9px; border-radius: 12px 12px 0 0; padding: 10px; display: grid; gap: 7px; }
.tg-db .lap-de { height: 12px; background: linear-gradient(#d4d9e2, #b8bfcb); border-radius: 0 0 14px 14px; margin: 0 -14px; }
.tg-db .lap-can { display: flex; align-items: baseline; gap: 6px; justify-content: center; color: #ff5f6d; }
.tg-db .lap-can small { font: 700 10px var(--chu-so); color: #ff9aa3; margin-right: auto; }
.tg-db .lap-can b { font: 800 34px/1 var(--chu-so); text-shadow: 0 0 12px rgba(255,70,90,.6); }
.tg-db .lap-can i { font-style: normal; color: #c9d6e4; font-size: 12px; }
.tg-db .lap-nut { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tg-db .lap-nut span, .tg-db .dt-nut span { font-size: 10px; font-weight: 800; text-align: center; padding: 5px 0; border-radius: 7px; color: #fff; }
.tg-db .v { background: var(--xanh); } .tg-db .r { background: var(--do); }
.tg-db .lap-so { background: #fff; border-radius: 7px; padding: 4px 8px; }
.tg-db .lap-so p { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #1c2530; padding: 2px 0; }
.tg-db .lap-so p + p { border-top: 1px solid #eef0f3; }
.tg-db .lap-so em { width: 7px; height: 7px; border-radius: 50%; }
.tg-db .lap-so b { margin-left: auto; font-family: var(--chu-so); }

/* Điện thoại thu nhỏ (màu app Sổ Cân / Quản Lý Cân) */
.tg-db .dt-vo { width: 150px; background: #0a2138; border: 6px solid #e5e7eb; border-radius: 26px; padding: 10px 8px 12px; display: grid; gap: 7px; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); }
.tg-db .dt-dau { display: flex; align-items: center; gap: 6px; color: #E8C86A; font-weight: 800; font-size: 11px; }
.tg-db .dt-dau i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#0266fc 0 25%, #fb7003 0 50%, #d0267c 0 75%, #a3c709 0); }
.tg-db .dt-can { background: #0e1c2e; border: 1px solid #22405f; border-radius: 10px; padding: 6px; text-align: center; color: #E8C86A; }
.tg-db .dt-can small { display: block; font-size: 8px; font-weight: 700; color: #7cf0a0; }
.tg-db .dt-can b { font: 800 30px/1.1 var(--chu-so); }
.tg-db .dt-can i { font-style: normal; font-size: 10px; color: #c9d6e4; margin-left: 3px; }
.tg-db .dt-nut { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.tg-db .dt-luu { background: var(--xanh); color: #fff; font-weight: 800; font-size: 11px; text-align: center; padding: 8px 0; border-radius: 9px; }

/* Giữa: đồng bộ */
.tg-db-giua { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.tg-db-giua .mui { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--xanh), #1F8A6E); box-shadow: 0 12px 26px -10px rgba(2,102,252,.8); animation: tg-db-quay 6s linear infinite; }
.tg-db-giua b { font-size: 14px; line-height: 1.25; color: var(--xanh-dam); }
@keyframes tg-db-quay { 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

/* Ba ý dưới + nút cửa hàng */
.tg-db-ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.tg-db-ba > div { background: #fff; border: 1px solid var(--vien); border-radius: 18px; padding: 20px; }
.tg-db-ba .h { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px; }
.tg-db-ba h3 { font-size: 17px; }
.tg-db-ba p { color: var(--chu-3); font-size: 15px; }
.tg-db-tai { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.tg-db-cua { display: inline-flex; align-items: center; gap: 10px; background: #0b1220; color: #fff; border-radius: 12px; padding: 8px 18px 8px 14px; min-height: 48px; }
.tg-db-cua span { display: grid; line-height: 1.1; font-weight: 800; font-size: 16px; }
.tg-db-cua small { font-weight: 500; font-size: 11px; opacity: .8; }
.tg-db-tai p { flex-basis: 100%; text-align: center; color: var(--chu-3); font-size: 14.5px; }

@media (max-width: 860px) {
    .tg-db-luoi { grid-template-columns: 1fr; gap: 0; }
    .tg-db-giua { flex-direction: row; padding: 22px 0; }
    .tg-db-giua .mui { transform: rotate(90deg); animation: none; }
    .tg-db-ba { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tg-db-giua .mui { animation: none; } }

/* Ưu điểm 3 cách nhập số cân */
.tg-db-cach { margin-top: 34px; background: #0b1220; border-radius: 24px; padding: 24px; color: #fff; }
.tg-db-cach .tieu { font-size: 21px; text-align: center; margin-bottom: 16px; }
.tg-db-cach .tieu span { color: #E8C86A; }
.tg-db-cach .luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tg-db-cach .luoi > div { border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.tg-db-cach .c1 { background: linear-gradient(135deg, #0266fc, #014ed1); }
.tg-db-cach .c2 { background: linear-gradient(135deg, #1F8A6E, #12314F); }
.tg-db-cach .c3 { background: linear-gradient(135deg, #fb7003, #c2410c); }
.tg-db-cach b { font-size: 20px; font-weight: 800; }
.tg-db-cach em { font-style: normal; justify-self: start; font-size: 12.5px; font-weight: 800; background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 99px; }
.tg-db-cach p { font-size: 14.5px; color: rgba(255,255,255,.9); margin-top: 4px !important; }

/* Giá: dùng thử · tháng · năm */
.tg-db-gia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.tg-db-gia a { display: grid; gap: 2px; text-align: center; border-radius: 18px; padding: 16px; background: #fff; border: 1.5px solid var(--vien); color: var(--chu); transition: transform .1s, box-shadow .1s; }
.tg-db-gia a:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(11,18,32,.6); color: var(--chu); }
.tg-db-gia small { font-size: 13px; font-weight: 700; color: var(--chu-3); text-transform: uppercase; letter-spacing: .06em; }
.tg-db-gia b { font: 800 30px/1.15 var(--chu-so); letter-spacing: -.02em; }
.tg-db-gia span { font-size: 13.5px; color: var(--chu-3); }
.tg-db-gia .thu { border-color: var(--xanh-sang); background: #f6fbe6; }
.tg-db-gia .thu b { color: #5d7d00; }
.tg-db-gia .nam { background: var(--xanh); border-color: var(--xanh); color: #fff; }
.tg-db-gia .nam small, .tg-db-gia .nam span { color: rgba(255,255,255,.88); }
.tg-db-gia .nam:hover { color: #fff; }
@media (max-width: 860px) { .tg-db-cach .luoi, .tg-db-gia { grid-template-columns: 1fr; } }

/* Hỏi đáp: 2 loại cân Bluetooth B19S / T7E kèm video */
.tg-hoi-can-mo p + p, .tg-hoi-can-mo div + p { margin-top: 12px !important; }
.tg-hoi-can, .tg-hoi-video { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 22px 18px; }
.tg-hoi-can a { display: grid; gap: 4px; padding: 12px; border: 1.5px solid var(--vien); border-radius: 16px; background: #fff; color: var(--chu); transition: border-color .12s, transform .1s; }
.tg-hoi-can a:hover { border-color: var(--xanh); transform: translateY(-2px); color: var(--chu); }
.tg-hoi-can img { width: 100%; height: 170px; object-fit: contain; background: #f7f9fd; border-radius: 12px; margin-bottom: 6px; }
.tg-hoi-can b { font-size: 17px; }
.tg-hoi-can span { font-size: 14px; color: var(--chu-3); }
.tg-hoi-can em { font-style: normal; font-weight: 800; color: var(--xanh); font-size: 14px; margin-top: 2px; }
.tg-hoi-video a { display: grid; gap: 6px; color: var(--chu); font-size: 14px; }
.tg-hoi-video .hinh { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b1220; }
.tg-hoi-video img { width: 100%; height: 100%; object-fit: cover; }
.tg-hoi-video i { position: absolute; inset: 0; margin: auto; width: 54px; height: 38px; border-radius: 10px; background: #ff0000 center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .tg-hoi-can, .tg-hoi-video { grid-template-columns: 1fr; } }

/* Chi phí rõ ràng: phần mềm · app · cân */
.tg-cp { margin-top: 16px; background: #fff; border: 1.5px solid var(--vien); border-radius: 24px; padding: 22px; scroll-margin-top: 80px; }
.tg-cp .tieu { font-size: 22px; text-align: center; margin-bottom: 16px; }
.tg-cp-luoi { display: grid; grid-template-columns: 1.15fr .85fr 1.15fr; gap: 12px; }
.tg-cp .cot { position: relative; border-radius: 18px; padding: 22px 16px 16px; display: grid; gap: 8px; align-content: start; }
.tg-cp .pm { background: var(--xanh-nhat); }
.tg-cp .app { background: #12314F; color: #fff; }
.tg-cp .can { background: #fff7ed; }
.tg-cp .buoc { position: absolute; top: -12px; left: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 15px var(--chu-so); color: #fff; background: var(--xanh); box-shadow: 0 0 0 4px #fff; }
.tg-cp .app .buoc { background: #E8C86A; color: #12314F; } .tg-cp .can .buoc { background: var(--cam); }
.tg-cp h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.tg-cp .app h4 { color: #E8C86A; }
.tg-cp .dong { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; background: #fff; border-radius: 12px; padding: 9px 12px; }
.tg-cp .dong span { font-size: 13.5px; font-weight: 700; color: var(--chu-3); }
.tg-cp .dong b { justify-self: end; font: 800 21px var(--chu-so); }
.tg-cp .dong small { grid-column: 1 / -1; justify-self: end; font-size: 12.5px; color: var(--chu-3); }
.tg-cp .dong.thu b { color: #5d7d00; }
.tg-cp .dong.nam { background: var(--xanh); color: #fff; }
.tg-cp .dong.nam span, .tg-cp .dong.nam small { color: rgba(255,255,255,.88); }
.tg-cp .lon { display: grid; }
.tg-cp .lon b { font: 800 44px/1 var(--chu-so); color: #E8C86A; }
.tg-cp .lon small { font-size: 14px; color: #c9d6e4; }
.tg-cp .ghi { font-size: 14px; color: inherit; opacity: .9; }
.tg-cp .can .ghi { color: var(--chu-2); }
.tg-cp .dong-can { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 8px; background: #fff; border: 1.5px solid #fed7aa; border-radius: 12px; padding: 9px 12px; color: var(--chu); }
.tg-cp .dong-can:hover { border-color: var(--cam); color: var(--chu); }
.tg-cp .dong-can span { font-weight: 800; font-size: 14.5px; }
.tg-cp .dong-can b { font: 800 17px var(--chu-so); color: #c2410c; }
.tg-cp .dong-can small { grid-column: 1 / -1; font-size: 12.5px; color: var(--chu-3); }
.tg-cp-chu { text-align: center; font-size: 14px; color: var(--chu-3); margin-top: 14px !important; }
.tg-hoi-can strong { font-family: var(--chu-so); color: #c2410c; font-size: 16px; }
@media (max-width: 860px) { .tg-cp-luoi { grid-template-columns: 1fr; gap: 18px; } }

/* Hỏi đáp: khách chưa có cân — nút gọi, Zalo, xem cân */
.tg-lien-he { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 22px 22px; padding: 14px; border-radius: 14px; background: linear-gradient(90deg, #f0fdf4, #eff6ff); border: 1px solid #d1fae5; }
.tg-lien-he a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: 15px; }
.tg-lien-he .goi { background: #16a34a; color: #fff; }
.tg-lien-he .goi:hover { background: #15803d; color: #fff; }
.tg-lien-he .zalo { background: #0068ff; color: #fff; }
.tg-lien-he .zalo:hover { background: #0052cc; color: #fff; }
.tg-lien-he .zalo b { background: #fff; color: #0068ff; font-size: 11px; padding: 2px 6px; border-radius: 6px; }
.tg-lien-he .xem { margin-left: auto; background: #fff; border: 1.5px solid var(--vien-dam); color: var(--chu); }
@media (max-width: 640px) { .tg-lien-he a { flex: 1 1 100%; justify-content: center; } .tg-lien-he .xem { margin-left: 0; } }
.tg-lien-he .xem:hover { background: var(--vien-nhat); color: var(--chu); }

/* Ảnh app thật (15/10/2026): thẻ điện thoại + dải 4 màn hình */
.tg-db .dt-anh { height: 196px; width: auto; border-radius: 20px; border: 5px solid #e5e7eb; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); object-fit: cover; object-position: top; }
.tg-app-anh { margin-top: 34px; }
.tg-app-anh .tieu { text-align: center; font-size: 22px; margin-bottom: 18px; }
.tg-app-anh .tieu span { color: var(--xanh); }
.tg-app-dai { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tg-app-dai figure { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; }
.tg-app-dai .khung-dt { width: 100%; max-width: 230px; aspect-ratio: 300 / 652; border-radius: 30px; padding: 7px; background: #0b1220; box-shadow: 0 26px 46px -24px rgba(11,18,32,.75), inset 0 0 0 1.5px #334155; transition: transform .2s; }
.tg-app-dai figure:hover .khung-dt { transform: translateY(-6px); }
.tg-app-dai img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.tg-app-dai figcaption { display: grid; gap: 2px; max-width: 240px; }
.tg-app-dai figcaption b { font-size: 16px; }
.tg-app-dai figcaption span { font-size: 14px; color: var(--chu-3); }
@media (max-width: 860px) {
    .tg-app-dai { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .tg-app-dai figure { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .tg-app-dai .khung-dt { transition: none; } }

/* Ưu đãi gói năm */
.tg-cp .dong.nam { position: relative; padding-top: 14px; box-shadow: 0 10px 24px -12px rgba(2,102,252,.8); }
.tg-cp .uu-dai { position: absolute; top: -10px; right: 10px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #7a2e00; background: linear-gradient(135deg, #ffd166, #ffb020); padding: 3px 10px; border-radius: 99px; box-shadow: 0 4px 10px -4px rgba(255,140,0,.8); }
.tg-gia .moi-thang, .noi-bat .moi-thang { margin: 2px 0 8px !important; font-size: 15px; opacity: .95; }
.noi-bat .moi-thang b { font-size: 18px; }

/* Menu có thêm "Hướng dẫn sử dụng" (15/10/2026): thanh đầu rộng hơn thân trang, màn nhỏ dần thì bỏ dòng phụ rồi bỏ chữ cạnh logo
   để nút Đăng nhập / Dùng miễn phí không bị cắt. Dưới 980px menu ẩn như cũ. */
.tg-dau .tg-rong { max-width: 1320px; gap: 14px; }
.tg-dau nav { margin-left: 0; gap: 2px; }
.tg-dau nav a { padding: 8px 9px; }
@media (max-width: 1320px) { .tg-logo small { display: none; } .tg-logo span { font-size: 14px; } }
@media (max-width: 1200px) and (min-width: 981px) { .tg-logo span { display: none; } }
/* Menu thêm "Tin tức" (28/10/2026): từ 1201 đến 1360px chữ cạnh logo xuống 2 dòng cho gọn, để nút Đăng nhập / Dùng miễn phí không bị tràn mép phải */
@media (max-width: 1360px) and (min-width: 1201px) { .tg-logo span { white-space: normal; max-width: 165px; line-height: 1.25; } }
@media (max-width: 1200px) and (min-width: 981px) { .tg-dau nav a { padding: 8px 6px; font-size: 13.5px; } .tg-nut-dau .tg-nut { padding: 0 12px; } }
/* Sửa 28/10/2026: dòng ".tg-chan-luoi { grid-template-columns: 1.5fr 1.1fr .9fr }" ở trên đè mất quy tắc điện thoại → chân trang 3 cột bị cắt mất 2 cột phải trên điện thoại */
@media (max-width: 860px) { .tg-chan-luoi { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
