/* ═══════════════════════════════════════════════════════════════
   ZAMBEZU LLC — Global Header & Footer
   2026 Indigo / Cyan SaaS theme
═══════════════════════════════════════════════════════════════ */

/* ── Global readable text tokens (all pages) ── */
:root{
  --zb-text-dark-bg:#E2E8F0;
  --zb-text-muted-dark-bg:rgba(255,255,255,.55);
  --zb-text-light-bg:#334155;
  --zb-text-muted-light-bg:#64748B;
  --zb-heading-light-bg:#0F172A;
  --zb-heading-dark-bg:#F8FAFC;
  --zb-header-height:68px;
  --zb-admin-offset:0px;
}
body.zb-page-dark{
  color:var(--zb-text-dark-bg);
  background:linear-gradient(180deg,#0c1225 0%,#131b3a 100%);
  min-height:100vh;
}
body.zb-page-light{
  color:var(--zb-text-light-bg);
  background:#F5F7FF;
  min-height:100vh;
}

body.zb-menu-open{overflow:hidden}

body{
  padding-top:0;
}
body.admin-bar{
  --zb-admin-offset:32px;
}
body.zb-checkout-page{
  padding-top:0;
}
@media screen and (max-width:782px){
  body.admin-bar{--zb-admin-offset:46px}
}

/* Dark heroes — flush under fixed header (no white gap) */
body.zb-page-dark .hero{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 52px);
}
body.zb-page-light .pl-hero{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 72px);
}
body.zb-page-light #zb-about .ab-hero,
body.zb-page-light #icn-contact .ct-hero{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 56px);
}
body.zb-blog-page .zb-blog-hero{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 48px);
}
body.zb-legal-page #primary.zb-legal-main .icn-hero{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 48px);
}
.zb-page-main{
  padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset));
}

@media(max-width:960px){
  body.zb-page-dark .hero{padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 40px)}
  body.zb-page-light .pl-hero{padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 52px)}
  body.zb-page-light #zb-about .ab-hero,
  body.zb-page-light #icn-contact .ct-hero{padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 40px)}
  body.zb-blog-page .zb-blog-hero{padding-top:calc(var(--zb-header-height) + var(--zb-admin-offset) + 40px)}
}

@media screen and (max-width:782px){
  body.admin-bar #zb-shell-header{top:46px}
  body.admin-bar .zb-mobile-nav{top:calc(46px + var(--zb-header-height))}
}

/* Light sections on mixed-theme pages — readable text */
.ab-intro,.ab-process,.ab-audience,
.ct-main,.ct-faq,.icn-body,
.pl-sec,.pl-cta{color:var(--zb-text-light-bg)}

#zb-shell-header{
  position:fixed;top:var(--zb-admin-offset);left:0;right:0;width:100%;
  z-index:1100;
  background:#0c1225!important;
}
body.admin-bar #zb-shell-header{top:32px}
.zb-header{
  position:relative;width:100%;
  background:#0c1225!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-bottom:1px solid rgba(99,102,241,.2);
  box-shadow:0 4px 24px rgba(0,0,0,.22);
  transition:box-shadow .2s ease;
}
#zb-shell-header.is-scrolled .zb-header{
  box-shadow:0 8px 32px rgba(0,0,0,.38);
}
.zb-header-inner{
  max-width:1320px;margin:0 auto;
  padding:0 clamp(16px,2.5vw,28px);
  height:68px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
}

/* Logo */
.zb-logo{
  display:flex;align-items:center;gap:10px;
  text-decoration:none;flex-shrink:0;
  justify-self:start;
}
.zb-logo-mark{
  width:36px;height:36px;border-radius:10px;
  background:linear-gradient(135deg,#6366F1 0%,#818CF8 50%,#22D3EE 100%);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(99,102,241,.35);
}
.zb-logo-mark svg{width:18px;height:18px;color:#fff}
.zb-logo-text{display:flex;flex-direction:column;line-height:1.1}
.zb-logo-name{font-size:16px;font-weight:800;color:#fff;letter-spacing:-.02em}
.zb-logo-tag{font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(34,211,238,.85)}

/* Nav — centered in header */
.zb-nav{
  display:flex;align-items:center;justify-content:center;gap:4px;
  justify-self:center;
}
.zb-nav-link{
  padding:8px 14px;border-radius:8px;
  font-size:14px;font-weight:600;color:rgba(255,255,255,.62);
  text-decoration:none;transition:color .18s,background .18s;
  white-space:nowrap;
}
.zb-nav-link:hover{color:#fff;background:rgba(99,102,241,.12)}
.zb-nav-link.is-active{color:#22D3EE;background:rgba(99,102,241,.15)}

/* Dropdown */
.zb-nav-drop{position:relative}
.zb-nav-drop-btn{
  display:flex;align-items:center;gap:5px;
  padding:8px 14px;border-radius:8px;border:none;background:none;
  font-family:inherit;font-size:14px;font-weight:600;
  color:rgba(255,255,255,.62);cursor:pointer;
  transition:color .18s,background .18s;
}
.zb-nav-drop-btn:hover{color:#fff;background:rgba(99,102,241,.12)}
.zb-nav-drop-btn svg{width:14px;height:14px;transition:transform .2s}
.zb-nav-drop.open .zb-nav-drop-btn svg{transform:rotate(180deg)}
.zb-nav-drop-menu{
  position:absolute;top:calc(100% + 8px);left:0;min-width:220px;
  background:rgba(18,24,48,.96);border:1px solid rgba(99,102,241,.2);
  border-radius:14px;padding:8px;
  box-shadow:0 16px 48px rgba(0,0,0,.35),0 0 0 1px rgba(99,102,241,.08);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .2s,transform .2s,visibility .2s;
  backdrop-filter:blur(16px);
}
.zb-nav-drop.open .zb-nav-drop-menu{opacity:1;visibility:visible;transform:translateY(0)}
.zb-nav-drop-menu a{
  display:block;padding:10px 14px;border-radius:8px;
  font-size:13.5px;font-weight:500;color:rgba(255,255,255,.65);
  text-decoration:none;transition:background .15s,color .15s;
}
.zb-nav-drop-menu a:hover{background:rgba(99,102,241,.15);color:#fff}
.zb-nav-drop-menu a.is-active{color:#22D3EE;background:rgba(99,102,241,.12)}

/* Header actions */
.zb-header-actions{
  display:flex;align-items:center;gap:10px;
  justify-self:end;
}
.zb-btn-ghost{
  padding:9px 18px;border-radius:10px;
  font-size:13.5px;font-weight:600;color:rgba(255,255,255,.75);
  text-decoration:none;border:1px solid rgba(255,255,255,.12);
  transition:background .18s,border-color .18s,color .18s;
  white-space:nowrap;
}
.zb-btn-ghost:hover{background:rgba(255,255,255,.06);border-color:rgba(99,102,241,.35);color:#fff}
.zb-btn-primary{
  padding:9px 20px;border-radius:10px;
  font-size:13.5px;font-weight:700;color:#0c1225;
  text-decoration:none;
  background:linear-gradient(135deg,#6366F1 0%,#818CF8 50%,#22D3EE 100%);
  box-shadow:0 4px 16px rgba(99,102,241,.35);
  transition:transform .18s,box-shadow .18s,filter .18s;
  white-space:nowrap;
}
.zb-btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(99,102,241,.45);filter:brightness(1.05)}

/* Header cart (e-commerce style) */
.zb-header-cart-wrap{position:relative}
.zb-header-cart{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:11px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);
  color:#fff;cursor:pointer;transition:background .18s,border-color .18s,transform .18s;
}
.zb-header-cart:hover{background:rgba(99,102,241,.2);border-color:rgba(129,140,248,.45);transform:translateY(-1px)}
.zb-header-cart svg{width:20px;height:20px}
.zb-header-cart-count{
  position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;
  border-radius:999px;background:linear-gradient(135deg,#6366F1,#818CF8);
  color:#0c1225;font-size:10px;font-weight:900;line-height:18px;text-align:center;
  box-shadow:0 2px 8px rgba(99,102,241,.45);
}
.zb-header-cart-drop{
  position:absolute;top:calc(100% + 10px);right:0;width:min(320px,calc(100vw - 32px));
  background:#fff;border:1px solid #E2E8F0;border-radius:14px;
  box-shadow:0 16px 40px rgba(15,23,42,.18);z-index:1200;overflow:hidden;
}
.zb-header-cart-drop-head{
  padding:12px 16px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;
  color:#64748B;border-bottom:1px solid #EEF2F7;background:#F8FAFC;
}
.zb-header-cart-list{list-style:none;margin:0;padding:8px 0;max-height:220px;overflow-y:auto}
.zb-header-cart-list li{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:10px 12px 10px 16px;font-size:13px;color:#334155;border-bottom:1px solid #F1F5F9;
}
.zb-header-cart-list li:last-child{border-bottom:none}
.zb-header-cart-row-main{
  flex:1;min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
}
.zb-header-cart-list strong{font-weight:800;color:#0F172A;line-height:1.35;word-break:break-word;flex:1;min-width:0}
.zb-header-cart-row-price{white-space:nowrap;font-weight:800;color:#4338CA;flex-shrink:0}
.zb-header-cart-remove{
  flex-shrink:0;width:28px;height:28px;padding:0;border:none;border-radius:8px;
  background:#FEE2E2;color:#DC2626;cursor:pointer;display:inline-flex;
  align-items:center;justify-content:center;transition:background .15s,transform .15s;
}
.zb-header-cart-remove:hover{background:#FECACA;transform:scale(1.06)}
.zb-header-cart-remove svg{width:14px;height:14px}
.zb-header-cart-drop-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;border-top:1px solid #E2E8F0;background:#F8FAFC;
}
.zb-header-cart-total{font-size:15px;font-weight:900;color:#0F172A}
.zb-header-cart-go{
  padding:9px 16px;border:none;border-radius:10px;cursor:pointer;font-family:inherit;
  font-size:13px;font-weight:800;color:#0c1225;
  background:linear-gradient(135deg,#6366F1 0%,#818CF8 50%,#22D3EE 100%);
  box-shadow:0 4px 14px rgba(99,102,241,.35);
}
.zb-header-cart--mobile{display:none}
.zb-mobile-cart{
  display:none;width:100%;align-items:center;justify-content:center;gap:8px;
  padding:12px 16px;border-radius:10px;border:1px solid rgba(129,140,248,.35);
  background:rgba(99,102,241,.12);color:#E0E7FF;font-size:14px;font-weight:800;
  cursor:pointer;font-family:inherit;
}
.zb-mobile-cart svg{width:18px;height:18px}
.zb-mobile-cart span{
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;
  background:linear-gradient(135deg,#6366F1,#818CF8);color:#0c1225;font-size:11px;font-weight:900;line-height:20px;
}

/* Mobile toggle */
.zb-menu-toggle{
  display:none;width:40px;height:40px;border-radius:10px;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);
  color:#fff;cursor:pointer;align-items:center;justify-content:center;
  justify-self:end;
}
.zb-menu-toggle svg{width:20px;height:20px}

/* Mobile nav */
.zb-mobile-nav{
  display:none;
  position:fixed;left:0;right:0;top:var(--zb-header-height);z-index:1090;
  max-height:calc(100dvh - var(--zb-header-height));overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  border-top:1px solid rgba(99,102,241,.12);
  background:rgba(12,18,37,.98);
  padding:16px clamp(16px,2.5vw,28px) 20px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.zb-mobile-nav.open{display:block}
.zb-mobile-nav a{
  display:block;padding:12px 14px;border-radius:10px;
  font-size:15px;font-weight:600;color:rgba(255,255,255,.7);
  text-decoration:none;margin-bottom:4px;
}
.zb-mobile-nav a:hover,.zb-mobile-nav a.is-active{background:rgba(99,102,241,.12);color:#22D3EE}
.zb-mobile-nav-label{
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.28);padding:12px 14px 6px;
}
.zb-mobile-actions{display:flex;gap:10px;padding-top:14px;margin-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.zb-mobile-actions .zb-btn-ghost,.zb-mobile-actions .zb-btn-primary{flex:1;text-align:center;padding:12px}

@media(max-width:960px){
  .zb-header-inner{
    display:flex;
    justify-content:space-between;
    gap:12px;
  }
  .zb-nav,.zb-header-actions{display:none}
  .zb-header-cart-wrap{display:none}
  .zb-header-cart--mobile{display:inline-flex}
  .zb-menu-toggle{display:flex}
}

/* ═══ FOOTER (global — same on every page) ═══ */
#zb-shell-footer{
  width:100%;
  max-width:100%;
  overflow:hidden;
  position:relative;
  z-index:2;
  isolation:isolate;
}
#zb-shell-footer .zb-footer{
  background:linear-gradient(180deg,#0c1225 0%,#0a0f1e 100%);
  border-top:1px solid rgba(99,102,241,.12);
  position:relative;
  overflow:hidden;
  width:100%;
}
#zb-shell-footer .zb-footer::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 60% 50% at 50% 0%,rgba(99,102,241,.08) 0%,transparent 70%);
}
#zb-shell-footer .zb-footer-inner{
  max-width:1320px;
  width:100%;
  margin:0 auto;
  padding:64px clamp(16px,2.5vw,28px) 32px;
  position:relative;
  z-index:1;
  box-sizing:border-box;
}
#zb-shell-footer .zb-footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:48px;
}
#zb-shell-footer .zb-footer-brand{
  min-width:0;
}
#zb-shell-footer .zb-footer-brand .zb-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  max-width:100%;
}
#zb-shell-footer .zb-footer-brand p{
  font-size:14px;
  color:rgba(255,255,255,.42);
  line-height:1.75;
  margin:16px 0 20px;
  max-width:340px;
}
#zb-shell-footer .zb-footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
#zb-shell-footer .zb-footer-social{
  width:36px;height:36px;border-radius:9px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.45);text-decoration:none;
  transition:background .18s,border-color .18s,color .18s;
  flex-shrink:0;
}
#zb-shell-footer .zb-footer-social:hover{
  background:rgba(99,102,241,.15);
  border-color:rgba(99,102,241,.35);
  color:#22D3EE;
}
#zb-shell-footer .zb-footer-social svg{width:15px;height:15px}
#zb-shell-footer .zb-footer-col{
  min-width:0;
}
#zb-shell-footer .zb-footer-col h4{
  font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.35);margin-bottom:18px;
}
#zb-shell-footer .zb-footer-col ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
}
#zb-shell-footer .zb-footer-col a,
#zb-shell-footer .zb-footer-legal a{
  font-size:14px;
  color:rgba(255,255,255,.55)!important;
  text-decoration:none;
  transition:color .15s;
  word-break:break-word;
}
#zb-shell-footer .zb-footer-col a:hover,
#zb-shell-footer .zb-footer-legal a:hover{
  color:#22D3EE!important;
}
#zb-shell-footer .zb-footer-contact-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14px;
  color:rgba(255,255,255,.55);
  margin-bottom:12px;
  min-width:0;
}
#zb-shell-footer .zb-footer-contact-item span{
  min-width:0;
  word-break:break-word;
}
#zb-shell-footer .zb-footer-contact-item svg{
  width:16px;height:16px;color:#6366F1;flex-shrink:0;margin-top:2px;
}
#zb-shell-footer .zb-footer-contact-item a{
  color:#22D3EE!important;
  text-decoration:none;
  word-break:break-all;
}
#zb-shell-footer .zb-footer-contact-item a:hover{text-decoration:underline}
#zb-shell-footer .zb-footer-hours{
  display:block;
  margin-top:4px;
  font-size:12px;
  opacity:.65;
  line-height:1.4;
}
#zb-shell-footer .zb-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.07);
}
#zb-shell-footer .zb-footer-bottom p{
  font-size:13px;
  color:rgba(255,255,255,.32);
  margin:0;
  line-height:1.5;
}
#zb-shell-footer .zb-footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
  align-items:center;
}

@media(max-width:1024px){
  #zb-shell-footer .zb-footer-grid{
    grid-template-columns:1fr 1fr;
    gap:32px 28px;
  }
  #zb-shell-footer .zb-footer-brand{
    grid-column:1/-1;
  }
  #zb-shell-footer .zb-footer-brand p{
    max-width:none;
  }
}

@media(max-width:768px){
  #zb-shell-footer .zb-footer-inner{
    padding:48px 16px 28px;
  }
  #zb-shell-footer .zb-footer-grid{
    grid-template-columns:1fr;
    gap:28px;
    margin-bottom:36px;
  }
  #zb-shell-footer .zb-footer-col{
    padding-bottom:4px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  #zb-shell-footer .zb-footer-col:last-child{
    border-bottom:none;
    padding-bottom:0;
  }
  #zb-shell-footer .zb-footer-col h4{
    margin-bottom:14px;
  }
  #zb-shell-footer .zb-footer-bottom{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:20px;
    padding-top:24px;
  }
  #zb-shell-footer .zb-footer-legal{
    width:100%;
    justify-content:center;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 16px;
  }
  #zb-shell-footer .zb-footer-legal a{
    font-size:13px;
    text-align:center;
    padding:4px 0;
  }
}

@media(max-width:480px){
  #zb-shell-footer .zb-footer-inner{
    padding:40px 16px 24px;
  }
  #zb-shell-footer .zb-footer-grid{
    gap:24px;
    margin-bottom:28px;
  }
  #zb-shell-footer .zb-footer-brand p{
    font-size:13.5px;
    margin:14px 0 18px;
  }
  #zb-shell-footer .zb-footer-legal{
    grid-template-columns:1fr;
    gap:8px;
  }
  #zb-shell-footer .zb-footer-legal a{
    display:block;
    width:100%;
    padding:8px 0;
    text-align:center;
  }
  #zb-shell-footer .zb-footer-bottom p{
    font-size:12px;
  }
}

/* ═══ GLOBAL MOBILE BASE (all pages) ═══ */
html{overflow-x:hidden;-webkit-text-size-adjust:100%;visibility:visible}
body{
  overflow-x:hidden;min-width:0;visibility:visible;opacity:1;
  font-family:system-ui,-apple-system,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
img,video,canvas{max-width:100%;height:auto}

@media(max-width:768px){
  /* Legal / policy pages */
  .icn-hero{padding-bottom:40px!important}
  .icn-hero-inner{padding:0 16px!important}
  .icn-hero h1{font-size:clamp(26px,6.5vw,38px)!important;line-height:1.12!important;margin-bottom:12px!important}
  .icn-hero-sub{font-size:15px!important;margin-bottom:16px!important;line-height:1.65!important}
  .icn-eyebrow{font-size:10px!important;margin-bottom:14px!important}
  .icn-hero-meta{font-size:11px!important;gap:10px!important}
  .icn-body{padding-bottom:64px!important}
  .icn-body-inner{padding:36px 16px 0!important}
  .icn-toc{padding:22px 16px!important;margin-bottom:28px!important;border-radius:16px!important}
  .icn-toc-header{flex-wrap:wrap;gap:10px;margin-bottom:18px;padding-bottom:14px}
  .icn-toc-sublabel{margin-left:0!important;width:100%;text-align:center}
  .icn-trigger{gap:12px!important;padding:16px 16px!important}
  .icn-trigger-left{min-width:0;flex:1;gap:10px!important}
  .icn-title{font-size:15px!important;line-height:1.35!important;word-break:break-word}
  .icn-num-badge{width:30px!important;height:30px!important;font-size:9px!important;flex-shrink:0}
  .icn-chevron{width:26px!important;height:26px!important;flex-shrink:0}
  .icn-panel{padding:4px 16px 20px 16px!important}
  .icn-panel p,.icn-panel ul li{font-size:14px!important}
  .icn-contact{padding:28px 18px!important;margin-top:28px!important;border-radius:16px!important}
  .icn-contact h3{font-size:18px!important}
  .icn-contact-btn{width:100%;justify-content:center;box-sizing:border-box}

  /* Shared page wrappers */
  .page-inner{padding-left:16px!important;padding-right:16px!important}
}

@media(max-width:480px){
  :root{--zb-header-height:58px}
  .zb-mobile-nav{top:calc(var(--zb-admin-offset) + var(--zb-header-height));max-height:calc(100dvh - var(--zb-header-height) - var(--zb-admin-offset))}
  .zb-header-inner{height:58px;padding:0 14px;gap:10px}
  .zb-logo-mark{width:32px;height:32px;border-radius:8px}
  .zb-logo-mark svg{width:16px;height:16px}
  .zb-logo-name{font-size:14px}
  .zb-logo-tag{display:none}
  .zb-menu-toggle{width:38px;height:38px}
  .zb-header-cart--mobile{width:38px;height:38px}
  .zb-mobile-nav.open{
    max-height:calc(100dvh - 58px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .zb-mobile-actions{flex-direction:column}
  .zb-mobile-actions .zb-mobile-cart{display:flex}
  .zb-mobile-actions .zb-btn-ghost,
  .zb-mobile-actions .zb-btn-primary{width:100%}
  .icn-hero-meta{flex-direction:column;gap:6px!important}
  .icn-hero-meta .dot{display:none}
}
