/* ============================================================
   Clytrix Design System — engineered utilitarian / NVIDIA-green
   Palette: #76b900 accent · #000 ink · #f7f7f7 wash · 2px radii
   ============================================================ */
:root {
  --cx-green: #76b900;
  --cx-green-dark: #5a8d00;
  --cx-ink: #000000;
  --cx-body: #1a1a1a;
  --cx-mute: #757575;
  --cx-faint: #a7a7a7;
  --cx-line: #cccccc;
  --cx-line-dark: #5e5e5e;
  --cx-wash: #f7f7f7;
  --cx-white: #ffffff;
  --cx-red: #e52020;
  --cx-orange: #df6500;
  --cx-radius: 2px;
  --cx-shadow: 0 0 5px rgba(0,0,0,0.12);
  --cx-max: 1280px;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cx-white); color: var(--cx-body);
  font-family: var(--font-sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: #0046a4; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--cx-green-dark); }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }

.cx-wrap { max-width: var(--cx-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.cx-section { border-bottom: 1px solid var(--cx-line); position: relative; }
.cx-section--wash { background: var(--cx-wash); }
.cx-section--dark { background: var(--cx-ink); border-bottom: none; }
.cx-pad { padding-top: 68px; padding-bottom: 68px; }

/* Corner chips — signature detail */
.cx-chip, .cx-chip-br { position: relative; }
.cx-chip::before { content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px; background: var(--cx-green); z-index: 2; }
.cx-chip-br::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 12px; height: 12px; background: var(--cx-green); z-index: 2; }

/* Hero globe panel — frosted glass instead of a flat white card, so it
   blends into the ambient gradient behind it instead of sitting on top
   of it like a paper cutout. */
.cx-globe-panel {
  background: linear-gradient(155deg, rgba(255,255,255,0.55), rgba(255,255,255,0.22));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 30px 70px rgba(20,40,10,0.10), 0 2px 0 rgba(255,255,255,0.6) inset;
}
.cx-globe-panel::before, .cx-globe-panel::after { opacity: 0.9; }

/* Typography */
.cx-h1 { margin: 0; font-size: clamp(42px, 5.6vw, 74px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; color: var(--cx-ink); }
.cx-h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; color: var(--cx-ink); }
.cx-h3 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; font-weight: 700; color: var(--cx-ink); }
.cx-lead { font-size: 17px; line-height: 1.6; color: var(--cx-mute); }
.cx-body-text { font-size: 15px; line-height: 1.6; color: var(--cx-mute); }
.cx-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-mute); }
.cx-eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--cx-green); flex-shrink: 0; }
.cx-eyebrow--center { justify-content: center; }
.cx-eyebrow--dark { color: var(--cx-faint); }

/* Buttons */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cx-green); color: var(--cx-ink); border: none; border-radius: var(--cx-radius); font-family: inherit; font-size: 15px; font-weight: 700; padding: 14px 28px; cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.cx-btn:hover { background: var(--cx-green-dark); color: var(--cx-ink); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(118,185,0,0.35); }
.cx-btn:active { transform: translateY(0); }
.cx-btn--outline { background: transparent; border: 2px solid var(--cx-green); color: var(--cx-ink); padding: 12px 26px; }
.cx-btn--outline:hover { background: rgba(118,185,0,0.08); box-shadow: none; }
.cx-btn--on-dark { color: var(--cx-white); }
.cx-btn--on-dark:hover { color: var(--cx-white); }
.cx-btn--sm { font-size: 14px; padding: 10px 20px; }
.cx-btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--cx-green); outline-offset: 2px; }

/* Cards */
.cx-card { background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 28px; position: relative; }
.cx-card--hover { transition: transform .25s ease, box-shadow .25s ease; }
.cx-card--hover:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.09); }

/* Badges */
.cx-badge { display: inline-block; background: var(--cx-green); color: var(--cx-ink); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: var(--cx-radius); text-transform: uppercase; letter-spacing: .04em; }
.cx-badge--hot { background: var(--cx-orange); color: var(--cx-white); }
.cx-badge--green-outline { background: var(--cx-wash); border: 1px solid var(--cx-green); color: var(--cx-green-dark); }

/* Pills */
.cx-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cx-body); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 8px 12px; background: rgba(255,255,255,0.8); }
.cx-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--cx-green); animation: cxPulse 2.4s infinite; flex-shrink: 0; }

/* Flags — SVG (emoji flags don't render on Windows) */
.cx-flag { width: 20px; height: 14px; border-radius: 1px; object-fit: cover; display: inline-block; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.cx-flag--lg { width: 26px; height: 18px; }

/* Header */
.cx-utility { background: var(--cx-ink); color: var(--cx-white); border-bottom: 1px solid rgba(255,255,255,0.08); }
.cx-utility__in { max-width: var(--cx-max); margin: 0 auto; padding: 9px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: 0.02em; }
.cx-utility a { position: relative; color: rgba(255,255,255,0.68); font-weight: 700; padding-bottom: 1px; }
.cx-utility a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--cx-green); transition: right .2s ease;
}
.cx-utility a:hover { color: var(--cx-green); }
.cx-utility a:hover::after { right: 0; }
.cx-nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cx-line); box-shadow: var(--cx-shadow); }
.cx-nav__in { max-width: var(--cx-max); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; height: 64px; }
.cx-logo { display: flex; align-items: center; gap: 10px; color: var(--cx-ink); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; }
.cx-logo:hover { color: var(--cx-ink); }
.cx-logo::before { content: ""; width: 12px; height: 12px; background: var(--cx-green); display: inline-block; }
.cx-logo:has(img)::before, .cx-logo--animated::before { content: none; }
.cx-logo-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--cx-green); font-size: 21px; width: 22px; transform: translateX(-18px); opacity: 0; animation: cxLogoIconIn .65s cubic-bezier(0.16,1,0.3,1) .15s forwards; transition: transform .4s cubic-bezier(0.34,1.56,0.64,1); }
.cx-logo-word { display: inline-block; opacity: 0; transform: translateX(-8px); animation: cxLogoWordIn .5s ease .4s forwards; transition: letter-spacing .3s ease, opacity .3s ease; }
.cx-logo--animated:hover .cx-logo-icon { transform: translateX(-4px) rotate(-10deg) scale(1.08); }
.cx-logo--animated:hover .cx-logo-word { letter-spacing: 0.08em; }
@keyframes cxLogoIconIn { to { transform: translateX(0); opacity: 1; } }
@keyframes cxLogoWordIn { to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cx-logo-icon, .cx-logo-word { opacity: 1 !important; transform: none !important; animation: none !important; }
}
.cx-nav__links { display: flex; align-items: center; gap: 4px; min-width: 0; }
.cx-nav__link { color: var(--cx-body); font-size: 14px; font-weight: 700; padding: 10px 12px; border-radius: var(--cx-radius); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.cx-nav__link:hover { color: var(--cx-green-dark); }
.cx-nav__link .fa-chevron-down { font-size: 10px; color: var(--cx-mute); transition: transform .2s ease; }
.cx-menu-host { position: relative; }
.cx-menu-host.open .fa-chevron-down { transform: rotate(180deg); }
.cx-mega { position: absolute; top: 100%; left: 0; width: 640px; background: var(--cx-white); border: 1px solid var(--cx-line); border-top: 2px solid var(--cx-green); border-radius: var(--cx-radius); box-shadow: 0 12px 30px rgba(0,0,0,0.18); padding: 8px; z-index: 300; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.cx-menu-host.open .cx-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.cx-mega__label { padding: 12px 20px 0; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-mute); }
.cx-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; }
.cx-mega__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; color: var(--cx-body); border-radius: var(--cx-radius); }
.cx-mega__item:hover { background: var(--cx-wash); color: var(--cx-body); }
.cx-mega__icon { width: 34px; height: 34px; flex-shrink: 0; background: var(--cx-wash); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); display: inline-flex; align-items: center; justify-content: center; }
.cx-mega__icon i { color: var(--cx-green); font-size: 14px; }
.cx-mega__t { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cx-mega__d { font-size: 12px; color: var(--cx-mute); margin-top: 2px; }
.cx-mega__foot { margin: 6px 8px 8px; background: var(--cx-wash); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: var(--cx-radius); font-size: 13px; color: var(--cx-mute); }
.cx-mega__foot a { color: var(--cx-green-dark); font-weight: 700; white-space: nowrap; }
.cx-mega__foot a i { font-size: 10px; }
.cx-currency { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--cx-ink); background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 9px 10px; cursor: pointer; outline: none; min-height: 40px; }
@media (pointer: coarse) {
  .cx-currency { min-height: 44px; padding: 11px 12px; }
}
.cx-currency:focus { border-color: var(--cx-green); }
/* ============================================================
   Mobile burger button
   ============================================================ */
.cx-burger {
  width: 44px; height: 44px;
  border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
  background: var(--cx-white); cursor: pointer;
  color: var(--cx-ink); font-size: 18px;
  display: none; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cx-burger:hover { background: var(--cx-wash); border-color: var(--cx-green); color: var(--cx-green); }
.cx-burger.is-open { background: var(--cx-ink); border-color: var(--cx-ink); color: var(--cx-white); }

/* ============================================================
   Mobile menu: full-screen slide-from-right drawer
   ============================================================ */
/* Backdrop overlay */
.cx-mnav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0); /* starts transparent — JS will fade it */
  z-index: 800;
  transition: background .35s ease;
}
.cx-mnav-overlay.is-active { display: block; background: rgba(0,0,0,0.52); }

/* Drawer panel */
.cx-mnav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--cx-white);
  z-index: 850;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -4px 0 40px rgba(0,0,0,0.18);
}
.cx-mnav.is-open {
  transform: translateX(0);
}

/* --- Drawer: sticky header --- */
.cx-mnav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  border-bottom: 1px solid var(--cx-line);
  flex-shrink: 0;
  background: var(--cx-white);
  position: sticky; top: 0; z-index: 2;
}
.cx-mnav__head .cx-logo img { height: 32px; width: auto; display: block; }
.cx-mnav__head .cx-logo { display: inline-flex; align-items: center; }
/* --- Close button: clean and borderless --- */
.cx-mnav__close {
  width: 32px; height: 32px;
  border: none; background: none; cursor: pointer;
  color: var(--cx-ink); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: opacity .15s ease, color .15s ease;
  opacity: 0.7;
}
.cx-mnav__close:hover { opacity: 1; color: var(--cx-green-dark); }

/* --- Drawer: scrollable body --- */
.cx-mnav__body {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 16px 0 0;
  display: flex; flex-direction: column;
}

/* --- Plain top-level link --- */
.cx-mnav__link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  color: var(--cx-body); font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.cx-mnav__link:hover { background: var(--cx-wash); color: var(--cx-green-dark); }
.cx-mnav__link i {
  color: var(--cx-mute); font-size: 14px; width: 18px; text-align: center;
}

/* --- Accordion group: trigger button --- */
.cx-mnav__acc-trigger {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 24px;
  background: none; border: none;
  color: var(--cx-body); font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.cx-mnav__acc-trigger:hover { background: var(--cx-wash); color: var(--cx-green-dark); }
.cx-mnav__acc-trigger i.fa-solid {
  color: var(--cx-mute); font-size: 14px; width: 18px; text-align: center;
}
.cx-mnav__acc-label { flex: 1; }
.cx-mnav__acc-arrow {
  width: 24px; height: 24px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--cx-mute);
  transition: transform .28s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-mnav__acc-trigger[aria-expanded="true"] .cx-mnav__acc-arrow { transform: rotate(180deg); }
.cx-mnav__acc-trigger[aria-expanded="true"] { background: var(--cx-wash); color: var(--cx-green-dark); }

/* --- Accordion panel (submenu) --- */
.cx-mnav__acc-panel {
  max-height: 0; overflow: hidden;
  background: var(--cx-wash);
  transition: max-height .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-mnav__acc-panel.is-open { max-height: 1000px; }

/* --- Submenu link --- */
.cx-mnav__sub-link {
  display: block;
  padding: 12px 24px 12px 56px; /* Indent to line up with text after parent icon */
  font-size: 14px; font-weight: 600;
  color: var(--cx-body);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.cx-mnav__sub-link:hover {
  color: var(--cx-green-dark);
  background: rgba(0, 0, 0, 0.02);
}
.cx-mnav__sub-link:hover::before {
  content: ""; position: absolute; left: 42px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 9999px; background: var(--cx-green);
}

/* --- Drawer: footer sticky bar (currency + CTA) --- */
.cx-mnav__foot {
  flex-shrink: 0;
  padding: 18px 24px;
  border-top: 1px solid var(--cx-line);
  background: var(--cx-white);
  display: flex; flex-direction: column; gap: 12px;
}
.cx-mnav__foot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cx-mnav__cur-label { font-size: 13px; font-weight: 700; color: var(--cx-mute); }
/* Currency selector inside mobile drawer */
.cx-mnav__foot [data-currency-select] { flex: 1; }
.cx-mnav__foot [data-currency-select] select,
.cx-mnav__foot [data-currency-select] .cx-currency {
  width: 100%; justify-content: flex-start;
}
.cx-mnav__foot [data-cur-menu] {
  bottom: calc(100% + 6px) !important;
  top: auto !important;
  box-shadow: 0 -12px 30px rgba(0,0,0,0.18) !important;
  border-top: none !important;
  border-bottom: 2px solid var(--cx-green) !important;
}
.cx-mnav__foot .cx-btn { width: 100%; justify-content: center; }

/* --- Client login link row --- */
.cx-mnav__auth {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--cx-wash);
  font-size: 14px; font-weight: 700; color: var(--cx-body);
  text-decoration: none;
  transition: background .15s ease;
}
.cx-mnav__auth:hover { background: var(--cx-wash); color: var(--cx-green-dark); }
.cx-mnav__auth i { color: var(--cx-mute); font-size: 13px; }

/* --- Utility status and links to replace inline styles --- */
.cx-utility__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  font-weight: 600;
}
.cx-utility__status .cx-dot {
  width: 7px;
  height: 7px;
}
/* Plain inline text, matching the status message's own styling — a bordered
   pill here read as a random floating badge disconnected from the rest of
   the bar rather than part of one cohesive status line. */
.cx-utility__regions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cx-utility__regions img { display: block; border-radius: 2px; }
.cx-utility__links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

/* --- Navigation layout helper classes to replace inline styles --- */
.cx-nav__spacer {
  flex: 1;
}
.cx-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cx-nav__client-login {
  color: var(--cx-ink);
  font-size: 14px;
  font-weight: 700;
}

/* --- Mobile sub-menu link brand icon alignments --- */
.cx-mnav__sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cx-mnav__sub-link i {
  color: var(--cx-green);
  font-size: 13px;
  width: 16px;
  text-align: center;
}

/* --- Mobile brand icon color overrides --- */
.cx-mnav__link i,
.cx-mnav__acc-trigger i.fa-solid {
  color: var(--cx-green);
}
.cx-mnav__link i.fa-fire-flame-curved {
  color: var(--cx-orange);
}

/* --- Mega-badge alignment fixes --- */
.cx-mnav .cx-badge, .cx-nav__link .cx-badge {
  margin-left: 4px;
}

/* --- Header logo image alignment overrides --- */
.cx-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.cx-mnav__head .cx-logo img {
  height: 32px;
}

/* --- Footer layout helpers to replace inline styles --- */
.cx-footer .cx-logo {
  color: var(--cx-white);
  font-size: 18px;
}
.cx-footer__desc {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 220px;
}
.cx-footer__social {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.cx-footer__copy {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cx-footer__payments {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cx-footer__payments i {
  font-size: 18px;
}

/* --- Body scroll lock when drawer open --- */
body.cx-mnav-lock { overflow: hidden; }

/* ============================================================
   Responsive breakpoints
   ============================================================ */
@media (max-width: 1120px) {
  .cx-nav__links, .cx-nav__desktop-extra { display: none; }
  .cx-burger { display: flex; }
}
@media (max-width: 1024px) {
  .cx-utility__links { display: none !important; }
}
@media (max-width: 768px) {
  .cx-utility__in { padding: 8px 16px; }
  .cx-nav__in { padding: 0 16px; }
  .cx-mnav { width: 100vw; }
}
@media (max-width: 400px) {
  /* Only truly narrow phones drop the region chip; everything from small
     phones up through tablets keeps status + region visible side by side. */
  .cx-utility__regions { display: none !important; }
  .cx-utility__in { justify-content: center; }
}
@media (max-width: 560px) {
  /* Prevent horizontal layout overflow from inline grid columns on mobile */
  div[style*="grid-template-columns"], 
  section[style*="grid-template-columns"],
  .cx-wrap[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* Footer */
.cx-footer { background: var(--cx-ink); border-top: 1px solid var(--cx-line-dark); }
.cx-footer__grid { max-width: var(--cx-max); margin: 0 auto; padding: 72px 32px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; }
.cx-footer__head { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-faint); }
.cx-footer__links { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.cx-footer__links a { font-size: 14px; color: rgba(255,255,255,0.7); }
.cx-footer__links a:hover { color: var(--cx-green); }
.cx-footer__bottom { max-width: var(--cx-max); margin: 48px auto 0; padding: 24px 32px; border-top: 1px solid var(--cx-line-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--cx-faint); }
.cx-social { width: 44px; height: 44px; border-radius: 9999px; border: 1px solid var(--cx-line-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--cx-white); }
.cx-social:hover { border-color: var(--cx-green); color: var(--cx-green); }

/* Marquee */
.cx-marquee {
  overflow: hidden; border-top: 1px solid var(--cx-line); padding: 20px 0; white-space: nowrap;
  /* Fade the scrolling text out at both edges instead of hard-cutting it
     mid-character — the abrupt clip is what read as sloppy/unfinished. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cx-marquee__track { display: inline-flex; animation: cxMarquee 46s linear infinite; }
.cx-marquee__seg { display: inline-block; padding-right: 64px; font-size: 26px; font-weight: 700; letter-spacing: 0.06em; color: var(--cx-faint); }

/* Pricing */
.cx-seg { display: inline-flex; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); overflow: hidden; background: var(--cx-white); }
.cx-seg button { border: none; cursor: pointer; font-size: 13px; font-weight: 700; padding: 10px 16px; background: var(--cx-white); color: var(--cx-body); display: inline-flex; align-items: center; gap: 7px; transition: background .15s, color .15s; }
.cx-seg button.active { background: var(--cx-green); color: var(--cx-ink); }
.cx-bill-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 1px 6px; border-radius: 999px; font-size: 10px; font-weight: 700; background: var(--cx-orange); color: #fff; line-height: 1.6; }
.cx-seg button.active .cx-bill-badge { background: var(--cx-ink); color: var(--cx-green); }
.cx-seg button:disabled { cursor: not-allowed; opacity: .55; color: var(--cx-mute); }
.cx-seg button:disabled:hover { background: var(--cx-white); }
.cx-soon { display: inline-flex; align-items: center; justify-content: center; padding: 1px 6px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; background: var(--cx-wash); color: var(--cx-mute); border: 1px solid var(--cx-line); }
.cx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cx-tabs button { flex-shrink: 0; cursor: pointer; font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: var(--cx-radius); border: 1px solid var(--cx-line); background: var(--cx-white); color: var(--cx-body); transition: all .15s; }
.cx-tabs button.active { background: var(--cx-green); border-color: var(--cx-green); color: var(--cx-ink); }
.cx-plan { background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: 14px; padding: 32px; position: relative; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(16,24,16,0.04); transition: transform .3s cubic-bezier(0.16,1,0.3,1), box-shadow .3s cubic-bezier(0.16,1,0.3,1), border-color .3s ease; }
.cx-plan:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.13); border-color: var(--cx-faint); }
.cx-plan--pop { border: 2px solid var(--cx-green); background: linear-gradient(180deg, rgba(118,185,0,0.045) 0%, #fff 220px); box-shadow: 0 10px 28px rgba(118,185,0,0.12); }
.cx-plan--pop:hover { box-shadow: 0 24px 48px rgba(118,185,0,0.18); border-color: var(--cx-green); }
.cx-plan__pop-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--cx-green); color: var(--cx-white); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 16px; border-radius: 20px; box-shadow: 0 4px 10px rgba(118,185,0,0.35); white-space: nowrap; }
/* Intro-promo pill — replaces the old corner ribbon */
.cx-plan__ribbon-wrap { margin: 16px 0 0; }
.cx-plan__ribbon { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #ff6b1a, #ff9a3d); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; padding: 6px 14px; border-radius: 20px; box-shadow: 0 3px 10px rgba(255,107,26,0.35); }
.cx-plan__ribbon i { font-size: 11px; }
/* Plan description subtitle */
.cx-plan__descr { margin-top: 3px; font-size: 12px; color: var(--cx-mute); line-height: 1.4; max-width: 18ch; }
/* Icon + tier name + location sit side by side in one head row */
.cx-plan__head { display: flex; align-items: flex-start; gap: 14px; }
.cx-plan__icon.cx-icon-badge { width: 44px; height: 44px; flex-shrink: 0; margin-bottom: 0; margin-top: 2px; }
.cx-plan__icon.cx-icon-badge i { font-size: 20px !important; }
.cx-plan__name { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cx-body); }
.cx-plan__location { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cx-mute); }
.cx-plan__location .cx-flag { width: 16px; height: 11px; }
.cx-plan__badge-row { margin-top: 16px; }
.cx-plan__promo-badge { font-size: 11px; padding: 5px 11px; }
.cx-plan__renewal-note { margin-top: 6px; font-size: 12px; color: var(--cx-mute); }
.cx-plan__details-link { position: relative; display: inline-flex; align-items: center; gap: 6px; justify-content: center; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--cx-mute); text-align: center; width: fit-content; align-self: center; }
.cx-plan__details-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--cx-green-dark); transition: right .2s ease; }
.cx-plan__details-link:hover { color: var(--cx-green-dark); }
.cx-plan__details-link:hover::after { right: 0; }
.cx-plan__details-link i { font-size: 10px; transition: transform .2s ease; }
.cx-plan__details-link:hover i { transform: translateX(3px); }
.cx-plan__price-row { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cx-plan__price { font-size: 40px; font-weight: 700; line-height: 1; color: var(--cx-ink); }
.cx-plan__per { font-size: 14px; color: var(--cx-mute); }
.cx-plan__orig { font-size: 14px; color: var(--cx-faint); text-decoration: line-through; }
/* Spec strip — gives hardware/business-metric product types (VPS,
   Dedicated, Cloud, Reseller, Offshore) their own visual identity distinct
   from the plain feature-list cards used for Shared/Eco/WordPress. */
.cx-plan__specs { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--cx-wash); border: 1px solid var(--cx-line); border-radius: 8px; padding: 14px 10px; }
@media (max-width: 380px) {
  .cx-plan__specs { grid-template-columns: repeat(2, 1fr); }
}
.cx-plan__spec { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cx-plan__spec i { color: var(--cx-green); font-size: 16px; }
.cx-plan__spec span { font-size: 11px; font-weight: 700; color: var(--cx-body); line-height: 1.3; }
.cx-plan__feats { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--cx-line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cx-plan__feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--cx-body); }
.cx-plan__check { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(118,185,0,0.14); display: inline-flex; align-items: center; justify-content: center; }
.cx-plan__check i { color: var(--cx-green-dark); font-size: 9px; }
.cx-skel { border-radius: var(--cx-radius); background: linear-gradient(90deg, #f2f2f2 25%, #e7e7e7 37%, #f2f2f2 63%); background-size: 400px 100%; animation: cxShimmer 1.2s infinite linear; }

/* Bars */
.cx-bar-track { margin-top: 8px; height: 14px; background: var(--cx-wash); border-radius: var(--cx-radius); overflow: hidden; }
.cx-bar { height: 100%; width: 0; background: var(--cx-faint); border-radius: var(--cx-radius); }
.cx-bar--green { background: var(--cx-green); }

/* FAQ */
.cx-faq-item { border-top: 1px solid var(--cx-line); }
.cx-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; text-align: left; padding: 22px 4px; font-size: 17px; font-weight: 700; color: var(--cx-ink); }
.cx-faq-q:hover { color: var(--cx-green-dark); }
.cx-faq-q i { color: var(--cx-green); flex-shrink: 0; transition: transform .3s ease; }
.cx-faq-item.open .cx-faq-q i { transform: rotate(45deg); }
.cx-faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.cx-faq-a p { margin: 0; padding: 0 4px 24px; font-size: 15px; line-height: 1.6; color: var(--cx-mute); max-width: 720px; }

/* Media frame */
.cx-frame { position: relative; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-wash); overflow: hidden; }
.cx-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cx-article-hero-img { margin: 22px 0 0; }
.cx-article-hero-frame { height: 340px; margin: 0 0 8px; }
@media (max-width: 720px) { .cx-article-hero-frame { height: 200px; } }
.cx-float-tag { position: absolute; z-index: 3; animation: cxFloat 6s ease-in-out infinite; background: var(--cx-ink); color: var(--cx-white); border-radius: var(--cx-radius); padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); pointer-events: none; }
.cx-float-tag::before { content: ""; width: 8px; height: 8px; background: var(--cx-green); }

/* Page hero (inner pages) */
.cx-page-hero { border-bottom: 1px solid var(--cx-line); position: relative; overflow: hidden; }
.cx-page-hero .cx-wrap { padding-top: 56px; padding-bottom: 52px; }
.cx-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-mute); margin-bottom: 24px; }
.cx-breadcrumb a { color: var(--cx-mute); }
.cx-breadcrumb a:hover { color: var(--cx-green-dark); }

/* Reveal states (GSAP takes over; graceful without JS) */
.gs-reveal { opacity: 1; }
html.gsap-on .gs-reveal { opacity: 0; transform: translateY(20px); }
html.gsap-on .gs-hw { opacity: 0; transform: translateY(12px); display: inline-block; }
.gs-hw { display: inline-block; }

@keyframes cxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cxShimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes cxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes cxPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(118,185,0,0.5); } 50% { box-shadow: 0 0 0 7px rgba(118,185,0,0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; transition-duration: 0.01s !important; }
  html.gsap-on .gs-reveal, html.gsap-on .gs-hw { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  #top > .cx-wrap { grid-template-columns: 1fr !important; min-height: 0 !important; }
  #top .cx-hero-globe { min-height: 400px !important; }
  #top .cx-hero-globe > div { inset: 0 0 40px 0 !important; }
}

@media (max-width: 720px) {
  .cx-wrap { padding-left: 20px; padding-right: 20px; }
  .cx-pad { padding-top: 44px; padding-bottom: 44px; }
  .cx-nav__in, .cx-utility__in, .cx-footer__grid, .cx-footer__bottom { padding-left: 20px; padding-right: 20px; }
  /* Note: .cx-mega (desktop dropdown mega-menu) is already display:none
     below 1120px in favor of the slide-in mobile drawer, so it can never
     actually render at this breakpoint — no width override needed here. */
}

/* ============================================================
   PREMIUM UPGRADE PASS
   Preloader · centered card grids · icon badges · hero atmosphere ·
   reveal variety · richer domain search
   ============================================================ */

/* ---------- Preloader ---------- */
#cxPreloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cx-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .6s cubic-bezier(0.4,0,0.2,1), visibility .6s;
}
#cxPreloader.cx-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
/* Cloud glyph rendered via CSS content (no JS/image dependency — Font
   Awesome is already linked in <head>, so this paints as soon as the
   font-face is ready, with no flash of an unstyled shape beforehand). */
#cxPreloader .cx-pl-mark { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
#cxPreloader .cx-pl-mark::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f0c2";
  font-size: 40px; color: var(--cx-green); display: inline-block;
  animation: cxPlCloud 1.5s ease-in-out infinite;
}
#cxPreloader .cx-pl-word { font-size: 20px; font-weight: 700; letter-spacing: 0.08em; color: var(--cx-ink); opacity: 0; transform: translateY(6px); animation: cxLogoWordIn .5s ease .2s forwards; }
@keyframes cxPlCloud { 0%, 100% { transform: translateY(0) scale(1); opacity: 1; } 50% { transform: translateY(-7px) scale(1.08); opacity: .72; } }
#cxPreloader .cx-pl-track { width: 160px; height: 3px; background: var(--cx-wash); border-radius: 4px; overflow: hidden; }
#cxPreloader .cx-pl-status { font-size: 12px; color: var(--cx-mute); letter-spacing: 0.02em; min-height: 16px; }
#cxPreloader .cx-pl-bar { height: 100%; width: 0%; background: var(--cx-green); border-radius: 4px; transition: width .3s ease; }
@keyframes cxPlSpin { 0%, 100% { transform: rotate(0deg) scale(1); border-radius: 8px; } 50% { transform: rotate(180deg) scale(0.82); border-radius: 50%; } }
html.cx-no-js #cxPreloader { display: none; }

/* ---------- Centered card grids (fixes lopsided trailing rows) ----------
   Every hand-authored inline "display:grid;grid-template-columns:repeat(auto-fit,minmax(Npx,1fr))"
   grid sitewide is retargeted here to a centering flex layout, so an
   incomplete last row (e.g. 6 items in a 4-col grid) centers instead of
   hugging the left edge.
   IMPORTANT: this must NOT touch 2-column image+text split layouts (hero,
   dashboard, eco, speed, etc.) — those rely on the grid's native 1fr/1fr
   50-50 split. The :has() guard below restores native grid behavior
   whenever the container has exactly 2 children. */
div[style*="grid-template-columns:repeat(auto-fit"] {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
div[style*="grid-template-columns:repeat(auto-fit"] > * {
  flex: 1 1 260px;
  max-width: 380px;
  min-width: 0;
}
div[style*="grid-template-columns:repeat(auto-fit,minmax(220px"] > * { flex-basis: 220px; max-width: 300px; }
div[style*="grid-template-columns:repeat(auto-fit,minmax(160px"] > * { flex-basis: 160px; max-width: 240px; }
div[style*="grid-template-columns:1fr 1fr"] { display: flex !important; flex-wrap: wrap; }
div[style*="grid-template-columns:1fr 1fr"] > * { flex: 1 1 240px; }

/* Two-item containers (image+text splits, hero columns) keep native grid */
div[style*="grid-template-columns:repeat(auto-fit"]:has(> *:first-child:nth-last-child(2)) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  justify-content: initial !important;
}
div[style*="grid-template-columns:repeat(auto-fit"]:has(> *:first-child:nth-last-child(2)) > * {
  flex: initial;
  max-width: none;
}

/* ---------- Bigger, badged icons ---------- */
.cx-icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(155deg, rgba(118,185,0,0.14), rgba(118,185,0,0.03));
  border: 1px solid rgba(118,185,0,0.28);
  transition: transform .35s cubic-bezier(0.2,0.8,0.2,1), background .35s ease, border-color .35s ease;
}
.cx-card:hover .cx-icon-badge, .cx-plan:hover .cx-icon-badge { transform: scale(1.08) rotate(-4deg); background: linear-gradient(155deg, rgba(118,185,0,0.22), rgba(118,185,0,0.05)); border-color: var(--cx-green); }
.cx-icon-badge i { font-size: 26px !important; color: var(--cx-green) !important; }
.cx-icon-badge--dark { background: linear-gradient(155deg, rgba(118,185,0,0.22), rgba(118,185,0,0.04)); border-color: rgba(118,185,0,0.4); }

/* ---------- Hero atmosphere canvas (auto-injected by main.js) ---------- */
.cx-atmo-host { position: relative; }
.cx-atmo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.9; }
.cx-atmo-host > *:not(.cx-atmo-canvas) { position: relative; z-index: 1; }
.cx-page-hero.cx-atmo-host, header.cx-atmo-host { overflow: hidden; }

/* ---------- Reveal variety (JS assigns data-rv) ---------- */
html.gsap-on .gs-reveal[data-rv="rise"] { opacity: 0; transform: translateY(20px); }
html.gsap-on .gs-reveal[data-rv="fade"] { opacity: 0; transform: none; }
html.gsap-on .gs-reveal[data-rv="scale"] { opacity: 0; transform: scale(0.96) translateY(10px); }
html.gsap-on .gs-reveal[data-rv="rotate"] { opacity: 0; transform: translateY(16px) rotate(-1.5deg); }
html.gsap-on .gs-reveal[data-rv="slide-l"] { opacity: 0; transform: translateX(-24px); }
html.gsap-on .gs-reveal[data-rv="slide-r"] { opacity: 0; transform: translateX(24px); }

/* ---------- Currency-suggestion toast (IP geolocation) ---------- */
.cx-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 500; max-width: 380px;
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--cx-line); border-radius: 10px; padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity .4s cubic-bezier(0.16,1,0.3,1), transform .4s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.cx-toast.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.cx-toast__msg { font-size: 13px; line-height: 1.4; color: var(--cx-body); flex: 1; }
.cx-toast__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cx-toast__actions .cx-btn--sm { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
.cx-toast__dismiss { background: none; border: none; cursor: pointer; color: var(--cx-mute); font-size: 18px; line-height: 1; padding: 4px; }
.cx-toast__dismiss:hover { color: var(--cx-ink); }
@media (max-width: 720px) {
  .cx-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-wrap: wrap; }
}

/* ---------- Domain search: unified pill bar (Spaceship/GoDaddy-style) ----------
   One continuous rounded shape — icon, input, and button all live inside a
   single pill rather than three separately-boxed elements sitting inside a
   card. This is the primary conversion element on the domain pages, so it
   gets its own glow ring instead of the flat 1px border every other input
   on the site uses. */
.cx-domain-searchbar {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--cx-line); border-radius: 999px;
  padding: 7px 8px 7px 24px;
  box-shadow: 0 18px 44px rgba(16,24,16,0.09);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.cx-domain-searchbar::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--cx-glow-angle, 0deg), var(--cx-green), transparent 25%, transparent 75%, var(--cx-green));
  opacity: 0; transition: opacity .4s ease;
  animation: cxGlowSpin 4s linear infinite;
}
.cx-domain-searchbar:hover, .cx-domain-searchbar:focus-within {
  border-color: transparent;
  box-shadow: 0 22px 54px rgba(118,185,0,0.16);
}
.cx-domain-searchbar:hover::before, .cx-domain-searchbar:focus-within::before { opacity: 1; }
@property --cx-glow-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes cxGlowSpin { to { --cx-glow-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .cx-domain-searchbar::before { animation: none; } }

.cx-domain-searchbar .cx-domain-icon {
  flex-shrink: 0; color: var(--cx-mute); font-size: 16px; transition: color .2s ease;
}
.cx-domain-searchbar:focus-within .cx-domain-icon { color: var(--cx-green-dark); }
.cx-domain-searchbar #cxDomainInput {
  flex: 1; min-width: 0; height: 52px; padding: 0; border: none; outline: none;
  background: transparent; font-family: inherit; font-size: 16px; font-weight: 600;
  color: var(--cx-ink);
}
.cx-domain-searchbar #cxDomainInput::placeholder { color: var(--cx-faint); font-weight: 500; transition: opacity .2s ease; }
.cx-domain-searchbar #cxDomainBtn {
  flex-shrink: 0; height: 52px !important; padding: 0 30px !important;
  border-radius: 999px !important; font-size: 15px;
}
#cxDomainHint { font-size: 13px; color: var(--cx-mute); margin: 10px 0 0 24px; min-height: 18px; }
#cxDomainHint.show { animation: cxHintIn .3s ease; }
@keyframes cxHintIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 560px) {
  /* Keep the icon + input together on the first row (icon never gets its own
     line — that lone floating magnifier looked broken); only the button
     wraps to a full-width row below. */
  .cx-domain-searchbar { flex-wrap: wrap; border-radius: 18px; padding: 12px 14px 12px 20px; column-gap: 8px; }
  .cx-domain-searchbar .cx-domain-icon { order: 1; }
  .cx-domain-searchbar #cxDomainInput { order: 2; flex: 1 1 0; height: 46px; }
  .cx-domain-searchbar #cxDomainBtn { order: 3; flex: 1 0 100%; justify-content: center; margin-top: 10px; }
  #cxDomainHint { margin-left: 4px; }
}

.cx-tld-pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.cx-tld-pill {
  font-size: 13px; font-weight: 700; color: var(--cx-body);
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--cx-line); border-radius: 999px; padding: 8px 14px;
  background: #fff; cursor: default;
  opacity: 0; transform: translateY(8px) scale(0.92);
  animation: cxTldPillIn .5s cubic-bezier(0.16,1,0.3,1) forwards;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cx-tld-pill:hover { border-color: var(--cx-green); box-shadow: 0 6px 16px rgba(118,185,0,0.14); transform: translateY(-2px); }
.cx-tld-pill__price { color: var(--cx-green-dark); }
@keyframes cxTldPillIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .cx-tld-pill { animation: none; opacity: 1; transform: none; } }

/* Results now stack as a vertical list ("downward"), not a multi-column grid */
.cx-multi-tld { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cx-multi-tld__item {
  border: 1px solid var(--cx-line); border-radius: 8px; padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 700; background: #fff;
  opacity: 0; transform: translateX(-14px); animation: cxMtIn .45s ease forwards;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cx-multi-tld__item:hover { transform: translateX(2px); }
.cx-multi-tld__item .cx-mt-name { display: flex; align-items: center; gap: 10px; color: var(--cx-ink); }
.cx-multi-tld__item .cx-mt-name i.fa-globe { color: var(--cx-mute); font-size: 13px; }
.cx-multi-tld__item .cx-mt-status { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cx-multi-tld__item.avail { border-color: var(--cx-green); box-shadow: 0 4px 14px rgba(118,185,0,0.1); }
.cx-multi-tld__item.avail .cx-mt-status { color: var(--cx-green-dark); font-weight: 700; }
.cx-multi-tld__item.taken { opacity: .58; }
.cx-multi-tld__item.taken .cx-mt-status { color: var(--cx-mute); font-weight: 400; }
.cx-multi-tld__item .fa-spinner { color: var(--cx-mute); }
@keyframes cxMtIn { to { opacity: 1; transform: translateX(0); } }
.cx-search-pulse { position: relative; }
.cx-search-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 8px; border: 2px solid var(--cx-green); opacity: 0; animation: cxSearchPulse 1.6s ease-out infinite; pointer-events: none; }
@keyframes cxSearchPulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.045); } }
#cxDomainBtn:active { transform: scale(0.97); }

@media (max-width: 720px) {
  div[style*="grid-template-columns:repeat(auto-fit"] > * { flex-basis: 100%; max-width: 100%; }
}

/* ---------- Compact section spacing safety net ----------
   Catches the hand-authored raw inline paddings that weren't wrapped in
   .cx-pad, so the "shorten sections" pass applies sitewide, not just to
   the sections built with the utility class. */
div[style*="padding:96px 32px"], header[style*="padding:96px 32px"] { padding: 68px 32px !important; }
div[style*="padding-top:96px"] { padding-top: 68px !important; padding-bottom: 68px !important; }
div[style*="padding:72px 32px 0"] { padding: 52px 32px 0 !important; }
div[style*="padding-top:72px"] { padding-top: 52px !important; }
div[style*="padding:64px 32px"] { padding: 48px 32px !important; }
div[style*="padding:80px 32px"], section[style*="padding-top:80px"] { padding: 56px 32px !important; }
div[style*="margin-top:48px"] { margin-top: 34px !important; }
div[style*="margin-top:96px"] { margin-top: 56px !important; }
@media (max-width: 720px) {
  div[style*="padding:96px 32px"] { padding: 44px 20px !important; }
  div[style*="padding:64px 32px"] { padding: 36px 20px !important; }
  div[style*="padding:80px 32px"] { padding: 44px 20px !important; }
}

/* ============================================================
   Service-page hero: mascot + orbiting product/tech icons
   ============================================================ */
.cx-page-hero__grid { display: grid; grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr); gap: 40px; align-items: center; }
.cx-page-hero__text { min-width: 0; }
.cx-hero-mascot-slot { position: relative; height: 500px; max-height: 500px; overflow: visible; }
.cx-hero-mascot { position: relative; display: flex; align-items: center; justify-content: center; height: 500px; max-height: 500px; }
.cx-hero-mascot__img {
  position: relative; z-index: 2;
  height: 94%; max-height: 460px; width: auto; max-width: 98%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.16));
  animation: cxMascotBob 5.5s ease-in-out infinite;
}
@keyframes cxMascotBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }

/* Soft elliptical ground shadow under the mascot's feet — sells the
   "standing on the ground" 3D read instead of a flat floating cutout. */
.cx-hero-mascot::after {
  content: ""; position: absolute; z-index: 1; left: 50%; bottom: 6%;
  width: 42%; height: 22px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0) 75%);
  filter: blur(2px);
  animation: cxMascotShadow 5.5s ease-in-out infinite;
}
@keyframes cxMascotShadow { 0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); } 50% { opacity: .7; transform: translateX(-50%) scale(0.86); } }

.cx-float-icon {
  position: absolute; z-index: 1; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  animation-name: cxFloatOrbit; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
.cx-float-icon__spin {
  width: 100%; height: 100%; background: #fff; border: 1px solid var(--cx-line); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  animation-name: cxFloatSpin; animation-timing-function: linear; animation-iteration-count: infinite;
}
.cx-float-icon__spin img { width: 42px; height: 42px; object-fit: contain; }
.cx-float-icon__spin i { font-size: 32px; color: var(--cx-green); }
.cx-float-icon__spin.cx-float-icon__text { font-size: 15px; font-weight: 700; color: var(--cx-green-dark); letter-spacing: -0.01em; }
@keyframes cxFloatOrbit {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(var(--dx, 10px), var(--dy, -14px)); }
}
@keyframes cxFloatSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .cx-page-hero__grid { grid-template-columns: 1fr; }
  .cx-hero-mascot-slot, .cx-hero-mascot { order: -1; height: 380px; max-height: 380px; }
  .cx-hero-mascot__img { max-height: 340px; max-width: 82%; }
  .cx-hero-mascot::after { bottom: 8%; height: 16px; }
  .cx-float-icon { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
  .cx-float-icon__spin { border-radius: 15px; }
  .cx-float-icon__spin img { width: 34px; height: 34px; }
  .cx-float-icon__spin i { font-size: 26px; }
  .cx-float-icon__spin.cx-float-icon__text { font-size: 12px; }
}
@media (max-width: 600px) {
  .cx-hero-mascot-slot, .cx-hero-mascot { height: 320px; max-height: 320px; }
  .cx-hero-mascot__img { max-height: 280px; max-width: 78%; }
  .cx-float-icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .cx-float-icon__spin img { width: 30px; height: 30px; }
  .cx-float-icon__spin i { font-size: 23px; }
}
@media (max-width: 420px) {
  .cx-hero-mascot-slot, .cx-hero-mascot { height: 300px; max-height: 300px; }
  .cx-hero-mascot__img { max-height: 260px; max-width: 76%; }
  .cx-float-icon { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .cx-float-icon__spin img { width: 28px; height: 28px; }
  .cx-float-icon__spin i { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-hero-mascot__img, .cx-float-icon, .cx-float-icon__spin { animation: none !important; }
}

/* ============================================================
   Logo lockup — corrected load sequence.
   The icon appears first (roughly where the wordmark will sit), then
   slides left into its resting slot; the wordmark only fades in once
   the icon has mostly settled. Hover is a small rotate/scale only —
   no letter-spacing or translateX changes, so the lockup never visibly
   changes width (that was the "expanding" bug).
   ============================================================ */
.cx-logo-icon {
  animation: cxLogoIconLoad 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cx-logo-word {
  opacity: 0; transform: translateX(-10px);
  animation: cxLogoWordLoad .6s ease .78s forwards;
  transition: none;
}
.cx-logo--animated:hover .cx-logo-icon { transform: rotate(-12deg) scale(1.12); }
.cx-logo--animated:hover .cx-logo-word { letter-spacing: normal; }
@keyframes cxLogoIconLoad {
  0% { opacity: 0; transform: translateX(30px) scale(0.6); }
  35% { opacity: 1; transform: translateX(30px) scale(1); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes cxLogoWordLoad { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

/* ============================================================
   Floating action buttons — WhatsApp support (right) + back-to-top (left)
   ============================================================ */
.cx-fab { position: fixed; bottom: 24px; z-index: 400; display: flex; align-items: center; }
.cx-fab--right { right: 24px; }
.cx-fab--left { left: 24px; }
.cx-fab__btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22); font-size: 28px; color: #fff; text-decoration: none;
  transition: transform .2s cubic-bezier(0.34,1.56,0.64,1), box-shadow .2s ease; flex-shrink: 0;
  animation: cxFabPulse 2.4s ease-in-out infinite;
}
.cx-fab__btn:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(0,0,0,0.3); color: #fff; }
.cx-fab__btn--whatsapp { background: #25d366; }
@keyframes cxFabPulse { 0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,0.3); } 50% { box-shadow: 0 10px 28px rgba(37,211,102,0.55), 0 0 0 8px rgba(37,211,102,0.12); } }

.cx-fab__tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--cx-ink); border: 1px solid var(--cx-line); border-radius: 10px;
  padding: 10px 14px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.cx-fab__tooltip::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line);
}
.cx-fab--right:hover .cx-fab__tooltip,
.cx-fab--right.cx-fab--peek .cx-fab__tooltip {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%) translateX(0);
}

#cxBackToTop {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cx-line); background: #fff; color: var(--cx-ink);
  align-items: center; justify-content: center; cursor: pointer; font-size: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease, border-color .2s ease, color .2s ease;
}
#cxBackToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#cxBackToTop:hover { background: var(--cx-green); border-color: var(--cx-green); color: var(--cx-ink); }

@media (max-width: 720px) {
  .cx-fab--right { right: 16px; bottom: 16px; }
  .cx-fab--left { left: 16px; bottom: 16px; }
  .cx-fab__btn { width: 50px; height: 50px; font-size: 24px; }
  #cxBackToTop { width: 44px; height: 44px; font-size: 15px; }
  .cx-fab__tooltip { font-size: 12px; padding: 8px 12px; right: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-fab__btn { animation: none; }
}

/* --- Mobile layout safety overrides to prevent horizontal scroll --- */
@media (max-width: 560px) {
  /* Prevent float tags from sticking out beyond screen boundaries */
  .cx-float-tag {
    left: 12px !important;
    right: auto !important;
  }
  .cx-float-tag[style*="right"] {
    right: 12px !important;
    left: auto !important;
  }
  
  /* Prevent globe frame containers from exceeding viewport limits */
  .cx-hero-globe > div {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* Wrap long FAB tooltips on narrow viewports */
  .cx-fab__tooltip {
    white-space: normal !important;
    width: 200px !important;
    right: 56px !important;
  }
}

/* --- Legal (Terms, Privacy, Refund) page styles --- */
.cx-legal { max-width: 880px; margin: 0 auto; padding: 80px 32px 100px; }
.cx-legal h2 { font-size: 24px; font-weight: 700; color: var(--cx-ink); margin: 48px 0 16px; letter-spacing: -0.01em; }
.cx-legal h2:first-of-type { margin-top: 0; }
.cx-legal p { font-size: 15px; line-height: 1.75; color: var(--cx-body); margin: 0 0 16px; }
.cx-legal ul, .cx-legal ol { margin: 0 0 16px; padding-left: 22px; }
.cx-legal li { font-size: 15px; line-height: 1.75; color: var(--cx-body); margin-bottom: 6px; }
.cx-legal a { color: var(--cx-green-dark); font-weight: 700; }
.cx-legal strong { color: var(--cx-ink); }
.cx-legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.cx-legal th, .cx-legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--cx-line); }
.cx-legal th { background: var(--cx-wash); font-weight: 700; color: var(--cx-ink); }
.cx-legal-note { background: var(--cx-wash); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 20px 24px; margin: 0 0 32px; font-size: 15px; line-height: 1.7; }
.cx-legal .eligible { color: var(--cx-green-dark); font-weight: 700; }
.cx-legal .not-eligible { color: #b03030; font-weight: 700; }
.cx-mbg-card { display: flex; align-items: center; gap: 20px; background: var(--cx-wash); border: 1px solid var(--cx-green); border-radius: var(--cx-radius); padding: 24px 28px; margin: 0 auto 40px; max-width: 880px; }
.cx-mbg-card .days { font-size: 48px; font-weight: 700; color: var(--cx-green-dark); line-height: 1; }

/* --- Sitemap page styles --- */
.cx-sitemap-col-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cx-green-dark); margin-bottom: 16px; }
.cx-sitemap-links { display: flex; flex-direction: column; gap: 12px; }
.cx-sitemap-links a { font-size: 15px; color: var(--cx-body); }
.cx-sitemap-links a:hover { color: var(--cx-green-dark); }

/* ============================================================
   Blog article body — replaces all inline styles on article pages
   ============================================================ */

/* Article container */
.cx-article-wrap { max-width: 760px; margin: 0 auto; }

/* Breadcrumb chevron */
.cx-breadcrumb i.cx-bc-chevron { font-size: 9px; }
.cx-breadcrumb span.cx-bc-current { color: var(--cx-ink); }

/* Hero pill (wash background variant) */
.cx-pill--wash { background: var(--cx-wash); }

/* Hero h1 spacing / max-width */
.cx-article-h1 { margin-top: 28px; max-width: 860px; }

/* Keyword highlight inside h1 */
.cx-h1-accent { color: var(--cx-green); }

/* Article meta bar (author · date · read-time) */
.cx-article-meta { margin: 24px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.cx-article-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.cx-article-meta__item i { color: var(--cx-green); }

/* Article body typography */
.cx-article-body p { font-size: 16px; line-height: 1.7; color: var(--cx-body); margin: 0 0 18px; }
.cx-article-body ul,
.cx-article-body ol { font-size: 16px; line-height: 1.7; color: var(--cx-body); margin: 0 0 18px; padding-left: 24px; }
.cx-article-body li { margin: 0 0 10px; }

/* Article section h2 */
.cx-article-body h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--cx-ink); margin: 40px 0 16px; line-height: 1.25; letter-spacing: -0.01em; }

/* Article section h3 */
.cx-article-body h3 { font-size: 20px; font-weight: 700; color: var(--cx-ink); margin: 32px 0 12px; line-height: 1.3; }

/* Inline code */
.cx-article-body code { background: var(--cx-wash, #eef3f0); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--cx-ink); }

/* Code block (pre) */
.cx-article-body pre { background: #101614; color: #d9e5df; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.cx-article-body pre code { background: none; padding: 0; border-radius: 0; font-size: inherit; color: inherit; }

/* Data table wrapper */
.cx-article-body .cx-data-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--cx-line); border-radius: 8px; }
.cx-article-body .cx-data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; color: var(--cx-body); }
.cx-article-body .cx-data-table th { background: var(--cx-ink); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; border: 1px solid var(--cx-line); white-space: nowrap; }
.cx-article-body .cx-data-table td { padding: 12px 16px; border: 1px solid var(--cx-line); vertical-align: top; }
.cx-article-body .cx-data-table tr:nth-child(even) td { background: var(--cx-wash); }

/* Note / callout box */
.cx-article-body .cx-note { background: var(--cx-wash); border-left: 4px solid var(--cx-green); border-radius: var(--cx-radius); padding: 16px 20px; margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--cx-body); }

/* Terminal / shell dark code block */
.cx-article-body pre.cx-terminal { background: #0d1522; color: #d8e2ee; padding: 20px 24px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.65; margin: 0 0 24px; }

/* Dark data table (e.g. command reference tables) */
.cx-article-body .cx-dark-table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--cx-line, rgba(13,21,34,0.12)); border-radius: 10px; }
.cx-article-body .cx-dark-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; color: var(--cx-body); }
.cx-article-body .cx-dark-table th { text-align: left; padding: 12px 16px; border: 1px solid rgba(255,255,255,0.12); background: #0d1522; color: #fff; font-weight: 700; font-size: 14px; }
.cx-article-body .cx-dark-table td { padding: 12px 16px; border: 1px solid var(--cx-line, rgba(13,21,34,0.12)); vertical-align: top; }

/* Inline code wash variant */
.cx-article-body .cx-code-wash { background: var(--cx-wash); color: var(--cx-green-dark); }

/* List item icon (green chevron/icon) */
.cx-list-icon { color: var(--cx-green); margin-right: 6px; }

/* Inline bold highlight */
.cx-text-ink-bold { color: var(--cx-ink); font-weight: 700; }

/* Article h1 — margin-top:20px variant */
.cx-article-h1--20 { margin-top: 20px; max-width: 860px; }

/* Article meta bar — compact variant (font-size 15px, gap 8px 18px) */
.cx-article-meta--sm { margin: 20px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

/* Simple table wrapper (no border, just overflow) */
.cx-article-body .cx-table-wrap { overflow-x: auto; margin: 0 0 18px; }

/* Light table (dde5e0 border variant) */
.cx-article-body .cx-light-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; color: var(--cx-body); }
.cx-article-body .cx-light-table th { border: 1px solid #dde5e0; padding: 10px 14px; text-align: left; background: var(--cx-wash, #f2f6f3); color: var(--cx-ink); font-weight: 700; }
.cx-article-body .cx-light-table td { border: 1px solid #dde5e0; padding: 10px 14px; text-align: left; color: var(--cx-body); vertical-align: top; }



/* ============================================================
   Blog CTA dark section — replaces inline styles on all blog pages
   ============================================================ */
.cx-cta-section { position: relative; overflow: hidden; }
.cx-cta-section canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cx-cta-section .cx-wrap { position: relative; padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cx-cta-section h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; color: #fff; max-width: 640px; }
.cx-cta-section p { margin: 12px 0 0; font-size: 16px; color: rgba(255,255,255,0.7); }
.cx-cta-section .cx-cta-price { color: var(--cx-green); font-weight: 700; }
.cx-cta-section .cx-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   Code-built infrastructure visuals
   Shared by service-page heroes and selected feature sections.
   ============================================================ */
.cx-hero-infra { position: relative; height: 500px; max-height: 500px; perspective: 1100px; }
.cx-code-visual {
  position: absolute; inset: 14px; overflow: hidden; isolation: isolate; contain: layout paint;
  color: #fff; background: #0d1511; border: 1px solid rgba(118,185,0,0.28); border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px rgba(13,21,17,0.18);
  perspective: 1000px;
}
.cx-code-visual--hero { inset: 0; background: transparent; border: 0; box-shadow: none; contain: layout paint style; }
.cx-code-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .58;
  background-image: radial-gradient(circle, rgba(118,185,0,.28) 1px, transparent 1px);
  background-size: 24px 24px; transform: perspective(600px) rotateX(62deg) scale(1.5) translateY(23%);
  transform-origin: center bottom;
}
.cx-code-visual::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 8%; height: 1px; z-index: 5;
  background: rgba(118,185,0,.55); box-shadow: 0 0 18px rgba(118,185,0,.55);
  transform-origin: left center; animation: cxSignalLine 4.8s ease-in-out infinite;
}
.cx-iso-stage {
  --scene-scale:1;
  position: absolute; left: 50%; top: 54%; width: 360px; height: 260px; z-index: 2;
  transform-style: preserve-3d; transform: translate(-50%,-50%) rotateX(58deg) rotateZ(-32deg) scale(var(--scene-scale));
  animation: cxStageFloat 7s ease-in-out infinite;
}
.cx-iso-base {
  position: absolute; inset: 28px 22px 20px; transform: translateZ(-28px);
  border: 1px solid rgba(118,185,0,.45); background: rgba(12,28,20,.78);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.018), 0 28px 60px rgba(0,0,0,.35);
}
.cx-iso-base::before, .cx-iso-base::after { content:""; position:absolute; background:rgba(118,185,0,.22); }
.cx-iso-base::before { left: 33%; top: 0; bottom: 0; width: 1px; box-shadow: 100px 0 rgba(118,185,0,.22); }
.cx-iso-base::after { left: 0; right: 0; top: 50%; height: 1px; }
.cx-iso-node {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 58px;
  transform-style: preserve-3d; transform: translate3d(var(--x),var(--y),var(--z));
  transition: filter .3s ease;
}
.cx-iso-face { position: absolute; inset: 0; border: 1px solid rgba(180,232,112,.5); backface-visibility: hidden; }
.cx-iso-face--front {
  transform: translateZ(24px); background: #17251e;
  box-shadow: inset 0 0 18px rgba(118,185,0,.08), 0 0 16px rgba(0,0,0,.24);
}
.cx-iso-face--front::before {
  content:""; position:absolute; left:12px; right:12px; top:13px; height:3px; background:rgba(255,255,255,.18);
  box-shadow: 0 10px rgba(255,255,255,.12), 0 20px rgba(255,255,255,.08);
}
.cx-iso-face--front::after {
  content:""; position:absolute; right:9px; top:11px; width:5px; height:5px; background:var(--cx-green);
  box-shadow: 0 10px rgba(118,185,0,.55), 0 20px rgba(118,185,0,.28), 0 0 10px var(--cx-green);
  animation: cxNodeBlink 2.4s steps(2,end) infinite;
}
.cx-iso-face--back { transform: rotateY(180deg) translateZ(24px); background:#101a15; }
.cx-iso-face--right { left:15px; width:48px; transform: rotateY(90deg) translateZ(39px); background:#0f1c16; }
.cx-iso-face--top { top:5px; height:48px; transform: rotateX(90deg) translateZ(24px); background:#263a2f; }
.cx-visual-core {
  position:absolute; left:50%; top:39%; z-index:4; width:92px; height:92px; display:grid; place-items:center;
  transform:translate(-50%,-50%); border:1px solid rgba(187,238,120,.62); background:rgba(11,24,17,.9);
  box-shadow:inset 0 0 24px rgba(118,185,0,.18), 0 0 40px rgba(118,185,0,.18);
  clip-path: polygon(14% 0,86% 0,100% 14%,100% 86%,86% 100%,14% 100%,0 86%,0 14%);
  animation:cxCoreHover 5s ease-in-out infinite;
}
.cx-visual-core i { font-size:32px; color:var(--cx-green); filter:drop-shadow(0 0 10px rgba(118,185,0,.55)); }
.cx-code-visual--security .cx-visual-core { clip-path:polygon(50% 0,92% 18%,84% 74%,50% 100%,16% 74%,8% 18%); }
.cx-code-visual--performance .cx-visual-core { border-radius:50%; clip-path:none; }
.cx-code-visual__network { position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.cx-code-visual__network path { fill:none; stroke:rgba(118,185,0,.55); stroke-width:1; stroke-dasharray:7 9; animation:cxDataFlow 8s linear infinite; }
.cx-code-visual__network circle { fill:var(--cx-green); filter:drop-shadow(0 0 5px var(--cx-green)); }
.cx-visual-status {
  position:absolute; z-index:6; display:flex; align-items:center; gap:8px; min-height:30px; padding:0 10px;
  color:rgba(255,255,255,.74); background:rgba(11,22,16,.78); border:1px solid rgba(255,255,255,.11);
  font:600 10px/1.2 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:.06em; backdrop-filter:blur(8px);
}
.cx-visual-status::before { content:""; width:5px; height:5px; background:var(--cx-green); box-shadow:0 0 8px var(--cx-green); }
.cx-visual-status--a { left:7%; top:10%; }
.cx-visual-status--b { right:7%; top:10%; }
.cx-visual-status--c { right:9%; bottom:9%; }
.cx-code-visual--hero .cx-visual-status--c { display:none; }
.cx-visual-badge {
  position:absolute; z-index:7; width:54px; height:54px; display:grid; place-items:center;
  background:rgba(255,255,255,.94); border:1px solid rgba(118,185,0,.3); border-radius:8px;
  box-shadow:0 12px 32px rgba(13,21,17,.16); transform:translate(-50%,-50%);
  animation:cxBadgeFloat var(--dur,6s) ease-in-out infinite; animation-delay:var(--delay,0s);
}
.cx-visual-badge img { width:30px; height:30px; object-fit:contain; }
.cx-visual-badge i { font-size:25px; color:var(--cx-green-dark); }
.cx-visual-badge--text { width:auto; min-width:54px; padding:0 10px; color:var(--cx-green-dark); font-size:11px; font-weight:700; }
.cx-code-visual.is-paused *, .cx-code-visual.is-paused::after { animation-play-state:paused !important; }

/* ReactBits-style ambient treatment, recreated natively for static pages. */
.cx-motion-surface { position:relative; overflow:hidden; }
.cx-motion-surface > *:not(.cx-motion-grid) { position:relative; z-index:1; }
.cx-motion-grid {
  position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.42;
  background-image:radial-gradient(circle, rgba(118,185,0,.24) 1px, transparent 1px);
  background-size:28px 28px; animation:cxGridDrift 18s linear infinite;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);
}
.cx-motion-grid::after {
  content:""; position:absolute; top:0; bottom:0; left:0; width:22%;
  background:linear-gradient(90deg,transparent,rgba(118,185,0,.1),transparent);
  transform:translateX(-120%); animation:cxGridScan 9s ease-in-out infinite;
}
@keyframes cxStageFloat { 0%,100% { transform:translate(-50%,-50%) rotateX(58deg) rotateZ(-32deg) translateZ(0) scale(var(--scene-scale)); } 50% { transform:translate(-50%,-53%) rotateX(58deg) rotateZ(-32deg) translateZ(10px) scale(var(--scene-scale)); } }
@keyframes cxCoreHover { 0%,100% { transform:translate(-50%,-50%) translateY(0); } 50% { transform:translate(-50%,-50%) translateY(-8px); } }
@keyframes cxBadgeFloat { 0%,100% { transform:translate(-50%,-50%) translateY(0); } 50% { transform:translate(-50%,-50%) translateY(-10px); } }
@keyframes cxNodeBlink { 0%,45% { opacity:1; } 46%,62% { opacity:.35; } 63%,100% { opacity:1; } }
@keyframes cxDataFlow { to { stroke-dashoffset:-64; } }
@keyframes cxSignalLine { 0%,100% { transform:scaleX(.18); opacity:.3; } 50% { transform:scaleX(1); opacity:1; } }
@keyframes cxGridDrift { to { background-position:56px 28px; } }
@keyframes cxGridScan { 0%,15% { transform:translateX(-120%); } 75%,100% { transform:translateX(560%); } }
@media (max-width: 900px) {
  .cx-hero-infra { order:-1; height:380px; max-height:380px; }
  .cx-code-visual--hero .cx-iso-stage { --scene-scale:.86; }
}
@media (max-width: 600px) {
  .cx-hero-infra { height:320px; max-height:320px; }
  .cx-page-hero__text { min-width:0; overflow:hidden; }
  .cx-page-hero .cx-h1 { font-size:clamp(34px,10vw,40px); line-height:1.08; overflow-wrap:anywhere; }
  .cx-page-hero .cx-pill { max-width:100%; white-space:normal; line-height:1.4; }
  .cx-code-visual .cx-iso-stage { --scene-scale:.74; }
  .cx-visual-core { width:74px; height:74px; }
  .cx-visual-status--b { display:none; }
  .cx-visual-badge { width:46px; height:46px; }
  .cx-visual-badge img { width:25px; height:25px; }
  .cx-visual-badge i { font-size:21px; }
}
@media (max-width: 420px) {
  .cx-hero-infra { height:290px; max-height:290px; }
  .cx-code-visual .cx-iso-stage { --scene-scale:.66; }
  .cx-visual-status { font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-iso-stage, .cx-visual-core, .cx-visual-badge, .cx-iso-face--front::after,
  .cx-code-visual__network path, .cx-code-visual::after, .cx-motion-grid, .cx-motion-grid::after { animation:none !important; }
}
