/**
 * BeastBrowser — Premium chrome (site-wide)
 * Clean white + red header. No floating pill bar, no peach glass.
 */
:root {
  --bb-chrome-red: #ef2b24;
  --bb-chrome-red-dark: #d4201a;
  --bb-chrome-ink: #0f172a;
  --bb-chrome-muted: #64748b;
  --bb-chrome-line: #e8eef3;
  --bb-chrome-bg: #ffffff;
}

/* Site shell: prefer clean white over peach wash */
body.nb-site,
body.bb-premium-site.nb-site {
  background: var(--bb-chrome-bg) !important;
  color: var(--bb-chrome-ink);
}

/* Soften decorative sky blobs — less visual noise */
body.nb-site .saas-sky {
  opacity: 0.35;
  pointer-events: none;
}
body.nb-inner:not(.bb-home-page) .saas-sky {
  display: none !important;
}

/* ——— Navbar: full-bleed professional bar ——— */
#bb-nav-shell.nb-nav-shell,
body.nb-site #bb-nav-shell,
#bb-nav-shell {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.1) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bb-chrome-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#bb-nav-shell.is-scrolled,
body.nb-site #bb-nav-shell.is-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: blur(12px) !important;
}

#bb-nav-shell > .nb-wrap,
#bb-nav-shell #main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#bb-nav-shell #main-nav > .flex {
  height: 3.75rem; /* 60px — tighter */
  gap: 1rem;
}

/* Brand */
body.nb-site #bb-nav-shell a.nb-nav-brand,
body.nb-site #bb-nav-shell .nb-nav-brand span {
  color: var(--bb-chrome-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  text-decoration: none;
}
body.nb-site #bb-nav-shell .nb-nav-brand .fire-word {
  color: var(--bb-chrome-red) !important;
}
body.nb-site #bb-nav-shell .nb-nav-brand img {
  width: 1.85rem !important;
  height: 1.85rem !important;
  border-radius: 0.45rem !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Links */
body.nb-site #bb-nav-shell .hidden.lg\:flex > a,
body.nb-site #bb-nav-shell .hidden.lg\:flex > .group\/menu > button {
  color: #334155 !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 0.4rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.nb-site #bb-nav-shell .hidden.lg\:flex > a:hover,
body.nb-site #bb-nav-shell .hidden.lg\:flex > .group\/menu > button:hover {
  color: var(--bb-chrome-red) !important;
  background: #fff5f4 !important;
}

/* Mega menus — flat professional cards */
body.nb-site #bb-nav-shell .fire-mega,
body.nb-site #bb-nav-shell .group\/menu > div > div {
  background: #fff !important;
  border: 1px solid var(--bb-chrome-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
  padding: 0.5rem !important;
}
body.nb-site #bb-nav-shell .fire-mega-item {
  border-radius: 8px !important;
  padding: 0.65rem 0.75rem !important;
}
body.nb-site #bb-nav-shell .fire-mega-item:hover,
body.nb-site #bb-nav-shell .group\/menu a:hover {
  background: #fff8f7 !important;
}
body.nb-site #bb-nav-shell .fire-mega-ico {
  background: #fff1f0 !important;
  color: var(--bb-chrome-red) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

/* Nav CTAs — premium, not chubby pills */
#bb-nav-shell .bb-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.15rem;
  padding: 0 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bb-chrome-ink) !important;
  background: transparent !important;
  border: 1px solid var(--bb-chrome-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#bb-nav-shell .bb-nav-login:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: var(--bb-chrome-ink) !important;
}

#bb-nav-shell .bb-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.15rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--bb-chrome-red) !important;
  border: 1px solid var(--bb-chrome-red) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#bb-nav-shell .bb-nav-cta:hover {
  background: var(--bb-chrome-red-dark) !important;
  border-color: var(--bb-chrome-red-dark) !important;
  color: #fff !important;
}

/* Kill old yellow/peach pill buttons inside nav only */
#bb-nav-shell .nb-btn,
#bb-nav-shell .nb-btn-yellow,
#bb-nav-shell .nb-btn-ghost,
#bb-nav-shell .nb-btn-sm {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.nb-site #mobile-menu-btn.fire-hamburger {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--bb-chrome-line);
  border-radius: 8px;
  background: #fff;
  color: var(--bb-chrome-ink);
  box-shadow: none;
}

.bb-nav-spacer,
#bb-nav-spacer {
  height: 3.75rem !important;
}

/* Language switcher — quieter */
#bb-nav-shell .bb-lang-switch__trigger {
  border-radius: 8px !important;
  border-color: var(--bb-chrome-line) !important;
  box-shadow: none !important;
  font-size: 0.8125rem !important;
}

/* Mobile drawer polish */
body.nb-site #mobile-menu.nb-mobile-nav {
  background: #fff;
}
body.nb-site .nb-mobile-link {
  font-weight: 600;
  color: var(--bb-chrome-ink);
  border-bottom: 1px solid #f1f5f9;
}
body.nb-site #mobile-panel .nb-btn-yellow,
body.nb-site #mobile-panel .bb-nav-cta {
  background: var(--bb-chrome-red) !important;
  border-color: var(--bb-chrome-red) !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* ——— Premium footer (site-wide) ——— */
body.nb-site footer.bb-foot,
footer.bb-foot {
  background: #fff !important;
  color: var(--bb-chrome-ink) !important;
  border-top: 1px solid var(--bb-chrome-line) !important;
  margin-top: 0;
  position: relative;
}
body.nb-site footer.bb-foot::before,
footer.bb-foot::before {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--bb-chrome-red), #ff6b4a 40%, transparent 85%);
}

.bb-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.25rem 1.25rem 1.75rem;
}

.bb-foot-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 960px) {
  .bb-foot-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
    gap: 3rem;
    align-items: start;
  }
}

.bb-foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  margin-bottom: 0.85rem;
  color: var(--bb-chrome-ink) !important;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bb-foot-logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.bb-foot-red { color: var(--bb-chrome-red) !important; }

.bb-foot-tagline {
  margin: 0 0 1.1rem;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bb-chrome-muted) !important;
}

.bb-foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.bb-foot-social a,
.bb-foot-social-a {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bb-chrome-line);
  border-radius: 8px;
  color: #475569 !important;
  background: #fff;
  text-decoration: none !important;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.bb-foot-social a:hover,
.bb-foot-social-a:hover {
  border-color: #fecaca !important;
  color: var(--bb-chrome-red) !important;
  background: #fff8f7 !important;
}

.bb-foot-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bb-foot-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #475569 !important;
  text-decoration: none !important;
}
.bb-foot-contact a:hover {
  color: var(--bb-chrome-red) !important;
}

.bb-foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
@media (min-width: 720px) {
  .bb-foot-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bb-foot-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-chrome-ink) !important;
}
.bb-foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-foot-col li {
  margin: 0 0 0.45rem;
}
.bb-foot-col a {
  font-size: 0.875rem;
  color: #64748b !important;
  text-decoration: none !important;
  font-weight: 500;
}
.bb-foot-col a:hover,
a.bb-foot-accent {
  color: var(--bb-chrome-red) !important;
}
a.bb-foot-accent {
  font-weight: 700 !important;
}

.bb-foot-tools {
  border-top: 1px solid var(--bb-chrome-line);
  padding-top: 1.75rem;
  margin-bottom: 1.75rem;
}
.bb-foot-tools-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.bb-foot-tools-head h3 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-chrome-ink) !important;
}
.bb-foot-tools-all {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bb-chrome-red) !important;
  text-decoration: none !important;
}
.bb-foot-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
}
@media (min-width: 640px) {
  .bb-foot-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.bb-foot-tools-grid h4 {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bb-chrome-ink) !important;
}
.bb-foot-tools-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bb-foot-tools-grid li {
  margin: 0 0 0.35rem;
}
.bb-foot-tools-grid a {
  font-size: 0.8125rem;
  color: #64748b !important;
  text-decoration: none !important;
}
.bb-foot-tools-grid a:hover {
  color: var(--bb-chrome-red) !important;
}

.bb-foot-bottom {
  border-top: 1px solid var(--bb-chrome-line);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .bb-foot-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.bb-foot-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8 !important;
  line-height: 1.6;
}
.bb-foot-copy a {
  color: #64748b !important;
  text-decoration: none !important;
  margin-left: 0.15rem;
}
.bb-foot-copy a:hover {
  color: var(--bb-chrome-red) !important;
}
.bb-foot-copy span {
  margin: 0 0.2rem;
  color: #cbd5e1;
}
.bb-foot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.35rem;
  padding: 0 1.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--bb-chrome-red) !important;
  border: 1px solid var(--bb-chrome-red);
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: none;
  white-space: nowrap;
}
.bb-foot-cta:hover {
  background: var(--bb-chrome-red-dark) !important;
  border-color: var(--bb-chrome-red-dark);
  color: #fff !important;
}

body.nb-site footer.nb-footer {
  background: #fff !important;
  color: var(--bb-chrome-ink) !important;
}
