/* Header */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}
*, *::before, *::after { box-sizing: border-box; }
img, video, svg { max-width: 100%; height: auto; }

.bb-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.bb-header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.bb-header-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bb-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bb-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.bb-logo-icon {
  height: 40px;
  width: 40px;
  border-radius: 16px;
  background-color: #171717;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}
.bb-logo-text {
  font-weight: 600;
}
.desktop-nav { display: none; }
.desktop-nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.desktop-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #7e22ce;
  transition: width 0.3s ease;
}
.desktop-nav a:hover:after { width: 100%; }
.desktop-nav .nav-cta {
  color: white;
  padding: 0.5rem 1rem;
  background-color: #171717;
  border-radius: 0.75rem;
}
.desktop-nav .nav-cta:after { display: none; }

.mobile-menu-button {
  display: block;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}
#mobileMenuContainer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #eee;
  z-index: 999;
}
#mobileMenuContainer ul { list-style: none; margin: 0; padding: 0; }
#mobileMenuContainer li { border-bottom: 1px solid #f0f0f0; }
#mobileMenuContainer a { display: block; padding: 12px 16px; color: #333; text-decoration: none; }
#mobileMenuContainer a:hover { background-color: #f8f8f8; }

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .mobile-menu-button { display: none; }
}

/* Table responsive wrapper */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
