/* =========================================================================
   OMNICENTER — Trang sản phẩm & danh mục sản phẩm (Product Detail Template, mục 22)
   Dùng kèm styles.css (design tokens, buttons, header, footer, form).
   ========================================================================= */

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; position: relative; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs .ic { font-size: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- 1. Hero sản phẩm ---------- */
.phero { position: relative; overflow: hidden; background: var(--off); padding: 40px 0 88px; }
.phero .container { position: relative; }

.phero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--primary); }
.phero__meta .pi { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.phero h1 { margin-top: 20px; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.phero__cat { margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--muted); }
.phero__tagline { margin-top: 20px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; color: var(--primary); line-height: 1.4; }
.phero__lead { margin-top: 14px; font-size: 17.5px; max-width: 600px; }
.phero .hero__actions { margin-top: 30px; }
.notice { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; max-width: 600px; padding: 14px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; line-height: 1.55; color: var(--text); }
.notice .ic { font-size: 20px; color: var(--primary); margin-top: 1px; }

.phero--compact { padding-bottom: 64px; }
.phero--compact h1 { margin-top: 14px; }
.phero--compact .phero__lead { max-width: 680px; }

/* ---------- 2. Vấn đề ---------- */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problems--3 { grid-template-columns: repeat(3, 1fr); }
.problem { position: relative; padding: 26px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.problem > .ic { font-size: 26px; color: var(--primary); }
.problem__no { position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 800; color: var(--input-border); }
.problem h3 { margin-top: 16px; font-size: 17px; }
.problem p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 3. Giải pháp (dark band) ---------- */

/* ---------- 4. Tính năng ---------- */

/* ---------- 6. Giao diện minh họa ---------- */

/* ---------- 7. Use cases ---------- */
.ucgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ucard { padding: 28px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.ucard h3 { margin-top: 18px; font-size: 18px; }
.ucard p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- 8. Tích hợp ---------- */
.pint { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pint > * { min-width: 0; }
.pint h2 { margin-top: 14px; }
.pint__lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.tags--lg { margin-top: 24px; }
.tags--lg span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 9px 14px; border-radius: 10px; }
.tags--lg .ic { color: var(--primary); }
.rlist { display: grid; gap: 10px; }
.rcard { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.rcard:hover { border-color: rgba(6, 69, 192, .3); transform: translateX(4px); box-shadow: var(--shadow-md); }
.rcard .pi { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.rcard > span:nth-child(2) { flex: 1; min-width: 0; }
.rcard b { display: block; color: var(--navy); font-size: 16px; }
.rcard small { display: block; color: var(--muted); font-size: 13px; }
.rcard > .ic { color: var(--primary); font-size: 20px; }

/* ---------- 9. Lợi ích ---------- */
.bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcard { padding: 26px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--lime); }
.bcard > .ic { font-size: 26px; color: var(--primary); }
.bcard h3 { margin-top: 16px; font-size: 17px; }
.bcard p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- 10. Gói dịch vụ ---------- */

.pprice { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px 44px; border-radius: var(--r-lg); background: var(--grad-main); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.pprice::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; background: url('../img/logo-mark-white.webp') center/contain no-repeat; opacity: .1; }
.pprice > * { position: relative; z-index: 1; }
.pprice .eyebrow { color: var(--lime); }
.pprice h2 { margin-top: 10px; color: var(--white); font-size: clamp(24px, 2.6vw, 32px); }
.pprice p { margin-top: 10px; max-width: 620px; font-size: 16px; }

/* ---------- 11. FAQ ---------- */
.pfaq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.pfaq .section-head { margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(6, 69, 192, .3); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; font-size: 20px; color: var(--primary); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; font-size: 15px; color: var(--text); line-height: 1.65; }

/* ---------- /products/ ---------- */
.products__head .status-legend { margin-top: 0; }
.ogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ocard { position: relative; padding: 30px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.ocard__no { position: absolute; top: 26px; right: 28px; font-weight: 800; color: var(--input-border); font-size: 15px; }
.ocard h3 { margin-top: 18px; font-size: 18px; letter-spacing: .03em; }
.ocard p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.ocard .tags { margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pint, .pfaq { grid-template-columns: 1fr; gap: 40px; }
  .problems, .bgrid { grid-template-columns: repeat(2, 1fr); }
  .problems--3 { grid-template-columns: repeat(3, 1fr); }

  .ucgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .phero { padding: 28px 0 64px; }

  .problems, .problems--3, .bgrid, .ucgrid, .ogrid { grid-template-columns: 1fr; }
  .pprice { padding: 28px 22px; }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq details p { padding: 0 18px 18px; }
}

/* =========================================================================
   v2 — Trang sản phẩm theo master prompt UI/UX (mục 5)
   3 kiểu hero · 2 kiểu trình bày tính năng · 9 section đặc trưng
   ========================================================================= */

/* ---------- Hero sản phẩm ---------- */
.ph { position: relative; overflow: hidden; padding: 36px 0 88px; }
.ph__bg { position: absolute; inset: 0; pointer-events: none; }
.ph .container { position: relative; }
.ph h1 { margin-top: 20px; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.ph__figure { margin: 0; }
.ph__figure figcaption { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ph__figure figcaption .ic { color: var(--primary); flex: none; }
.ph__hl { margin-top: 22px; display: grid; gap: 10px; }
.ph__hl li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.ph__hl .ic { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 6px; background: var(--lime-50); color: var(--lime-ink); }
.ph__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ph__grid > * { min-width: 0; }
.ph__vis { position: relative; }
.ph--split .ph__figure .ui { box-shadow: var(--shadow-xl); }

.ph--dark { background: var(--navy-900); color: var(--dark-text); }
.ph--dark .ph__bg { background: radial-gradient(760px 520px at 82% 42%, rgba(7, 139, 238, .28), transparent 62%), radial-gradient(600px 420px at 0% 100%, rgba(6, 69, 192, .45), transparent 60%); }
.ph--dark .ph__bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%); }
.ph--dark .crumbs, .ph--dark .crumbs a { color: var(--dark-muted); }
.ph--dark .crumbs [aria-current] { color: var(--white); }
.ph--dark .phero__meta { color: var(--lime); }
.ph--dark .phero__cat { color: var(--dark-muted); }
.ph--dark .phero__tagline { color: var(--lime); }
.ph--dark .phero__lead { color: #D2DDF2; }
.ph--dark .ph__hl li { color: #DCE6F8; }
.ph--dark .ph__hl .ic { background: rgba(168, 240, 0, .14); color: var(--lime); }
.ph--dark .notice { background: rgba(255, 255, 255, .06); border-color: var(--dark-line); color: var(--dark-text); box-shadow: none; }
.ph--dark .notice .ic, .ph--dark .ph__figure figcaption .ic { color: var(--lime); }
.ph--dark .ph__figure figcaption { color: var(--dark-muted); }

.ph--light { background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%); }
.ph--light .ph__bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(6, 69, 192, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 69, 192, .06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 40%, #000 25%, transparent 75%); }
.ph--light .ph__bg::after { content: ''; position: absolute; width: 700px; height: 700px; right: -240px; top: -240px; background: radial-gradient(circle, rgba(7, 139, 238, .18), transparent 62%); }
.ph__chips { position: absolute; z-index: 2; right: -20px; top: 56px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ph__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 12.5px; font-weight: 600; color: var(--navy); animation: phbob 7s ease-in-out infinite; }
.ph__chips span:nth-child(2) { animation-delay: -2s; } .ph__chips span:nth-child(3) { animation-delay: -4s; } .ph__chips span:nth-child(4) { animation-delay: -5.5s; }
.ph__chips .ic { color: var(--primary); }
@keyframes phbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.ph--stage { background: var(--off); padding-bottom: 72px; }
.ph--stage .ph__bg { background: radial-gradient(900px 520px at 50% 82%, rgba(7, 139, 238, .2), transparent 65%); }
.ph--stage .ph__bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(6, 69, 192, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 69, 192, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ph--stage .crumbs { justify-content: center; }
.ph__center { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ph__center .phero__meta { justify-content: center; }
.ph__center .phero__lead { margin-left: auto; margin-right: auto; }
.ph__center .hero__actions { justify-content: center; }
.ph__center .notice { text-align: left; }
.ph__stage { margin-top: 52px; perspective: 1800px; }
.ph__stage .ph__figure .ui { transform: rotateX(12deg); transform-origin: 50% 100%; box-shadow: var(--shadow-xl); transition: transform 1s var(--ease); }
.ph__stage.is-in .ph__figure .ui { transform: rotateX(3deg); }
.ph__stage .ph__figure:hover .ui { transform: none; }
.ph__stage .ph__figure figcaption { justify-content: center; }
.ph__hl--row { margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 1040px; }
.ph__hl--row li { font-size: 14.5px; }

/* ---------- Tính năng: tabs ---------- */
.ftabs { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.ftabs__nav { display: grid; gap: 8px; }
.ftabs__tab { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); text-align: left; transition: background var(--dur), border-color var(--dur), box-shadow var(--dur); }
.ftabs__tab span { grid-row: 1 / 3; align-self: center; font-size: 13px; font-weight: 800; color: var(--input-border); }
.ftabs__tab b { color: var(--navy); font-size: 15.5px; line-height: 1.3; }
.ftabs__tab small { color: var(--muted); font-size: 12.5px; }
.ftabs__tab:hover { border-color: rgba(6, 69, 192, .3); }
.ftabs__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-md); }
.ftabs__tab[aria-selected="true"] span { color: var(--lime); }
.ftabs__tab[aria-selected="true"] b { color: var(--white); }
.ftabs__tab[aria-selected="true"] small { color: var(--dark-text); }
.ftabs__panel { padding: 36px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: ftIn .4s var(--ease); }
@keyframes ftIn { from { opacity: 0; transform: translateY(8px); } }
.ftabs__no { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--primary); }
.ftabs__panel h3 { margin-top: 8px; font-size: clamp(24px, 2.4vw, 30px); }
.ftabs__panel ul { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ftabs__panel li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--off); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.ftabs__panel li .ic { flex: none; margin-top: 1px; font-size: 20px; color: var(--primary); }

/* ---------- Tính năng: bento ---------- */
.fbento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fb { position: relative; padding: 26px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.fb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fb--lead { grid-column: span 2; grid-row: span 2; background: var(--grad-tech); border: 0; color: rgba(255, 255, 255, .88); padding: 34px; }
.fbento--5 .fb--lead { grid-row: auto; }
.fbento--3, .fbento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fbento--3 .fb--lead { grid-column: span 1; grid-row: span 2; }
.fbento--2 .fb--lead { grid-column: span 1; grid-row: auto; }
.fb__no { font-size: 13px; font-weight: 800; color: var(--input-border); }
.fb--lead .fb__no { color: var(--lime); }
.fb h3 { margin-top: 10px; font-size: 19px; }
.fb--lead h3 { color: var(--white); font-size: 26px; }
.fb ul { margin-top: 14px; display: grid; gap: 8px; }
.fb li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; }
.fb li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--bright); }
.fb--lead li { font-size: 16px; }
.fb--lead li::before { background: var(--lime); }

/* ---------- Khối chung ---------- */
.ucard { position: relative; }
.ucard__no { position: absolute; top: 24px; right: 26px; font-size: 13px; font-weight: 800; color: var(--input-border); }
.vstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vstrip__item { padding: 6px 26px; border-left: 1px solid var(--line); }
.vstrip__item:first-child { padding-left: 0; border-left: 0; }
.vstrip__item > .ic { font-size: 28px; color: var(--primary); }
.vstrip__item h3 { margin-top: 16px; font-size: 17px; }
.vstrip__item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.vstrip + .pprice { margin-top: 64px; }

/* =========================================== Section đặc trưng (signature) */
.sig { overflow: hidden; }
.sig .section-head { margin-bottom: 32px; }
.sig__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sig__grid > * { min-width: 0; }
.sig-note { margin: 0 0 40px; display: flex; gap: 12px; max-width: 760px; padding: 16px; border-radius: 12px; background: var(--bright-50); border: 1px solid rgba(7, 139, 238, .25); font-size: 14px; line-height: 1.55; }
.sig-note .ic { flex: none; font-size: 20px; color: var(--primary); }
.section-head--center + .sig-note { margin-left: auto; margin-right: auto; }
.theme-dark .sig-note { background: rgba(255, 255, 255, .06); border-color: var(--dark-line); color: var(--dark-text); }
.theme-dark .sig-note .ic { color: var(--lime); }
.sig.theme-dark { background: var(--navy-900); }

/* Omni Ads — vòng lặp mục tiêu */
.sig-rules__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.sig-rules ul { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sig-rules li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); font-size: 14px; color: #DCE6F8; }
.sig-rules li .ic { flex: none; color: var(--lime); }
.loop { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.loop__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop__track { fill: none; stroke: var(--dark-line); stroke-width: 2; stroke-dasharray: 4 8; }
.loop__spin { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .12 .88; transform-origin: 200px 200px; animation: loopSpin 9s linear infinite; }
@keyframes loopSpin { to { transform: rotate(360deg); } }
.loop__center { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad-main); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 70px rgba(7, 139, 238, .45); }
.loop__center small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.loop__center b { margin-top: 4px; font-size: 21px; color: var(--white); }
.loop__center span { font-size: 12px; color: rgba(255, 255, 255, .8); }
.loop__node { position: absolute; width: 34%; max-width: 170px; padding: 12px 14px; transform: translate(-50%, -50%); border-radius: 14px; background: var(--navy); border: 1px solid var(--dark-line); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); text-align: center; }
.loop__node span { font-size: 11px; font-weight: 800; color: var(--lime); }
.loop__node b { display: block; margin-top: 2px; font-size: 14.5px; color: var(--white); }
.loop__node small { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: var(--dark-text); }

/* Omni SEO — SEO · AEO · GEO */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trio__card { position: relative; padding: 30px 26px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); text-align: center; overflow: hidden; }
.trio__card > .ic:last-child { position: absolute; right: 18px; top: 18px; font-size: 20px; color: var(--input-border); }
.trio__ring { --p: 80%; position: relative; isolation: isolate; width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--primary) 0 var(--p), var(--line) 0); }
.trio__ring::before { content: ''; position: absolute; inset: 10px; z-index: -1; border-radius: 50%; background: var(--white); }
.trio__ring--1 { --p: 92%; } .trio__ring--2 { --p: 78%; background: conic-gradient(var(--bright) 0 var(--p), var(--line) 0); } .trio__ring--3 { --p: 64%; background: conic-gradient(var(--lime) 0 var(--p), var(--line) 0); }
.trio__ring b { font-size: 26px; font-weight: 800; color: var(--navy); }
.trio__card h3 { margin-top: 18px; font-size: 17px; }
.trio__card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.pipe { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pipe li { position: relative; padding: 18px; border-radius: 16px; background: var(--navy); color: var(--dark-text); }
.pipe li:not(:last-child)::after { content: ''; position: absolute; right: -11px; top: 50%; z-index: 1; width: 8px; height: 8px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: translateY(-50%) rotate(45deg); }
.pipe__no { font-size: 12px; font-weight: 800; color: var(--lime); }
.pipe b { display: block; margin-top: 4px; font-size: 15.5px; color: var(--white); }
.pipe small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; }

/* Omni Chat — hub kênh */
.sig__grid--hub { grid-template-columns: .8fr 1.2fr; }
.hub { position: relative; display: grid; grid-template-columns: 22fr 32fr 46fr; align-items: center; min-height: 400px; }
.hub__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__wires path { fill: none; stroke: rgba(120, 195, 255, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: hubFlow 1.6s linear infinite; }
@keyframes hubFlow { to { stroke-dashoffset: -20; } }
.hub__in { position: relative; z-index: 1; display: grid; gap: 10px; }
.hub__in li { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 9px 12px; border-radius: 10px; background: var(--navy); border: 1px solid var(--dark-line); font-size: 13.5px; font-weight: 600; color: var(--white); }
.hub__in .ic { color: var(--bright); flex: none; }
.hub__core { position: relative; z-index: 1; justify-self: center; width: 72%; max-width: 190px; aspect-ratio: 1; border-radius: 28px; background: var(--grad-main); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; box-shadow: 0 0 0 10px rgba(7, 139, 238, .12), 0 0 70px rgba(7, 139, 238, .45); }
.hub__core .pi { width: 52px; height: 52px; border-radius: 14px; font-size: 26px; background: rgba(255, 255, 255, .16) !important; }
.hub__core b { margin-top: 8px; font-size: 16px; color: var(--white); }
.hub__core small { font-size: 12px; color: rgba(255, 255, 255, .8); }
.hub__out { position: relative; z-index: 1; display: grid; gap: 10px; }
.hub__out li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--white); color: var(--text); }
.hub__out .ic { flex: none; margin-top: 1px; font-size: 20px; color: var(--primary); }
.hub__out b { display: block; font-size: 14px; color: var(--navy); }
.hub__out small { display: block; font-size: 12px; color: var(--muted); }

/* Omni Media — một đầu vào, nhiều định dạng */
.otm { display: grid; grid-template-columns: 1fr 56px 1.1fr 56px 1.6fr; align-items: center; }
.otm__label { display: block; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.otm__src, .otm__ai, .otm__out { padding: 24px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.otm__src > .ic, .otm__ai > .ic { font-size: 28px; color: var(--primary); }
.otm__src b, .otm__ai b { display: block; margin-top: 10px; font-size: 18px; color: var(--navy); }
.otm__src ul { margin-top: 12px; display: grid; gap: 6px; }
.otm__src li { position: relative; padding-left: 16px; font-size: 14px; }
.otm__src li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--bright); }
.otm__ai { background: var(--navy); border-color: transparent; color: var(--dark-text); }
.otm__ai .otm__label { color: var(--lime); }
.otm__ai > .ic { color: var(--lime); }
.otm__ai b { color: var(--white); }
.otm__ai small { display: block; font-size: 13px; }
.otm__kit { margin-top: 16px; display: flex; align-items: center; gap: 6px; }
.otm__kit span { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); }
.otm__kit img { width: 28px; margin-left: 6px; padding: 3px; border-radius: 7px; background: var(--white); }
.otm__kitlabel { margin-top: 8px; color: var(--dark-muted); font-size: 12px !important; }
.otm__arrow { display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.otm__arrow i { position: relative; display: block; width: 100%; height: 2px; background: linear-gradient(90deg, var(--bright), var(--lime)); }
.otm__arrow i::after { content: ''; position: absolute; right: -2px; top: -5px; border-left: 9px solid var(--lime); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.otm__out { display: grid; grid-template-columns: .7fr 1fr 1.5fr .85fr; gap: 10px; align-items: end; }
.otm__out .otm__label { grid-column: 1 / -1; }
.otm__frame { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; border-radius: 10px; color: var(--white); overflow: hidden; }
.otm__frame > span { position: absolute; left: 50%; top: 40%; width: 28px; height: 28px; transform: translate(-50%, -50%); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .25); font-size: 13px; }
.otm__frame b { font-size: 13px; }
.otm__frame small { font-size: 10.5px; line-height: 1.2; opacity: .85; }
.otm__frame--a { aspect-ratio: 9 / 16; background: var(--grad-tech); }
.otm__frame--b { aspect-ratio: 1; background: var(--grad-main); }
.otm__frame--c { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #082B70, #078BEE); }
.otm__frame--d { aspect-ratio: 4 / 5; background: var(--grad-accent); }

/* Omni Work — các lớp tới Control Tower */
.tower { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tower__stage { position: relative; height: 400px; perspective: 1400px; }
.tower__stack { position: absolute; left: 50%; top: 62%; width: 260px; height: 260px; margin: -130px 0 0 -130px; transform: rotateX(58deg) rotateZ(-40deg); transform-style: preserve-3d; }
.tower__plate { position: absolute; inset: 0; padding: 16px; border-radius: 26px; border: 1px solid rgba(120, 180, 255, .4); background-color: rgba(7, 139, 238, .14); background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; transform: translateZ(var(--z)); transition: transform 1s var(--ease); }
.tower__plate span { font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.tower__plate--4 { background-color: rgba(168, 240, 0, .16); border-color: var(--lime); box-shadow: 0 0 50px rgba(168, 240, 0, .25); }
.tower__plate--4 span { color: var(--lime); }
.js .tower__stage:not(.is-in) .tower__plate { transform: translateZ(0); }
.tower__list > li { display: grid; grid-template-columns: 36px 46px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--dark-line); }
.tower__list > li:first-child { border-top: 1px solid var(--dark-line); }
.tower__no { font-size: 14px; font-weight: 800; color: var(--lime); }
.tower__list .ic { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid var(--dark-line); color: var(--bright); }
.tower__list > li:first-child .ic { color: var(--lime); border-color: rgba(168, 240, 0, .45); }
.tower__list b { display: block; font-size: 17px; color: var(--white); }
.tower__list small { display: block; margin-top: 2px; font-size: 14px; color: var(--dark-text); }

/* Omni ERP — vòng phân hệ */
.wheel { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.wheel > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel__ring { fill: none; stroke: #C5D3E8; stroke-width: 1.5; stroke-dasharray: 3 6; }
.wheel__ring--in { stroke: var(--bright); stroke-dasharray: none; opacity: .35; }
.wheel line { stroke: #C5D3E8; stroke-width: 1.5; }
.wheel__core { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; box-shadow: 0 0 0 12px rgba(6, 69, 192, .08), var(--shadow-xl); }
.wheel__core .pi { width: 48px; height: 48px; border-radius: 13px; font-size: 24px; }
.wheel__core b { margin-top: 6px; font-size: 16px; color: var(--white); }
.wheel__core small { font-size: 11.5px; color: var(--dark-text); }
.wheel__mod { position: absolute; width: 26%; transform: translate(-50%, -50%); padding: 12px 8px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: transform var(--dur) var(--ease), border-color var(--dur); }
.wheel__mod:hover { transform: translate(-50%, -50%) scale(1.05); border-color: var(--primary); }
.wheel__mod .ic { font-size: 22px; color: var(--primary); }
.wheel__mod b { font-size: 13px; line-height: 1.3; color: var(--navy); }
.wheel__links { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wheel__links > span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wheel__links a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); transition: border-color .2s; }
.wheel__links a .pi { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
.wheel__links a:hover { border-color: var(--primary); }

/* Omni MISA — pipeline chứng từ */
.dpipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.dpipe::before { content: ''; position: absolute; left: 8%; right: 8%; top: 66px; height: 2px; background: repeating-linear-gradient(90deg, var(--bright) 0 8px, transparent 8px 14px); opacity: .5; animation: dashMove 1.2s linear infinite; }
@keyframes dashMove { to { background-position-x: 14px; } }
.dpipe__step { position: relative; z-index: 1; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dpipe__vis { position: relative; height: 92px; border-radius: 14px; background: var(--off); display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; }
.dpipe__vis > .ic { font-size: 26px; color: var(--primary); }
.dpipe__doc { position: relative; width: 46px; height: 58px; padding: 8px 6px; border-radius: 6px; background: var(--white); border: 1px solid var(--input-border); display: grid; gap: 5px; align-content: start; overflow: hidden; }
.dpipe__doc i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.dpipe__doc i:first-child { width: 60%; background: #C9DBFB; }
.dpipe__scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 86%; } }
.dpipe__no { display: block; margin-top: 16px; font-size: 12px; font-weight: 800; color: var(--primary); }
.dpipe__step b { display: block; margin-top: 4px; font-size: 16px; color: var(--navy); }
.dpipe__step small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.dpipe__step--human { border-color: rgba(168, 240, 0, .85); box-shadow: 0 0 0 4px rgba(168, 240, 0, .15); }
.dpipe__step--human .dpipe__vis { background: var(--lime-50); }
.dpipe__step--human .dpipe__vis > .ic { color: var(--lime-ink); }
.dpipe__tag { display: inline-block; margin-top: 10px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--lime-ink); background: var(--lime-50); }

/* Omni Agent — đội AI Agent */
.roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.roster__card { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); transition: border-color var(--dur), background var(--dur), transform var(--dur) var(--ease); }
.roster__card:hover { transform: translateY(-3px); border-color: rgba(7, 139, 238, .6); background: rgba(255, 255, 255, .08); }
.roster__card > .ic { font-size: 24px; color: var(--bright); }
.roster__card h3 { margin-top: 14px; font-size: 16px; }
.roster__card ul { margin-top: 10px; display: grid; gap: 6px; }
.roster__card li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.45; color: var(--dark-text); }
.roster__card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 1px; background: var(--bright); }
.roster__card--builder { background: rgba(168, 240, 0, .08); border-color: rgba(168, 240, 0, .4); }
.roster__card--builder > .ic, .roster__card--builder li::before { color: var(--lime); background-color: transparent; }
.roster__card--builder li::before { background: var(--lime); }
.orch { margin-top: 28px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); }
.orch__label { display: block; margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.orch ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.orch li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line); }
.orch li:not(:last-child)::after { content: ''; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); transform: translateY(-50%) rotate(45deg); }
.orch li .ic { font-size: 20px; color: var(--bright); }
.orch b { font-size: 14px; color: var(--white); }
.orch small { font-size: 12px; color: var(--dark-text); }
.orch__human { background: rgba(168, 240, 0, .12) !important; border-color: rgba(168, 240, 0, .5) !important; }
.orch__human .ic { color: var(--lime) !important; }
.sig--roster .sig-note { margin: 24px auto 0; }

/* Omni Office — văn phòng ảo */
.floor { perspective: 1200px; }
.floor__iso { position: relative; width: 340px; height: 340px; margin: 30px auto 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; border-radius: 30px; background: linear-gradient(135deg, #E3ECF8, #F4F8FD); border: 1px solid #D6E2F2; box-shadow: 30px 30px 60px rgba(8, 43, 112, .18); transform: rotateX(56deg) rotateZ(-42deg); transform-style: preserve-3d; }
.floor__room { position: relative; padding: 12px; border-radius: 18px; border: 2px solid; transform: translateZ(8px); box-shadow: 6px 6px 0 rgba(8, 43, 112, .12); }
.floor__room--1 { background: #EAF2FF; border-color: #C9DBFB; }
.floor__room--2 { background: var(--lime-50); border-color: #DDF5A8; }
.floor__room--3 { background: var(--bright-50); border-color: #BFE3FB; }
.floor__room--4 { background: #EEF1F7; border-color: #D6DDEA; }
.floor__name { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.floor__desks { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.floor__desks i { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-main); box-shadow: 3px 3px 0 rgba(6, 69, 192, .3); }
.floor__desks i.is-busy { background: var(--lime); box-shadow: 3px 3px 0 rgba(76, 112, 0, .3); }
.floor__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; font-weight: 600; color: var(--navy); }
.floor__dot { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; }
.floor__dot--1 { background: #C9DBFB; } .floor__dot--2 { background: #C6EE6E; } .floor__dot--3 { background: #9FD3FA; } .floor__dot--4 { background: #C5CEDD; }
.rel { margin-top: 28px; display: grid; gap: 10px; max-width: 460px; }
.rel__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); transition: border-color .2s; }
.rel__item .pi { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
.rel__item b { display: block; font-size: 16px; color: var(--navy); }
.rel__item small { display: block; font-size: 13px; color: var(--muted); }
a.rel__item:hover { border-color: var(--primary); }
.rel__item--self { border-color: rgba(6, 69, 192, .35); box-shadow: 0 0 0 4px rgba(6, 69, 192, .08); }
.rel__link { justify-self: center; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); font-size: 18px; }

/* ---------- Responsive v2 ---------- */
@media (max-width: 1080px) {
  .ph__grid, .sig__grid, .sig__grid--hub, .tower { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ph__chips { display: none; }
  .ftabs { grid-template-columns: minmax(0, 1fr); }
  .ftabs__nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .ftabs__tab { flex: none; width: 240px; }
  .fbento, .fbento--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb--lead { grid-row: auto; }
  .vstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .vstrip__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .pipe, .dpipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe li:not(:last-child)::after, .dpipe::before { display: none; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orch ol { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .orch li { flex-direction: row; align-items: center; gap: 10px; }
  .orch li small { margin-left: auto; }
  .orch li:not(:last-child)::after { right: auto; left: 22px; top: auto; bottom: -8px; transform: rotate(135deg); }
  .otm { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .otm__arrow { height: 44px; }
  .otm__arrow i { width: 2px; height: 100%; background: linear-gradient(180deg, var(--bright), var(--lime)); }
  .otm__arrow i::after { right: -5px; top: auto; bottom: -2px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--lime); border-bottom: 0; }
}
@media (max-width: 640px) {
  .ph { padding: 24px 0 64px; }
  .ph h1 { font-size: clamp(36px, 10vw, 46px); }
  .ph .hero__actions .btn { flex: 1 1 100%; }
  .ftabs__panel { padding: 24px 20px; }
  .ftabs__panel ul { grid-template-columns: minmax(0, 1fr); }
  .fbento, .fbento--2, .fbento--3, .trio, .roster, .pipe, .dpipe, .vstrip { grid-template-columns: minmax(0, 1fr); }
  .fb--lead { grid-column: auto; }
  .vstrip__item { padding: 0; border-left: 0; }
  .sig-rules ul { grid-template-columns: minmax(0, 1fr); }
  .loop { width: 92%; }
  .loop__node { width: 33%; padding: 8px 6px; }
  .loop__node b { font-size: 12.5px; }
  .loop__node small { display: none; }
  .loop__center b { font-size: 16px; }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 0; }
  .hub__wires { display: none; }
  .hub__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .hub__core { width: 160px; }
  .otm__out { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .otm__frame { padding: 6px; }
  .otm__frame small { display: none; }
  .tower__stage { height: 300px; }
  .tower__stack { transform: scale(.78) rotateX(58deg) rotateZ(-40deg); }
  .floor__iso { width: 260px; height: 260px; margin: 10px auto 40px; }
  .wheel__mod { padding: 8px 4px; }
  .wheel__mod b { font-size: 11px; }
}
