/* =========================================================
   SMARTME Signature
   Dark by default (same as the parent theme); light via html.sx-light.
   All custom properties are prefixed --sx- so they never collide
   with the parent main.css loaded on inner pages.
   ========================================================= */

:root {
  --sx-ink: #060915;
  --sx-ink-2: #0b1028;
  --sx-ink-3: #121a3d;
  --sx-cobalt: #1a37c8;
  --sx-orange: #ff5a1f;
  --sx-orange-2: #ff8a3d;
  --sx-signal: #2bd48c;
  --sx-on-ink: #eef0f8;
  --sx-on-ink-2: #a3a9c2;
  --sx-on-ink-3: #6b7291;
  --sx-line-ink: rgba(255, 255, 255, .14);

  --sx-sans: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --sx-serif-f: 'Plus Jakarta Sans', 'Inter Tight', ui-sans-serif, system-ui, 'PingFang SC', 'Noto Sans SC', sans-serif;
  --sx-editorial-f: 'Instrument Serif', Georgia, 'Songti SC', 'Noto Serif SC', serif;
  --sx-mono-f: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --sx-wrap: 1240px;
  --sx-gutter: 40px;
  --sx-r: 18px;
  --sx-r-lg: 28px;
  --sx-ease: cubic-bezier(.2, .7, .1, 1);

  /* Dark (default) */
  --sx-bg: #060915;
  --sx-bg-alt: #090d20;
  --sx-raise: #0e1430;
  --sx-sunk: #0a0f26;
  --sx-fg: #eef0f8;
  --sx-fg-2: #a3a9c2;
  --sx-fg-3: #6b7291;
  --sx-line: rgba(255, 255, 255, .12);
  --sx-line-soft: rgba(255, 255, 255, .08);
  --sx-tint: rgba(255, 255, 255, .05);
  --sx-inv-bg: #ffffff;
  --sx-inv-fg: #060915;
  --sx-inv-hover: #e6e8f2;
  --sx-em: #ff8a3d;
  --sx-glow-a: rgba(255, 90, 31, .22);
  --sx-glow-b: rgba(26, 55, 200, .30);
  --sx-grid: rgba(255, 255, 255, .035);
  --sx-nav-bg: rgba(6, 9, 21, .74);
  --sx-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  --sx-logo-filter: none;
  --sx-logo-blend: normal;
  --sx-logo-op: 1;
  --sx-logo-hover: none;
  --sx-logo-color: none;
  --sx-logo-white: block;
}

html.sx-light {
  --sx-bg: #f6f4ef;
  --sx-bg-alt: #edeae2;
  --sx-raise: #ffffff;
  --sx-sunk: #f6f4ef;
  --sx-fg: #0a0f24;
  --sx-fg-2: #3e4560;
  --sx-fg-3: #7a8098;
  --sx-line: #dcd8cd;
  --sx-line-soft: #e7e3da;
  --sx-tint: rgba(10, 15, 36, .04);
  --sx-inv-bg: #060915;
  --sx-inv-fg: #ffffff;
  --sx-inv-hover: #121a3d;
  --sx-em: #1a37c8;
  --sx-glow-a: rgba(255, 90, 31, .16);
  --sx-glow-b: rgba(26, 55, 200, .14);
  --sx-grid: rgba(10, 15, 36, .05);
  --sx-nav-bg: rgba(246, 244, 239, .8);
  --sx-shadow: 0 30px 60px -36px rgba(10, 15, 36, .28);
  --sx-logo-filter: none;
  --sx-logo-blend: normal;
  --sx-logo-op: 1;
  --sx-logo-hover: none;
  --sx-logo-color: block;
  --sx-logo-white: none;
}

/* Light mode palettes (Appearance → Customize → SMARTME Signature → Palet mode terang).
   Only surfaces and lines change; text, brand colours and dark mode stay the same. */
html.sx-light[data-sx-palette="cloud"] {
  --sx-bg: #f6f8fc; --sx-bg-alt: #edf1f8; --sx-raise: #ffffff; --sx-sunk: #f2f5fa;
  --sx-line: #dbe2ed; --sx-line-soft: #e6ebf3; --sx-tint: rgba(26, 55, 200, .05);
  --sx-nav-bg: rgba(246, 248, 252, .82); --sx-shadow: 0 30px 60px -36px rgba(20, 40, 110, .28);
}
html.sx-light[data-sx-palette="white"] {
  --sx-bg: #ffffff; --sx-bg-alt: #f5f6f8; --sx-raise: #ffffff; --sx-sunk: #f6f7f9;
  --sx-line: #e3e6eb; --sx-line-soft: #eceef2; --sx-tint: rgba(10, 15, 36, .04);
  --sx-nav-bg: rgba(255, 255, 255, .86); --sx-shadow: 0 30px 60px -36px rgba(10, 15, 36, .22);
}
html.sx-light[data-sx-palette="white"] .sx-s-bg .sx-pillar,
html.sx-light[data-sx-palette="white"] .sx-s-bg .sx-cell:not(.sx-cell--hero):not(.sx-cell--cobalt) { box-shadow: 0 1px 2px rgba(10, 15, 36, .04), 0 12px 30px -20px rgba(10, 15, 36, .18); }
html.sx-light[data-sx-palette="mist"] {
  --sx-bg: #eef2f8; --sx-bg-alt: #e4eaf4; --sx-raise: #ffffff; --sx-sunk: #f4f7fb;
  --sx-line: #d3dcea; --sx-line-soft: #dfe6f1; --sx-tint: rgba(26, 55, 200, .06);
  --sx-nav-bg: rgba(238, 242, 248, .82); --sx-shadow: 0 30px 60px -34px rgba(20, 40, 110, .32);
}

html.sx-theme-anim,
html.sx-theme-anim *,
html.sx-theme-anim *::before,
html.sx-theme-anim *::after {
  transition: background-color .5s var(--sx-ease), border-color .5s var(--sx-ease), color .5s var(--sx-ease), filter .5s !important;
}

/* ---------- Base (homepage only; inner pages keep the parent base styles) ---------- */
body.sx-front {
  margin: 0;
  font-family: var(--sx-sans);
  background: var(--sx-bg);
  color: var(--sx-fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:has(body.sx-front) { background: var(--sx-bg); scroll-behavior: smooth; }
/* Resets use :where() (zero specificity) so component classes always win. */
:where(.sx-front) *, :where(.sx-front) *::before, :where(.sx-front) *::after { box-sizing: border-box; }
:where(.sx-front) :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.sx-front) :where(ul, ol) { list-style: none; }
:where(.sx-front) :where(img, video) { display: block; max-width: 100%; height: auto; }
:where(.sx-front) a { color: inherit; text-decoration: none; }
:where(.sx-front) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Chrome shared by every page */
.sx-nav, .sx-bottomnav, .sx-footer, .sx-search, .sx #leadModal { font-family: var(--sx-sans); -webkit-font-smoothing: antialiased; }
:where(.sx-nav, .sx-bottomnav, .sx-footer, .sx-search, #leadModal) * { box-sizing: border-box; }
:where(.sx-nav, .sx-footer) ul { list-style: none; margin: 0; padding: 0; }
:where(.sx-nav, .sx-bottomnav, .sx-footer) a { text-decoration: none; color: inherit; }
:where(.sx-nav, .sx-search) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sx svg { flex: none; }

.sx-wrap { max-width: var(--sx-wrap); margin: 0 auto; padding: 0 var(--sx-gutter); box-sizing: content-box; }
.sx-serif { font-family: var(--sx-serif-f); font-style: italic; font-weight: 800; letter-spacing: -.035em; padding-right: .06em; }
.sx-mono { font-family: var(--sx-mono-f); }

/* ---------- Type system ---------- */
.sx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sx-mono-f); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sx-fg-3);
}
.sx-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sx-orange); }
.sx-h2 { margin-top: 24px !important; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; color: var(--sx-fg); }
.sx-h2 .sx-serif { font-size: 1em; }
.sx-em { color: var(--sx-em); }
.sx-lede { font-size: 18px; line-height: 1.65; color: var(--sx-fg-2); max-width: 560px; }
.sx-lede--sm { font-size: 17px; max-width: 440px; }
.sx-kicker { display: inline-block; font-family: var(--sx-mono-f); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sx-orange); font-weight: 500; }

.sx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; margin-bottom: 64px; }
.sx-head > div { max-width: 700px; }
.sx-head--wide > div { max-width: 820px; }

/* ---------- Buttons ---------- */
.sx-btn, a.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--sx-sans); font-size: 15px; font-weight: 500; letter-spacing: -.005em; line-height: 1;
  white-space: nowrap; cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: transform .3s var(--sx-ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
}
.sx-btn svg { width: 16px; height: 16px; transition: transform .3s var(--sx-ease); }
.sx-btn:hover svg { transform: translateX(3px); }
.sx-btn--primary { background: var(--sx-orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 90, 31, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sx-btn--primary:hover { background: #ff6a33; transform: translateY(-1px); color: #fff; }
.sx-btn--ghost { border-color: var(--sx-line); color: var(--sx-fg); background: transparent; }
.sx-btn--ghost:hover { background: var(--sx-tint); border-color: var(--sx-fg-3); }
.sx-btn--ink { background: var(--sx-inv-bg); color: var(--sx-inv-fg); }
.sx-btn--ink:hover { background: var(--sx-inv-hover); }
.sx-btn--line { border-color: var(--sx-line); color: var(--sx-fg); background: var(--sx-raise); }
.sx-btn--line:hover { border-color: var(--sx-fg); }
.sx-btn--glass { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .06); }
.sx-btn--glass:hover { background: rgba(255, 255, 255, .12); }
.sx-btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.sx-btn--block { width: 100%; }
.sx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--sx-fg); transition: color .2s; }
.sx-link:hover { color: var(--sx-orange); }
.sx-link svg { width: 14px; height: 14px; }
.sx-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--sx-fg); }
.sx-more svg { width: 14px; height: 14px; transition: transform .3s var(--sx-ease); }

.sx-icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--sx-line) !important;
  display: grid; place-items: center; color: var(--sx-fg); overflow: hidden; transition: background .25s, border-color .25s;
}
.sx-icon-btn:hover { background: var(--sx-tint); border-color: var(--sx-fg-3) !important; }
.sx-icon-btn svg { width: 18px; height: 18px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.sx-nav { position: fixed; inset: 0 0 auto 0; z-index: 900; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; color: var(--sx-fg); }
.sx-nav.is-scrolled, body:not(.sx-front) .sx-nav, body.sx-nav-solid .sx-nav {
  background: var(--sx-nav-bg);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--sx-line-soft);
}
body.admin-bar .sx-nav { top: 32px; }
.sx-nav-inner { display: flex; align-items: center; height: 92px; gap: 32px; }
.sx-logo { display: inline-flex; flex: none; }
.sx-logo img { height: 58px; width: auto; }
.sx-logo .sx-logo-color { display: var(--sx-logo-color); }
.sx-logo .sx-logo-white { display: var(--sx-logo-white); }

.sx-nav-links { flex: 1; min-width: 0; }
.sx-menu--desktop { display: flex; gap: 2px; }
.sx-menu--desktop > li { position: relative; }
.sx-menu--desktop > li > .sx-nav-link {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: 14.5px; color: var(--sx-fg-2); transition: color .2s, background .2s; white-space: nowrap;
}
.sx-menu--desktop > li:hover > .sx-nav-link,
.sx-menu--desktop > li.current-menu-item > .sx-nav-link,
.sx-menu--desktop > li.current-menu-parent > .sx-nav-link { color: var(--sx-fg); background: var(--sx-tint); }
.sx-caret svg { width: 10px; height: 10px; opacity: .6; display: block; transition: transform .3s; }
.sx-menu--desktop > li:hover .sx-caret svg { transform: rotate(180deg); }

/* Mega menus (Products: 4 product groups + Smartive card; Industries: list) */
.sx-nav-inner { position: relative; }
.sx-menu--desktop > li.sx-has-mega--wide { position: static; }
.sx-menu--desktop > li.is-current > .sx-nav-link { color: var(--sx-fg); background: var(--sx-tint); }
.sx-mega {
  position: absolute; top: calc(100% + 12px); left: -16px; z-index: 5;
  background: var(--sx-raise); border: 1px solid var(--sx-line); border-radius: 24px; padding: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .35s var(--sx-ease), visibility .25s;
  box-shadow: 0 40px 80px -24px rgba(6, 9, 21, .45);
}
.sx-mega::before { content: ""; position: absolute; inset: -18px 0 auto 0; height: 18px; }
.sx-menu--desktop > li:hover > .sx-mega, .sx-menu--desktop > li:focus-within > .sx-mega { opacity: 1; visibility: visible; transform: none; }
.sx-mega--products { left: var(--sx-gutter); right: var(--sx-gutter); top: calc(100% - 6px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 250px; gap: 22px; }
.sx-mega-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; }
.sx-mega-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 90, 31, .12); color: var(--sx-orange); flex: none; }
.sx-mega-ic svg { width: 18px; height: 18px; }
.sx-mega-head b { display: block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--sx-fg); }
.sx-mega-head small { display: block; font-size: 12px; color: var(--sx-fg-3); }
.sx-mega ul { list-style: none; margin: 0; padding: 0; }
.sx-mega li a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--sx-fg); transition: background .2s; }
.sx-mega li a small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--sx-fg-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-mega li a:hover { background: var(--sx-tint); }
.sx-mega li a:hover small { color: var(--sx-fg-2); }
.sx-mega-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 18px; color: #fff; min-height: 260px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 90, 31, .5), transparent 60%), radial-gradient(100% 80% at 0% 100%, rgba(26, 55, 200, .65), transparent 60%), var(--sx-ink-3);
}
.sx-mega-feature .sx-mono { font-size: 11px; letter-spacing: .16em; color: var(--sx-orange-2); }
.sx-mega-feature strong { margin: 8px 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.sx-mega-feature p { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.sx-mega-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.sx-mega-go svg { width: 14px; height: 14px; transition: transform .3s var(--sx-ease); }
.sx-mega-feature:hover .sx-mega-go svg { transform: translateX(4px); }
.sx-mega--industries ul { display: grid; grid-template-columns: repeat(2, 260px); gap: 2px 20px; }

/* Language dropdown (flag) */
.sx-langdd { position: relative; display: none; }
.sx-flag { display: block; width: 22px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.sx-flag svg { display: block; width: 100%; height: 100%; }
.sx-langdd-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; padding: 8px; border-radius: 16px; z-index: 20;
  background: var(--sx-raise); border: 1px solid var(--sx-line); box-shadow: 0 30px 60px -24px rgba(6, 9, 21, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--sx-ease);
}
.sx-langdd.is-open .sx-langdd-menu { opacity: 1; visibility: visible; transform: none; }
.sx-langdd-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; color: var(--sx-fg); }
.sx-langdd-menu a:hover { background: var(--sx-tint); }
.sx-langdd.is-open .sx-langdd-btn { border-color: var(--sx-orange) !important; }

/* Mobile bottom navigation (layout from the parent theme) */
.sx-bottomnav { display: none; }

.sx-nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sx-lang { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--sx-line); border-radius: 999px; font-family: var(--sx-mono-f); font-size: 11.5px; letter-spacing: .06em; }
.sx-lang a { padding: 6px 10px; border-radius: 999px; color: var(--sx-fg-3); line-height: 1.2; }
.sx-lang a.is-active { background: var(--sx-tint); color: var(--sx-fg); }
.sx-lang a:hover { color: var(--sx-fg); }

.sx-theme-btn span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s var(--sx-ease), opacity .4s; }
.sx-theme-btn .sx-sun { transform: none; opacity: 1; }
.sx-theme-btn .sx-moon { transform: translateY(-140%) rotate(90deg); opacity: 0; }
html.sx-light .sx-theme-btn .sx-sun { transform: translateY(140%) rotate(-90deg); opacity: 0; }
html.sx-light .sx-theme-btn .sx-moon { transform: none; opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.sx-hero { position: relative; overflow: hidden; background: var(--sx-bg); padding: 168px 0 0; }
.sx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, var(--sx-glow-a), transparent 70%), radial-gradient(50% 60% at 10% 90%, var(--sx-glow-b), transparent 70%);
}
/* Subtle line illustration (Customizer: SMARTME Signature → Gambar latar hero) */
.sx-hero-art {
  position: absolute; inset: 0; pointer-events: none; color: var(--sx-fg); opacity: .1;
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 62%), linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 18%, #000 62%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
html.sx-light .sx-hero-art { opacity: .13; }
.sx-hero-art--flow, html.sx-light .sx-hero-art--flow { opacity: 1; -webkit-mask-image: none; mask-image: none; }
.sx-flow { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, rgba(0,0,0,.55) 38%, #000 62%); mask-image: linear-gradient(100deg, transparent 8%, rgba(0,0,0,.55) 38%, #000 62%); }
.sx-aurora { position: absolute; inset: -10% -5% 0 -5%; filter: blur(60px); opacity: .9; }
.sx-aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: sx-aurora 26s ease-in-out infinite alternate; }
.sx-aurora i:nth-child(1) { width: 46%; height: 60%; right: 4%; top: -6%; background: radial-gradient(closest-side, rgba(255, 90, 31, .42), transparent); }
.sx-aurora i:nth-child(2) { width: 52%; height: 70%; right: 26%; top: 18%; background: radial-gradient(closest-side, rgba(40, 70, 230, .40), transparent); animation-duration: 32s; animation-delay: -8s; }
.sx-aurora i:nth-child(3) { width: 34%; height: 46%; right: -4%; top: 40%; background: radial-gradient(closest-side, rgba(140, 80, 255, .28), transparent); animation-duration: 38s; animation-delay: -16s; }
html.sx-light .sx-aurora { opacity: .55; }
html.sx-light .sx-aurora i { mix-blend-mode: multiply; }
@keyframes sx-aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6%, 4%, 0) scale(1.08); } 100% { transform: translate3d(4%, -3%, 0) scale(.96); } }
.sx-grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html.sx-light .sx-grain { opacity: .05; mix-blend-mode: multiply; }
.sx-hero .sx-hero-art--flow { height: 100%; }
@media (prefers-reduced-motion: reduce) { .sx-aurora i { animation: none; } }
.sx-hero-art svg { position: absolute; top: 0; right: 0; width: min(1240px, 100%); height: 100%; }
.sx-hero .sx-hero-art { bottom: auto; height: 860px; }
.sx-hero .sx-wrap { position: relative; }
.sx-hero-top { display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; align-items: start; }
.sx-hero-title { grid-column: 1 / -1; }
.sx-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 14px;
  border: 1px solid var(--sx-line); border-radius: 999px; font-size: 13px; color: var(--sx-fg-2); background: var(--sx-tint);
}
.sx-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--sx-signal); box-shadow: 0 0 0 4px rgba(43, 212, 140, .18); }
.sx-hero h1 { margin-top: 28px; font-size: clamp(48px, 7.4vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 500; color: var(--sx-fg); }
.sx-hero h1 > span { display: block; }
.sx-grad {
  font-size: 1em; padding-right: .1em; padding-bottom: .04em;
  background: linear-gradient(95deg, var(--sx-orange) 0%, var(--sx-orange-2) 60%, #ffb36b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sx-hero-lead { margin-top: 48px; }
.sx-hero-lead p { font-size: 24px; line-height: 1.5; color: var(--sx-fg); font-weight: 450; letter-spacing: -.01em; }
.sx-hero-sub { margin-top: 48px; }
.sx-hero-sub p { font-size: 16.5px; color: var(--sx-fg-2); line-height: 1.65; max-width: 520px; }
.sx-hero-sub .sx-actions { margin-top: 32px; }
.sx-intro { animation: sx-intro 1.1s var(--sx-ease) both; }
.sx-intro.sx-d1 { animation-delay: .12s; } .sx-intro.sx-d2 { animation-delay: .24s; } .sx-intro.sx-d3 { animation-delay: .4s; }
@keyframes sx-intro { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.sx-stage { position: relative; margin-top: 80px; border-radius: 32px 32px 0 0; padding: 14px 14px 0; background: linear-gradient(180deg, var(--sx-tint), transparent); border: 1px solid var(--sx-line); border-bottom: 0; }
.sx-stage-inner { position: relative; border-radius: 22px 22px 0 0; overflow: hidden; height: 560px; background: var(--sx-ink); }
.sx-stage video { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.sx-stage-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 9, 21, 0) 40%, rgba(6, 9, 21, .85) 100%), linear-gradient(90deg, rgba(6, 9, 21, .55), transparent 35%, transparent 65%, rgba(6, 9, 21, .4)); }
.sx-stage-bar { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.sx-stage-dots { display: flex; gap: 7px; }
.sx-stage-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.sx-stage-url { font-family: var(--sx-mono-f); font-size: 12px; color: rgba(255, 255, 255, .75); padding: 7px 14px; border-radius: 999px; background: rgba(6, 9, 21, .5); backdrop-filter: blur(10px); border: 1px solid var(--sx-line-ink); }
.sx-glass { position: absolute; z-index: 3; color: #fff; background: rgba(12, 16, 40, .55); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.sx-channels { left: 40px; bottom: 40px; padding: 18px 20px; width: 320px; }
.sx-channels h6 { font-family: var(--sx-mono-f); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-on-ink-2); font-weight: 500; margin-bottom: 12px; display: flex; justify-content: space-between; }
.sx-channels h6 em { font-style: normal; color: var(--sx-signal); }
.sx-channels ul { display: grid; gap: 8px; }
.sx-channels li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sx-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.sx-ic svg { width: 15px; height: 15px; }
.sx-st { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sx-signal); box-shadow: 0 0 0 4px rgba(43, 212, 140, .15); }
.sx-since { right: 40px; bottom: 40px; padding: 22px 24px; width: 270px; }
.sx-since .sx-mono { font-size: 11px; letter-spacing: .14em; color: var(--sx-on-ink-2); text-transform: uppercase; }
.sx-since strong { display: block; font-size: 56px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 10px 0 6px; }
.sx-since strong .sx-serif { color: var(--sx-orange-2); }
.sx-since p { font-size: 13.5px; color: var(--sx-on-ink-2); line-height: 1.5; }

/* =========================================================
   TRUST
   ========================================================= */
.sx-trust { background: var(--sx-bg); padding: 56px 0 64px; border-top: 1px solid var(--sx-line-soft); border-bottom: 1px solid var(--sx-line-soft); }
.sx-trust-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sx-trust-head p { font-size: 15px; color: var(--sx-fg-2); }
.sx-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sx-marquee-track { display: flex; gap: 16px; width: max-content; align-items: center; animation: sx-marq 80s linear infinite; padding: 4px 0; }
.sx-marquee:hover .sx-marquee-track { animation-play-state: paused; }
.sx-marquee-stack { display: grid; gap: 14px; }
.sx-marquee--reverse .sx-marquee-track { animation-direction: reverse; animation-duration: 90s; }
.sx-marquee img { box-sizing: border-box; height: 76px; width: 176px; padding: 16px 24px; object-fit: contain; background: #fff; border-radius: 16px; border: 1px solid rgba(10, 15, 36, .06); transition: transform .3s var(--sx-ease), box-shadow .3s; }
.sx-marquee img:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(6, 9, 21, .45); }
@keyframes sx-marq { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.sx-section { padding: 140px 0; position: relative; }
.sx-s-bg { background: var(--sx-bg); }
.sx-s-alt { background: var(--sx-bg-alt); border-top: 1px solid var(--sx-line-soft); border-bottom: 1px solid var(--sx-line-soft); }
.sx-s-raise { background: var(--sx-raise); border-top: 1px solid var(--sx-line-soft); }

/* About */
.sx-about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; }
.sx-big { font-size: 26px; line-height: 1.45; letter-spacing: -.02em; color: var(--sx-fg); }
.sx-about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; color: var(--sx-fg-2); font-size: 16px; line-height: 1.7; }
.sx-stats { margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sx-line); }
.sx-stat { padding: 36px 32px 0 0; }
.sx-stat + .sx-stat { padding-left: 32px; border-left: 1px solid var(--sx-line); }
.sx-num { font-size: clamp(48px, 5.5vw, 76px); font-weight: 400; letter-spacing: -.05em; line-height: 1; color: var(--sx-fg); }
.sx-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--sx-orange); margin-left: 2px; font-weight: 500; }
.sx-lbl { margin-top: 14px; font-size: 14.5px; color: var(--sx-fg-2); display: flex; align-items: center; gap: 10px; }
.sx-lbl .sx-mono { font-size: 11px; color: var(--sx-fg-3); }
.sx-partners { margin-top: 96px; padding: 40px 44px; border-radius: var(--sx-r-lg); background: var(--sx-raise); border: 1px solid var(--sx-line-soft); display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.sx-partners h4 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.sx-partners h4 small { display: block; font-family: var(--sx-mono-f); font-size: 11px; letter-spacing: .14em; color: var(--sx-fg-3); font-weight: 500; text-transform: uppercase; margin-bottom: 10px; }
.sx-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.sx-partner-grid div { height: 76px; display: grid; place-items: center; padding: 0 16px; background: #fff; border-radius: 14px; border: 1px solid rgba(10, 15, 36, .06); }
.sx-partner-grid img { max-height: 30px; width: auto; max-width: 100%; object-fit: contain; filter: var(--sx-logo-filter); opacity: var(--sx-logo-op); mix-blend-mode: var(--sx-logo-blend); transition: .3s; }
.sx-partner-grid div:hover img { filter: var(--sx-logo-hover); opacity: 1; }

/* Products */
.sx-products { overflow: clip; } /* clip (not hidden) keeps position: sticky working for the pinned product block */
.sx-products::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, var(--sx-glow-b), transparent); pointer-events: none; }
.sx-products .sx-wrap { position: relative; }
.sx-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--sx-line); border-radius: 20px; padding: 6px; background: var(--sx-raise); }
.sx-tab { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 15px; text-align: left; transition: background .3s, color .3s; color: var(--sx-fg-2); }
.sx-tab-ic { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--sx-line); display: grid; place-items: center; flex: none; transition: .3s; }
.sx-tab-ic svg { width: 20px; height: 20px; }
.sx-tab b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--sx-fg); }
.sx-tab small { font-size: 13.5px; }
.sx-tab-n { margin-left: auto; font-family: var(--sx-mono-f); font-size: 12px; opacity: .5; }
.sx-tab:hover { background: var(--sx-tint); }
.sx-tab.is-active { background: var(--sx-inv-bg); color: var(--sx-inv-fg); }
.sx-tab.is-active b { color: var(--sx-inv-fg); }
.sx-tab.is-active small { opacity: .7; }
.sx-tab.is-active .sx-tab-ic { background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; }
.sx-panel { margin-top: 20px; }
.sx-panel.is-active { display: grid; grid-template-columns: 300px 1fr; gap: 20px; animation: sx-fade .6s var(--sx-ease); }
.sx-panel[hidden] { display: none; }
@keyframes sx-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sx-sublist { border: 1px solid var(--sx-line-soft); border-radius: var(--sx-r-lg); padding: 14px; background: var(--sx-raise); display: flex; flex-direction: column; align-self: start; }
.sx-sublist h6 { font-family: var(--sx-mono-f); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-fg-3); font-weight: 500; padding: 10px 12px 12px; }
.sx-sublist button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px; border-radius: 12px; font-size: 15px; color: var(--sx-fg-2); text-align: left; transition: .25s; }
.sx-sublist button span { font-family: var(--sx-mono-f); font-size: 11px; opacity: .5; }
.sx-sublist button:hover { color: var(--sx-fg); background: var(--sx-tint); }
.sx-sublist button.is-active { background: rgba(255, 90, 31, .12); color: var(--sx-fg); }
.sx-sublist button.is-active span { color: var(--sx-orange); opacity: 1; }
.sx-feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--sx-r-lg); overflow: hidden; border: 1px solid var(--sx-line-soft); background: var(--sx-raise); min-height: 540px; }
.sx-feature-media {
  position: relative; display: grid; place-items: center; padding: 56px 40px;
  background: radial-gradient(60% 60% at 50% 55%, rgba(255, 90, 31, .24), transparent 70%), radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(160deg, var(--sx-ink-3), var(--sx-ink));
}
.sx-feature-media img { max-height: 400px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); transition: opacity .3s; }
.sx-feature-media img.is-swapping { opacity: 0; }
.sx-tag { position: absolute; top: 24px; left: 24px; font-family: var(--sx-mono-f); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--sx-line-ink); color: var(--sx-on-ink-2); background: rgba(6, 9, 21, .5); }
.sx-feature-body { padding: 52px 48px; display: flex; flex-direction: column; }
.sx-feature-body h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; color: var(--sx-fg); }
.sx-feature-copy { margin-top: 18px; color: var(--sx-fg-2); font-size: 16px; line-height: 1.65; }
.sx-feature-copy p + p { margin-top: 10px; }
.sx-feature-body .sx-actions { margin-top: auto; padding-top: 32px; }
.sx-checks { margin-top: 18px; display: grid; gap: 12px; }
.sx-checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; }
.sx-checks b { color: var(--sx-fg); font-weight: 500; }
.sx-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 90, 31, .14); color: var(--sx-orange); display: grid; place-items: center; margin-top: 1px; }
.sx-check svg { width: 12px; height: 12px; }
.sx-saving { margin-top: 24px; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--sx-line-soft); background: var(--sx-sunk); }
.sx-saving strong { font-size: 40px; font-weight: 500; letter-spacing: -.04em; color: var(--sx-orange); line-height: 1; }
.sx-saving span { font-size: 15px; color: var(--sx-fg); }
.sx-emphasis { margin-top: 20px; font-family: var(--sx-serif-f); font-style: italic; font-weight: 700; font-size: 24px; color: var(--sx-em); letter-spacing: -.02em; }

/* Business system */
.sx-biz-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.sx-biz-sticky { position: sticky; top: 130px; }
.sx-biz-sticky .sx-lede { margin-top: 24px; font-size: 17px; }
.sx-biz-index { margin-top: 44px; border-top: 1px solid var(--sx-line); }
.sx-biz-index a { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--sx-line); font-size: 16px; color: var(--sx-fg-3); transition: color .3s; }
.sx-biz-index a .sx-mono { font-size: 12px; padding-top: 3px; }
.sx-biz-index a.is-active, .sx-biz-index a:hover { color: var(--sx-fg); }
.sx-biz-index a.is-active .sx-mono { color: var(--sx-orange); }
.sx-biz-cards { display: grid; gap: 28px; }
.sx-biz-card { border-radius: var(--sx-r-lg); background: var(--sx-raise); border: 1px solid var(--sx-line-soft); overflow: hidden; box-shadow: var(--sx-shadow); }
.sx-biz-media {
  height: 400px; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 80% at 75% 20%, rgba(255, 90, 31, .32), transparent 65%), radial-gradient(70% 80% at 15% 95%, rgba(26, 55, 200, .5), transparent 65%), var(--sx-ink);
}
.sx-biz-media img { max-height: 330px; max-width: 86%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); margin-top: 20px; }
.sx-biz-num { position: absolute; top: 24px; left: 28px; font-family: var(--sx-mono-f); font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .1em; z-index: 1; }
.sx-biz-name { position: absolute; top: 18px; right: 22px; z-index: 1; font-size: 13px; color: #fff; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.sx-biz-body { padding: 44px 48px 48px; }
.sx-biz-body h3 { margin-top: 12px; font-size: clamp(26px, 2.5vw, 34px); letter-spacing: -.03em; font-weight: 500; line-height: 1.12; }
.sx-biz-body > p { margin-top: 12px; font-size: 17px; color: var(--sx-fg-2); max-width: 620px; }
.sx-biz-feats { margin-top: 32px !important; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sx-line-soft); }
.sx-biz-feats li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--sx-line-soft); }
.sx-biz-feats li:nth-child(odd) { border-right: 1px solid var(--sx-line-soft); }
.sx-biz-feats li:nth-child(even) { padding-left: 24px; }
.sx-biz-feats li:nth-last-child(-n+2) { border-bottom: 0; }
.sx-biz-feats b { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.sx-biz-feats span { font-size: 14.5px; color: var(--sx-fg-2); line-height: 1.55; }
.sx-biz-body .sx-actions { margin-top: 32px; }

/* Why */
.sx-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sx-pillar { background: var(--sx-raise); border: 1px solid var(--sx-line-soft); border-radius: var(--sx-r); padding: 32px 28px 30px; display: flex; flex-direction: column; min-height: 330px; transition: transform .4s var(--sx-ease), box-shadow .4s; }
.sx-pillar:hover { transform: translateY(-4px); box-shadow: var(--sx-shadow); }
.sx-pillar-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sx-pillar-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sx-sunk); display: grid; place-items: center; color: var(--sx-em); border: 1px solid var(--sx-line-soft); }
.sx-pillar-ic svg { width: 24px; height: 24px; }
.sx-pillar .sx-mono { font-size: 11px; color: var(--sx-fg-3); letter-spacing: .12em; }
.sx-pillar h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin-top: auto; padding-top: 48px; line-height: 1.22; }
.sx-pillar p { margin-top: 10px; font-size: 15px; color: var(--sx-fg-2); line-height: 1.6; min-height: 96px; }

/* Process */
.sx-process { overflow: hidden; }
.sx-process::after { content: ""; position: absolute; left: -200px; bottom: -400px; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(closest-side, var(--sx-glow-a), transparent); pointer-events: none; }
.sx-process .sx-wrap { position: relative; z-index: 1; }
.sx-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.sx-steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--sx-orange), var(--sx-line) 40%, var(--sx-line)); }
.sx-step { padding-right: 36px; position: relative; }
.sx-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sx-bg); border: 1px solid var(--sx-line); font-family: var(--sx-mono-f); font-size: 13px; color: var(--sx-fg-2); position: relative; }
.sx-step:first-child .sx-dot { background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; box-shadow: 0 0 0 8px rgba(255, 90, 31, .15); }
.sx-step h3 { margin-top: 32px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.sx-step p { margin-top: 12px; font-size: 15px; color: var(--sx-fg-2); line-height: 1.65; }

/* Platform bento */
.sx-platform { padding-top: 0; }
.sx-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
.sx-cell { grid-column: span 2; border-radius: var(--sx-r); border: 1px solid var(--sx-line-soft); background: var(--sx-raise); padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.sx-cell-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sx-sunk); border: 1px solid var(--sx-line-soft); color: var(--sx-fg); position: relative; z-index: 1; }
.sx-cell-ic svg { width: 20px; height: 20px; }
.sx-cell h3 { margin-top: auto; font-size: 21px; font-weight: 500; letter-spacing: -.02em; position: relative; z-index: 1; }
.sx-cell p { margin-top: 6px; font-size: 14.5px; color: var(--sx-fg-2); line-height: 1.55; max-width: 380px; position: relative; z-index: 1; }
.sx-cell--hero { grid-column: span 3; grid-row: span 2; background: linear-gradient(160deg, var(--sx-ink-3), var(--sx-ink)); color: #fff; }
.sx-cell--hero .sx-cell-ic { background: rgba(255, 255, 255, .08); border-color: var(--sx-line-ink); color: #fff; }
.sx-cell--hero p { color: var(--sx-on-ink-2); }
.sx-cell--hero h3 { font-size: 38px; letter-spacing: -.03em; line-height: 1.08; }
.sx-orbit { position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.sx-orbit::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.sx-orbit::after { content: ""; position: absolute; inset: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .5), rgba(26, 55, 200, .35) 60%, transparent 70%); }
.sx-orbit-chips { position: absolute; right: 40px; top: 40px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; z-index: 1; }
.sx-orbit-chips span { font-family: var(--sx-mono-f); font-size: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--sx-line-ink); color: #fff; backdrop-filter: blur(6px); }
.sx-cell--cobalt, .sx-cell--half { grid-column: span 3; }
.sx-cell--cobalt { background: linear-gradient(135deg, var(--sx-cobalt), #0e1f7a); color: #fff; border-color: transparent; }
.sx-cell--cobalt .sx-cell-ic { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.sx-cell--cobalt p { color: rgba(255, 255, 255, .75); }
.sx-cert { position: absolute; top: 30px; right: 30px; display: flex; gap: 8px; }
.sx-cert span { font-family: var(--sx-mono-f); font-size: 11.5px; padding: 7px 11px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; letter-spacing: .04em; }
.sx-code { position: absolute; top: 26px; right: 26px; font-family: var(--sx-mono-f); font-size: 12px; line-height: 1.7; padding: 14px 16px; border-radius: 12px; background: var(--sx-sunk); border: 1px solid var(--sx-line-soft); color: var(--sx-fg-2); }
.sx-code b { color: var(--sx-em); font-weight: 500; }
.sx-code i { color: var(--sx-orange); font-style: normal; }

/* Industries */
.sx-ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; grid-auto-flow: dense; }
.sx-ind { position: relative; border-radius: var(--sx-r); overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.sx-ind img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; transition: transform 1.2s var(--sx-ease); }
.sx-ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 9, 21, 0) 35%, rgba(6, 9, 21, .88) 100%); transition: background .5s; }
.sx-ind:hover img { transform: scale(1.06); }
.sx-ind:hover::before { background: linear-gradient(180deg, rgba(6, 9, 21, .2) 0%, rgba(6, 9, 21, .92) 100%); }
.sx-ind-idx { position: absolute; top: 20px; left: 22px; font-family: var(--sx-mono-f); font-size: 11.5px; letter-spacing: .1em; padding: 5px 9px; border-radius: 999px; background: rgba(6, 9, 21, .45); backdrop-filter: blur(6px); }
.sx-ind-go { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); display: grid; place-items: center; transition: .4s var(--sx-ease); border: 1px solid rgba(255, 255, 255, .2); }
.sx-ind-go svg { width: 14px; height: 14px; }
.sx-ind:hover .sx-ind-go { background: var(--sx-orange); border-color: var(--sx-orange); transform: rotate(-45deg); }
.sx-ind h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.sx-ind p { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 6px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--sx-ease), opacity .4s; }
.sx-ind:hover p, .sx-ind--wide p { max-height: 66px; opacity: 1; }
.sx-ind--wide { grid-column: span 2; }
.sx-ind--wide h3 { font-size: 28px; }

/* Case studies */
.sx-case { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--sx-r-lg); overflow: hidden; background: var(--sx-raise); border: 1px solid var(--sx-line-soft); }
.sx-case-media { position: relative; min-height: 520px; background: var(--sx-ink); display: block; }
.sx-case-media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.sx-case-badge { position: absolute; left: 28px; bottom: 28px; padding: 14px 18px; border-radius: 14px; color: #fff; background: rgba(6, 9, 21, .6); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .15); }
.sx-case-badge .sx-mono { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sx-on-ink-2); }
.sx-case-badge b { display: block; font-weight: 500; font-size: 16px; margin-top: 4px; }
.sx-case-body { padding: 60px 56px; display: flex; flex-direction: column; }
.sx-case-body h3 { margin-top: 24px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.06; }
.sx-case-body h3 a:hover { color: var(--sx-em); }
.sx-case-quote { margin-top: 28px; padding: 24px 26px; border-radius: 16px; background: var(--sx-sunk); }
.sx-case-quote p { font-size: 15.5px; color: var(--sx-fg-2); line-height: 1.65; }
.sx-case-actions { margin-top: auto; padding-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sx-case-more { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sx-case-mini { display: flex; flex-direction: column; padding: 28px; border-radius: var(--sx-r); background: var(--sx-raise); border: 1px solid var(--sx-line-soft); transition: transform .4s var(--sx-ease), box-shadow .4s; }
.sx-case-mini:hover { transform: translateY(-3px); box-shadow: var(--sx-shadow); }
.sx-case-mini .sx-mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sx-orange); }
.sx-case-mini h4 { margin-top: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.sx-case-mini p { margin-top: 8px; font-size: 14.5px; color: var(--sx-fg-2); flex: 1; }
.sx-case-mini .sx-more { margin-top: 18px; }
.sx-empty { padding: 56px; border-radius: var(--sx-r-lg); border: 1px dashed var(--sx-line); text-align: center; color: var(--sx-fg-2); }
.sx-empty h3 { font-size: 24px; font-weight: 500; color: var(--sx-fg); margin-bottom: 8px; }

/* Articles */
.sx-art-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--sx-line-soft); }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sx-line) !important; font-size: 14px; color: var(--sx-fg-2); transition: .25s; }
.sx-chip:hover { border-color: var(--sx-fg) !important; color: var(--sx-fg); }
.sx-chip.is-active { background: var(--sx-inv-bg); border-color: var(--sx-inv-bg) !important; color: var(--sx-inv-fg); }
.sx-arrows { display: flex; gap: 8px; flex: none; }
.sx-arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--sx-line) !important; display: grid; place-items: center; transition: .25s; color: var(--sx-fg); }
.sx-arrows button:hover { background: var(--sx-inv-bg); border-color: var(--sx-inv-bg) !important; color: var(--sx-inv-fg); }
.sx-arrows svg { width: 16px; height: 16px; }
.sx-rail { margin-top: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.sx-rail::-webkit-scrollbar { display: none; }
.sx-post { scroll-snap-align: start; display: flex; flex-direction: column; }
.sx-post[hidden] { display: none; }
.sx-post-thumb { display: block; aspect-ratio: 16 / 10; border-radius: var(--sx-r); overflow: hidden; background: var(--sx-bg-alt); }
.sx-post-thumb img, .sx-post-thumb > * { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--sx-ease); }
.sx-post:hover .sx-post-thumb img { transform: scale(1.04); }
.sx-post-meta { margin-top: 22px; display: flex; gap: 12px; align-items: center; font-family: var(--sx-mono-f); font-size: 11.5px; letter-spacing: .06em; color: var(--sx-fg-3); text-transform: uppercase; }
.sx-post-meta b { color: var(--sx-orange); font-weight: 500; }
.sx-post-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--sx-fg-3); }
.sx-post h3 { margin-top: 12px; font-size: 21px; line-height: 1.28; font-weight: 500; letter-spacing: -.02em; }
.sx-post h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sx-post-excerpt { margin-top: 10px; font-size: 15px; color: var(--sx-fg-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-post-excerpt p { margin: 0; }
.sx-post .sx-more { margin-top: 18px; }
.sx-post:hover .sx-more svg, .sx-case-mini:hover .sx-more svg { transform: translateX(4px); }

/* Contact / CTA */
.sx-cta { padding: 40px 0 140px; background: var(--sx-raise); scroll-margin-top: 92px; }
.sx-cta-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: 80px; color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(255, 90, 31, .55), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(26, 55, 200, .7), transparent 60%), var(--sx-ink);
  border: 1px solid var(--sx-line-soft);
  display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: center;
}
.sx-cta-card::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  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: 64px 64px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.sx-cta-card > * { position: relative; }
.sx-cta-card .sx-eyebrow { color: rgba(255, 255, 255, .7); }
.sx-cta-card h2 { margin-top: 24px; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.sx-cta-card h2 .sx-serif { color: var(--sx-orange-2); }
.sx-cta-card .sx-lede { margin-top: 24px; color: rgba(255, 255, 255, .78); }
.sx-cta-points { margin: 32px 0; display: flex; flex-wrap: wrap; gap: 24px; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.sx-cta-points span { display: flex; gap: 8px; align-items: center; }
.sx-cta-points svg { width: 16px; height: 16px; color: var(--sx-signal); }
.sx-form { background: var(--sx-raise); color: var(--sx-fg); border-radius: 24px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid var(--sx-line-soft); }
.sx-form h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.sx-form > p { font-size: 14px; color: var(--sx-fg-2); margin-top: 6px; line-height: 1.55; }
.sx-field { display: block; margin-top: 16px; }
.sx-field span { display: block; font-size: 12.5px; font-weight: 500; color: var(--sx-fg-2); margin-bottom: 6px; }
.sx-field input, .sx #leadModal input {
  width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--sx-line); background: var(--sx-sunk); padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--sx-fg); outline: none; transition: border-color .2s, box-shadow .2s;
}
.sx-field input::placeholder, .sx #leadModal input::placeholder { color: var(--sx-fg-3); }
.sx-field input:focus, .sx #leadModal input:focus { border-color: var(--sx-cobalt); box-shadow: 0 0 0 4px rgba(26, 55, 200, .18); }
.sx-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sx-form .sx-btn { margin-top: 22px; }
.sx-form .sx-btn svg { width: 18px; height: 18px; }
.sx-form .sx-btn:hover svg { transform: none; }
.sx-form-error { margin-top: 14px; font-size: 13.5px; color: #e5484d; }
.sx-form-note { margin-top: 14px !important; font-size: 12.5px; color: var(--sx-fg-3); display: flex; gap: 6px; justify-content: center; align-items: center; text-align: center; }
.sx-form-note svg { width: 13px; height: 13px; }

/* =========================================================
   LEAD MODAL (parent markup, restyled)
   ========================================================= */
.sx #leadModal.lead-modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: rgba(6, 9, 21, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sx #leadModal.lead-modal-overlay.is-open { opacity: 1; visibility: visible; }
.sx #leadModal .lead-modal {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--sx-raise); color: var(--sx-fg); border: 1px solid var(--sx-line); border-radius: 24px; padding: 36px 32px 28px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); transform: translateY(16px) scale(.98); transition: transform .4s var(--sx-ease);
}
.sx #leadModal.is-open .lead-modal { transform: none; }
.sx #leadModal h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--sx-fg); padding-right: 40px; }
.sx #leadModal .lead-modal-intro { margin: 8px 0 8px; font-size: 14.5px; color: var(--sx-fg-2); line-height: 1.55; }
.sx #leadModal .lead-modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sx-line);
  background: transparent; color: var(--sx-fg); font-size: 22px; line-height: 1; cursor: pointer;
}
.sx #leadModal .lead-modal-close:hover { background: var(--sx-tint); }
.sx #leadModal .lead-form-group { margin-top: 14px; }
.sx #leadModal label { display: block; font-size: 12.5px; font-weight: 500; color: var(--sx-fg-2); margin-bottom: 6px; }
.sx #leadModal .lead-form-submit {
  width: 100%; height: 52px; margin-top: 22px; border: 0; border-radius: 999px; background: var(--sx-orange); color: #fff;
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(255, 90, 31, .7);
}
.sx #leadModal .lead-form-submit { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sx #leadModal .lead-form-submit svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.sx #leadModal .lead-form-submit:hover { background: #ff6a33; }
.sx #leadModal .lead-form-note { margin: 14px 0 0; font-size: 12.5px; color: var(--sx-fg-3); text-align: center; }

/* =========================================================
   SEARCH OVERLAY (parent main.js toggles .is-open)
   ========================================================= */
.sx-search {
  position: fixed; inset: 0; z-index: 990; display: flex; align-items: flex-start; justify-content: center; padding: 18vh 24px 24px;
  background: rgba(6, 9, 21, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sx-search.is-open { opacity: 1; visibility: visible; }
.sx-search-form { width: 100%; max-width: 720px; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--sx-raise); border: 1px solid var(--sx-line); color: var(--sx-fg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.sx-search-icon svg { width: 20px; height: 20px; color: var(--sx-fg-3); display: block; }
.sx-search-form input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; color: var(--sx-fg); font: inherit; font-size: 18px; }
.sx-search-form input::placeholder { color: var(--sx-fg-3); }

/* =========================================================
   FOOTER (always dark)
   ========================================================= */
.sx-footer { background: var(--sx-ink); color: var(--sx-on-ink-2); padding: 96px 0 0; overflow: hidden; border-top: 1px solid var(--sx-line-soft); font-size: 15px; line-height: 1.6; }
.sx-foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sx-foot-logo img { height: 62px; width: auto; display: block; }
.sx-foot-brand p { margin: 22px 0 0; max-width: 300px; }
.sx-social { margin-top: 28px; display: flex; gap: 10px; }
.sx-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sx-line-ink); display: grid; place-items: center; transition: .25s; color: var(--sx-on-ink); }
.sx-social a:hover { background: #fff; color: var(--sx-ink); }
.sx-social svg { width: 16px; height: 16px; }
.sx-footer h5 { margin: 0 0 22px; font-family: var(--sx-mono-f); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-on-ink-3); font-weight: 500; }
.sx-foot-col li + li { margin-top: 12px; }
.sx-foot-col a { transition: color .2s; }
.sx-foot-col a:hover { color: #fff; }
.sx-foot-col .footer-widget, .sx-foot-col .footer-widget a { color: var(--sx-on-ink-2); }
.sx-mail { font-size: 19px; color: #fff !important; letter-spacing: -.01em; }
.sx-foot-contact address { margin-top: 18px; font-style: normal; font-size: 14.5px; line-height: 1.65; }
.sx-hours { margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-family: var(--sx-mono-f); font-size: 12px; color: var(--sx-signal); }
.sx-hours::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sx-signal); }
.sx-foot-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: 13.5px; color: var(--sx-on-ink-3); }
.sx-foot-bottom nav { display: flex; gap: 28px; }
.sx-foot-bottom a:hover { color: #fff; }
.sx-wordmark {
  font-size: clamp(120px, 21vw, 300px); line-height: .78; letter-spacing: -.07em; font-weight: 600; text-align: center; user-select: none; margin-bottom: -40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================
   FLOATING WHATSAPP + GREETING BUBBLE + SCROLL PROGRESS
   Ported from the parent theme (main.css + whatsapp-bubble-wave.css)
   so they look and behave exactly the same.
   ========================================================= */
.scroll-progress-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 98; width: 52px; height: 52px; padding: 0;
  display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; cursor: pointer;
  background: #0f1322; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5), 0 0 20px rgba(255, 90, 31, .15);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1), transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.scroll-progress-btn.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-progress-btn:hover { box-shadow: 0 15px 40px -8px rgba(255, 90, 31, .4), 0 0 30px rgba(255, 90, 31, .3); transform: translateY(-3px) scale(1.05); }
.scroll-progress-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.scroll-progress-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 6; }
.scroll-progress-fill { fill: none; stroke: var(--sx-orange); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset .15s linear; filter: drop-shadow(0 0 6px rgba(255, 90, 31, .6)); }
.scroll-progress-text { position: relative; z-index: 2; font-family: var(--sx-sans); font-size: 11px; font-weight: 800; color: #fff; line-height: 1; transition: opacity .25s ease; }
.scroll-progress-arrow { position: absolute; z-index: 2; width: 20px; height: 20px; color: var(--sx-orange); opacity: 0; transform: scale(.6); transition: opacity .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.scroll-progress-btn.is-complete .scroll-progress-text { opacity: 0; }
.scroll-progress-btn.is-complete .scroll-progress-arrow { opacity: 1; transform: scale(1); }
html.sx-light .scroll-progress-btn { background: #fff; box-shadow: 0 10px 30px -8px rgba(30, 58, 138, .25), 0 0 20px rgba(26, 55, 200, .12); }
html.sx-light .scroll-progress-bg { stroke: rgba(15, 23, 42, .12); }
html.sx-light .scroll-progress-text { color: #0f172a; }
html.sx-light .scroll-progress-fill { stroke: var(--sx-cobalt); filter: drop-shadow(0 0 6px rgba(26, 55, 200, .45)); }
html.sx-light .scroll-progress-arrow { color: var(--sx-cobalt); }

.wa-floating-btn {
  position: fixed; right: 24px; bottom: 88px; z-index: 98; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: #0f1322; border: 1px solid rgba(37, 211, 102, .3); color: #25d366 !important; text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .5), 0 0 20px rgba(37, 211, 102, .25);
  animation: waFloatIn .6s cubic-bezier(.34, 1.56, .64, 1) both;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.wa-floating-btn:hover { transform: translateY(-4px) scale(1.08); border-color: rgba(37, 211, 102, .8); color: #fff !important; background: #25d366; box-shadow: 0 12px 32px -6px rgba(37, 211, 102, .5), 0 0 30px rgba(37, 211, 102, .4); }
.wa-icon { position: relative; z-index: 2; width: 26px; height: 26px; transition: transform .3s; }
.wa-floating-btn:hover .wa-icon { transform: scale(1.1); }
.wa-pulse-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); opacity: 0; pointer-events: none; animation: waPulse 2.5s cubic-bezier(.4, 0, .2, 1) infinite; }
.wa-pulse-ring-delayed { animation-delay: 1.2s; }
.wa-floating-btn:hover .wa-pulse-ring { animation-play-state: paused; opacity: 0; }
html.sx-light .wa-floating-btn { background: #fff; border-color: rgba(37, 211, 102, .4); box-shadow: 0 8px 24px -6px rgba(30, 58, 138, .2), 0 0 20px rgba(37, 211, 102, .2); }
html.sx-light .wa-floating-btn:hover { background: #25d366; }
@keyframes waFloatIn { from { opacity: 0; transform: translateY(20px) scale(.6); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1.8); opacity: 0; } }

.wa-chat-bubble {
  position: fixed; right: 24px; bottom: 154px; z-index: 97; width: min(215px, calc(100vw - 48px));
  padding: 17px 44px 17px 19px; border: 1px solid rgba(37, 211, 102, .28); border-radius: 22px 22px 4px 22px;
  background: rgba(15, 19, 34, .96); color: #f8fafc; font-family: var(--sx-sans);
  box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .7), 0 0 26px rgba(37, 211, 102, .12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform-origin: bottom right;
  transition: opacity .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1), visibility .3s;
}
.smartme-js .wa-chat-bubble { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.94); }
.smartme-js .wa-chat-bubble.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.smartme-js .wa-chat-bubble.is-dismissed { display: none; }
.wa-chat-bubble::after { content: ""; position: absolute; right: 18px; bottom: -8px; width: 16px; height: 16px; border-right: 1px solid rgba(37, 211, 102, .28); border-bottom: 1px solid rgba(37, 211, 102, .28); background: #0f1322; transform: rotate(45deg); }
.wa-chat-bubble-greeting, .wa-chat-bubble-message { position: relative; z-index: 1; display: block; }
.wa-chat-bubble-greeting { margin-bottom: 5px; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.2; }
.wa-chat-wave { display: inline-block; margin-left: 2px; transform-origin: 72% 72%; animation: waChatWave 2.8s ease-in-out 1s infinite; }
@keyframes waChatWave { 0%, 55%, 100% { transform: rotate(0deg); } 62% { transform: rotate(18deg); } 69% { transform: rotate(-10deg); } 76% { transform: rotate(16deg); } 83% { transform: rotate(-6deg); } 90% { transform: rotate(8deg); } }
.wa-chat-bubble-message { color: #dbe4ef; font-size: 14px; font-weight: 600; line-height: 1.4; }
.wa-chat-bubble-message-line { display: block; white-space: nowrap; }
.wa-chat-bubble-close {
  position: absolute; top: 11px; right: 12px; z-index: 2; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: none; color: #94a3b8; font-size: 23px; font-weight: 400; line-height: 1; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.wa-chat-bubble-close:hover, .wa-chat-bubble-close:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; transform: rotate(4deg); outline: none; }
html.sx-light .wa-chat-bubble { border-color: rgba(30, 58, 138, .12); background: rgba(255, 255, 255, .97); color: #0f172a; box-shadow: 0 18px 48px -18px rgba(30, 58, 138, .3), 0 0 24px rgba(37, 211, 102, .1); }
html.sx-light .wa-chat-bubble::after { border-color: rgba(30, 58, 138, .12); background: #fff; }
html.sx-light .wa-chat-bubble-greeting { color: #0f172a; }
html.sx-light .wa-chat-bubble-message { color: #334155; }
html.sx-light .wa-chat-bubble-close { color: #64748b; }
html.sx-light .wa-chat-bubble-close:hover { background: rgba(30, 58, 138, .08); color: #0f172a; }
@media (max-width: 1024px) {
  .scroll-progress-btn { right: 16px; bottom: 24px; width: 46px; height: 46px; }
  .wa-floating-btn { right: 16px; bottom: 82px; width: 46px; height: 46px; }
  .wa-icon { width: 22px; height: 22px; }
  .wa-chat-bubble { right: 16px; bottom: 140px; }
}
@media (max-width: 480px) {
  .wa-chat-bubble { right: 10px; width: min(215px, calc(100vw - 20px)); padding: 14px 36px 14px 16px; }
  .wa-chat-bubble-greeting { font-size: 17px; }
  .wa-chat-bubble-message { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-chat-bubble, .wa-chat-bubble-close, .wa-chat-wave, .wa-floating-btn, .wa-pulse-ring { animation: none !important; transition: none !important; }
}

/* Reveal */
.sx-rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--sx-ease), transform 1s var(--sx-ease); }
.sx-rv.is-in { opacity: 1; transform: none; }
.sx-rv.sx-d1 { transition-delay: .08s; } .sx-rv.sx-d2 { transition-delay: .16s; } .sx-rv.sx-d3 { transition-delay: .24s; }
.no-js .sx-rv, .sx-no-io .sx-rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sx-rv, .sx-intro { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .sx-marquee-track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .sx-nav-inner { gap: 20px; }
  .sx-nav-right .sx-lang a { padding: 6px 8px; }
  .sx-menu--desktop > li > .sx-nav-link { padding: 0 10px; font-size: 14px; }
  .sx-mega--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-mega--products .sx-mega-feature { display: none; }
}
@media (max-width: 1024px) {
  .sx-flow { opacity: .55; }
  /* Mobile: flag dropdown instead of the ID / EN / 中文 pills used on desktop */
  .sx-nav-right .sx-lang { display: none; }
  .sx-langdd { display: block; }
  .sx-nav-links, .sx-nav-cta { display: none !important; }
  .sx-nav-right { gap: 8px; }
  body { padding-bottom: 92px; }
  .sx-bottomnav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900;
    padding: 8px; border-radius: 24px; background: rgba(12, 16, 40, .86); border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6);
    font-family: var(--sx-sans);
  }
  html.sx-light .sx-bottomnav { background: rgba(255, 255, 255, .9); border-color: rgba(10, 15, 36, .08); box-shadow: 0 20px 50px -20px rgba(10, 15, 36, .35); }
  .sx-bottomnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px 7px; border-radius: 16px; color: rgba(255, 255, 255, .62); text-decoration: none; transition: color .25s, background .25s; }
  html.sx-light .sx-bottomnav a { color: #5a6075; }
  .sx-bottomnav-ic { display: grid; place-items: center; width: 26px; height: 26px; }
  .sx-bottomnav-ic svg { width: 22px; height: 22px; }
  .sx-bottomnav-label { font-size: 11.5px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
  .sx-bottomnav a.is-active { color: #fff; background: rgba(255, 90, 31, .16); }
  .sx-bottomnav a.is-active .sx-bottomnav-ic { color: var(--sx-orange-2); }
  html.sx-light .sx-bottomnav a.is-active { color: #0a0f24; background: rgba(255, 90, 31, .12); }
  html.sx-light .sx-bottomnav a.is-active .sx-bottomnav-ic { color: var(--sx-orange); }
  /* Smartive logo icon, tinted like the other icons (mask, as in the parent theme) */
  .sx-bn-smartive { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--sx-bn-mask) center / contain no-repeat; mask: var(--sx-bn-mask) center / contain no-repeat; }
  .scroll-progress-btn { bottom: 104px !important; }
  .wa-floating-btn { bottom: 160px !important; }
  .wa-chat-bubble { bottom: 218px !important; }
}

@media (max-width: 1100px) {
  :root { --sx-gutter: 28px; }
  .sx-section { padding: 110px 0; }
  .sx-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 48px; }
  .sx-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .sx-partners { grid-template-columns: 1fr; gap: 24px; }
  .sx-panel.is-active { grid-template-columns: 1fr; }
  .sx-sublist { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .sx-sublist h6 { width: 100%; padding: 4px 6px 6px; }
  .sx-sublist button { width: auto; padding: 10px 14px; border: 1px solid var(--sx-line-soft); }
  .sx-sublist button span { display: none; }
  .sx-biz-grid { grid-template-columns: 1fr; gap: 48px; }
  .sx-biz-sticky { position: static; }
  .sx-biz-index { display: none; }
  .sx-pillars { grid-template-columns: repeat(2, 1fr); }
  .sx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .sx-steps::before { display: none; }
  .sx-cta-card { grid-template-columns: 1fr; padding: 56px; gap: 40px; }
  .sx-foot-top { grid-template-columns: repeat(3, 1fr); }
  .sx-foot-brand { grid-column: 1 / -1; }
  .sx-rail { grid-auto-columns: calc((100% - 24px) / 2); }
  .sx-case-more { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --sx-gutter: 20px; }
  .sx-nav-inner { height: 76px; gap: 12px; }
  .sx-logo img { height: 46px; }
  .sx-foot-logo img { height: 55px; }
  .sx-nav-cta { display: none !important; }
  .sx-hero { padding-top: 120px; }
  .sx-hero-top { grid-template-columns: 1fr; }
  .sx-hero-lead, .sx-hero-sub { margin-top: 28px; }
  .sx-hero-lead p { font-size: 20px; }
  .sx-stage { margin-top: 48px; padding: 8px 8px 0; border-radius: 22px 22px 0 0; }
  .sx-stage-inner { height: 420px; border-radius: 16px 16px 0 0; }
  .sx-channels { left: 16px; bottom: 16px; width: auto; right: 16px; }
  .sx-since { display: none; }
  .sx-trust-head { flex-direction: column; align-items: flex-start; }
  .sx-section { padding: 88px 0; }
  .sx-stats { grid-template-columns: 1fr 1fr; }
  .sx-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .sx-stat { padding-bottom: 28px; }
  .sx-about-cols { grid-template-columns: 1fr; gap: 16px; }
  .sx-tabs { grid-template-columns: 1fr; }
  .sx-tab-n { display: none; }
  .sx-feature { grid-template-columns: 1fr; min-height: 0; }
  .sx-feature-media { padding: 64px 24px 32px; }
  .sx-feature-media img { max-height: 260px; }
  .sx-feature-body { padding: 32px 24px; }
  .sx-biz-media { height: 300px; }
  .sx-biz-body { padding: 28px 24px 32px; }
  .sx-biz-feats { grid-template-columns: 1fr; }
  .sx-biz-feats li, .sx-biz-feats li:nth-child(even) { padding: 16px 0; border-right: 0 !important; }
  .sx-biz-feats li:nth-last-child(2) { border-bottom: 1px solid var(--sx-line-soft); }
  .sx-pillars { grid-template-columns: 1fr; }
  .sx-pillar { min-height: 0; }
  .sx-pillar h3 { padding-top: 28px; }
  .sx-pillar p { min-height: 0; }
  .sx-steps { grid-template-columns: 1fr; }
  .sx-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sx-cell, .sx-cell--hero, .sx-cell--cobalt, .sx-cell--half { grid-column: auto; grid-row: auto; min-height: 210px; }
  .sx-cell--hero { min-height: 380px; }
  .sx-code, .sx-cert { position: static; margin-bottom: 18px; align-self: flex-start; }
  .sx-cell--half, .sx-cell--cobalt { padding-top: 26px; }
  .sx-ind-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .sx-ind--wide { grid-column: auto; }
  .sx-ind p { max-height: 66px; opacity: 1; }
  .sx-case { grid-template-columns: 1fr; }
  .sx-case-media { min-height: 260px; }
  .sx-case-body { padding: 32px 24px; }
  .sx-case-more { grid-template-columns: 1fr; }
  .sx-art-bar { flex-direction: column; align-items: flex-start; }
  .sx-rail { grid-auto-columns: 86%; }
  .sx-cta { padding-bottom: 96px; }
  .sx-cta-card { padding: 36px 22px; border-radius: 26px; }
  .sx-field-row { grid-template-columns: 1fr; gap: 0; }
  .sx-form { padding: 24px 20px; }
  .sx-foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sx-foot-contact { grid-column: 1 / -1; }
  .sx-foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PRODUCTS — pinned step scrolling (desktop, see signature.js)
   ========================================================= */
.sx-scrolly.is-active .sx-scrolly-pin { position: sticky; }
.sx-scrolly-progress { display: none; }
.sx-scrolly.is-active .sx-scrolly-progress { display: block; margin-top: 16px; height: 3px; border-radius: 3px; background: var(--sx-line-soft); overflow: hidden; }
.sx-scrolly-progress span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--sx-orange), var(--sx-orange-2)); transition: width .7s var(--sx-ease); }
.sx-scrolly.is-active .sx-feature { min-height: min(540px, calc(100vh - 300px)); }
.sx-scrolly.is-active .sx-feature-media { padding: 40px; }
.sx-scrolly.is-active .sx-feature-media img { max-height: min(400px, calc(100vh - 380px)); }
.sx-scrolly.is-active .sx-feature-body { padding: 40px 44px; }
.sx-scrolly.is-active .sx-checks:has(li:nth-child(5)) { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.sx-feature-media img { transition: opacity .45s var(--sx-ease), transform .6s var(--sx-ease); }
.sx-feature-media img.is-swapping { opacity: 0; transform: scale(.96) translateY(6px); }
.sx-feature-body.sx-swap > * { animation: sx-rise .6s var(--sx-ease) both; }
.sx-feature-body.sx-swap > :nth-child(2) { animation-delay: .06s; }
.sx-feature-body.sx-swap > :nth-child(3) { animation-delay: .12s; }
.sx-feature-body.sx-swap > :nth-child(4) { animation-delay: .18s; }
@keyframes sx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sx-sublist button { transition: background .4s var(--sx-ease), color .4s; }
@media (prefers-reduced-motion: reduce) {
  .sx-feature-body.sx-swap > * { animation: none; }
}

/* Hero stat boxes over the video: 24+ · 1000+ · 24/7 */
.sx-hero-stats { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sx-hero-stats .sx-stat-box { position: relative; padding: 22px 24px; }
.sx-stat-box .sx-mono { font-size: 11px; letter-spacing: .14em; color: var(--sx-on-ink-2); text-transform: uppercase; }
.sx-stat-box strong { display: block; font-size: 52px; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 10px 0 6px; }
.sx-stat-box strong .sx-serif { color: var(--sx-orange-2); }
.sx-stat-box p { font-size: 13.5px; color: var(--sx-on-ink-2); line-height: 1.5; }
@media (max-width: 820px) {
  .sx-hero-stats { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .sx-hero-stats .sx-stat-box { padding: 12px; border-radius: 14px; }
  .sx-stat-box strong { font-size: 28px; margin: 6px 0 0; }
  .sx-stat-box p { display: none; }
  .sx-stat-box .sx-mono { font-size: 9.5px; letter-spacing: .08em; }
}

/* Light mode: hero accent text in brand blue (photo heroes keep orange for contrast) */
html.sx-light .sx-grad { background-image: linear-gradient(95deg, #1a37c8 0%, #2f55e6 55%, #4f86ff 100%); }
html.sx-light .sx-dhero--photo .sx-grad { background-image: linear-gradient(95deg, var(--sx-orange) 0%, var(--sx-orange-2) 60%, #ffb36b 100%); }

/* Products: selected item — blue in light mode, orange in dark mode */
.sx-sublist button.is-active { background: rgba(255, 106, 51, .18); color: #fff; }
.sx-sublist button.is-active span { color: var(--sx-orange-2); }
html.sx-light .sx-sublist button.is-active { background: rgba(26, 55, 200, .10); color: #1a37c8; font-weight: 500; }
html.sx-light .sx-sublist button.is-active span { color: #1a37c8; }
