/* MaxEnergic product-family theme: same header, products bar, footer, type and colours as
   maxscada / maxppc / zero / weatherstation .maxenergic.com. Loaded after style.css. */
:root { --mx-navy: #0b1220; --mx-navy-2: #0f1a33; --mx-amber: #f59e0b; --mx-orange: #f97316; --mx-ink: #0b1220; --mx-ink-2: #334155; }
html { scroll-padding-top: 110px; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif !important; -webkit-font-smoothing: antialiased;
  background: #0b1220 radial-gradient(1200px 600px at 85% 0, rgba(249,115,22,.10), transparent 60%) no-repeat !important;
  padding-top: 34px; }
h1, h2, h3, .h1, .h2, .h3 { font-family: inherit !important; letter-spacing: -.02em; }
code, kbd, pre, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }

/* products bar (top strip, inside the fixed header) */
.mx-pbar { background: #05080f; color: #94a3b8; font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.06); width: 100%; flex: 0 0 100%; }
.mx-pbar-in { width: min(1200px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 18px; height: 34px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.mx-pbar-in::-webkit-scrollbar { display: none; }
.mx-pbar a { color: #94a3b8 !important; text-decoration: none !important; padding: 2px 0 !important; border: 0 !important; border-bottom: 2px solid transparent !important;
  border-radius: 0 !important; background: none !important; font-size: .8rem !important; font-weight: 500; }
.mx-pbar a:hover { color: #fff !important; }
.mx-pbar a.mx-home { color: #e2e8f0 !important; font-weight: 700; letter-spacing: .02em; margin-right: 4px; }
.mx-pbar a.on { color: #fbbf24 !important; border-bottom-color: #f97316 !important; }

/* brand: product name + "by MaxEnergic" like the other product sites */
.mx-brand-t, .mx-brand-t b, .mx-brand-t small { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; }
.mx-brand-t { display: flex !important; flex-direction: column; line-height: 1.15; color: var(--mx-ink); }
.mx-brand-t b { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; color: var(--mx-ink); }
.mx-brand-t small { font-size: .66rem; font-weight: 500; color: #64748b; letter-spacing: .08em; text-transform: uppercase; }

/* footer product links */
.mx-foot-products { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin: 14px 0 6px; font-size: .88rem; }
.mx-foot-products span { opacity: .7; color: #94a3b8; }
.mx-foot-products a { color: #cbd5e1 !important; text-decoration: none; }
.mx-foot-products a:hover { color: #fff !important; }

/* header: white bar like the other product sites */
.navbar { background: rgba(255,255,255,.94) !important; backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid #e5e9f0 !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.05); padding: 0 !important; display: block; }
.navbar .wrap { padding-top: 10px !important; padding-bottom: 10px !important; max-width: 1200px; }
.brand { color: var(--mx-ink) !important; }
.brand img { border-radius: 10px; box-shadow: 0 6px 16px rgba(249,115,22,.25); }
.nav-links a { color: var(--mx-ink-2) !important; font-weight: 500; border-color: transparent !important; }
.nav-links a:hover, .nav-links a.active { color: var(--mx-ink) !important; background: #f1f5f9 !important; }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--mx-orange); border-radius: 8px !important; }
.nav-links .btn-nav, .nav-links .btn-nav:hover, .nav-links a.btn-nav.active { background: linear-gradient(135deg, var(--mx-amber), var(--mx-orange)) !important; color: #1b1203 !important;
  border: 0 !important; box-shadow: 0 8px 24px rgba(249,115,22,.35); border-radius: 10px !important; font-weight: 700; }
.nav-search-btn { background: #f8fafc !important; color: var(--mx-ink-2) !important; border: 1px solid #e5e9f0 !important; }
.nav-search-btn kbd { background: #fff !important; color: var(--mx-ink-2) !important; border-color: #e5e9f0 !important; }
.nav-toggle { color: var(--mx-ink) !important; border-color: #e5e9f0 !important; background: #fff !important; }
@media (max-width: 1180px) {
  .nav-links { background: #fff !important; border: 1px solid #e5e9f0 !important; box-shadow: 0 20px 50px rgba(15,23,42,.18) !important; }
}
/* page tops sit 34px lower because of the products bar */
.page-hero, .article-page, .hero-upgraded { scroll-margin-top: 110px; }
/* buttons: amber -> orange like MaxSCADA */
.btn-primary { background: linear-gradient(135deg, var(--mx-amber), var(--mx-orange)) !important; color: #1b1203 !important; border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.btn-secondary, .btn-outline { border-color: rgba(255,255,255,.25) !important; color: #fff !important; background: rgba(255,255,255,.06) !important; }
.footer { background: #070c17 !important; border-top: 1px solid rgba(255,255,255,.06); }
