/* Product page · Gói thương hiệu riêng (app + web mang logo khách hàng).
   Everything is scoped under .sg so it never leaks into the Bootstrap pages.
   Shares tokens with sang.css; only the `.thr-*` components live here. */

/* ---------- HERO ---------- */
.sg .thr-hero{position:relative;overflow:hidden;background:var(--grad-navy);color:#fff;padding:64px 0 84px}
.sg .thr-hero__mesh{position:absolute;border-radius:50%;filter:blur(70px);opacity:.5;pointer-events:none}
.sg .thr-hero__mesh.m1{width:520px;height:520px;background:#F37006;top:-180px;right:-120px}
.sg .thr-hero__mesh.m2{width:420px;height:420px;background:#1B3E86;bottom:-200px;left:-100px;opacity:.7}
.sg .thr-hero__in{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.sg .thr-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 15px;border-radius:var(--pill);background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.sg .thr-hero h1{margin:18px 0 0;font-size:clamp(2rem,3.6vw,3.1rem);line-height:1.12;font-weight:900;letter-spacing:-.02em}
.sg .thr-hero h1 .gt{background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.sg .thr-sub{margin:16px 0 0;max-width:56ch;font-size:1.02rem;line-height:1.7;color:rgba(255,255,255,.82)}
.sg .thr-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.sg .thr-hero__cta .btn svg{width:18px;height:18px;margin-left:6px}
.sg .thr-chips{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:26px}
.sg .thr-chips span{display:inline-flex;align-items:center;gap:7px;font-size:.86rem;font-weight:600;color:rgba(255,255,255,.8)}
.sg .thr-chips svg{width:15px;height:15px;color:var(--gold)}

/* phone + web mockup */
.sg .thr-vis{position:relative;min-height:450px}
.sg .thr-web{position:absolute;left:0;top:0;width:84%;z-index:1;border-radius:16px;overflow:hidden;background:#fff;
  box-shadow:0 36px 70px -30px rgba(0,0,0,.62);border:1px solid rgba(255,255,255,.16)}
.sg .thr-web__bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#F4F1EC;border-bottom:1px solid #E6E1D9}
.sg .thr-web__bar i{width:9px;height:9px;border-radius:50%;background:#D8D2C8}
.sg .thr-web__bar span{margin-left:10px;flex:1;background:#fff;border-radius:var(--pill);padding:4px 12px;font-size:.68rem;color:var(--slate2);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg .thr-web__body{padding:18px 20px 22px}
.sg .thr-web__logo{display:inline-block;padding:5px 12px;border-radius:8px;background:var(--navy);color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.12em}
.sg .thr-web__h{margin-top:12px;font-size:1.05rem;font-weight:900;color:var(--ink)}
.sg .thr-web__p{margin-top:3px;font-size:.76rem;color:var(--slate)}
.sg .thr-web__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}
.sg .thr-web__grid i{display:block;padding-top:60%;border-radius:9px;background:linear-gradient(140deg,#FFF1E2,#FFE0C4)}
.sg .thr-web__grid i:nth-child(2n){background:linear-gradient(140deg,#EEF2FB,#DCE4F6)}

.sg .thr-phone{position:absolute;right:0;bottom:0;width:212px;z-index:3;padding:9px;border-radius:30px;background:#0B1533;
  box-shadow:0 40px 70px -26px rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.14)}
.sg .thr-phone__notch{width:64px;height:5px;border-radius:99px;background:#28324f;margin:2px auto 7px}
.sg .thr-phone__screen{border-radius:23px;background:#fff;padding:12px 12px 14px;color:var(--ink)}
.sg .thr-app__top{display:flex;align-items:center;justify-content:space-between}
.sg .thr-app__logo{display:inline-block;padding:4px 9px;border-radius:7px;background:var(--grad-flame);color:#fff;font-size:.53rem;font-weight:900;letter-spacing:.1em}
.sg .thr-app__bell svg{width:15px;height:15px;color:var(--slate2)}
.sg .thr-app__greet{margin-top:10px;font-size:.78rem;font-weight:800}
.sg .thr-app__tabs{display:flex;gap:6px;margin-top:9px}
.sg .thr-app__tabs span{padding:4px 9px;border-radius:var(--pill);background:#F3F1ED;font-size:.55rem;font-weight:700;color:var(--slate)}
.sg .thr-app__tabs span.on{background:var(--flame-soft);color:var(--flame-700)}
.sg .thr-app__item{display:flex;align-items:center;gap:9px;margin-top:10px}
.sg .thr-app__thumb{width:40px;height:40px;border-radius:10px;flex:0 0 40px}
.sg .thr-app__thumb.t1{background:linear-gradient(140deg,#FFD9B4,#FFB067)}
.sg .thr-app__thumb.t2{background:linear-gradient(140deg,#CFE0FF,#9FBBF2)}
.sg .thr-app__item b{display:block;font-size:.63rem;font-weight:800;line-height:1.35}
.sg .thr-app__item em{display:block;font-style:normal;font-size:.6rem;font-weight:800;color:var(--flame-700);margin-top:2px}
.sg .thr-app__ship{display:flex;align-items:center;gap:6px;margin-top:11px;padding:6px 8px;border-radius:9px;background:#F1F7F1;
  font-size:.55rem;font-weight:700;color:#1F7A44}
.sg .thr-app__ship svg{width:13px;height:13px}
.sg .thr-app__cart{margin-top:9px;padding:9px;border-radius:11px;background:var(--grad-flame);color:#fff;text-align:center;font-size:.63rem;font-weight:900}
.sg .thr-stores{position:absolute;left:0;bottom:2px;z-index:2;display:flex;gap:9px}
.sg .thr-stores span{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:var(--pill);background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);font-size:.7rem;font-weight:700;color:#fff;backdrop-filter:blur(4px)}
.sg .thr-stores svg{width:14px;height:14px}

/* ---------- shared bits ---------- */
.sg .thr-lead{max-width:74ch;margin:12px auto 0;color:var(--slate);line-height:1.72;font-size:.97rem}

/* ---------- pain / gain ---------- */
.sg .thr-pg{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}
.sg .thr-pg__col{padding:22px;border-radius:var(--r-lg);border:1px solid var(--line)}
.sg .thr-pg__col--pain{background:#FFF7F5;border-color:#FBD9D0}
.sg .thr-pg__col--gain{background:#F5FAF6;border-color:#CFE6D6}
.sg .thr-pgc{display:flex;gap:12px;padding:12px 0}
.sg .thr-pgc + .thr-pgc{border-top:1px dashed rgba(0,0,0,.09)}
.sg .thr-pgc .ic{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;margin-top:2px}
.sg .thr-pgc .ic svg{width:14px;height:14px}
.sg .thr-pg__col--pain .ic{background:#FBE0DA;color:#C0392B}
.sg .thr-pg__col--gain .ic{background:#D8EEDF;color:#1F7A44}
.sg .thr-pgc b{display:block;font-size:.98rem;font-weight:800;color:var(--ink)}
.sg .thr-pgc p{margin:4px 0 0;font-size:.87rem;line-height:1.62;color:var(--slate)}

/* ---------- feature rows ---------- */
.sg .thr-frow{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:44px 0;border-top:1px solid var(--line)}
.sg .thr-frow:first-child{border-top:0}
.sg .thr-frow:nth-child(even) .thr-frow__txt{order:2}
.sg .thr-ftag{display:inline-block;padding:5px 12px;border-radius:var(--pill);background:var(--flame-tint);color:var(--flame-700);
  font-size:.72rem;font-weight:900;letter-spacing:.05em}
.sg .thr-frow h3{margin:14px 0 0;font-size:clamp(1.3rem,2vw,1.7rem);font-weight:900;color:var(--ink);letter-spacing:-.01em}
.sg .thr-frow p{margin:10px 0 0;color:var(--slate);line-height:1.72;font-size:.95rem}
.sg .thr-fbul{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:9px}
.sg .thr-fbul li{display:flex;gap:9px;align-items:flex-start;font-size:.92rem;color:var(--ink);line-height:1.55}
.sg .thr-fbul svg{width:16px;height:16px;flex:0 0 16px;margin-top:3px;color:var(--flame)}
.sg .thr-partners{margin-top:14px;padding:11px 14px;border-radius:var(--r-md);background:var(--cream);border:1px solid var(--peach);
  font-size:.83rem;color:var(--flame-700);font-weight:600}
.sg .thr-frow__mock{display:grid;place-items:center}
.sg .thr-card{width:100%;min-height:230px;border-radius:var(--r-xl);display:flex;flex-direction:column;justify-content:flex-end;
  padding:26px;color:#fff;box-shadow:var(--sh);position:relative;overflow:hidden}
.sg .thr-card b{font-size:1.15rem;font-weight:900;line-height:1.35;max-width:20ch}
.sg .thr-card__n{position:absolute;top:12px;right:22px;font-size:4.6rem;font-weight:900;opacity:.22;line-height:1}
.sg .thr-card--f1{background:linear-gradient(140deg,#1B3E86,#06246B)}
.sg .thr-card--f2{background:linear-gradient(140deg,#FF8A2B,#E85800)}
.sg .thr-card--f3{background:linear-gradient(140deg,#12795B,#04452F)}
.sg .thr-card--f4{background:linear-gradient(140deg,#4B3A86,#231A52)}

/* ---------- industry ---------- */
.sg .thr-ind{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}
.sg .thr-indc{padding:26px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-s)}
.sg .thr-indc b{font-size:1.12rem;font-weight:900;color:var(--ink)}
.sg .thr-indc p{margin:5px 0 0;font-size:.88rem;color:var(--slate)}
.sg .thr-indc ul{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:9px}
.sg .thr-indc li{display:flex;gap:9px;align-items:flex-start;font-size:.9rem;line-height:1.55;color:var(--ink)}
.sg .thr-indc svg{width:16px;height:16px;flex:0 0 16px;margin-top:3px;color:var(--flame)}

/* ---------- pricing extras ---------- */
.sg .plan .thr-setup{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:14px 0 2px;padding:9px 12px;
  border-radius:var(--r-md);background:var(--flame-tint);border:1px solid var(--peach)}
.sg .plan .thr-setup span{font-size:.78rem;font-weight:700;color:var(--slate)}
.sg .plan .thr-setup b{font-size:1rem;font-weight:900;color:var(--flame-700)}
.sg .thr-cmpnote{text-align:center;font-size:.86rem;color:var(--slate);margin-top:16px}

/* ---------- ROI ---------- */
.sg .thr-roi{margin-top:28px;padding:26px;border-radius:var(--r-xl);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-s)}
.sg .thr-roi__in{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.sg .thr-roi__in label{display:block}
.sg .thr-roi__in span{display:block;font-size:.82rem;font-weight:700;color:var(--slate);margin-bottom:6px}
.sg .thr-roi__in input,.sg .thr-roi__in select{width:100%;padding:11px 14px;border-radius:var(--r-md);border:1px solid var(--line2);
  background:#fff;font:inherit;font-weight:800;color:var(--ink)}
.sg .thr-roi__in input:focus,.sg .thr-roi__in select:focus{outline:2px solid var(--flame);outline-offset:1px}
.sg .thr-roi__out{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}
.sg .thr-roi__box{padding:16px;border-radius:var(--r-lg);background:var(--bg);border:1px solid var(--line)}
.sg .thr-roi__box > span{display:block;font-size:.8rem;font-weight:700;color:var(--slate);min-height:2.4em;line-height:1.35}
.sg .thr-roi__box > b{display:block;margin-top:8px;font-size:1.28rem;font-weight:900;color:var(--ink);letter-spacing:-.01em}
.sg .thr-roi__box .bar{display:block;height:7px;border-radius:99px;background:#EDE7DE;margin-top:11px;overflow:hidden}
.sg .thr-roi__box .bar em{display:block;height:100%;border-radius:99px;transition:width .35s ease}
.sg .thr-roi__box .bar.b1 em{background:#C0392B}
.sg .thr-roi__box .bar.b2 em{background:var(--grad-flame)}
.sg .thr-roi__box--hl{background:var(--navy);border-color:var(--navy)}
.sg .thr-roi__box--hl > span{color:rgba(255,255,255,.72)}
.sg .thr-roi__box--hl > b{color:#fff}
.sg .thr-roi__box--hl small{display:block;margin-top:5px;font-size:.78rem;font-weight:800;color:var(--gold)}
.sg .thr-roi.is-save .thr-roi__box--hl{background:#0E5C3A;border-color:#0E5C3A}
.sg .thr-roi__note{margin:16px 0 0;font-size:.82rem;color:var(--slate);line-height:1.6}

/* ---------- steps ---------- */
.sg .thr-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:30px}
.sg .thr-step{position:relative;padding:22px 18px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-s)}
.sg .thr-step .n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--grad-flame);color:#fff;
  font-weight:900;font-size:.9rem;margin-bottom:12px}
.sg .thr-step b{display:block;font-size:.98rem;font-weight:900;color:var(--ink);line-height:1.35}
.sg .thr-step p{margin:7px 0 0;font-size:.85rem;line-height:1.6;color:var(--slate)}

/* ---------- conditions ---------- */
.sg .thr-cond{padding:26px;border-radius:var(--r-xl);background:var(--cream);border:1px solid var(--peach)}
.sg .thr-cond h3{margin:0 0 14px;font-size:1.12rem;font-weight:900;color:var(--ink)}
.sg .thr-cond ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.sg .thr-cond li{display:flex;gap:11px;align-items:flex-start;font-size:.9rem;line-height:1.66;color:var(--ink)}
.sg .thr-cond li svg{width:17px;height:17px;flex:0 0 17px;margin-top:3px;color:var(--flame-700)}
.sg .thr-cond li b{font-weight:800}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .sg .thr-hero__in,.sg .thr-frow{grid-template-columns:1fr}
  .sg .thr-frow:nth-child(even) .thr-frow__txt{order:0}
  .sg .thr-vis{min-height:520px;margin-top:24px}
  .sg .thr-steps{grid-template-columns:repeat(2,1fr)}
  .sg .thr-roi__out{grid-template-columns:1fr}
}
@media (max-width:760px){
  .sg .thr-pg,.sg .thr-ind,.sg .thr-roi__in{grid-template-columns:1fr}
  .sg .thr-steps{grid-template-columns:1fr}
  .sg .thr-web{position:static;width:100%}
  .sg .thr-phone{position:static;margin:18px auto 0}
  .sg .thr-stores{position:static;justify-content:center;margin-top:16px}
  .sg .thr-vis{min-height:0}
}
