/* ============================================================================
   KHUON EVAA — tuong-tac.css
   LOP TUONG TAC DUNG CHUNG: "LUOT QUA LA TOA SANG" (lenh TR 17:56
   19/11/2026, anh mau image-2480: nut play cyan thuy tinh phat sang toa
   ra tren nen khoi toi). NGUON SU THAT DUY NHAT cho hieu ung hover/active
   cua moi phan tu tuong tac tren Web · App (trang nao link khuon deu
   huong cung mot cong thuc — cam va tay tung trang).
   Lap: 19/11/2026 (lan web-hover-toa-sang).
   Mau hao quang rut tu token thuong hieu (khuon/tokens.css):
   cyan sang nhat --blue-lt #53D7E1 = rgb(83,215,225) · trung --link
   #44B4BB = rgb(68,180,187) · sau #30A5AD = rgb(48,165,173).
   Nguyen tac:
   - Chi them PHAT SANG (filter drop-shadow + box-shadow + text-shadow)
     va SANG BE MAT nhe (brightness); KHONG doi bo cuc, KHONG doi gradient
     9 diem, giu chuan DARK DUY NHAT. (Ngoai le duy nhat: Muc 6 duoi —
     lenh TR 20:41 19/11/2026 — dat NEN cho O CHINH theo token --cell /
     --cell-on cua tokens.css: mac dinh cyan xuyen thau, da chon cyan dam.
     Glow o Muc 1/1B/2 giu nguyen vai phan hoi — 3 lop cung ton tai:
     nen xuyen thau · hover/bam toa sang · chon dau o tong dam.)
   - File nay duoc link TRUOC <style> rieng cua trang: rule hover nao
     trang da dinh nghia cu the hon thi trang thang (giu nguyen y do
     cua trang), phan tu nao trang chua co hover thi khuon cap.
   - Cam ung: :active toa sang tuong duong. Ban phim: :focus-visible.
   - BAM LA PHAT SANG (lenh TR 19:41 19/11/2026 — muc 1B + 2 + 3 duoi):
     trang thai bam/cham BUNG hao quang manh hon hover ro ret roi diu
     xuong muot; hai duong kich hoat :active va lop .tt-press do
     tuong-tac.js gan khi pointerdown (cam ung :active chop qua nhanh).
   - NUT CALL 1888 THEO TONG (lenh TR 19:59 19/11/2026 — muc 1C):
     moi nut goi so cong khai dung cong thuc CTA chinh (gradient kinh
     cyan 9 diem + do sau), khong giu dang ghost/flat lech tong.
   - prefers-reduced-motion: bo het transition (hieu ung hien tinh),
     JS vet sang cung tu tat (xem tuong-tac.js).
   Phu thuoc: khuon/tokens.css (link truoc file nay).
   ============================================================================ */

/* --- 1. NUT / CHIP / PLAY / MUC BAM DUOC ----------------------------------
   Hao quang bang drop-shadow (bam dung hinh dang phan tu, khong bi
   box-shadow cua trang de) + vong sang box-shadow + sang be mat. */
.btn, button, [role="button"],
input[type="submit"], input[type="button"],
.bigbtn, .ghostbtn, .mini,
.chip, .chip2, .askchip, .bkchip, .chanchip, .daychip, .pill, .dep-pill,
.vtag, .tplay, .vplay, .btn-call, .big-call, .appbtn, summary {
  transition: filter 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease, text-shadow 0.25s ease;
}
/* Selector nhan doi class (.btn.btn:hover = 0,3,0) de rule khuon thang
   cac rule hover mot class cua trang (vd .btn-blue:hover dat filter
   brightness trong <style> trang) — trang van thang khi dung !important
   hoac selector manh hon. */
.btn.btn:hover, button:hover, [role="button"]:hover,
input[type="submit"]:hover, input[type="button"]:hover,
.bigbtn.bigbtn:hover, .ghostbtn.ghostbtn:hover, .mini.mini:hover,
.chip.chip:hover, .chip2.chip2:hover, .askchip.askchip:hover,
.bkchip.bkchip:hover, .chanchip.chanchip:hover, .daychip.daychip:hover,
.pill.pill:hover, .dep-pill.dep-pill:hover,
.vtag.vtag:hover, .tplay.tplay:hover, .vplay.vplay:hover,
.btn-call.btn-call:hover, .big-call.big-call:hover,
.appbtn.appbtn:hover, summary:hover,
.btn.btn:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input[type="submit"]:focus-visible, input[type="button"]:focus-visible,
.bigbtn.bigbtn:focus-visible, .ghostbtn.ghostbtn:focus-visible,
.mini.mini:focus-visible,
.chip.chip:focus-visible, .chip2.chip2:focus-visible,
.askchip.askchip:focus-visible, .bkchip.bkchip:focus-visible,
.chanchip.chanchip:focus-visible, .daychip.daychip:focus-visible,
.pill.pill:focus-visible, .dep-pill.dep-pill:focus-visible,
.vtag.vtag:focus-visible, .tplay.tplay:focus-visible,
.vplay.vplay:focus-visible, summary:focus-visible {
  filter: brightness(1.08)
          drop-shadow(0 0 16px rgba(83, 215, 225, 0.45))
          drop-shadow(0 0 42px rgba(68, 180, 187, 0.22));
  box-shadow: 0 0 0 1px rgba(83, 215, 225, 0.35),
              0 10px 34px rgba(48, 165, 173, 0.35);
}

/* --- 1B. BAM LA PHAT SANG (lenh TR 19:41 19/11/2026) -----------------------
   Trang thai BAM/CHAM: hao quang BUNG manh hon hover ro ret — sang be
   mat 1.18 (hover 1.08), vong sang 2px/.60 (hover 1px/.35), halo 24px/.80
   + 60px/.40 (hover 16px/.45 + 42px/.22) — roi diu xuong muot bang
   transition 0.25s cua muc 1 khi nha tay/chuot. Hai duong kich hoat:
   - :active (chuot, va cam ung tren trinh duyet giu duoc trang thai);
   - lop .tt-press do tuong-tac.js gan luc pointerdown va giu ~480ms:
     tren cam ung :active chop qua nhanh, mat khong kip thay nhip sang.
   JS tat khi prefers-reduced-motion — khi do :active van cap phat sang
   tinh (muc 5 bo transition, dung chuan giam chuyen dong). */
.btn.btn:active, button:active, [role="button"]:active,
input[type="submit"]:active, input[type="button"]:active,
.bigbtn.bigbtn:active, .ghostbtn.ghostbtn:active, .mini.mini:active,
.chip.chip:active, .chip2.chip2:active, .askchip.askchip:active,
.bkchip.bkchip:active, .chanchip.chanchip:active, .daychip.daychip:active,
.pill.pill:active, .dep-pill.dep-pill:active,
.vtag.vtag:active, .tplay.tplay:active, .vplay.vplay:active,
.btn-call.btn-call:active, .big-call.big-call:active,
.appbtn.appbtn:active, summary:active,
.btn.btn.tt-press, button.tt-press, [role="button"].tt-press,
input[type="submit"].tt-press, input[type="button"].tt-press,
.bigbtn.bigbtn.tt-press, .ghostbtn.ghostbtn.tt-press, .mini.mini.tt-press,
.chip.chip.tt-press, .chip2.chip2.tt-press, .askchip.askchip.tt-press,
.bkchip.bkchip.tt-press, .chanchip.chanchip.tt-press,
.daychip.daychip.tt-press, .pill.pill.tt-press,
.dep-pill.dep-pill.tt-press, .vtag.vtag.tt-press,
.tplay.tplay.tt-press, .vplay.vplay.tt-press,
.btn-call.btn-call.tt-press, .big-call.big-call.tt-press,
.appbtn.appbtn.tt-press, summary.tt-press {
  filter: brightness(1.18)
          drop-shadow(0 0 24px rgba(83, 215, 225, 0.80))
          drop-shadow(0 0 60px rgba(68, 180, 187, 0.40));
  box-shadow: 0 0 0 2px rgba(83, 215, 225, 0.60),
              0 0 38px rgba(83, 215, 225, 0.50),
              0 12px 38px rgba(48, 165, 173, 0.50);
}
/* Toggle nho (checkbox / radio): cung phat sang khi bam */
input[type="checkbox"]:active, input[type="radio"]:active,
input[type="checkbox"].tt-press, input[type="radio"].tt-press {
  filter: brightness(1.25) drop-shadow(0 0 10px rgba(83, 215, 225, 0.70));
}

/* --- 1C. NUT CALL (843) 612-1888 THEO TONG (lenh TR 19:59 19/11/2026) -----
   Nut goi so cong khai tung dung dang ghost (kinh trang mo, vien trang)
   o header/footer va dang flat dac o /try + /start — lech tong so voi
   CTA chinh. Tu nay MOI neo tel: mang cac class do deu dung cong thuc
   CTA chinh cua nha (chuan khoi nut-chip: gradient kinh cyan 9 diem
   khoa + highlight canh tren + bong trong + phat sang ngoai, chu trang
   co text-shadow sau de doc tren phan sang cua gradient). Cac nut Call
   da dung .btn-blue / .btn-flame / .big-call / .bigbtn giu nguyen —
   chung da dung cong thuc nay san. Rieng .btn-ghost KHONG phai nut
   Call (nut phu thuong) giu dang ghost nhu cu: rule nay chi cham neo
   tel: mang class ghost. */
a[href^="tel:"].btn-ghost, a[href^="tel:"].btn-call,
a[href^="tel:"].appbtn {
  /* 20:41 19/11/2026 (lan chuan-cyan-xuyen-thau): nut Call la O CHINH —
     trang thai thuong ve cong thuc --cell (cyan xuyen thau) nhu moi o
     chinh khac (Muc 6); cong thuc gradient dac truoc day chuyen thanh
     trang thai DA CHON --cell-on. Text-shadow sau giu nguyen de chu
     trang doc ro tren nen xuyen thau. */
  background-color: transparent;
  background-image: var(--cell);
  border-color: var(--cell-bd);
  color: #FFFFFF;
  box-shadow: var(--cell-shadow);
  text-shadow: 0 1px 2px rgba(16, 42, 52, 0.95),
               0 0 10px rgba(16, 42, 52, 0.70),
               0 0 22px rgba(37, 89, 106, 0.45);
  -webkit-backdrop-filter: var(--cell-blur);
  backdrop-filter: var(--cell-blur);
}

/* --- 2. THE LON (card / pricing / feature) --------------------------------
   Vong sang cyan toa ra ngoai + vien sang len; vet sang radial bam vi
   tri con tro do tuong-tac.js cap nhat qua --mx/--my (mac dinh tam the). */
.card, .db-card, .tcard, .vcard, .fcard, .ccard,
.price-card, .app-feat, .glass {
  position: relative;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::after, .db-card::after, .tcard::after, .vcard::after,
.fcard::after, .ccard::after, .price-card::after, .app-feat::after,
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(83, 215, 225, 0.14), rgba(68, 180, 187, 0.05) 45%,
              rgba(68, 180, 187, 0) 70%);
}
.card.card:hover, .db-card.db-card:hover, .tcard.tcard:hover,
.vcard.vcard:hover, .fcard.fcard:hover, .ccard.ccard:hover,
.price-card.price-card:hover, .app-feat.app-feat:hover, .glass.glass:hover,
.card.card:active, .db-card.db-card:active, .tcard.tcard:active,
.vcard.vcard:active, .fcard.fcard:active, .ccard.ccard:active,
.price-card.price-card:active, .app-feat.app-feat:active,
.glass.glass:active {
  border-color: rgba(83, 215, 225, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.50),
              0 0 0 1px rgba(83, 215, 225, 0.35),
              0 0 32px rgba(83, 215, 225, 0.22),
              0 0 64px rgba(68, 180, 187, 0.12);
}
.card:hover::after, .db-card:hover::after, .tcard:hover::after,
.vcard:hover::after, .fcard:hover::after, .ccard:hover::after,
.price-card:hover::after, .app-feat:hover::after, .glass:hover::after {
  opacity: 1;
}
/* Bam vao the (muc 1B ap cho the lon): vien sang day hon + halo rong
   hon muc hover o tren; vet sang ::after cung bat khi bam. */
.card.card:active, .db-card.db-card:active, .tcard.tcard:active,
.vcard.vcard:active, .fcard.fcard:active, .ccard.ccard:active,
.price-card.price-card:active, .app-feat.app-feat:active,
.glass.glass:active,
.card.card.tt-press, .db-card.db-card.tt-press, .tcard.tcard.tt-press,
.vcard.vcard.tt-press, .fcard.fcard.tt-press, .ccard.ccard.tt-press,
.price-card.price-card.tt-press, .app-feat.app-feat.tt-press,
.glass.glass.tt-press {
  border-color: rgba(83, 215, 225, 0.70);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.50),
              0 0 0 2px rgba(83, 215, 225, 0.55),
              0 0 48px rgba(83, 215, 225, 0.38),
              0 0 90px rgba(68, 180, 187, 0.20);
}
.card:active::after, .db-card:active::after, .tcard:active::after,
.vcard:active::after, .fcard:active::after, .ccard:active::after,
.price-card:active::after, .app-feat:active::after,
.glass:active::after,
.card.tt-press::after, .db-card.tt-press::after, .tcard.tt-press::after,
.vcard.tt-press::after, .fcard.tt-press::after, .ccard.tt-press::after,
.price-card.tt-press::after, .app-feat.tt-press::after,
.glass.tt-press::after {
  opacity: 1;
}

/* --- 3. LINK CHU / DIEU HUONG ---------------------------------------------
   Chu sang len + hao quang chu nhe; nav/footer sang manh hon. */
a {
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
a:hover {
  text-shadow: 0 0 12px rgba(83, 215, 225, 0.40);
}
.nav-links a:hover, nav a:hover, footer a:hover {
  color: var(--blue-lt, #53D7E1);
  text-shadow: 0 0 14px rgba(83, 215, 225, 0.55);
}
/* Bam vao link (muc 1B): hao quang chu manh hon hover */
a:active, a.tt-press {
  text-shadow: 0 0 18px rgba(83, 215, 225, 0.80),
               0 0 34px rgba(68, 180, 187, 0.35);
}
.nav-links a:active, nav a:active, footer a:active,
.nav-links a.tt-press, nav a.tt-press, footer a.tt-press {
  color: var(--blue-lt, #53D7E1);
  text-shadow: 0 0 20px rgba(83, 215, 225, 0.85);
}

/* --- 4. O NHAP FORM ---------------------------------------------------------
   Hover: vien cyan sang nhe. Focus: vong sang cyan thay outline mac dinh. */
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
select, textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):hover,
select:hover, textarea:hover {
  border-color: rgba(83, 215, 225, 0.45);
}
input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus, textarea:focus {
  border-color: rgba(83, 215, 225, 0.65);
  box-shadow: 0 0 0 3px rgba(83, 215, 225, 0.16),
              0 0 18px rgba(68, 180, 187, 0.20);
  outline: none;
}

/* --- 6. O CHINH: CYAN XUYEN THAU (THUONG) · CYAN DAM (DA CHON) ------------
   Lenh TR 20:41 19/11/2026 (lan chuan-cyan-xuyen-thau; mau: the
   Deposits/Usage trong App = xuyen thau · nut Call = dam). Token o
   khuon/tokens.css (--cell · --cell-bd · --cell-blur · --cell-shadow ·
   --cell-on · --cell-on-bd · --cell-on-shadow · --cell-on-tshadow).
   BA LOP CUNG TON TAI: nen thuong xuyen thau (muc nay) · hover/bam toa
   sang (Muc 1/1B/2 — khong doi) · chon DAU LAI o tong dam (muc nay).
   Selector nhan doi class de thang rule nen mot class cua trang; trang
   nao dung selector manh hon hoac !important thi trang thang (dung
   chuan khuon: trang cu the hon duoc quyen ghi de). */
.btn-blue.btn-blue, .btn-call.btn-call, .big-call.big-call,
.appbtn.appbtn, .bigbtn.bigbtn,
.chip.chip, .chip2.chip2, .pill.pill,
.bkchip.bkchip, .daychip.daychip, .chanchip.chanchip, .askchip.askchip,
.vtag.vtag {
  background-color: transparent;
  background-image: var(--cell);
  border-color: var(--cell-bd);
  box-shadow: var(--cell-shadow);
  -webkit-backdrop-filter: var(--cell-blur);
  backdrop-filter: var(--cell-blur);
}
/* Chu tren nen --cell SANG: ho chip/pill/tag dung chu TOI sau (nhom nut
   hanh dong giu chu trang + bong chu toi nhu ban dang live). .price-card
   KHONG nam trong muc nay: do la panel noi dung (chu do trang tu dinh),
   khong phai o chon — nut CTA trong no van theo chuan qua .btn-blue. */
.chip.chip, .chip2.chip2, .pill.pill,
.bkchip.bkchip, .daychip.daychip, .chanchip.chanchip, .askchip.askchip,
.vtag.vtag {
  color: #0A3644;
}
/* Trang thai DA CHON (ben vung — khach nhin thay ro minh dang chon gi):
   .on / aria-selected / aria-pressed tren cung ho phan tu. */
.chip.chip.on, .chip2.chip2.on, .pill.pill.on,
.bkchip.bkchip.on, .daychip.daychip.on, .chanchip.chanchip.on,
.askchip.askchip.on, .vtag.vtag.on,
.chip.chip[aria-selected="true"], .chip2.chip2[aria-selected="true"],
.pill.pill[aria-selected="true"],
.bkchip.bkchip[aria-selected="true"], .daychip.daychip[aria-selected="true"],
.chanchip.chanchip[aria-selected="true"], .askchip.askchip[aria-selected="true"],
.chip.chip[aria-pressed="true"], .pill.pill[aria-pressed="true"] {
  background-color: transparent;
  background-image: var(--cell-on);
  border-color: var(--cell-on-bd);
  box-shadow: var(--cell-on-shadow);
  color: #FFFFFF;
  text-shadow: var(--cell-on-tshadow);
}

/* --- 7. VIEN CYAN LIEN MACH OM KHIEN BADGE D&B (lenh TR 20:06
   20/11/2026; doi co che LAN 2 theo phan TR 20:33 20/11/2026 —
   ban 8 bong drop-shadow 0-blur bi DUT NET o nhieu mep, thay bang
   SILHOUETTE lien mach + bo nen trang sau khien) ---
   Lop boc .dnb-shield la moc neo (position:relative). VIEN nam o
   ::before: mot ban sao SILHOUETTE cua chinh anh khien (dung file
   PNG khien lam MAT NA ALPHA) nhuom gradient cyan, ve lon hon anh
   that dung 4px moi phia — anchor co padding 10px/16px nen tren
   hop ::before (inset:0) mask-size calc(100% - 24px) x
   calc(100% - 12px) cho ra dung hop noi dung + 8px. Ket qua: vanh
   cyan LIEN MACH chay kin quanh duong cong khien + dai ribbon +
   splash 2026, khong con dut net nhu chum bong roi rac. HAO QUANG
   toa la filter drop-shadow BLUR tren chinh anchor (do theo khoi
   gop vien + khien). Trang thai thuong: vien + glow nhe. Hover:
   toa manh hon (chuan Muc 1). Bam: BUNG sang manh nhat roi diu
   xuong muot (chuan Muc 1B — :active + .tt-press do tuong-tac.js
   gan). Anh khien chinh thuc D&B giu nguyen tung pixel — cam sua
   file anh. Mang lot hero (inline o T14) la gradient CYAN MO
   xuyen thau theo chuan o chinh toan he (phan TR 20:33: bo nen
   trang sang). Mot cong thuc duy nhat cho moi be mat mang badge:
   Web (T13 footer + T14 hero, build_khuon.py) · App Settings (App
   link chinh file nay) · Map (ban sao nguyen van cong thuc nay
   trong khoi <style> tuong tac noi bo cua tung file Map). */
.dnb-shield.dnb-shield {
  position: relative;
  filter: drop-shadow(0 0 6px rgba(83, 215, 225, 0.45))
          drop-shadow(0 0 16px rgba(68, 180, 187, 0.30))
          drop-shadow(0 0 34px rgba(48, 165, 173, 0.18));
  transition: filter 0.25s ease;
}
.dnb-shield.dnb-shield::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #8FEDF4 0%, #53D7E1 45%,
              #38B1B9 100%);
  -webkit-mask-image: url(/assets/dnb-small-business-badge.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: calc(100% - 24px) calc(100% - 12px);
  mask-image: url(/assets/dnb-small-business-badge.png);
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: calc(100% - 24px) calc(100% - 12px);
}
.dnb-shield.dnb-shield img {
  position: relative;
  z-index: 1;
}
.dnb-shield.dnb-shield:hover, .dnb-shield.dnb-shield:focus-visible {
  filter: drop-shadow(0 0 9px rgba(83, 215, 225, 0.70))
          drop-shadow(0 0 24px rgba(68, 180, 187, 0.45))
          drop-shadow(0 0 48px rgba(48, 165, 173, 0.28))
          brightness(1.05);
}
.dnb-shield.dnb-shield:active, .dnb-shield.dnb-shield.tt-press {
  filter: drop-shadow(0 0 14px rgba(83, 215, 225, 0.95))
          drop-shadow(0 0 34px rgba(83, 215, 225, 0.60))
          drop-shadow(0 0 64px rgba(68, 180, 187, 0.45))
          brightness(1.12);
}

/* --- 5. GIAM CHUYEN DONG ----------------------------------------------------
   Ton trong prefers-reduced-motion: bo transition (hieu ung van hien
   nhung tinh, khong chuyen dong); vet sang bam con tro do JS tu tat. */
@media (prefers-reduced-motion: reduce) {
  .btn, button, [role="button"],
  input[type="submit"], input[type="button"],
  .bigbtn, .ghostbtn, .mini,
  .chip, .chip2, .askchip, .bkchip, .chanchip, .daychip, .pill, .dep-pill,
  .vtag, .tplay, .vplay, summary,
  .card, .db-card, .tcard, .vcard, .fcard, .ccard,
  .price-card, .app-feat, .glass,
  .card::after, .db-card::after, .tcard::after, .vcard::after,
  .fcard::after, .ccard::after, .price-card::after, .app-feat::after,
  .glass::after,
  .dnb-shield,
  a,
  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  select, textarea {
    transition: none;
  }
}
