/* ============================================================
   GIZMOTT 2026 — Header + Footer site-wide CSS
   
   Based on gizmott-ai-hub_14.html "v14" design (April 2026).
   Merges:
     - v14 nav/logo/announce/mega menu styles (primary)
     - Scroll progress bar + gradient top strip (theme extras)
     - Site footer styles (preserved from v3.x)
     - Essentials logo-alignment override (for WP context)
   
   Assumes design tokens (--cyan, --pink, --black, --ff-b, --ff-d, etc.)
   defined in style.css.
   ============================================================ */

/* ─── Scroll progress bar (theme extra) ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  z-index: 99999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── Gradient top strip (3px brand bar above announce) ─── */
.gz-top-strip {
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

/* ─── Legacy logo-link wrapper (for pages still using .gz-logo-link) ─── */
.gz-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.gz-logo-svg { display: block; }


/* ─── LOGO COMPONENT ─── */
/* Renders the Gizmott logo in HTML matching the actual brand */
.logo-mark{
  display:flex;align-items:center;gap:0;text-decoration:none;
  padding-left:14px;border-left:2px solid var(--cyan);
  margin-left:-2px;
}
.lm-gizm{font-family:var(--ff-d);font-size:22px;letter-spacing:2px;color:var(--cyan)}
.lm-icon{
  width:22px;height:22px;border-radius:50%;
  border:2px solid var(--cyan);
  display:flex;align-items:center;justify-content:center;
  position:relative;margin:0 1px;flex-shrink:0;
  background:linear-gradient(135deg,var(--purple),var(--cyan));
}
.lm-x{
  font-family:var(--ff-d);font-size:13px;color:#fff;line-height:1;
  position:relative;z-index:1;
}
.lm-tt{font-family:var(--ff-d);font-size:22px;letter-spacing:2px;color:var(--pink)}

/* ─── ANNOUNCE BAR ─── */
.announce{
  background:var(--black2);border-bottom:1px solid var(--bl);
  padding:0 52px;display:flex;align-items:center;justify-content:center;gap:20px;height:40px;
}
.ann-tag{
  font-size:9.5px;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;
  color:var(--black);background:var(--cyan);
  padding:3px 10px;border-radius:2px;white-space:nowrap;flex-shrink:0;
}
.ann-text{
  font-size:12.5px;font-weight:400;color:rgba(245,245,248,0.5);
  letter-spacing:0.01em;white-space:nowrap;
}
.ann-text strong{font-weight:600;color:rgba(245,245,248,0.85)}
.ann-sep{width:1px;height:16px;background:var(--bl);flex-shrink:0}
.ann-btn{
  font-size:11.5px;font-weight:600;color:var(--cyan);
  background:none;border:1px solid rgba(0,229,255,0.3);
  padding:4px 14px;border-radius:2px;letter-spacing:0.04em;
  white-space:nowrap;transition:all 0.2s;flex-shrink:0;
}
.ann-btn:hover{background:rgba(0,229,255,0.07);border-color:var(--cyan)}
.ann-label{display:none}
.ann-left{display:none}
.ann-right{display:none}
.ann-event{display:none}
.ann-ev-dot{display:none}
.ann-ev-name{display:none}
.ann-ev-date{display:none}
.ann-divider{display:none}

/* ─── NAV ─── */
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 48px;height:64px;
  background:rgba(8,9,14,0.98);
  border-bottom:1px solid rgba(255,255,255,0.1);
  position:sticky;top:0;z-index:300;
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  transition:border-color 0.3s,box-shadow 0.3s;
}
.nav.scrolled{
  border-bottom-color:rgba(0,229,255,0.2);
  box-shadow:0 1px 0 rgba(0,229,255,0.08),0 4px 24px rgba(0,0,0,0.4);
}
/* Top-level nav items */
.nav-links{display:flex;gap:0;list-style:none;height:64px}
.nav-links>li{position:relative;height:100%;display:flex;align-items:center}
.nav-links>li>a{
  font-size:13px;font-weight:500;color:rgba(245,245,248,0.65);
  letter-spacing:0.01em;transition:color 0.2s;padding:0 16px;height:100%;
  display:flex;align-items:center;gap:5px;white-space:nowrap;text-decoration:none;
}
.nav-links>li>a:hover{color:var(--white)}
.nav-links>li:hover>a,.nav-links>li>a:hover{position:relative}
.nav-links>li:hover>a::after{
  content:'';position:absolute;bottom:0;left:16px;right:16px;
  height:2px;background:var(--cyan);border-radius:1px;
}
.nav-links>li:hover>a::after{
  content:'';position:absolute;bottom:0;left:16px;right:16px;
  height:2px;background:var(--cyan);border-radius:1px;
}
.nav-links>li>a .nav-arrow{
  width:10px;height:10px;flex-shrink:0;opacity:0.4;transition:transform 0.2s,opacity 0.2s;
}
.nav-links>li:hover>a{color:var(--white)}
.nav-links>li:hover>a .nav-arrow{transform:rotate(180deg);opacity:0.8}
/* Active indicator */
.nav-links>li>a.active{color:var(--cyan)}

/* ── MEGA MENU DROPDOWN ── */
.mega{
  position:absolute;top:63px;left:50%;transform:translateX(-50%);
  background:rgba(10,12,18,0.99);
  border:1px solid rgba(255,255,255,0.1);border-top:2px solid var(--cyan);
  border-radius:0 0 10px 10px;padding:28px;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity 0.2s,visibility 0.2s,transform 0.2s;
  transform:translateX(-50%) translateY(-8px);
  min-width:560px;z-index:400;
  box-shadow:0 20px 60px rgba(0,0,0,0.6),0 0 0 1px rgba(0,229,255,0.06);
}
.mega.mega-wide{min-width:720px}
.mega.mega-right{left:auto;right:0;transform:none}
.mega.mega-right{opacity:0;transform:translateY(-6px)}
.nav-links>li:hover .mega{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.nav-links>li:hover .mega.mega-right{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateY(0);
}
/* Mega menu grid layouts */
.mega-grid{display:grid;gap:8px}
.mega-grid.cols-2{grid-template-columns:1fr 1fr}
.mega-grid.cols-3{grid-template-columns:1fr 1fr 1fr}
/* Mega menu item */
.mega-item{
  display:flex;align-items:flex-start;gap:12px;
  padding:12px 14px;border-radius:6px;
  transition:background 0.15s;text-decoration:none;cursor:pointer;
}
.mega-item:hover{background:rgba(255,255,255,0.04)}
.mega-item:hover .mi-title{color:var(--cyan)}
.mi-icon{
  width:34px;height:34px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px;
}
.mi-body{}
.mi-title{font-size:13px;font-weight:600;color:var(--white);margin-bottom:3px;transition:color 0.15s}
.mi-desc{font-size:11.5px;font-weight:300;color:rgba(245,245,248,0.5);line-height:1.5}
.mi-badge{
  font-size:9px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;
  padding:2px 7px;border-radius:2px;display:inline-block;margin-left:6px;vertical-align:middle;
}
.mb-new{background:rgba(255,45,155,0.12);color:var(--pink)}
.mb-ai{background:rgba(0,229,255,0.12);color:var(--cyan)}
/* Mega section heading */
.mega-section-h{
  font-size:9.5px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:rgba(245,245,248,0.2);padding:4px 14px 8px;margin-top:4px;
}
/* Mega footer CTA strip */
.mega-footer{
  margin-top:16px;padding-top:16px;border-top:1px solid var(--bl);
  display:flex;align-items:center;justify-content:space-between;
}
.mega-footer-text{font-size:12px;font-weight:300;color:rgba(245,245,248,0.3)}
.mega-footer-link{font-size:12px;font-weight:600;color:var(--cyan);text-decoration:none;letter-spacing:0.03em}
.mega-footer-link:hover{opacity:0.8}
/* divider in mega */
.mega-divider{width:1px;background:var(--bl);margin:0 8px}
/* Nav right */
.nav-right{display:flex;align-items:center;gap:10px}
.n-ghost{
  font-size:13px;font-weight:400;color:rgba(245,245,248,0.6);
  background:none;border:1px solid var(--bl2);padding:8px 20px;border-radius:3px;
  transition:all 0.2s;cursor:pointer;
}
.n-ghost:hover{color:var(--white);border-color:var(--bl3)}
.n-cta{
  font-size:13px;font-weight:600;color:var(--black);
  background:var(--cyan);border:none;padding:9px 22px;border-radius:3px;
  letter-spacing:0.02em;transition:opacity 0.15s;cursor:pointer;
}
.n-cta:hover{opacity:0.86}

/* ─── FOOTER ─── */
footer{background:var(--black2);padding:68px 52px 36px;border-top:1px solid var(--bl)}
.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:56px;padding-bottom:52px;border-bottom:1px solid var(--bl)}
.fl-tagline{font-size:13px;font-weight:300;color:rgba(245,245,248,0.28);margin-top:14px;line-height:1.72;max-width:280px}
.fc-h{font-size:9.5px;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:rgba(245,245,248,0.22);margin-bottom:16px}
.fc-links{list-style:none;display:flex;flex-direction:column;gap:11px}
.fc-links a{font-size:13.5px;font-weight:300;color:rgba(245,245,248,0.42);transition:color 0.2s}
.fc-links a:hover{color:var(--cyan)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:26px;flex-wrap:wrap;gap:12px}
.fcopy{font-size:12px;color:rgba(245,245,248,0.18)}
.flegals{display:flex;gap:24px}
.flegals a{font-size:12px;color:rgba(245,245,248,0.18);transition:color 0.2s}
.flegals a:hover{color:var(--cyan)}
/* Footer gradient border top */
.footer-brand-bar{height:2px;background:linear-gradient(90deg,var(--cyan),var(--pink));margin-bottom:68px}

/* ─── RESPONSIVE (from v14) ─── */
@media (max-width: 768px) {

  /* ── NAV ── */
  .nav{padding:0 20px;height:56px}
  .nav-links{display:none}
  .n-ghost{display:none}
  .n-cta{font-size:12px;padding:8px 16px}

  /* Hamburger placeholder */
  .nav-hamburger{
    display:flex;flex-direction:column;gap:5px;cursor:pointer;
    background:none;border:none;padding:4px;
  }
  .nav-hamburger span{
    width:22px;height:2px;background:rgba(245,245,248,0.7);
    border-radius:1px;display:block;
  }

  /* ── ANNOUNCE ── */
  .announce{padding:0 16px;height:auto;min-height:38px;flex-wrap:wrap;gap:6px;justify-content:center;text-align:center;padding-top:8px;padding-bottom:8px}
  .ann-text{font-size:11px}
  .ann-tag{font-size:8.5px}

  /* ── HERO ── */
  .hero{padding:48px 20px 0}
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .hero-h{font-size:clamp(38px,11vw,56px);line-height:0.9}
  .hero-desc{font-size:15px;margin-top:16px}
  .hero-aud{margin-top:16px;gap:7px}
  .hero-ctas{margin-top:20px;gap:10px;flex-wrap:wrap}
  .btn-cy{font-size:14px;padding:13px 24px;width:100%}
  .btn-pk-outline{font-size:14px;padding:13px 20px;width:100%;justify-content:center}
  .hero-trust{margin-top:14px;gap:6px}
  .ht-pill{padding:5px 12px}
  .ht-text{font-size:11px}
  .ht-sep{display:none}
  .hero-clarity{flex-wrap:wrap;margin-bottom:20px}
  .hc-items{flex-wrap:wrap}
  .hc-item{font-size:10.5px;padding:6px 12px}
  .hero-mockup{gap:4px;margin-top:32px}
  .msc{min-height:120px}
  .msc.hero-main{height:140px !important}
  .msc-lbl{font-size:8px}
  .hero-stats{flex-wrap:wrap}
  .hs-cell{flex:0 0 50%;padding:20px 0 20px 20px;border-right:none;border-bottom:1px solid var(--bl)}
  .hs-n{font-size:32px}
  .hs-l{font-size:10px}

  /* ── HOW IT WORKS ── */
  .how{padding:64px 20px}
  .how-top{grid-template-columns:1fr;gap:16px;margin-bottom:40px}
  .how-grid{grid-template-columns:1fr 1fr;gap:1px;background:var(--bl)}
  .how-grid::before{display:none}
  .how-step{padding:28px 20px 36px;border-right:none}
  .step-bg-n{font-size:64px;bottom:8px;right:8px}
  .step-title{font-size:15px}
  .step-desc{font-size:13px}

  /* ── SEGMENTS ── */
  .seg{padding:64px 20px}
  .seg-grid{grid-template-columns:1fr;gap:12px}
  .seg-h{font-size:clamp(36px,10vw,52px)}

  /* ── INFLUENCER ── */
  .inf-section{padding:64px 20px}
  .inf-head{grid-template-columns:1fr;gap:20px;margin-bottom:40px}
  .inf-h{font-size:clamp(40px,12vw,60px)}
  .inf-body{grid-template-columns:1fr;gap:32px;padding-bottom:0}
  .inf-right{flex-direction:column;align-items:center;min-height:auto}
  .inf-phone{width:100%;max-width:320px}
  .inf-phone:last-of-type{display:none}
  .inf-stats{position:static !important;margin-top:24px;width:100% !important}
  .inf-cta-row{flex-wrap:wrap}
  .btn-pk,.btn-ghost-sm{width:100%;text-align:center;justify-content:center}

  /* ── PLATFORM CAPABILITIES ── */
  .caps{padding:64px 20px}
  .caps-top{grid-template-columns:1fr;gap:16px;margin-bottom:32px}
  .caps-grid{grid-template-columns:1fr 1fr}
  .caps-row-lbl{margin-top:32px}
  .caps-h{font-size:clamp(40px,10vw,60px)}

  /* ── CONTENT TYPES ── */
  .ct-section{padding:64px 20px}
  .ct-top{grid-template-columns:1fr;gap:16px;margin-bottom:32px}
  .ct-grid{grid-template-columns:1fr 1fr;gap:8px}
  .ct-grid-bottom{grid-template-columns:1fr;gap:8px}
  .ct-h{font-size:clamp(36px,10vw,52px)}
  .ct-mono-grid{grid-template-columns:1fr 1fr;gap:10px}
  .ct-mono-top{margin-bottom:28px}
  .ct-mono-h{font-size:clamp(28px,8vw,40px)}

  /* ── MONETIZATION ── */
  .mono{padding:64px 20px}
  .mono-top{grid-template-columns:1fr;gap:16px;margin-bottom:32px}
  .mono-grid{grid-template-columns:1fr 1fr;background:none;gap:8px}
  .mono-card{border:1px solid var(--bl);border-radius:6px}
  .mono-h{font-size:clamp(36px,10vw,52px)}

  /* ── AD MONETIZATION ── */
  .ad-section{padding:64px 20px}
  .ad-inner{grid-template-columns:1fr;gap:40px}
  .ad-h{font-size:clamp(40px,10vw,60px)}
  .ad-demand-row{gap:6px}
  .ad-demand-pill{font-size:10.5px;padding:5px 10px}
  .ad-stats{grid-template-columns:1fr 1fr 1fr}
  .ad-stat-n{font-size:28px}
  .ad-cards{gap:8px}
  .ad-card{padding:18px 16px;gap:12px}
  .adc-icon{width:32px;height:32px;flex-shrink:0}

  /* ── AI SECTION ── */
  .ai-section{padding:64px 20px}
  .ai-inner{grid-template-columns:1fr;gap:32px}
  .ai-h{font-size:clamp(44px,11vw,64px)}

  /* ── DEVICES ── */
  .devices{padding:28px 20px}
  .dev-inner{flex-direction:column;align-items:flex-start;gap:12px}
  .dev-lbl{font-size:14px}
  .dev-line{display:none}
  .dev-list{gap:6px}
  .dev-chip{font-size:11.5px;padding:7px 12px}

  /* ── EVENTS ── */
  .events{padding:28px 20px}
  .ev-inner{flex-direction:column;align-items:flex-start;gap:16px}
  .ev-hd{font-size:22px}
  .ev-sep{display:none}
  .ev-list{flex-direction:column;gap:14px}
  .ev-btn{margin-left:0;width:100%;text-align:center}

  /* ── TRUST ── */
  .trust{padding:64px 20px}
  .trust-inner{grid-template-columns:1fr;gap:40px}
  .tm-grid{grid-template-columns:1fr 1fr;gap:10px}
  .tm{padding:18px}
  .tm-n{font-size:36px}
  .trust-q{font-size:18px}

  /* ── FAQ ── */
  .faq-section{padding:64px 20px}
  .faq-header{flex-direction:column;gap:20px;margin-bottom:32px}
  .faq-header-right{align-items:flex-start}
  .faq-sub{text-align:left;max-width:100%}
  .faq-cats{justify-content:flex-start}
  .faq-body{grid-template-columns:1fr;gap:0}
  .faq-col:last-child .faq-item:first-child{border-top:none}
  .faq-h{font-size:clamp(24px,7vw,32px)}
  .faq-cta-strip{flex-direction:column;gap:12px;text-align:center}
  .faq-cta-btn{width:100%}

  /* ── CTA ── */
  .cta{padding:64px 20px}
  .cta-top{grid-template-columns:1fr;gap:28px;align-items:flex-start}
  .cta-h{font-size:clamp(52px,14vw,80px)}
  .cta-col{min-width:auto;width:100%}
  .btn-cy-lg,.btn-pk-lg{width:100%}
  .cta-promises{flex-direction:column;gap:24px;padding-top:32px}

  /* ── FOOTER ── */
  footer{padding:48px 20px 28px}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px;padding-bottom:32px}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center}
  .flegals{justify-content:center;gap:16px}

  /* ── SECTION NUMS ── */
  .section-num{margin-bottom:8px}

  /* ── MEGA MENU ── */
  .mega{min-width:calc(100vw - 40px) !important;left:50% !important;transform:translateX(-50%) !important;padding:16px}
  .mega-grid.cols-3{grid-template-columns:1fr 1fr}

}

@media (max-width: 480px) {

  .hero-h{font-size:clamp(34px,11vw,52px)}
  .how-grid{grid-template-columns:1fr}
  .caps-grid{grid-template-columns:1fr}
  .mono-grid{grid-template-columns:1fr}
  .ct-grid{grid-template-columns:1fr}
  .ct-mono-grid{grid-template-columns:1fr}
  .tm-grid{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1fr}
  .hero-stats .hs-cell{flex:0 0 100%}
  .inf-body{gap:24px}
  .ad-stats{grid-template-columns:1fr 1fr 1fr;gap:0}

  /* Nav CTA takes full attention on small screens */
  .n-cta{font-size:11px;padding:7px 13px}

}

@media (max-width: 768px) {
  .nav-hamburger{display:flex}
}




/* ─── SITE FOOTER (preserved from v3.x) ─── */
.footer-brand-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  margin-bottom: 68px;
}
.site-footer,
footer#colophon {
  background: var(--black2) !important;
  padding: 0 52px 36px !important;
  border-top: 1px solid var(--bl) !important;
  font-family: var(--ff-b);
}
.site-footer::before { content: none; } /* override parent style.css gradient line */

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--bl);
}
.footer-brand { }
.gz-footer-logo { margin-bottom: 4px; }
.fl-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 245, 248, 0.28) !important;
  margin-top: 14px;
  line-height: 1.72;
  max-width: 260px;
}
.fc-h {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 248, 0.22) !important;
  margin-bottom: 20px;
}
.fc-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}
.fc-links a {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(245, 245, 248, 0.42) !important;
  transition: color 0.2s;
  text-decoration: none;
}
.fc-links a:hover { color: var(--cyan) !important; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.fcopy { font-size: 12px; color: rgba(245, 245, 248, 0.18); }
.flegals { display: flex; gap: 24px; }
.flegals a {
  font-size: 12px;
  color: rgba(245, 245, 248, 0.18) !important;
  transition: color 0.2s;
  text-decoration: none;
}
.flegals a:hover { color: var(--cyan) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 56px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mob-toggle { display: flex; }

  .announce {
    padding: 8px 16px;
    height: auto;
    min-height: 38px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    text-align: center;
  }
  .ann-text { font-size: 11px; white-space: normal; }
  .ann-tag { font-size: 8.5px; }
  .ann-sep { display: none; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer, footer#colophon { padding: 0 20px 24px !important; }
  .footer-brand-bar { margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   GIZMOTT — Nav logo alignment fix
   Forces the logo to respect the nav's 48px left padding.
   Drop this at the END of header-footer.css OR add as new file
   and enqueue after it in functions.php.
   ============================================================ */

/* Force nav padding with higher specificity than anything Essentials
   might inject. body > nav.nav wins over generic .nav */
html body nav.nav,
html body .nav#siteNav,
html body nav.nav#siteNav {
  padding-left: 48px !important;
  padding-right: 48px !important;
  box-sizing: border-box !important;
}

/* Pin the logo link — no negative margin, no auto-shift */
html body .nav .gz-logo-link,
html body nav.nav > .gz-logo-link,
html body #siteNav > .gz-logo-link {
  margin-left: 0 !important;
  padding-left: 0 !important;
  position: relative !important;
  left: 0 !important;
  flex-shrink: 0 !important;
}

/* SVG inside the logo link — ensure it starts at x=0 of its container */
html body .gz-logo-link .gz-logo-svg,
html body .gz-logo-link svg {
  margin-left: 0 !important;
  display: block !important;
}

/* Mobile adjustment — parent theme may be adding its own mobile padding */
@media (max-width: 768px) {
  html body nav.nav,
  html body .nav#siteNav {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* ============================================================
   FORCE LOGO ALIGNMENT (Essentials/Pix Themes override)
   Prevents parent theme from overriding nav padding
   ============================================================ */
html body nav.nav,
html body .nav#siteNav,
html body nav.nav#siteNav {
  padding-left: 48px !important;
  padding-right: 48px !important;
  box-sizing: border-box !important;
}

html body .nav .logo-mark,
html body .nav .gz-logo-link,
html body nav.nav > .logo-mark,
html body nav.nav > .gz-logo-link,
html body #siteNav > .logo-mark {
  margin-left: 0 !important;
  padding-left: 0 !important;
  position: relative !important;
  left: 0 !important;
  flex-shrink: 0 !important;
  border-left: none !important;
}

html body .logo-mark svg,
html body .gz-logo-link .gz-logo-svg {
  margin-left: 0 !important;
  display: block !important;
}

html body nav.nav svg.gz-logo-svg,
html body .logo-mark svg {
  height: 44px !important;
  width: auto !important;
  max-height: 44px !important;
}

/* Mobile nav padding */
@media (max-width: 768px) {
  html body nav.nav,
  html body .nav#siteNav {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* ============================================================
   FORCE NAV TYPOGRAPHY (Essentials/Pix Themes override)
   Prevents parent theme from overriding our nav font sizes,
   weights, line-heights, or letter-spacing.
   ============================================================ */

/* Top-level nav items (Solutions, Monetize, AI Suite, Pricing, etc.) */
html body nav.nav .nav-links > li > a,
html body nav.nav .nav-links li a,
html body .nav .nav-links > li > a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  font-family: var(--ff-b, 'Inter', sans-serif) !important;
  text-transform: none !important;
}

/* Mega menu: section heading */
html body nav.nav .mega .mega-section-h,
html body .mega .mega-section-h {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

/* Mega menu: item title */
html body nav.nav .mega .mi-title,
html body .mega .mi-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Mega menu: item description */
html body nav.nav .mega .mi-desc,
html body .mega .mi-desc {
  font-size: 11.5px !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Mega menu: footer text and link */
html body nav.nav .mega .mega-footer-text,
html body .mega .mega-footer-text {
  font-size: 12px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
}
html body nav.nav .mega .mega-footer-link,
html body .mega .mega-footer-link {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
}

/* Announce bar */
html body .announce .ann-tag {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}
html body .announce .ann-text {
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}
html body .announce .ann-btn {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}

/* Nav right-side CTA (Request a Demo) — force visibility over Essentials */
html body nav.nav .nav-right .n-cta,
html body nav.nav .nav-right a.n-cta,
html body .nav .n-cta,
html body .nav a.n-cta,
html body nav.nav .nav-right a.n-cta:link,
html body nav.nav .nav-right a.n-cta:visited,
html body nav.nav .nav-right a.n-cta:hover,
html body nav.nav .nav-right a.n-cta:active,
html body nav.nav .nav-right a.n-cta:focus {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-family: var(--ff-b, 'Inter', sans-serif) !important;
  color: #05060A !important;          /* black text — force over Essentials */
  background: #26D6FF !important;     /* cyan bg */
  background-color: #26D6FF !important;
  border: none !important;
  padding: 9px 22px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
}
html body nav.nav .nav-right a.n-cta:hover {
  background: #26D6FF !important;
  background-color: #26D6FF !important;
  color: #05060A !important;
  opacity: 0.86 !important;
}

/* Ensure nav links don't inherit parent theme bold/underline/color */
html body nav.nav a,
html body nav.nav a:hover,
html body nav.nav a:visited {
  text-decoration: none !important;
}

/* Mobile nav drawer links */
html body #mobileNav a {
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-family: var(--ff-b, 'Inter', sans-serif) !important;
}
