/* DIGO — AIoT × Digital Twin. Tokens & rationale: design-system/MASTER.md
   Brand (từ Figma): vàng #FDC747 · nền đen #06060A · xám than #363535 */
:root {
  --stage: radial-gradient(ellipse 75% 65% at 50% 38%, #2d2f3d 0%, #161722 78%);
  --bg: #06060A;
  --bg-2: #0E0F15;
  --bg-3: #15161D;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .12);
  --border-strong: rgba(253, 199, 71, .5);
  --text: #F2F1EC;
  --muted: #A9A79F;
  --gold: #FDC747;
  --gold-2: #F5A524;
  --gold-text: #FDC747;         /* màu chữ vàng trên nền tối */
  --on-gold: #1A1303;           /* chữ trên nút vàng */
  --green: #34D399;
  --orange: #FB923C;
  --red: #F87171;
  --grad: linear-gradient(120deg, #FFE08A 0%, #FDC747 45%, #F5A524 100%);
  --font-head: 'Roboto', 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r-sm: 12px; --r-md: 20px;
  --pad: clamp(64px, 9vw, 112px);
  color-scheme: dark;
}
/* Section sáng (giống khối nền trắng trong Figma) */
.section--light {
  --bg: #fff; --bg-2: #F5F6F8; --text: #0A0808; --muted: #4A4F5B;
  --surface: #F5F6F8; --surface-2: #ECEEF2; --border: rgba(10, 8, 8, .12);
  --gold-text: #8A5A00; --border-strong: rgba(138, 90, 0, .55);
  background: #fff; color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xl { width: 72px; height: 72px; stroke-width: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-only::after { display: none; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--grad); color: var(--on-gold); box-shadow: 0 8px 30px -8px rgba(253, 199, 71, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(253, 199, 71, .8); }
.btn--ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(6, 6, 10, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(6, 6, 10, .92); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a:not(.btn) { position: relative; padding: 10px 12px; border-radius: 999px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: color .2s, background .2s; }
.nav__links a:not(.btn):hover { background: rgba(253, 199, 71, .1); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav__cta { margin-left: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--gold); align-items: center; justify-content: center; }
@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; }
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: rgba(6, 6, 10, .98); border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 8px; font-size: 16px; border-radius: 10px; }
  .nav__links a[aria-current="page"]::after { left: 8px; right: auto; width: 28px; bottom: 6px; }
  .nav__cta { margin: 12px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--pad); position: relative; background: var(--bg); color: var(--text); }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.section--slate { background: #363535; --bg: #363535; --muted: #D7D4CB; --surface: rgba(255, 255, 255, .06); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 18px; }
h2 b { font-weight: 700; }
h2::after { content: ''; display: block; width: 96px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 18px; }
.section__head--center h2::after { margin-inline: auto; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 66ch; }

/* ---------- Hero (trang chủ) ---------- */
.hero { position: relative; padding: 128px 0 56px; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 78% 25%, rgba(253, 199, 71, .13), transparent 70%), var(--bg); }
.hero__grid { 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: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 700; margin-bottom: 22px; letter-spacing: -.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.protocols { display: flex; flex-wrap: wrap; gap: 8px; }
.protocols li { font: 400 12px/1 var(--font-mono); padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--surface); }
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 980px) {
  .hero { padding-top: 104px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
.flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; position: relative; }
.flow li { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; position: relative; font-size: 14px; color: var(--muted); }
.flow li + li { border-left: 1px solid var(--border); }
.flow li + li::before { content: ''; position: absolute; left: -5px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); box-shadow: 0 0 12px var(--gold); }
.flow b { font: 600 18px/1.3 var(--font-head); color: var(--text); }
.flow__n { font: 500 12px/1 var(--font-mono); color: var(--gold); margin-bottom: 6px; }
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .flow li:nth-child(3)::before { display: none; }
}

/* isometric scene */
.iso-floor line { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.iso-edge { fill: rgba(253,199,71,.04); stroke: rgba(253,199,71,.4); stroke-width: 1.2; }
.iso-shadow polygon { fill: rgba(0,0,0,.55); filter: blur(3px); }
.iso-face { fill: #FDC747; stroke: rgba(253,199,71,.75); stroke-width: 1; stroke-linejoin: round; transition: fill .2s; }
.iso-box { cursor: pointer; }
.iso-box.is-hover .iso-face { fill: #FFE08A; stroke: #fff; }
.iso-box.is-sel .iso-face { stroke: #fff; stroke-width: 1.8; }
.iso-stem { stroke: rgba(253,199,71,.7); stroke-dasharray: 2 3; }
.iso-core { fill: var(--gold); pointer-events: none; }
.iso-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; pointer-events: none; }
.iso-leader { stroke: rgba(253,199,71,.45); stroke-width: 1; pointer-events: none; }
.iso-tag { pointer-events: none; }
.iso-tag rect { fill: rgba(6,6,10,.9); stroke: rgba(253,199,71,.45); transition: stroke .2s; }
.iso-tag.is-hover rect { stroke: #fff; stroke-width: 1.5; fill: rgba(38,28,4,.96); }
.iso-tag text { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); }
.iso-tag text.v { fill: var(--text); font-weight: 500; }
.iso-tag circle { fill: var(--green); }
.iso-tag.warn circle { fill: var(--orange); }
.iso-path { fill: none; stroke: rgba(253,199,71,.4); stroke-width: 1.2; stroke-dasharray: 3 5; pointer-events: none; }
.iso-packet { fill: #fff; filter: drop-shadow(0 0 4px var(--gold)); pointer-events: none; }
.iso-hub polygon { fill: rgba(253,199,71,.3); stroke: var(--gold); stroke-width: 1.4; }
.iso-hub text { fill: var(--gold); font: 11px var(--font-mono); }
/* khung tương tác của cảnh 3D */
.hero__visual { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; border-radius: var(--r-md); }
.hero__visual.is-drag { cursor: grabbing; }
.hero__visual:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.twin__ctl { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 6px; }
.twin__ctl button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: rgba(6,6,10,.8); color: var(--gold); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .2s, background .2s, transform .2s; }
.twin__ctl button:hover { border-color: var(--gold); background: rgba(253,199,71,.12); transform: translateY(-2px); }
.twin__ctl .ico { width: 18px; height: 18px; }
.twin__info { position: absolute; left: 4px; bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: calc(100% - 290px); min-height: 40px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(6,6,10,.8); font-size: 12.5px; pointer-events: none; }
.twin__info b { font-weight: 600; }
.twin__info .mono { color: var(--gold); }
.twin__info .hint { color: var(--muted); }
.twin__info .status { padding: 3px 8px; font-size: 11px; font-style: normal; }
@media (max-width: 640px) { .hero__visual { padding-bottom: 104px; } .twin__info { max-width: calc(100% - 4px); bottom: 52px; } .twin__ctl { left: 4px; right: 4px; justify-content: center; } }

/* ---------- Page hero (trang con) ---------- */
.page-hero { position: relative; padding: 140px 0 72px; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(253,199,71,.14), transparent 65%), linear-gradient(180deg, #06060A, #0A1020 120%); border-bottom: 1px solid var(--border); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 300; text-transform: uppercase; max-width: 22ch; margin-bottom: 20px; }
.page-hero h1 b { font-weight: 700; color: var(--gold); }
.page-hero .lead { max-width: 64ch; }

/* ---------- Cards ---------- */
.card { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card h3 { font-size: 20px; font-weight: 500; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: #06060A; border: 1px solid rgba(253,199,71,.45); color: var(--gold); }
.card__ico .ico { width: 26px; height: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font: 400 12px/1 var(--font-mono); padding: 7px 11px; border-radius: 999px; background: rgba(253,199,71,.1); color: var(--gold-text); border: 1px solid rgba(253,199,71,.3); }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(253,199,71,.12), transparent 60%); }
.spot:hover::after { opacity: 1; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card--xl { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 36px; background: linear-gradient(160deg, rgba(253,199,71,.1), rgba(245,165,36,.03) 55%, var(--surface)); }
.card--xl h3 { font-size: 28px; }
.card--xl p { max-width: 46ch; font-size: 16px; }
.card__deco { position: absolute; right: -10px; bottom: -6px; width: min(62%, 340px); color: rgba(253,199,71,.4); pointer-events: none; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .card--xl { grid-column: span 2; grid-row: auto; min-height: 320px; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card--xl { grid-column: auto; padding: 28px; } }

/* trụ cột (khối sáng) */
.pillar { text-align: left; }
.pillar .card__ico { margin-bottom: 4px; }
.pillar h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pillar .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--gold-text); }
.pillar .more:hover { gap: 10px; }
.section--light .card:hover { box-shadow: 0 18px 40px -22px rgba(10,8,8,.35); }

/* ---------- Band ảnh ---------- */
.band { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: #06060A; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,10,.1) 0%, rgba(6,6,10,.55) 55%, #06060A 100%); }
.band .container { position: relative; z-index: 1; padding-block: 56px; }

/* ---------- Mục tiêu / text blocks ---------- */
.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); }
.statement { font: 300 clamp(20px, 2.4vw, 28px)/1.5 var(--font-head); max-width: 64ch; margin-inline: auto; text-align: center; color: var(--text); }
.statement b { color: var(--gold); font-weight: 500; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.logos li { padding: 12px 22px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 500 15px/1 var(--font-head); letter-spacing: .04em; }

/* ---------- Platform stack diagram ---------- */
.stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; perspective: 1400px; }
.stack__col { position: relative; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 20px 16px 18px; }
.stack__tag { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; color: var(--gold); }
.stack__col h3 { font-size: 17px; font-weight: 700; margin: 8px 0 14px; text-transform: uppercase; }
.stack__col ul { display: grid; gap: 8px; }
.stack__col li { font-size: 13px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text); line-height: 1.4; }
.stack__col li small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.stack__col--core { border-color: rgba(253,199,71,.55); background: linear-gradient(180deg, rgba(253,199,71,.1), var(--surface)); }
@media (max-width: 1060px) {
  .stack { grid-template-columns: 1fr 1fr; }
  .stack__link { display: none; }
}
@media (max-width: 600px) { .stack { grid-template-columns: 1fr; } }
.stack__note { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.stack__note li { font: 400 12px/1 var(--font-mono); padding: 8px 12px; border: 1px dashed rgba(253,199,71,.5); border-radius: 999px; color: var(--gold); }

.stack__col { --lift: 0px; transform-style: preserve-3d; animation: stage 8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.4s); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 30px -22px rgba(0,0,0,.9); transition: opacity .25s, border-color .25s, box-shadow .25s; }
.stack__col li { transform: translateZ(14px); transition: transform .25s, border-color .25s, background .25s; }
.stack__col:hover { border-color: var(--gold); animation-play-state: paused; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 44px -22px rgba(253,199,71,.45); z-index: 2; }
.stack__col:hover li { transform: translateZ(26px); }
.stack__col li:hover { border-color: var(--gold); background: rgba(253,199,71,.12); transform: translateZ(40px) scale(1.03); }
.stack:has(.stack__col:hover) .stack__col:not(:hover) { opacity: .5; }
.stack:hover .stack__col { animation-play-state: paused; }
@keyframes stage {
  0%, 24%, 100% { border-color: var(--border); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 30px -22px rgba(0,0,0,.9); }
  8%, 15% { border-color: rgba(253,199,71,.85); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 34px -4px rgba(253,199,71,.5), 0 22px 30px -22px rgba(0,0,0,.9); }
}
.stack__link { position: absolute; top: 50%; right: -28px; width: 28px; height: 2px; transform: translateZ(0); background: repeating-linear-gradient(90deg, rgba(253,199,71,.55) 0 5px, transparent 5px 9px); pointer-events: none; }
.stack__link::after { content: ''; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--gold); border-block: 5px solid transparent; }
.stack__link b { position: absolute; top: -3px; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--gold); opacity: 0; animation: pkt 1.8s linear infinite; animation-delay: calc(var(--n) * .6s); }
@keyframes pkt { 0% { left: -4px; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 24px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stack__col, .stack__link b { animation: none !important; } .stack__link b { opacity: 1; left: 10px; } }

/* ---------- Feature grid ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fgrid li { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: border-color .25s, transform .25s; }
.fgrid li:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fgrid h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.fgrid p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(253,199,71,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDC747' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.visual { aspect-ratio: 1.2; border-radius: var(--r-md); border: 1px dashed rgba(253,199,71,.4); display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 50% 50%, rgba(253,199,71,.16), transparent 65%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px; }

/* ---------- Ngành (industries) ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-weight: 500; font-size: 15px; transition: border-color .2s, transform .2s; }
.industries li:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.industries .ico { color: var(--gold); width: 24px; height: 24px; }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Orbit (dịch vụ AIoT) ---------- */
.orbit { position: relative; width: min(100%, 620px); height: 600px; margin-inline: auto; --rx: 240px; }
.orbit::before { content: ''; position: absolute; left: 50%; top: 50%; width: calc(var(--rx) * 2); height: calc(var(--rx) * 2); transform: translate(-50%, -50%); border: 1px dashed rgba(253,199,71,.4); border-radius: 50%; }
.orbit__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #fff, #D9DDE6 60%, #9AA2B2); color: #1b2440; font: 700 clamp(22px, 4.5vw, 38px)/1 var(--font-head); box-shadow: 0 0 0 10px rgba(253,199,71,.25), 0 0 60px 8px rgba(253,199,71,.35); }
.orbit__core small { display: block; font: 500 11px/1.3 var(--font-mono); color: #5a6070; margin-top: 4px; letter-spacing: .08em; }
.orbit__nodes li { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--spin, 0deg))) translateX(var(--rx)) rotate(calc((var(--a) + var(--spin, 0deg)) * -1)); cursor: default; outline: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; text-align: center; font-size: 13px; font-weight: 600; }
.orbit__nodes li span { transition: transform .25s, box-shadow .25s, border-color .25s; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #0E0F15; border: 1px solid rgba(253,199,71,.6); color: var(--gold); box-shadow: 0 0 24px -4px rgba(253,199,71,.5); }
@property --spin { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes orbit-spin { to { --spin: 360deg; } }
@keyframes comet { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit--live .orbit__nodes { animation: orbit-spin 80s linear infinite; }
.orbit:hover .orbit__nodes, .orbit:focus-within .orbit__nodes { animation-play-state: paused; }
.orbit::after { content: ''; position: absolute; left: 50%; top: 50%; width: calc(var(--rx) * 2); height: calc(var(--rx) * 2); border-radius: 50%; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, transparent 0 78%, rgba(253,199,71,.95) 100%); -webkit-mask: radial-gradient(circle, transparent calc(50% - 3px), #000 calc(50% - 2px) 50%, transparent calc(50% + 1px)); mask: radial-gradient(circle, transparent calc(50% - 3px), #000 calc(50% - 2px) 50%, transparent calc(50% + 1px)); animation: comet 7s linear infinite; pointer-events: none; }
.orbit__core { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(253,199,71,.12), 0 0 80px 14px rgba(253,199,71,.45); } }
.orbit__nodes li:hover span, .orbit__nodes li:focus-visible span { transform: scale(1.22) translateZ(0); border-color: var(--gold); box-shadow: 0 0 34px 2px rgba(253,199,71,.8); }
.orbit__nodes li small { position: absolute; top: calc(100% - 4px); left: 50%; transform: translate(-50%, 6px); width: 150px; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(253,199,71,.5); background: rgba(6,6,10,.95); color: var(--text); font: 400 12px/1.4 var(--font-body); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 3; }
.orbit__nodes li:hover small, .orbit__nodes li:focus-visible small { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .orbit::after, .orbit__core { animation: none !important; } }
@media (max-width: 640px) {
  .orbit::after { display: none; }
  .orbit__nodes li small { display: none; }
  .orbit { height: auto; display: grid; gap: 24px; }
  .orbit::before { display: none; }
  .orbit__core { position: static; transform: none; width: 150px; justify-self: center; }
  .orbit__nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .orbit__nodes li { position: static; transform: none; width: auto; }
}

/* ---------- Dịch vụ giá trị gia tăng / persona ---------- */
.vas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vas li { padding: 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.vas .card__ico { width: 48px; height: 48px; }
.vas h3 { font-size: 18px; font-weight: 700; }
.vas p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .vas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vas { grid-template-columns: 1fr; } }
.persona { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; }
.persona__who { text-align: center; padding: 28px 18px; border-radius: var(--r-md); border: 1px solid rgba(253,199,71,.5); background: rgba(253,199,71,.08); color: var(--gold); font: 500 20px/1.4 var(--font-head); }
.persona__who .ico { width: 56px; height: 56px; margin: 0 auto 12px; stroke-width: 1.3; }
.persona ul { display: grid; gap: 12px; }
.persona li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--gold); font-size: 16px; }
.persona li .ico { margin-top: 3px; }
.persona__out { margin-top: 20px; padding: 20px 22px; border-radius: 14px; border: 1px dashed rgba(253,199,71,.6); color: var(--gold); display: flex; gap: 14px; align-items: flex-start; }
@media (max-width: 800px) { .persona { grid-template-columns: 1fr; } }

/* ---------- AI Vision ---------- */
.ai-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: m; }
.ai-modes li { counter-increment: m; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); font-weight: 500; }
.ai-modes li::before { content: '0' counter(m); display: block; font: 500 12px/1 var(--font-mono); color: var(--gold); margin-bottom: 10px; }
@media (max-width: 760px) { .ai-modes { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.chips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.scen h3 { font-size: 19px; font-weight: 700; margin: 14px 0 12px; }
.scen ul { display: grid; gap: 7px; }
.scen li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; }
.scen li::before { content: ''; position: absolute; left: 0; top: .72em; width: 6px; height: 2px; background: var(--gold); }

/* ---------- Sản phẩm ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.subnav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.subnav a:hover { border-color: var(--border-strong); color: var(--gold); }
.product { display: flex; flex-direction: column; gap: 12px; }
.product h3 { font-size: 18px; font-weight: 700; margin: 0; }
.product p { font-size: 14.5px; color: var(--muted); }
.product .card__ico { width: 48px; height: 48px; }
.product__tag { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--gold-text); text-transform: uppercase; }
.group-title { display: flex; align-items: center; gap: 14px; margin: 56px 0 24px; font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--font-head); text-transform: uppercase; }
.group-title:first-of-type { margin-top: 0; }
.group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }

/* ---------- Console ---------- */
.console { border: 1px solid var(--border); border-radius: var(--r-md); background: linear-gradient(180deg, #0E0F15, #08080C); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(253,199,71,.3); color: var(--text); }
.console__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 13px; }
.console__bar .badge { margin-left: auto; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(253,199,71,.5); color: var(--gold); font: 500 11px/1 var(--font-mono); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-mono); color: var(--green); text-transform: uppercase; letter-spacing: .1em; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
.console__body { display: grid; grid-template-columns: 320px 1fr; min-height: 460px; }
.sensors { border-right: 1px solid var(--border); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.sensors button { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; min-height: 56px; transition: background .2s, border-color .2s; }
.sensors button:hover { background: var(--surface); }
.sensors button[aria-pressed="true"] { background: rgba(253,199,71,.09); border-color: rgba(253,199,71,.4); }
.sensors .s-name { font-weight: 600; font-size: 14px; }
.sensors .s-id { grid-column: 1; font: 400 11px/1.2 var(--font-mono); color: var(--muted); }
.sensors .s-val { grid-row: 1 / span 2; grid-column: 2; font: 500 15px/1 var(--font-mono); display: flex; align-items: center; gap: 8px; }
.sensors .s-val::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.sensors .is-warn .s-val::before { background: var(--orange); }
.sensors .is-crit .s-val::before { background: var(--red); }
.detail { padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.detail__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.detail h3 { font-size: 24px; font-weight: 500; margin-top: 4px; }
.status { padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--font-mono); border: 1px solid; white-space: nowrap; }
.status.ok { color: var(--green); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.status.warn { color: var(--orange); border-color: rgba(251,146,60,.45); background: rgba(251,146,60,.08); }
.status.crit { color: var(--red); border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }
.detail__val { display: flex; align-items: baseline; gap: 8px; }
.detail__val #dVal { font-size: clamp(40px, 6vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.chart { width: 100%; height: 160px; border-radius: 12px; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0/100% 40px; border: 1px solid var(--border); }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .thr { stroke: var(--orange); stroke-dasharray: 5 5; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .8; }
.alerts { display: grid; gap: 8px; margin-top: 4px; }
.alerts li { display: flex; gap: 12px; align-items: baseline; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.alerts time { font: 400 12px/1 var(--font-mono); color: var(--muted); flex: none; }
.alerts .lv { font: 500 11px/1 var(--font-mono); flex: none; }
.alerts .lv.info { color: var(--gold); } .alerts .lv.warn { color: var(--orange); } .alerts .lv.crit { color: var(--red); }
@media (max-width: 860px) {
  .console__body { grid-template-columns: 1fr; }
  .sensors { border-right: 0; border-bottom: 1px solid var(--border); flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding: 10px; }
  .sensors li { flex: none; width: 240px; scroll-snap-align: start; }
  .console__bar .badge { margin-left: 0; }
}

/* ---------- Cam kết / CTA / form ---------- */
.cta { background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(253,199,71,.14), transparent 60%), var(--bg-2); border-top: 1px solid var(--border); }
.cta__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.commit { margin-top: 24px; display: grid; gap: 10px; }
.contact { margin-top: 24px; display: grid; gap: 12px; }
.contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.contact .ico { color: var(--gold); margin-top: 3px; }
.contact a:hover { color: var(--text); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--r-md); background: rgba(6,6,10,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form .opt { font-weight: 400; opacity: .8; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, background .2s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:hover, .form textarea:hover { border-color: rgba(255,255,255,.3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(253,199,71,.2); }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form__msg { font-size: 14px; min-height: 20px; color: var(--green); }
.form__msg.err { color: var(--red); }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

.company { display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; font-size: 15px; }
.company dt { color: var(--muted); }
.company dd { margin: 0; }
@media (max-width: 560px) { .company { grid-template-columns: 1fr; gap: 2px; } .company dd { margin-bottom: 12px; } }

.doc { max-width: 780px; }
.doc h2 { font-size: 26px; margin: 48px 0 16px; text-transform: none; font-weight: 700; }
.doc h2:first-child { margin-top: 0; }
.doc h2::after { width: 56px; height: 3px; margin-top: 12px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(251,146,60,.5); background: rgba(251,146,60,.08); color: var(--orange); font-size: 14px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: #06060A; border-top: 1px solid var(--border); color: var(--text); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer__brand h2 { font: 700 13px/1.4 var(--font-head); color: var(--gold); text-transform: none; letter-spacing: .04em; margin-bottom: 14px; }
.footer__brand h2::after { display: none; }
.footer__brand .contact { margin-top: 0; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h3 { font: 700 13px/1 var(--font-head); color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__legal { border-top: 1px solid var(--border); padding-block: 22px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.8; }
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Trust bar / marquee / badges ---------- */
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.trust { background: var(--bg-2); border-block: 1px solid var(--border); }
.trust__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding-block: 22px; }
.trust__label { font: 500 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 11ch; }
.marquee { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; flex: none; gap: 12px; min-width: 100%; padding-right: 12px; animation: marquee 32s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.cust { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: 500 15px/1.2 var(--font-head); letter-spacing: .02em; white-space: nowrap; color: var(--text); }
.cust img { height: 28px; width: auto; }
.custs { display: flex; flex-wrap: wrap; gap: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(253,199,71,.55); background: rgba(253,199,71,.08); color: var(--gold); font: 500 13px/1 var(--font-mono); white-space: nowrap; }
.badges .ico { width: 16px; height: 16px; }
.badges--footer { margin-top: 18px; }
@media (max-width: 1000px) { .trust__inner { grid-template-columns: 1fr; } .trust__label { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee__track { animation: none; flex-wrap: wrap; } .marquee__track[aria-hidden="true"] { display: none; } }

/* ---------- Feed / Mới nhất ---------- */
.feed { display: flex; flex-direction: column; gap: 10px; }
.feed__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 12px/1 var(--font-mono); color: var(--muted); }
.feed__top time { margin-left: auto; }
.feed__kind { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.feed__kind .ico { width: 16px; height: 16px; }
.feed__tag--soon { padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(251,146,60,.5); color: var(--orange); }
.feed h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.feed h3 a:hover, .timeline h3 a:hover { color: var(--gold); }
.feed p { font-size: 14.5px; color: var(--muted); }

/* ---------- Giải pháp đóng gói ---------- */
.sols { align-items: stretch; }
.sol { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.sol__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sol__sector { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sol h3 { margin: 4px 0 0; font-size: 24px; font-weight: 700; }
.sol__blk { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.sol__blk b { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.sol__blk p { font-size: 14.5px; color: var(--text); }
.sol__blk--pain { border-left: 3px solid var(--orange); }
.sol__blk--pain b { color: var(--orange); }
.sol__blk--digo { border-left: 3px solid var(--gold); }
.sol__blk--digo b { color: var(--gold); }
.sol .cust { min-height: 32px; padding: 5px 12px; font-size: 13px; }
.sol .more { margin-top: auto; padding-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gold-text); transition: gap .2s; }
.more:hover { gap: 10px; }
.more .ico { width: 16px; height: 16px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.compare thead th { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: var(--surface); }
.compare tbody th a { font: 700 16px/1.3 var(--font-head); }
.compare tbody th a:hover { color: var(--gold); }
.compare td { color: var(--muted); }
.compare tr:last-child > * { border-bottom: 0; }

/* trang chi tiết giải pháp */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.pain { padding: 28px; border: 1px solid var(--border); border-top: 3px solid var(--orange); border-radius: var(--r-md); background: var(--surface); }
.pain__n { display: block; font: 500 13px/1 var(--font-mono); color: var(--orange); margin-bottom: 14px; }
.pain p { font-size: 16px; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }
.split--top { align-items: start; }
.stackcol { display: grid; gap: 28px; }
.mini { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.metrics { display: grid; gap: 10px; }
.metrics li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: rgba(253,199,71,.08); border: 1px solid rgba(253,199,71,.35); font-weight: 600; }
.metrics .ico { color: var(--gold); margin-top: 3px; }
.custcard { display: flex; flex-direction: column; gap: 12px; }
.custcard .cust { font-size: 17px; }
.custcard p { font-size: 14.5px; }
blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--muted); font-style: italic; font-size: 14.5px; }
.others { list-style: none; padding: 0; }
.others a { display: block; height: 100%; }
.others h3 { margin: 14px 0 8px; font-size: 18px; }
.group-link { margin-left: auto; font: 600 14px/1 var(--font-body); text-transform: none; color: var(--gold); }
.group-title .ico { color: var(--gold); width: 28px; height: 28px; }

/* ---------- Chứng nhận ---------- */
.certs { margin-top: 8px; }
.cert { display: flex; flex-direction: column; gap: 10px; }
.cert h3 { font-size: 26px; font-weight: 700; margin: 14px 0 0; }
.cert__title { color: var(--gold); font-weight: 600; }
.cert__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 8px 0 0; font-size: 14px; }
.cert__meta dt { color: var(--muted); }
.cert__meta dd { margin: 0; }
.cert__scope { font-size: 14px; color: var(--muted); }
.cert__links { display: flex; gap: 20px; margin-top: 4px; }

/* ---------- Số liệu ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stats li { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.stat__v, .stat__s { font: 700 clamp(36px, 4.5vw, 52px)/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Timeline tin tức ---------- */
.chips.filters { margin-bottom: 32px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--border-strong); }
.chip.is-on { background: var(--grad); color: var(--on-gold); border-color: transparent; }
.timeline { position: relative; display: grid; gap: 20px; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), transparent); }
.timeline__item { position: relative; }
.timeline__item[hidden] { display: none; }
.timeline__dot { position: absolute; left: -28px; top: 18px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #06060A; border: 1px solid var(--gold); color: var(--gold); }
.timeline__dot .ico { width: 12px; height: 12px; }
.timeline h3 { font-size: 19px; font-weight: 500; margin: 12px 0 8px; }
.timeline p { font-size: 14.5px; color: var(--muted); }

/* ---------- Bộ đếm truy cập ---------- */
.visitors { margin: 0 auto 22px; max-width: 560px; }
.visitors h3 { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.visitors ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.visitors li { padding: 10px 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.visitors li[hidden] { display: none; }
.visitors span { display: block; font: 500 18px/1.1 var(--font-mono); color: var(--text); }
.visitors small { font-size: 11px; color: var(--muted); }

/* ---------- Nghiêng 3D ---------- */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out, border-color .25s, box-shadow .25s, opacity .25s; will-change: transform; }
.card.tilt:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: 0 28px 44px -26px rgba(253,199,71,.4); }
.stack__col.tilt { transform-style: preserve-3d; }

/* ---------- Motion ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Đợt 1: trạng thái, bộ lọc, sản phẩm, SHTT, lãnh đạo ---------- */
[hidden] { display: none !important; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 500 11px/1 var(--font-mono); letter-spacing: .04em; border: 1px solid; white-space: nowrap; vertical-align: middle; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--green); border-color: rgba(52,211,153,.45); background: rgba(52,211,153,.08); }
.st--pilot { color: var(--orange); border-color: rgba(251,146,60,.5); background: rgba(251,146,60,.08); }
.st--tech { color: var(--gold); border-color: rgba(253,199,71,.5); background: rgba(253,199,71,.08); }
.st--idea { color: #9DB4FF; border-color: rgba(157,180,255,.45); background: rgba(157,180,255,.08); }
.eyebrow .st { margin-left: 6px; letter-spacing: .02em; text-transform: none; }
.sol__head { gap: 10px; }
.sol__sector { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.sol h3 { margin-top: 0; }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.fbar__l { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 92px; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 24px; margin: 22px 0 32px; padding: 16px 18px; border: 1px dashed var(--border); border-radius: var(--r-sm); }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.note { max-width: 70ch; margin-top: 14px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 14px; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 0 0 24px; }
.pcard > :not(.pcard__img) { margin-inline: 24px; }
.pcard__img { display: flex; align-items: center; justify-content: center; height: 200px; padding: 14px; background: var(--stage); overflow: hidden; border-bottom: 1px solid var(--border); }
.pcard__img img { width: auto; height: auto; max-width: 100%; max-height: 172px; object-fit: contain; transition: transform .5s; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .4)); }
.pcard__img img[src$=".jpg"] { border-radius: 8px; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); background: radial-gradient(circle at 50% 50%, rgba(253,199,71,.14), transparent 65%), #0E0F15; }
.pcard h3 { margin: 0; font-size: 20px; font-weight: 700; }
.pcard h3 a:hover { color: var(--gold); }
.pcard p { font-size: 14.5px; color: var(--muted); flex: 1; }
.product__tag { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; color: var(--gold-text); text-transform: uppercase; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.pdp__img { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--stage); box-shadow: 0 40px 80px -40px rgba(253,199,71,.35); }
.pdp__img img { width: 100%; height: auto; display: block; }
.pdp__img .pcard__ph { aspect-ratio: 4 / 3; }
.pdp__fig { margin: 0; max-width: 960px; background: var(--stage); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.pdp__fig img { width: 100%; height: auto; display: block; }
.pdp__fig figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); background: var(--surface); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__img { order: -1; } }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.specs th { width: 30%; color: var(--gold); font-weight: 600; white-space: nowrap; }
.specs td { color: var(--text); }
.specs tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) { .specs th { white-space: normal; width: 38%; } }
.partner h3 { margin: 10px 0 8px; font-size: 20px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.person b { font: 700 18px/1.3 var(--font-head); }
.person span:not(.person__av) { color: var(--gold); font-size: 14px; }
.person__av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; font: 700 17px/1 var(--font-head); color: var(--on-gold); background: var(--grad); }

/* ---------- Sơ đồ lớp kiến trúc (ITS, Voice AI) ---------- */
.layers__wrap { display: grid; grid-template-columns: 1fr; gap: 20px; }
.layers__wrap:has(.layers__side) { grid-template-columns: minmax(0, 1fr) 260px; }
.layers { display: grid; gap: 18px; counter-reset: ly; }
.layer { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: visible; transition: border-color .25s, transform .25s, box-shadow .25s; }
.layer:not(:last-child)::after { content: ''; position: absolute; left: 100px; bottom: -19px; width: 2px; height: 18px; background: repeating-linear-gradient(var(--gold) 0 4px, transparent 4px 7px); }
.layer:hover { border-color: var(--border-strong); transform: translateX(4px); box-shadow: 0 18px 36px -24px rgba(253,199,71,.5); }
.layer__k { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 20px; border-right: 1px solid var(--border); background: linear-gradient(90deg, rgba(253,199,71,.12), transparent); border-radius: var(--r-md) 0 0 var(--r-md); }
.layer__k b { font: 700 16px/1.25 var(--font-head); }
.layer__k small { font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.layer__v { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 18px; }
.layer__v li { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.05); font-size: 13.5px; transition: border-color .2s, background .2s; }
.layer__v li:hover { border-color: var(--gold); background: rgba(253,199,71,.1); }
.layers__side { padding: 20px; border: 1px dashed rgba(253,199,71,.5); border-radius: var(--r-md); align-self: stretch; }
.layers__side ul { display: grid; gap: 8px; }
.layers__side li { padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; }
@media (max-width: 900px) {
  .layers__wrap:has(.layers__side) { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; }
  .layer__k { border-right: 0; border-bottom: 1px solid var(--border); border-radius: var(--r-md) var(--r-md) 0 0; }
  .layer:not(:last-child)::after { left: 24px; }
}

/* ---------- Khách hàng phù hợp ---------- */
.fit { padding: 22px 24px; }
.fit h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--gold); }
.fit p { font-size: 14.5px; color: var(--muted); }
.fit::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 14px; }
.sol__fit { font-size: 13px; color: var(--muted); }

/* ---------- Đối tác theo nhóm ---------- */
.pgroup { margin-bottom: 30px; }
.pgroup h3 { font: 700 17px/1.3 var(--font-head); margin-bottom: 14px; }
.pgroup h3 .muted { font: 500 13px/1 var(--font-mono); }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; transition: border-color .2s, color .2s; }
.pchips li:hover { border-color: var(--border-strong); color: var(--gold); }

/* ---------- Đợt 4: gọn ảnh sản phẩm, chuẩn công nghiệp, dải đối tác ---------- */
.pcard { padding-bottom: 20px; }
.pcard h3 { font-size: 18px; }
.indchips { display: flex; flex-wrap: wrap; gap: 6px; }
.indchips li { font: 400 11px/1.3 var(--font-mono); padding: 5px 9px; border-radius: 8px; color: var(--gold); border: 1px solid rgba(253,199,71,.3); background: rgba(253,199,71,.06); }
.pdp__img { max-height: 440px; display: grid; place-items: center; }
.pdp__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; align-items: start; }
.pdp__gallery .pdp__fig { max-width: none; }
.metrics--grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.indband { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.indband li { padding: 18px 20px; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-md); background: var(--surface); display: grid; gap: 6px; }
.indband b { font: 700 16px/1.2 var(--font-head); color: var(--gold); }
.indband span { font-size: 13.5px; color: var(--muted); }
.pmarq { margin-top: 28px; margin-bottom: 4px; padding: 22px 0 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.pmarq__t { padding: 0 24px 14px; font-size: 14px; color: var(--muted); }
.pmarq__t b { color: var(--gold); font-size: 20px; font-family: var(--font-head); }
.marquee--p { margin-bottom: 12px; }
.marquee--p .pm li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.04); font-size: 13.5px; white-space: nowrap; flex: none; }
.marquee--p .pm { gap: 10px; padding-right: 10px; animation-duration: 90s; }
.marquee--rev .pm { animation-direction: reverse; animation-duration: 110s; }
@media (prefers-reduced-motion: reduce) { .marquee--p .pm { flex-wrap: wrap; } .marquee--p .pm[aria-hidden], .marquee--p .pm + .pm { display: none; } }
/* rà soát bố cục: khoảng cách sau khung đối tác */
.pmarq + .group-title, .pmarq + h2 { margin-top: 56px; }

/* ---- Tổng hợp đối tác/khách hàng (không nêu tên) ---- */
.eco { display: flex; gap: 28px; align-items: center; margin-top: 28px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.eco__n { display: flex; align-items: baseline; margin: 0; flex: none; }
.eco__t { font: 600 18px/1.3 var(--font-head); margin: 0 0 4px; }
.eco__s { margin: 0 0 14px; font-size: 14px; }
@media (max-width: 720px) { .eco { flex-direction: column; align-items: flex-start; } }

/* ---- Tìm kiếm giải pháp / sản phẩm ---- */
.nav__search { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 500 13.5px var(--font-body); cursor: pointer; transition: border-color .2s, color .2s; }
.nav__search:hover, .nav__search:focus-visible { border-color: var(--border-strong); color: var(--gold); }
.nav__search .ico { width: 16px; height: 16px; }
@media (max-width: 1080px) { .nav__search span { display: none; } .nav__search { padding: 10px; } }
@media (max-width: 860px) { .nav__search { margin: 8px 8px 0; justify-content: flex-start; } .nav__search span { display: inline; } }
.search { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; background: rgba(6, 6, 10, .78); backdrop-filter: blur(6px); }
.search[hidden] { display: none; }
body.is-search { overflow: hidden; }
.search__box { width: min(680px, 100%); max-height: 78vh; display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--bg-2); box-shadow: 0 24px 80px rgba(0, 0, 0, .6); overflow: hidden; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.search__bar .ico { width: 20px; height: 20px; color: var(--gold); flex: none; }
.search__bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 17px var(--font-body); }
.search__bar input::placeholder { color: var(--muted); font-weight: 400; }
.search__x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }
.search__x:hover { color: var(--gold); }
.search__list { overflow: auto; padding: 8px; margin: 0; list-style: none; }
.search__list a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding: 11px 12px; border-radius: 12px; color: var(--text); }
.search__list a.is-sel, .search__list a:hover { background: rgba(253, 199, 71, .1); }
.search__list b { font-weight: 600; }
.search__list small { grid-column: 2; color: var(--muted); font-size: 13px; line-height: 1.4; }
.search__t { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.search__lbl, .search__empty { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.search__empty a { color: var(--gold); }
.search__hint { margin: 0; padding: 10px 18px; border-top: 1px solid var(--border); font-size: 12.5px; }
.search__hint kbd { padding: 1px 6px; border: 1px solid var(--border); border-radius: 5px; font: 12px var(--font-mono); }

/* ---- Hình minh hoạ trong trang giải pháp ---- */
.solfigs { display: grid; gap: 24px; }
.solfig { margin: 0; }
.solfig img { width: 100%; height: auto; display: block; border-radius: var(--r-md); }
.solfig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---- Công cụ trên menu: ngôn ngữ, sáng/tối ---- */
.nav__tools { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.nav__tools .nav__search { margin: 0; padding: 9px; }
.nav__tools .nav__search span { display: none; }
.nav__theme { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--gold); transition: border-color .2s; }
.nav__theme:hover, .nav__theme:focus-visible { border-color: var(--border-strong); }
.nav__theme .ico { width: 18px; height: 18px; }
.nav__theme .ico--sun { display: none; }
html[data-theme="light"] .nav__theme .ico--sun { display: block; }
html[data-theme="light"] .nav__theme .ico--moon { display: none; }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(128, 128, 128, .35); flex: none; display: inline-block; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 12.5px var(--font-body); letter-spacing: .04em; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--border-strong); }
.lang__chev { width: 14px; height: 14px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--bg-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); z-index: 60; }
.lang__menu[hidden] { display: none; }
.lang__menu li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; cursor: pointer; color: var(--text); }
.lang__menu li:hover, .lang__menu li[aria-selected="true"] { background: rgba(253, 199, 71, .14); }
.lang__menu li[aria-selected="true"] { font-weight: 700; }
@media (max-width: 860px) {
  .nav__tools { margin: 12px 8px 0; flex-wrap: wrap; }
  .nav__tools .nav__search { padding: 9px 14px; } .nav__tools .nav__search span { display: inline; }
  .lang__menu { right: auto; left: 0; }
}

/* ---- Chế độ sáng ---- */
html[data-theme="light"] {
  --bg: #F6F5F0; --bg-2: #FFFFFF; --bg-3: #EDECE6;
  --surface: rgba(20, 17, 10, .04); --surface-2: rgba(20, 17, 10, .07); --border: rgba(20, 17, 10, .13); --border-strong: rgba(160, 100, 0, .55);
  --text: #16130B; --muted: #5E5C55; --gold: #A86800; --gold-text: #8A5A00; --on-gold: #1A1303; --green: #0F8F63; --orange: #C2570C; --red: #C93434;
  color-scheme: light;
}
/* Các khối vốn thiết kế nền tối giữ nguyên nền tối ở chế độ sáng */
html[data-theme="light"] :is(.hero, .footer, .band, .console, .section--slate, .search__box, .pdp__img) {
  --bg: #06060A; --bg-2: #0E0F15; --bg-3: #15161D; --surface: rgba(255, 255, 255, .045); --surface-2: rgba(255, 255, 255, .08); --border: rgba(255, 255, 255, .12); --border-strong: rgba(253, 199, 71, .5);
  --text: #F2F1EC; --muted: #A9A79F; --gold: #FDC747; --gold-text: #FDC747; color-scheme: dark; color: var(--text);
}
html[data-theme="light"] .section--slate { --bg: #363535; --muted: #D7D4CB; }
html[data-theme="light"] .nav { background: rgba(246, 245, 240, .72); }
html[data-theme="light"] .nav.is-scrolled { background: rgba(246, 245, 240, .94); }
html[data-theme="light"] .nav__links a[aria-current="page"] { color: var(--text); }
@media (max-width: 860px) { html[data-theme="light"] .nav__links { background: rgba(246, 245, 240, .98); } }
html[data-theme="light"] .page-hero { background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(253, 199, 71, .28), transparent 65%), linear-gradient(180deg, #FFFFFF, var(--bg)); }
html[data-theme="light"] .page-hero::before { background-image: linear-gradient(rgba(20, 17, 10, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 17, 10, .05) 1px, transparent 1px); }
html[data-theme="light"] .card, html[data-theme="light"] .cert, html[data-theme="light"] .feed { box-shadow: 0 10px 30px -22px rgba(20, 17, 10, .35); }
html[data-theme="light"] .search { background: rgba(246, 245, 240, .7); }
html[data-theme="light"] .sol__blk, html[data-theme="light"] .stack__col li, html[data-theme="light"] .layer__v li { background: rgba(20, 17, 10, .04); }
html[data-theme="light"] .grad, html[data-theme="light"] .stat__v, html[data-theme="light"] .stat__s { filter: saturate(1.15) brightness(.82); }
html[data-theme="light"] .lang__menu { box-shadow: 0 18px 50px rgba(20, 17, 10, .18); }

/* ---- Sơ đồ kiến trúc, ứng dụng đã phát hành ---- */
.archfig { margin: 0 0 40px; overflow-x: auto; }
.archfig img { width: 100%; min-width: 760px; height: auto; border-radius: var(--r-md); }
.archfig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.app { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.app__img { width: 200px; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.app__body h3 { margin: 6px 0 8px; }
.app__body > p { margin-bottom: 14px; color: var(--muted); }
.app__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 560px) { .app { grid-template-columns: 1fr; justify-items: center; text-align: left; } }

/* ---- Logo DIGO: dựng từ hình logo Figma, bỏ khung trắng; tô gradient và ánh lướt theo giao diện ---- */
:root { --logo-di: linear-gradient(180deg, #FFF6DC, #F2C777); --logo-go: linear-gradient(180deg, #FFE08A, #F5A524); --logo-glow: rgba(253, 199, 71, .45); }
html[data-theme="light"] { --logo-di: linear-gradient(180deg, #B3562B, #7C3418); --logo-go: linear-gradient(180deg, #F7B500, #D98A00); --logo-glow: rgba(217, 138, 0, .35); }
html[data-theme="light"] :is(.hero, .footer, .band, .console, .section--slate) { --logo-di: linear-gradient(180deg, #FFF6DC, #F2C777); --logo-go: linear-gradient(180deg, #FFE08A, #F5A524); --logo-glow: rgba(253, 199, 71, .45); }
.brand { position: relative; }
.logo { position: relative; display: block; flex: none; height: 38px; aspect-ratio: 420 / 276; -webkit-mask: url(../img/digo-logo-mask.png) center / contain no-repeat; mask: url(../img/digo-logo-mask.png) center / contain no-repeat;
  background: var(--logo-go); overflow: hidden; }
.logo::before { content: ''; position: absolute; inset: 0; width: 44%; background: var(--logo-di); }
.logo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%); background-size: 260% 100%; background-position: 160% 0; animation: logo-shine 7s ease-in-out 1.5s infinite; mix-blend-mode: overlay; }
@keyframes logo-shine { 0%, 70% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.brand::before { content: ''; position: absolute; inset: 4px 0; border-radius: 50%; background: radial-gradient(closest-side, var(--logo-glow), transparent 75%); opacity: .55; filter: blur(10px); transition: opacity .3s; pointer-events: none; }
.brand:hover::before, .brand:focus-visible::before { opacity: 1; }
.brand:hover .logo { transform: translateY(-1px) scale(1.04); }
.logo { transition: transform .3s; }
.footer .logo { height: 54px; margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .logo::after { animation: none; opacity: 0; } }

/* ---- Nền thống nhất cho ảnh sản phẩm đã tách nền ---- */
html[data-theme="light"] { --stage: radial-gradient(ellipse 75% 65% at 50% 38%, #FFFFFF 0%, #E4E2D9 88%); }
html[data-theme="light"] :is(.hero, .footer, .band, .console, .section--slate, .search__box, .pdp__img) { --stage: radial-gradient(ellipse 75% 65% at 50% 38%, #2d2f3d 0%, #161722 78%); }
html[data-theme="light"] .pcard__img img { filter: drop-shadow(0 12px 14px rgba(20, 17, 10, .28)); }
.pdp__img img { padding: 18px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
.pdp__img img[src$=".jpg"] { padding: 0; filter: none; }
.pdp__fig--cut img { padding: 20px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .4)); }
.indchips li { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Bảo mật và an toàn thông tin ---- */
.stats .stat__v { font-size: clamp(26px, 3vw, 36px); }
.secc { display: flex; flex-direction: column; gap: 10px; }
.secc__tag { font: 600 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0; }
.secc h3 { font-size: 19px; }
.secc__sub { color: var(--muted); font-size: 14.5px; }
.secc .metrics { margin-top: 4px; display: grid; gap: 10px; font-size: 14.5px; }
.def { margin-top: 32px; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.def h3 { font-size: 20px; margin-bottom: 4px; }
.def__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.def__l { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 14px; background: var(--bg-2); }
.def__l:nth-child(2) { border-top-color: #38BDF8; } .def__l:nth-child(3) { border-top-color: #34D399; } .def__l:nth-child(4) { border-top-color: #FB923C; }
.def__l b { font-size: 15px; }
.def__l span { font-size: 13.5px; color: var(--muted); }
.secgroups { display: grid; gap: 36px; margin-top: 28px; }
.secgroups .group-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.secgroups table.specs th { width: 32%; }
#bao-mat > .container > .card.secc { margin-top: 8px; }

/* ---- Liên hệ: form, đồng ý, thành công, nhắn trực tiếp, chat nổi ---- */
.form__fields { display: grid; gap: 16px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.5; cursor: pointer; }
.form label.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.form label.check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__ok { display: grid; gap: 12px; justify-items: start; padding: 8px 0; outline: 0; }
.form__ok[hidden], .form__fields[hidden] { display: none; }
.form__ok h3 { font-size: 22px; }
.form__ok p { color: var(--muted); }
.chans { margin: 24px 0 8px; }
.chans ul { display: grid; gap: 10px; margin-top: 10px; }
.chan { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s; }
.chan:hover, .chan:focus-visible { border-color: var(--c, var(--gold)); transform: translateX(2px); }
.chan > span:nth-child(2) { flex: 1; }
.chan > .ico { width: 16px; height: 16px; color: var(--muted); }
.chan__ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--c, #FDC747) 18%, transparent); color: var(--c, var(--gold)); flex: none; }
.chan__ico .ico { width: 18px; height: 18px; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; }
.chat__fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--grad); color: var(--on-gold); box-shadow: 0 10px 30px rgba(245, 165, 36, .45); transition: transform .2s; }
.chat__fab:hover, .chat__fab:focus-visible { transform: scale(1.07); }
.chat__fab .ico { width: 26px; height: 26px; }
.chat__panel { position: absolute; right: 0; bottom: 68px; width: min(320px, calc(100vw - 40px)); padding: 18px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--bg-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.chat__panel[hidden] { display: none; }
.chat__t { font: 700 18px var(--font-head); margin: 0; }
.chat__s { font-size: 13.5px; color: var(--muted); margin: 4px 0 12px; }
.chat__panel ul { display: grid; gap: 8px; }
html[data-theme="light"] .chat__panel { box-shadow: 0 24px 60px rgba(20, 17, 10, .2); }
body.is-search .chat { display: none; }
@media (max-width: 560px) { .chat { right: 14px; bottom: 14px; } }

/* ---- Tin tức: ảnh bìa và trang chi tiết ---- */
.feed__cover { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--border); }
.newsart__cover { margin: 0 0 28px; }
.newsart__cover img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.newsart p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.8; }
.ico--flip { transform: scaleX(-1); display: inline-block; vertical-align: -3px; margin-right: 6px; }
