/* © TechNext Pte. Ltd. (technext.asia). All rights reserved. */
/* Company page (21 Oct 2026): futuristic glass layer. Wireframe office map, live clocks, glass office cards.
   Builds on home-fx.css tokens. Motion: transform/opacity only, paused off-screen (.fx-off) and under reduced motion. */

.cx-page .who-home .sec-head .hand, .cx-page .who-home .hand { display: none !important; }
.cx-page .who-home { position: relative; }

/* ---------------------------------------------------------------- hero */
.cx-hero .fx-hero-in { align-items: center; }
.cx-hero .crumbs { margin-bottom: 18px; }
.cx-hero h1 { max-width: 11.9em; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.7rem); }
.cx-act { display: flex; flex-wrap: wrap; gap: 12px; }

.cx-panel { position: relative; border-radius: 24px; padding: 22px 22px 20px; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.cx-panel .fx-result-glow { opacity: 1; }
.cx-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.cx-live { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 700 12.5px/1 var(--font-body); color: var(--blue-700); }
.cx-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(49,103,202,.5); animation: cxPing 2s var(--fx-ease) infinite; }
@keyframes cxPing { to { box-shadow: 0 0 0 9px rgba(49,103,202,0); } }

.cx-map { position: relative; border-radius: 16px; overflow: hidden; background:
  radial-gradient(70% 70% at 50% 50%, rgba(111,160,245,.14), transparent 75%), rgba(255,255,255,.55); border: 1px solid rgba(49,103,202,.12); }
.cx-map svg { display: block; width: 100%; height: auto; }
.cx-arc { stroke: var(--blue); stroke-width: 1.6; stroke-opacity: .55; stroke-dasharray: 5 6; animation: cxDash 1.6s linear infinite; }
@keyframes cxDash { to { stroke-dashoffset: -22; } }
.cx-pkt { fill: #fff; stroke: var(--blue); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(49,103,202,.9)); offset-rotate: 0deg; offset-distance: 0%;
  animation: cxPkt 3.3s var(--fx-ease) var(--d, 0s) infinite; }
@keyframes cxPkt { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.cx-ring { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.cx-halo { transform-box: fill-box; transform-origin: center; animation: cxHalo 3s var(--fx-ease) infinite; }
@keyframes cxHalo { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.25); opacity: 1; } }
.cx-tag { position: absolute; transform: translate(14px, -50%); padding: 6px 11px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.9); border: 1px solid var(--fx-edge); box-shadow: 0 8px 20px -12px rgba(30,70,145,.55);
  font: 700 12.5px/1 var(--font-body); color: var(--ink); }
.cx-tag--l { transform: translate(calc(-100% - 14px), -50%); }

.cx-clocks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.cx-clocks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #EEF1F7; }
.cx-clocks span { display: grid; gap: 2px; min-width: 0; }
.cx-clocks b { font: 700 14.5px/1.2 var(--font-body); color: var(--ink); }
.cx-clocks small { font-size: 12.5px; line-height: 1.3; color: var(--body); }
.cx-clocks time { flex: none; font: 800 22px/1 var(--font-display); letter-spacing: -.01em; color: var(--blue-700); font-variant-numeric: tabular-nums; }

.cx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #1F1F3D, #1E2F66 70%, #1E4691); box-shadow: 0 18px 34px -22px rgba(30,70,145,.8), inset 0 1px 0 rgba(255,255,255,.12); }
.cx-stats p { margin: 0; display: grid; gap: 4px; }
.cx-stats b { font: 800 26px/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.cx-stats span { font: 600 12.5px/1.25 var(--font-body); color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------- company details */
.cx-facts-sec { padding: 0 0 8px; }
.cx-facts { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); margin: 0; border-radius: 22px; overflow: hidden; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cx-facts > div { padding: 20px 22px; border-left: 1px solid var(--fx-line); min-width: 0; }
.cx-facts > div:first-child { border-left: 0; }
.cx-facts dt { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.2 var(--font-body); color: var(--body); }
.cx-facts dt .ic { width: 16px; height: 16px; color: var(--blue); flex: none; }
.cx-facts dd { margin: 8px 0 0; font: 650 15px/1.4 var(--font-body); color: var(--ink); overflow-wrap: anywhere; }
.cx-facts dd a { color: var(--blue); }

/* ---------------------------------------------------------------- why odoo */
.cx-why { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; align-items: center; }
.cx-why h2 { font: 800 clamp(1.9rem, 1.2rem + 2vw, 2.85rem)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); margin: 0; text-wrap: balance; }
.cx-why .lead { margin: 16px 0 24px; font-size: 1.08rem; line-height: 1.65; }
.cx-conv { display: grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,.9fr); align-items: center; padding: 22px; border-radius: 24px;
  background: var(--fx-glass); border: 1px solid var(--fx-edge); box-shadow: var(--fx-depth); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cx-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cx-tools li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px dashed #C9D6EE; }
.cx-tools .ic { width: 18px; height: 18px; color: var(--body); }
.cx-tools b { display: block; font: 650 14px/1.2 var(--font-body); color: var(--ink); }
.cx-tools small { font-size: 12.5px; color: var(--body); }
.cx-beams { position: relative; align-self: stretch; }
.cx-beams i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(49,103,202,.12), rgba(49,103,202,.5)); overflow: hidden; }
.cx-beams i::after { content: ""; position: absolute; top: -2px; left: 0; width: 8px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px 2px rgba(49,103,202,.6); animation: cxBeam 1.9s var(--fx-ease) infinite; animation-delay: calc(var(--k, 0) * 260ms); }
.cx-beams i:nth-child(1) { top: 9%; --k: 0; } .cx-beams i:nth-child(2) { top: 29%; --k: 1; } .cx-beams i:nth-child(3) { top: 49.5%; --k: 2; }
.cx-beams i:nth-child(4) { top: 70%; --k: 3; } .cx-beams i:nth-child(5) { top: 90%; --k: 4; }
@keyframes cxBeam { from { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateX(48px); opacity: 0; } }
.cx-core { align-self: stretch; align-content: center; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 22px 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(234,240,251,.9));
  border: 1px solid rgba(49,103,202,.35); box-shadow: 0 0 0 1px rgba(49,103,202,.1), var(--fx-depth-h); }
.cx-core-h { margin: 0; font: 800 17px/1.2 var(--font-display); color: var(--ink); }
.cx-core-ic { display: grid; grid-template-columns: repeat(3, auto); gap: 14px; justify-content: center; }
.cx-core img { height: 40px; width: auto; }
.cx-core small { font-size: 12.5px; color: var(--body); }

/* ---------------------------------------------------------------- offices */
.cx-offices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.cx-off { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 26px; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .4s var(--fx-ease), box-shadow .4s var(--fx-ease); scroll-margin-top: calc(var(--header-h) + 24px); }
.cx-off:hover { transform: translateY(-4px); box-shadow: var(--fx-depth-h); }
.cx-off--core { background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(234,240,251,.9)); border-color: rgba(49,103,202,.35); box-shadow: 0 0 0 1px rgba(49,103,202,.12), var(--fx-depth-h); }
.cx-off-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cx-off h3 { margin: 0; font: 800 20px/1.2 var(--font-display); color: var(--ink); letter-spacing: -.015em; }
.cx-cc { background: var(--blue-050); color: var(--blue-700); }
.cx-off-time { display: block; margin-top: 22px; font: 800 clamp(2.6rem, 2rem + 1.4vw, 3.3rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--blue); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(49,103,202,.25); }
.cx-off-zone { margin: 6px 0 0; font: 600 12.5px/1.3 var(--font-body); color: var(--body); }
.cx-off-role { margin: 18px 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.cx-off address { margin: 0 0 16px; font: 600 14.5px/1.5 var(--font-body); font-style: normal; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--fx-line); }
.cx-off-links { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cx-off-links a { display: inline-flex; align-items: center; min-height: 44px; font: 650 14px/1.2 var(--font-body); color: var(--blue); }
.cx-reach { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; padding: 14px 20px; border-radius: 18px; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth); scroll-margin-top: calc(var(--header-h) + 24px); }
.cx-reach-h { margin: 0 8px 0 0; font: 700 13px/1 var(--font-body); color: var(--ink); }
.cx-reach a, .cx-reach-item { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: inherit; transition: border-color .3s var(--fx-ease), transform .3s var(--fx-ease); }
.cx-reach a:hover { border-color: var(--blue-300); transform: translateY(-2px); text-decoration: none; }
.cx-reach .ic { width: 18px; height: 18px; color: var(--blue); flex: none; }
.cx-reach small { display: block; font-size: 12px; color: var(--body); }
.cx-reach b { font: 650 14.5px/1.2 var(--font-body); color: var(--ink); }

/* ---------------------------------------------------------------- rules */
.cx-rules { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 56px; align-items: start; }
.cx-rules .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.cx-rule-list { display: grid; gap: 14px; }
.cx-rule { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 24px 26px; border-radius: 22px; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth), 0 0 0 1px rgba(49,103,202,.06), 0 0 38px -14px rgba(49,103,202,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .4s var(--fx-ease), box-shadow .4s var(--fx-ease); }
.cx-rule:hover { transform: translateX(6px); box-shadow: var(--fx-depth-h), 0 0 0 1px rgba(49,103,202,.14), 0 0 46px -10px rgba(49,103,202,.5); }
.cx-rule > .ic { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.cx-rule h3 { margin: 0 0 6px; font: 800 19px/1.25 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.cx-rule p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .cx-why, .cx-rules { grid-template-columns: 1fr; gap: 32px; }
  .cx-rules .sec-head { position: static; }
  .cx-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cx-facts > div { border-left: 0; border-top: 1px solid var(--fx-line); }
  .cx-facts > div:nth-child(-n+2) { border-top: 0; }
  .cx-facts > div:nth-child(even) { border-left: 1px solid var(--fx-line); }
  .cx-offices { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cx-panel { padding: 16px 14px; }
  .cx-tag { font-size: 12px; padding: 5px 9px; }
  .cx-conv { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .cx-beams { display: none; }
  .cx-facts { grid-template-columns: 1fr; }
  .cx-facts > div, .cx-facts > div:nth-child(even) { border-left: 0; border-top: 1px solid var(--fx-line); }
  .cx-facts > div:first-child { border-top: 0; }
  .cx-rule { padding: 20px 18px; gap: 14px; }
  .cx-act .btn { flex: 1 1 100%; justify-content: center; }
  .cx-clocks time { font-size: 20px; }
}
.fx-off .cx-arc, .fx-off .cx-pkt, .fx-off .cx-halo, .fx-off .cx-live i, .fx-off .cx-beams i::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .cx-arc, .cx-pkt, .cx-halo, .cx-live i, .cx-beams i::after { animation: none; }
  .cx-pkt { display: none; }
  .cx-off, .cx-rule, .cx-reach a { transition: none; }
  .cx-off:hover, .cx-rule:hover, .cx-reach a:hover { transform: none; }
}

/* calm.css sets `main h2 { color: ink }`, which beats .fx-close h2 */
.cx-page .fx-close h2 { color: #fff !important; }
