/* PUBLIC — website công khai (tiền tố pb-) */
.mnav a.sub { padding-left: 28px; font-weight: 500; font-size: 14px; justify-content: flex-start; gap: 8px; color: #475569; }
.nav > a.on, .nav > .dd > button.on { color: var(--brand-d); background: var(--brand-50); }
.sec-head.center { text-align: center; margin-inline: auto; }
.pb-phead { background: radial-gradient(700px 300px at 90% -20%, rgba(124,58,237,.1), transparent 60%), radial-gradient(700px 300px at 0 0, rgba(0,104,255,.1), transparent 60%), #fff; border-bottom: 1px solid var(--line); padding: 8px 0 36px; }
.pb-phead h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; max-width: 820px; } .pb-phead p { color: #475569; font-size: 16.5px; max-width: 700px; margin-top: 10px; }

/* hero + mockup */
.pb-hero .hero-grid { align-items: center; }
.pb-support { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; font-weight: 600; color: #475569; } .pb-support span { display: inline-flex; gap: 6px; align-items: center; } .pb-support .ic { color: var(--brand); }
.pb-herovis { position: relative; padding: 44px 26px 74px 0; min-width: 0; }
.pb-mock { position: relative; }
.pb-win { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(7,84,199,.28), 0 8px 24px rgba(16,24,40,.08); overflow: hidden; }
.pb-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; font-size: 12px; color: var(--muted); } .pb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f0; } .pb-bar span { margin-left: 8px; font-weight: 600; color: #475569; }
.pb-live { margin-left: auto; font-style: normal; display: inline-flex; gap: 6px; align-items: center; color: #12803a; background: var(--ok-50); border-radius: 999px; padding: 2px 10px; font-weight: 600; } .pb-live b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.pb-body { display: grid; grid-template-columns: 44px 176px minmax(0, 1fr); min-height: 330px; }
.pb-rail { background: var(--navy); padding: 12px 0; display: grid; gap: 4px; align-content: start; justify-items: center; } .pb-rail span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #93a3c8; } .pb-rail span.on { background: var(--brand); color: #fff; }
.pb-list { border-right: 1px solid var(--line); padding: 8px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.pb-li { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; min-width: 0; } .pb-li.on { background: var(--brand-50); } .pb-li > div { flex: 1; min-width: 0; } .pb-li b { font-size: 12.5px; display: block; white-space: nowrap; } .pb-li small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pb-li .badge { font-size: 10px; padding: 1px 7px; }
.pb-chat { display: flex; flex-direction: column; background: #f5f8fe; min-width: 0; }
.pb-bubbles { padding: 14px; display: grid; gap: 9px; align-content: start; flex: 1; }
.pb-b { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; position: relative; } .pb-b p { margin: 0; } .pb-b i { display: block; font-style: normal; font-size: 10px; opacity: .6; margin-top: 2px; text-align: right; }
.pb-b.cust { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; justify-self: start; } .pb-b.bot { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.pb-tag { display: flex; gap: 4px; align-items: center; font-size: 10px; font-weight: 700; margin-bottom: 3px; opacity: .85; text-transform: uppercase; letter-spacing: .03em; } .pb-tag .ic { width: 12px; height: 12px; }
.pb-input { margin: 0 12px 12px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between; align-items: center; } .pb-input span { color: var(--brand); }
.pb-f1, .pb-f2, .pb-f3 { z-index: 2; } .pb-f1 { top: -34px; right: -8px; } .pb-f2 { bottom: -46px; left: -18px; animation-delay: -2s; } .pb-f3 { bottom: -44px; right: 10px; animation-delay: -4s; }
.pb-note { position: absolute; left: 6px; top: -26px; font-size: 11.5px; color: var(--muted); }
.float { max-width: 280px; }

/* vấn đề / giải pháp */
.pb-prob { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .pb-pcard { padding: 20px; display: grid; gap: 8px; align-content: start; } .pb-pcard b { font-size: 15.5px; line-height: 1.35; }
.pb-pi { width: 44px; height: 44px; border-radius: 12px; background: var(--err-50); color: var(--err); display: grid; place-items: center; }
.pb-arrow { display: grid; place-items: center; margin: 14px 0; color: var(--brand); } .pb-arrow .ic { width: 30px; height: 30px; animation: pbbob 2s ease-in-out infinite; } @keyframes pbbob { 50% { transform: translateY(5px); } }
.pb-sol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 32px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy), #1b4fd1 60%, #5b3bd0); } .pb-sol h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 12px; line-height: 1.25; } .pb-sol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .pb-sol li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.1); padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }

/* tính năng */
.pb-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .pb-feat { padding: 22px; display: grid; gap: 10px; align-content: start; transition: transform .15s, box-shadow .15s, border-color .15s; } .pb-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #bcd2ff; } .pb-feat h3 { font-size: 16.5px; }
.pb-fi { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); color: var(--brand); display: grid; place-items: center; flex: none; }
.pb-more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13.5px; color: var(--brand-d); margin-top: 4px; } .pb-more:hover { gap: 9px; }
.pb-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; } .pb-ul li { display: flex; gap: 8px; align-items: flex-start; } .pb-ul .ic { color: var(--ok); margin-top: 3px; } .pb-ul.big { font-size: 16px; gap: 14px; } .pb-ul.big .ic { width: 22px; height: 22px; margin-top: 1px; }

/* sơ đồ quy trình */
.pb-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 48px; position: relative; }
.pb-node { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 16px 16px; display: grid; gap: 6px; justify-items: start; box-shadow: var(--shadow); } .pb-node b { font-size: 14.5px; line-height: 1.35; } .pb-node small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.pb-ni { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; } .pb-node:nth-child(3n) .pb-ni { background: var(--accent-50); color: var(--accent); } .pb-node.alt { border-style: dashed; border-color: #f2b8b8; } .pb-node.alt .pb-ni { background: var(--err-50); color: var(--err); }
.pb-num { position: absolute; top: -12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg); }

/* demo dashboard */
.pb-dash { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-lg); }
.pb-dtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; flex-wrap: wrap; }
.pb-dtabs { display: flex; gap: 4px; overflow-x: auto; max-width: 100%; } .pb-dtabs button { border: 0; background: none; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #475569; cursor: pointer; white-space: nowrap; } .pb-dtabs button.on { background: var(--brand); color: #fff; } .pb-dtabs button:not(.on):hover { background: #eef2f7; }
.pb-dgrid { display: grid; grid-template-columns: 56px minmax(0, 1fr); } .pb-dside { background: var(--navy); padding: 14px 0; display: grid; gap: 6px; align-content: start; justify-items: center; } .pb-dside span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #93a3c8; } .pb-dside span.on { background: var(--brand); color: #fff; }
.pb-dpane { padding: 18px; display: grid; gap: 14px; background: #f7f9fc; min-width: 0; animation: fade .25s; }
.pb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } .pb-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 2px; } .pb-kpi span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 6px; } .pb-kpi b { font-size: 24px; letter-spacing: -.02em; } .pb-kpi small { color: var(--muted); font-size: 12.5px; }
.pb-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; } .pb-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; } .pb-box h4 { font-size: 14.5px; margin-bottom: 12px; }
.pb-act { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; } .pb-act li { display: flex; gap: 8px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; } .pb-act li:last-child { border: 0; } .pb-act .ic { color: var(--brand); }
.pb-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background-color: #fff; background-image: radial-gradient(#dbe3ef 1px, transparent 1px); background-size: 18px 18px; } .pb-canvas { min-width: 640px; width: 100%; display: block; }
.pb-cfg { display: grid; gap: 8px; font-size: 13px; } .pb-cfg label { font-weight: 600; color: #475569; font-size: 12.5px; margin-top: 4px; }
.pb-chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--accent-50); color: var(--accent); font-weight: 600; font-size: 12.5px; margin: 0 6px 6px 0; } .pb-chip.ok { background: var(--ok-50); color: #12803a; }
.pb-box .pb-bubbles { padding: 0; }

/* bảng giá */
.pb-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pb-plan { position: relative; padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; } .pb-plan h3 { font-size: 19px; } .pb-plan.hot { border: 2px solid var(--brand); box-shadow: 0 20px 50px -18px rgba(0,104,255,.35); }
.pb-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.pb-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; } .pb-price b { font-size: 30px; letter-spacing: -.03em; } .pb-price small { color: var(--muted); }
.pb-lim { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; } .pb-lim ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; } .pb-lim li { display: flex; justify-content: space-between; gap: 8px; } .pb-lim li span { color: var(--muted); }
.pb-plan .pb-ul { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.pb-off { font-style: normal; font-size: 11px; background: var(--ok-50); color: #12803a; padding: 1px 6px; border-radius: 6px; margin-left: 4px; font-weight: 700; }
.pb-cmp th, .pb-cmp td { text-align: center; } .pb-cmp th:first-child, .pb-cmp td:first-child { text-align: left; } .pb-cmp tr.grp td { background: #f1f5fb; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: #475569; text-align: left; }

/* đối tượng */
.pb-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .pb-acard { padding: 14px 14px 20px; display: grid; gap: 8px; align-content: start; } .pb-acard h3 { font-size: 16.5px; padding: 6px 6px 0; } .pb-acard p { padding: 0 6px; }
.pb-art { height: 150px; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h) 90% 94%), hsl(calc(var(--h) + 40) 90% 88%)); display: grid; place-items: center; } .pb-art > span { width: 64px; height: 64px; border-radius: 18px; background: #fff; color: hsl(var(--h) 70% 45%); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(16,24,40,.12); }
.pb-mini { position: absolute; font-style: normal; font-size: 11.5px; font-weight: 600; background: #fff; border-radius: 999px; padding: 4px 10px; box-shadow: var(--shadow); color: #334155; } .pb-mini.m0 { left: 10px; top: 12px; } .pb-mini.m1 { right: 10px; bottom: 12px; }
.pb-steps .step .pb-sn { display: block; color: var(--brand); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 2px; }
.pb-cta { border-radius: 24px; padding: 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--navy), #1b4fd1 55%, #6d3de0); } .pb-cta h2 { font-size: clamp(22px, 2.6vw, 30px); max-width: 560px; } .pb-cta p { opacity: .85; margin-top: 8px; max-width: 520px; }

/* giải pháp / khả năng Zalo / bài viết / liên hệ / chính sách */
.pb-two2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } .pb-nav2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; } .pb-nav2 a { padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; } .pb-nav2 a:hover { border-color: var(--brand); color: var(--brand-d); }
.pb-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .pb-cap { padding: 16px; display: flex; gap: 12px; align-items: flex-start; } .pb-cap > div { flex: 1; min-width: 0; } .pb-cap > span:first-child { color: var(--ok); margin-top: 2px; } .pb-cap.no > span:first-child { color: var(--err); } .pb-cap p { margin-top: 3px; }
.pb-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .pb-post { padding: 20px; display: grid; gap: 10px; align-content: start; } .pb-post h3 { font-size: 17px; line-height: 1.35; } .pb-post h3 a:hover { color: var(--brand); }
.pb-article { max-width: 780px; } .pb-article h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-top: 10px; } .pb-body-txt p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: #334155; }
.pb-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; } .pb-cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; } .pb-cinfo li { display: flex; gap: 12px; align-items: flex-start; } .pb-cinfo .ic { color: var(--brand); margin-top: 2px; }
.pb-pol { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; } .pb-pol aside { display: grid; gap: 4px; } .pb-pol aside a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; color: #475569; } .pb-pol aside a:hover { background: #f1f5f9; } .pb-pol aside a.on { background: var(--brand-50); color: var(--brand-d); }

/* đăng nhập / đăng ký */
.pb-auth { padding: 36px 16px 56px; } .pb-acard2 { width: min(960px, 100%) !important; padding: 0 !important; display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.pb-aside { padding: 36px 32px; color: #fff; background: radial-gradient(400px 260px at 100% 0, rgba(124,58,237,.55), transparent 70%), linear-gradient(160deg, var(--navy), #0f4ad0); display: grid; gap: 14px; align-content: start; } .pb-aside .brand-mark { background: rgba(255,255,255,.18); } .pb-aside h2 { font-size: 26px; } .pb-aside p { opacity: .85; } .pb-aside ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14px; } .pb-aside li { display: flex; gap: 8px; align-items: flex-start; } .pb-aside li .ic { margin-top: 3px; flex: none; }
.pb-aform { padding: 36px 32px; } .pb-trial { padding: 12px; border: 1px dashed #bcd2ff; background: var(--brand-50); border-radius: 12px; }
.pb-demo { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 14px; background: #f8fafc; display: grid; gap: 8px; }
.pb-hist { width: 100%; text-align: left; font-size: 13.5px; } .pb-hist summary { cursor: pointer; font-weight: 600; } .pb-hist ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }

/* responsive */
@media (max-width: 1100px) { .pb-feats, .pb-plans, .pb-aud, .pb-prob { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-nav2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-herovis { padding-right: 18px; } }
@media (max-width: 960px) {
  .pb-body { grid-template-columns: 44px minmax(0, 1fr); } .pb-list { display: none; }
  .pb-flow { grid-template-columns: 1fr; gap: 40px; } .pb-node, .pb-node.r2 { grid-column: auto !important; grid-row: auto !important; }
  .pb-sol, .pb-two2, .pb-contact, .pb-pol, .pb-two, .pb-caps { grid-template-columns: 1fr; } .pb-acard2 { grid-template-columns: 1fr; } .pb-aside { padding: 24px; } .pb-aform { padding: 24px; }
  .pb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pb-feats, .pb-plans, .pb-aud, .pb-prob, .pb-posts, .pb-nav2 { grid-template-columns: 1fr; }
  .pb-herovis { padding: 0 0 36px; } .pb-dgrid { grid-template-columns: 1fr; } .pb-dside { display: none; } .pb-dpane { padding: 12px; }
  .pb-cta { padding: 28px 22px; } .pb-sol { padding: 24px 20px; } .pb-note { left: 0; }
  .pb-win .pb-bar span:not(.pb-live) { display: none; } .pb-rail { display: none; } .pb-body { grid-template-columns: 1fr; min-height: 0; }
}
.pb-li .badge { flex: none; } .pb-li b { overflow: hidden; text-overflow: ellipsis; } .pb-li > div { overflow: hidden; }

@media (min-width: 961px) {
  .pb-node.r1:not(:nth-child(4))::after { content: ""; position: absolute; top: 50%; right: -48px; width: 48px; height: 2px; background: linear-gradient(90deg, var(--brand), #9bbcff); } .pb-node.r1:not(:nth-child(4))::before { content: ""; position: absolute; top: calc(50% - 4px); right: -50px; border-left: 8px solid #9bbcff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
  .pb-node.r2:not(:nth-child(8))::after { content: ""; position: absolute; top: 50%; left: -48px; width: 48px; height: 2px; background: linear-gradient(270deg, #9bbcff, var(--brand)); } .pb-node.r2:not(:nth-child(8))::before { content: ""; position: absolute; top: calc(50% - 4px); left: -50px; border-right: 8px solid #9bbcff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; z-index: 1; }
  .pb-node:nth-child(4)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 44px; background: linear-gradient(var(--brand), #9bbcff); } .pb-node:nth-child(4)::before { content: ""; position: absolute; left: calc(50% - 4px); top: calc(100% + 36px); border-top: 8px solid #9bbcff; border-left: 5px solid transparent; border-right: 5px solid transparent; z-index: 1; }
}
@media (max-width: 960px) {
  .pb-node:not(:last-child)::after { content: ""; position: absolute; left: 36px; top: 100%; width: 2px; height: 40px; background: linear-gradient(var(--brand), #9bbcff); }
  .pb-node:not(:last-child)::before { content: ""; position: absolute; left: 32px; top: calc(100% + 32px); border-top: 8px solid #9bbcff; border-left: 5px solid transparent; border-right: 5px solid transparent; z-index: 1; }
}

.mnav.open { inset: 0 !important; z-index: 49; } .mnav a.btn { justify-content: center; border-bottom: 1px solid var(--brand); }
@media (max-width: 1100px) { .pb-f2 { left: 0; } .pb-f1 { right: 0; } .pb-herovis { padding-right: 0; } }

/* ===== thanh toán thật: QR SePay + trạng thái chờ ===== */
.pb-qr { display: grid; justify-items: center; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.pb-qr img { width: 220px; height: 220px; max-width: 100%; border-radius: 10px; background: #f1f5f9; }
.pb-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(0,104,255,.5); animation: pbpulse 1.6s infinite; flex: none; }
@keyframes pbpulse { 70% { box-shadow: 0 0 0 9px rgba(0,104,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0); } }
