/* ============================================================================
   21. versions — trang phien-ban.html + khoi gia 6 bac
   Chi bo sung lop moi, khong sua file cu. Nap sau pages.css.
   ========================================================================== */

.vnote {
  margin-top: 14px; font-size: 12.5px; line-height: 1.65;
  color: rgba(255, 255, 255, .52); max-width: 74ch;
}

/* ---------------------------------------------------------------- 6 bac gia */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }

.tier {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px 22px; border-radius: var(--r-md);
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform 190ms var(--ease-out), border-color 190ms var(--ease-out),
              box-shadow 190ms var(--ease-out);
}
.tier:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 184, 248, .38);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
}
.tier--hot {
  border-color: rgba(248, 192, 8, .62);
  box-shadow: 0 0 0 1px rgba(248, 192, 8, .13), 0 18px 46px -28px rgba(248, 192, 8, .5);
}
.tier--hot:hover { border-color: rgba(248, 192, 8, .9); }

.tier__badge {
  position: absolute; top: -10px; left: 22px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-950); background: var(--tuai-yellow);
  padding: 4px 9px; border-radius: 5px;
}

.tier__name {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.3; min-height: 44px;
  display: flex; align-items: flex-end;
}
.tier--hot .tier__name { color: var(--tuai-yellow); }

.tier__price {
  font-family: var(--font-display); font-size: 27px; font-weight: 800;
  letter-spacing: -.028em; line-height: 1.1; margin-top: 14px;
  font-variant-numeric: tabular-nums; color: var(--white);
}
.tier__unit {
  font-size: 12.5px; font-weight: 600; margin-top: 5px;
  color: rgba(255, 255, 255, .58); letter-spacing: .01em;
}

.tier__for {
  font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .52);
  margin-top: 12px; min-height: 40px;
}

.tier ul {
  margin: 16px 0 20px; padding-top: 16px; display: grid; gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.tier li {
  position: relative; padding-left: 18px;
  font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .72);
}
.tier li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid rgba(0, 184, 248, .75);
}
.tier--hot li::before { border-color: var(--tuai-yellow); }

.tier .btn { margin-top: auto; width: 100%; min-height: 44px; font-size: 13.5px; }

/* ------------------------------------------------------------- bang so sanh */
.tbl-wrap .cmp td, .tbl-wrap .cmp th { vertical-align: top; }
.tbl-wrap .cmp td { font-size: 13.5px; }
.tbl-wrap .cmp tbody th {
  font-size: 13px; line-height: 1.5; width: 260px;
  color: rgba(255, 255, 255, .88);
}

.ok, .no {
  display: inline-block; font-weight: 700; font-size: 15px; line-height: 1;
}
.ok { color: var(--tuai-yellow); }
.no { color: rgba(255, 255, 255, .28); font-weight: 500; }

/* ------------------------------------------------------------- mua them */
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.addon {
  padding: 22px 20px; border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .09); background: rgba(255, 255, 255, .03);
  transition: border-color 190ms var(--ease-out), background 190ms var(--ease-out);
}
.addon:hover { border-color: rgba(0, 184, 248, .4); background: rgba(0, 80, 248, .1); }
.addon b {
  display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums;
}
.addon span {
  display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.55;
  color: rgba(255, 255, 255, .58);
}

.vblock {
  margin-top: 14px; padding: 26px 24px; border-radius: var(--r-md);
  border: 1px solid rgba(248, 192, 8, .32);
  background: linear-gradient(150deg, rgba(0, 80, 248, .16), rgba(248, 192, 8, .05));
}
.vblock h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  letter-spacing: -.01em; color: var(--white);
}
.vblock p {
  margin-top: 12px; font-size: 14px; line-height: 1.7;
  color: rgba(255, 255, 255, .74); max-width: 88ch;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; }
  .tier__name { min-height: 0; }
  .tbl-wrap .cmp tbody th { width: 200px; }
}
@media (max-width: 560px) {
  .addons { grid-template-columns: 1fr; }
  .tier { padding: 22px 18px 18px; }
  .tier__price { font-size: 24px; }
}

/* --------------------------------------------------------- chuyen dong tat */
@media (prefers-reduced-motion: reduce) {
  .tier, .addon, .tier:hover, .addon:hover { transition: none; transform: none; }
}

/* ---------------------------------------- khoi gia 6 the tren bang-gia.html */
.plans--six { grid-template-columns: repeat(3, 1fr) !important; gap: 14px; }
.plans--six > .plan,
.plans--six > .plan:nth-child(4),
.plans--six > .plan:nth-child(5),
.plans--six > .plan:last-child { grid-column: span 1 !important; }

.plan__unit {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255, 255, 255, .46);
  margin-top: 4px;
}
.plan__top { flex-wrap: wrap; row-gap: 2px; }
.plan__price { font-size: 15px; color: var(--white); font-weight: 700; }
.plan--hot .plan__price { color: var(--tuai-yellow); }

.plans-more {
  display: inline-block; margin-left: 6px; white-space: nowrap;
  color: var(--tuai-yellow); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.plans-more:hover { color: var(--white); }

@media (max-width: 1100px) {
  .plans--six { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 760px) {
  .plans--six { grid-template-columns: 1fr !important; }
  .plans-more { display: block; margin: 8px 0 0; white-space: normal; }
}

/* ---- 06. entry banner to the versions page (pricing page) ---- */
.plans-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 0;
  padding: 22px 26px;
  border: 1px solid rgba(248,192,8,.34);
  border-radius: 16px;
  background:
    radial-gradient(560px 160px at 12% -30%, rgba(248,192,8,.14), transparent 70%),
    rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .19s ease, transform .19s ease, background .19s ease;
}
.plans-cta:hover, .plans-cta:focus-visible {
  border-color: rgba(248,192,8,.72);
  background:
    radial-gradient(560px 180px at 12% -30%, rgba(248,192,8,.2), transparent 70%),
    rgba(255,255,255,.05);
  transform: translateY(-2px);
  outline: none;
}
.plans-cta__copy { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.plans-cta__copy b { color: var(--white); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.plans-cta__copy span { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.6; }
.plans-cta__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0B1020;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.plans-cta__btn::after { content: "\2192"; font-size: 15px; line-height: 1; }
@media (max-width: 720px) {
  .plans-cta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .plans-cta__btn { width: 100%; justify-content: center; }
}
