/**
 * Bonzoa Brand Identity & Modern SaaS UI Stylesheet
 * Brand colors: Electric Indigo (#635BFF), Violet (#8B5CF6), Cyan (#22D3EE)
 * Backgrounds: Dark (#0B0D14), Light (#F8FAFC)
 * Fonts: Plus Jakarta Sans (Primary), Manrope (Display)
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Core Colors */
  --bz-primary: #635BFF;
  --bz-secondary: #8B5CF6;
  --bz-accent: #22D3EE;

  /* Surfaces & Backgrounds */
  --bz-dark-bg: #0B0D14;
  --bz-light-bg: #F8FAFC;
  --bz-surface-dark: #121520;
  --bz-surface-elevated: #181C2B;
  --bz-surface-card: #151824;
  --bz-border-dark: #1F2438;
  --bz-border-subtle: rgba(255, 255, 255, 0.08);

  /* Light mode equivalents */
  --bz-surface-light: #FFFFFF;
  --bz-border-light: #E2E8F0;

  /* Typography */
  --bz-text-main: #111827;
  --bz-text-light: #F1F5F9;
  --bz-muted: #64748B;
  --bz-muted-dark: #94A3B8;

  /* Category Accents */
  --bz-cat-apps: #635BFF;
  --bz-cat-games: #8B5CF6;
  --bz-cat-surveys: #22D3EE;
  --bz-cat-shopping: #3B82F6;
  --bz-cat-trials: #A855F7;

  /* Gradients */
  --bz-gradient: linear-gradient(135deg, #635BFF 0%, #8B5CF6 50%, #22D3EE 100%);
  --bz-gradient-glow: 0 8px 24px -4px rgba(99, 91, 255, 0.35);

  /* Secondary text tuned to clear WCAG AA on the dark surfaces */
  --bz-muted-on-dark: #7C8BA1;
  --bz-secondary-on-dark: #A78BFA;

  /* Fonts */
  --bz-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bz-font-display: 'Manrope', 'Plus Jakarta Sans', sans-serif;

  /* Global Radii & Transitions */
  --bz-radius-sm: 8px;
  --bz-radius-md: 12px;
  --bz-radius-lg: 16px;
  --bz-radius-xl: 20px;
  --bz-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Typography Overrides
   ========================================================================== */
body, html {
  font-family: var(--bz-font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark,
.dark body,
.dark #root,
.dark .min-h-100vh {
  background-color: var(--bz-dark-bg) !important;
  color: var(--bz-text-light) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--bz-font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Navigation Bar & Header Modernization
   ========================================================================== */
.header-container {
  background: rgba(11, 13, 20, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--bz-border-dark) !important;
  transition: all var(--bz-transition);
}

/* Wallet points pill in header */
.barbase {
  background: var(--bz-surface-dark) !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: 9999px !important;
  padding: 4px 12px 4px 14px !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  transition: border-color var(--bz-transition), transform var(--bz-transition);
}

.barbase:hover {
  border-color: var(--bz-primary) !important;
  transform: translateY(-1px);
}

.barbase .walle {
  background: rgba(99, 91, 255, 0.15) !important;
  color: var(--bz-primary) !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
}

.barbase .walle i {
  color: var(--bz-primary) !important;
  font-size: 13px !important;
}

/* Header Action Buttons */
.csm_btn_log_, .log_in_csm {
  background: transparent !important;
  border: 1px solid var(--bz-border-dark) !important;
  color: var(--bz-text-light) !important;
  border-radius: var(--bz-radius-md) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all var(--bz-transition) !important;
}

.csm_btn_log_:hover {
  border-color: var(--bz-primary) !important;
  color: #FFFFFF !important;
  background: rgba(99, 91, 255, 0.08) !important;
}

.csm_btn_log_2 {
  background: var(--bz-primary) !important;
  color: #FFFFFF !important;
  border-radius: var(--bz-radius-md) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3) !important;
  transition: all var(--bz-transition) !important;
}

.csm_btn_log_2:hover {
  background: #736BFF !important;
  box-shadow: 0 6px 18px rgba(99, 91, 255, 0.45) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   Sidebar Modernization
   ========================================================================== */
.main-sidebar, .sidebar-panel {
  background: var(--bz-dark-bg) !important;
  border-right: 1px solid var(--bz-border-dark) !important;
}

#sidebarp {
  background: var(--bz-dark-bg) !important;
}

.nav-li-n-o {
  color: var(--bz-muted-dark) !important;
  border-radius: var(--bz-radius-md) !important;
  font-weight: 500 !important;
  transition: all var(--bz-transition) !important;
  margin: 4px 0 !important;
}

.nav-li-n-o:hover {
  color: var(--bz-text-light) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.nav-li-n-o.men_ac,
.nav-li-n-o.active {
  background: rgba(99, 91, 255, 0.12) !important;
  color: var(--bz-primary) !important;
  border: 1px solid rgba(99, 91, 255, 0.3) !important;
  font-weight: 600 !important;
}

.nav-li-n-o.men_ac i,
.nav-li-n-o.men_ac span {
  color: var(--bz-primary) !important;
}

.sl-active-all, .sl-active-home {
  background: rgba(99, 91, 255, 0.12) !important;
  border: 1px solid rgba(99, 91, 255, 0.24) !important;
  border-radius: var(--bz-radius-sm) !important;
}

.sl-active-all i, .sl-active-home i {
  color: var(--bz-primary) !important;
}

/* ==========================================================================
   Homepage Hero Section
   ========================================================================== */
.bz-hero-container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(99, 91, 255, 0.07) 0%, rgba(11, 13, 20, 0) 100%), var(--bz-surface-dark);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-xl);
  padding: 48px 32px;
  margin-top: 16px;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .bz-hero-container {
    padding: 64px 48px;
  }
}

/* Subtle floating background shapes */
.bz-hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bz-hero-shape-1 {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.15) 0%, rgba(99, 91, 255, 0) 70%);
  filter: blur(40px);
}

.bz-hero-shape-2 {
  position: absolute;
  bottom: -50px;
  left: 10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 70%);
  filter: blur(35px);
}

.bz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(99, 91, 255, 0.1);
  border: 1px solid rgba(99, 91, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #A5B4FC;
  margin-bottom: 20px;
}

.bz-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bz-accent);
  box-shadow: 0 0 8px var(--bz-accent);
}

.bz-hero-title {
  font-family: var(--bz-font-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .bz-hero-title {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .bz-hero-title {
    font-size: 50px;
  }
}

.bz-hero-title-accent {
  color: var(--bz-primary);
  display: inline;
}

.bz-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bz-muted-dark);
  max-width: 620px;
  margin-bottom: 32px;
  font-weight: 400;
}

.bz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bz-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: var(--bz-radius-md);
  box-shadow: 0 4px 16px rgba(99, 91, 255, 0.35);
  transition: all var(--bz-transition);
  cursor: pointer;
}

.bz-btn-primary:hover {
  background: #736BFF;
  box-shadow: 0 6px 22px rgba(99, 91, 255, 0.5);
  transform: translateY(-2px);
}

.bz-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--bz-text-light) !important;
  border: 1px solid var(--bz-border-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--bz-radius-md);
  transition: all var(--bz-transition);
  cursor: pointer;
}

.bz-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Quick stat pills inside Hero */
.bz-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--bz-border-dark);
}

.bz-hero-stat-item {
  display: flex;
  flex-direction: column;
}

.bz-hero-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.bz-hero-stat-label {
  font-size: 12px;
  color: var(--bz-muted);
  font-weight: 500;
}

/* ==========================================================================
   Standardized Offer Card Component
   ========================================================================== */
.bz-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .bz-offer-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
}

.bz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bz-surface-dark);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-lg);
  padding: 18px;
  transition: all var(--bz-transition);
  overflow: hidden;
  text-decoration: none;
}

.bz-card:hover {
  border-color: rgba(99, 91, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
}

/* Category Accent Border Top Indicators */
.bz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bz-border-dark);
  transition: background var(--bz-transition);
}

.bz-card.cat-apps::before { background: var(--bz-cat-apps); }
.bz-card.cat-games::before { background: var(--bz-cat-games); }
.bz-card.cat-surveys::before { background: var(--bz-cat-surveys); }
.bz-card.cat-shopping::before { background: var(--bz-cat-shopping); }
.bz-card.cat-trials::before { background: var(--bz-cat-trials); }
.bz-card.cat-featured::before { background: var(--bz-gradient); }

/* Card Header */
.bz-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bz-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bz-badge.cat-apps {
  background: rgba(99, 91, 255, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(99, 91, 255, 0.25);
}

.bz-badge.cat-games {
  background: rgba(139, 92, 246, 0.12);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.bz-badge.cat-surveys {
  background: rgba(34, 211, 238, 0.12);
  color: #67E8F9;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.bz-badge.cat-featured {
  background: rgba(99, 91, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.bz-card-dots {
  color: var(--bz-muted);
  font-size: 14px;
  transition: color var(--bz-transition);
}

.bz-card:hover .bz-card-dots {
  color: var(--bz-text-light);
}

/* Card Body */
.bz-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bz-card-subtitle {
  font-size: 13px;
  color: var(--bz-muted-dark);
  line-height: 1.4;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

/* Card Footer: Points & CTA */
.bz-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bz-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bz-accent);
}

.bz-points-badge i {
  color: var(--bz-accent) !important;
  font-size: 12px;
}

.bz-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bz-primary);
  background: rgba(99, 91, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--bz-radius-sm);
  transition: all var(--bz-transition);
}

.bz-card:hover .bz-view-btn {
  background: var(--bz-primary);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.bz-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  margin-bottom: 14px;
}

.bz-section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.bz-section-title i {
  color: var(--bz-primary) !important;
  font-size: 16px;
}

/* ==========================================================================
   Swiper Carousel Modernization (Offerwalls & Providers)
   ========================================================================== */
.Offer_root {
  background: var(--bz-surface-dark) !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-lg) !important;
  overflow: hidden !important;
  transition: all var(--bz-transition) !important;
}

.Offer_root:hover {
  border-color: rgba(99, 91, 255, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45) !important;
}

.Offer_root.Offer_gridItem__4dWnk.Offer_premiumGridItem__uD1eG.Offer_premiumGridItemCarousel__sDLpX {
  background: var(--bz-surface-dark) !important;
}

.Offer_root.Offer_gridItem__4dWnk.Offer_premiumGridItem__uD1eG.Offer_premiumGridItemCarousel__sDLpX:hover {
  border-color: var(--bz-primary) !important;
  background: var(--bz-surface-elevated) !important;
}

.Offer_footer {
  background: var(--bz-surface-card) !important;
  padding: 10px !important;
  border-top: 1px solid var(--bz-border-dark) !important;
}

.Offer_title {
  font-family: var(--bz-font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   Modern SaaS Footer
   ========================================================================== */
.bz-footer {
  margin-top: 60px;
  padding: 48px 32px 32px !important;
  background: var(--bz-surface-dark) !important;
  border-top: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-xl) var(--bz-radius-xl) 0 0 !important;
}

.bz-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 768px) {
  .bz-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.bz-footer-brand p {
  color: var(--bz-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 320px;
}

.bz-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bz-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bz-footer-col a {
  color: var(--bz-muted-dark);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--bz-transition);
}

.bz-footer-col a:hover {
  color: var(--bz-primary);
}

.bz-footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--bz-border-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--bz-muted-on-dark);
  font-size: 12px;
}

@media (min-width: 640px) {
  .bz-footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   Global Legacy Crimson Overrides (#dc0229, #e74c3c -> #635BFF / #8B5CF6)
   ========================================================================== */
.btn-red,
.bg-red,
.btn_1,
.pro_log_btn {
  background: var(--bz-primary) !important;
  color: #FFFFFF !important;
  border: none !important;
  transition: all var(--bz-transition) !important;
}

.btn-red:hover,
.bg-red:hover,
.btn_1:hover,
.pro_log_btn:hover {
  background: #736BFF !important;
  box-shadow: 0 4px 16px rgba(99, 91, 255, 0.4) !important;
}

.border-red {
  border-color: var(--bz-primary) !important;
}

.text-red,
.text-error {
  color: var(--bz-primary) !important;
}

/* Pagination */
.pagination .bg-primary,
.pagination .active {
  background-color: var(--bz-primary) !important;
  color: #FFFFFF !important;
}

/* Overriding old card backgrounds */
.card {
  background: var(--bz-surface-dark) !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-lg) !important;
}

/* Responsive mobile bar */
.for-mobile-navigation-bar {
  background: rgba(11, 13, 20, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-top: 1px solid var(--bz-border-dark) !important;
}

.for-mobile-navigation-bar a.active,
.for-mobile-navigation-bar a.men_ac {
  color: var(--bz-primary) !important;
}

.for-mobile-navigation-bar i {
  color: var(--bz-primary) !important;
}

/* ==========================================================================
   Full Landing Page Mode (Clean, Full-Width, No Sidebar)
   ========================================================================== */
body.is-landing-mode,
html.is-landing-mode {
  background-color: var(--bz-dark-bg) !important;
  color: #94A3B8;
  overflow-x: hidden;
}

body.is-landing-mode .main-sidebar,
body.is-landing-mode .sidebar,
body.is-landing-mode .sidebar-panel,
body.is-landing-mode .sidebar-panel-min,
body.is-landing-mode .for-mobile-main-sidebar,
body.is-landing-mode .for-mobile-navigation-bar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-landing-mode nav.header {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  height: 68px !important;
  background: rgba(11, 13, 20, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 50 !important;
}

body.is-landing-mode nav.header .header-container {
  height: 100% !important;
  background: transparent !important;
  padding: 0 !important;
}

body.is-landing-mode .main-content,
body.is-landing-mode .main-home-content {
  margin-left: 0 !important;
  margin-top: 68px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

body.is-landing-mode #root {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  background-color: var(--bz-dark-bg) !important;
}

/* Landing Navigation Elements */
.bz-landing-nav-link {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--bz-radius-sm);
  transition: all var(--bz-transition);
}

.bz-landing-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

/* Auth action cluster: both controls share one height so the pair aligns
   optically, and neither label is allowed to wrap at narrow widths. */
.bz-landing-link-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  flex-shrink: 0;
  white-space: nowrap;
  color: #E2E8F0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bz-radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: color var(--bz-transition), border-color var(--bz-transition), background-color var(--bz-transition);
}

.bz-landing-link-signin:hover {
  color: #FFFFFF;
  border-color: rgba(99, 91, 255, 0.55);
  background: rgba(99, 91, 255, 0.1);
}

.bz-landing-btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--bz-primary);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--bz-radius-md);
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
  transition: background-color var(--bz-transition), box-shadow var(--bz-transition), transform var(--bz-transition);
}

.bz-landing-btn-start:hover {
  background: #736BFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.45);
}

/* Below the md breakpoint the bar keeps only the primary action and the menu;
   sign-in stays reachable from the drawer. */
@media (max-width: 639px) {
  .bz-landing-link-signin {
    display: none;
  }
}

.bz-landing-coin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.25);
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--bz-transition);
}

.bz-landing-coin-pill:hover {
  background: rgba(99, 91, 255, 0.2);
  border-color: rgba(99, 91, 255, 0.4);
}

.bz-landing-pill-badge {
  background: var(--bz-primary);
  color: #FFFFFF;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 9999px;
}

.bz-landing-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: opacity var(--bz-transition);
}

.bz-landing-avatar-btn:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Landing Page Layout & Section Components
   ========================================================================== */
.bz-landing-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .bz-landing-wrapper {
    padding: 0 28px;
  }
}

@media (min-width: 1024px) {
  .bz-landing-wrapper {
    padding: 0 36px;
  }
}

/* Hero Section — centred statement.
   One display headline, one supporting sentence, one pair of actions, and an
   ambient glow behind them. No eyebrow above the heading, no figures, no panel. */
.bz-new-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 0 64px;
}

@media (min-width: 768px) {
  .bz-new-hero {
    padding: 92px 0 80px;
  }
}

/* Ambient light behind the headline. Decorative only; clipped by the section. */
.bz-hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(1100px, 130vw);
  height: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(46% 50% at 50% 42%, rgba(99, 91, 255, 0.28) 0%, rgba(99, 91, 255, 0) 70%),
    radial-gradient(34% 42% at 72% 20%, rgba(139, 92, 246, 0.18) 0%, rgba(139, 92, 246, 0) 72%);
}

.bz-hero-centered {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.bz-hero-main-title {
  font-family: var(--bz-font-display);
  font-size: clamp(2.125rem, 5.6vw, 3.875rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #F8FAFC;
  margin-bottom: 20px;
  text-wrap: balance;
}

.bz-hero-highlight {
  color: var(--bz-secondary-on-dark);
}

.bz-hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 56ch;
  margin-bottom: 34px;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .bz-hero-lead {
    font-size: 1.0625rem;
  }
}

.bz-hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* A centred composition reads better stacked than wrapped on narrow screens. */
@media (max-width: 479px) {
  .bz-hero-btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .bz-hero-btn-group > a {
    justify-content: center;
  }
}

/* The one authored moment on the page: the hero settles into place. */
@keyframes bz-hero-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bz-hero-centered > * {
  animation: bz-hero-rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bz-hero-centered > *:nth-child(2) {
  animation-delay: 90ms;
}

.bz-hero-centered > *:nth-child(3) {
  animation-delay: 170ms;
}

@media (prefers-reduced-motion: reduce) {
  .bz-hero-centered > * {
    animation: none;
  }
}

.bz-hero-cta-main {
  background: var(--bz-primary);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--bz-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(99, 91, 255, 0.38);
  transition: all var(--bz-transition);
}

.bz-hero-cta-main:hover {
  background: #736BFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.48);
}

.bz-hero-cta-sub {
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--bz-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--bz-transition);
}

.bz-hero-cta-sub:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Supported Payouts Strip */
.bz-payout-strip {
  background: rgba(17, 20, 32, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  margin-bottom: 56px;
}

.bz-payout-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.bz-payout-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bz-radius-sm);
}

.bz-payout-badge i {
  color: var(--bz-secondary);
}

/* Section Header Structure */
.bz-block-header {
  margin-bottom: 36px;
  text-align: left;
}

.bz-block-header.text-center {
  text-align: center;
}

.bz-block-title {
  font-family: var(--bz-font-display);
  font-size: 26px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .bz-block-title {
    font-size: 32px;
  }
}

.bz-block-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 600px;
}

.bz-block-header.text-center .bz-block-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* How It Works Steps */
.bz-step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 72px;
}

@media (min-width: 768px) {
  .bz-step-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.bz-step-card {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bz-radius-lg);
  padding: 28px 24px;
  transition: all var(--bz-transition);
  display: flex;
  flex-direction: column;
}

.bz-step-card:hover {
  border-color: rgba(99, 91, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bz-step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--bz-radius-md);
  background: rgba(99, 91, 255, 0.12);
  border: 1px solid rgba(99, 91, 255, 0.25);
  color: var(--bz-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.bz-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 10px;
}

.bz-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94A3B8;
}

/* FAQ Accordion */
.bz-faq-list {
  max-width: 800px;
  margin: 0 auto 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bz-faq-item {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bz-radius-md);
  overflow: hidden;
  transition: border-color var(--bz-transition);
}

.bz-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.bz-faq-btn {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #F8FAFC;
  text-align: left;
  outline: none;
  cursor: pointer;
}

.bz-faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #94A3B8;
}

/* Final High-Converting CTA Banner */
.bz-cta-card {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.18) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(11, 13, 20, 0.95) 100%), #111420;
  border: 1px solid rgba(99, 91, 255, 0.3);
  border-radius: var(--bz-radius-xl);
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .bz-cta-card {
    padding: 64px 48px;
  }
}

.bz-cta-title {
  font-family: var(--bz-font-display);
  font-size: 28px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .bz-cta-title {
    font-size: 38px;
  }
}

.bz-cta-desc {
  font-size: 16px;
  color: #94A3B8;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Modern SaaS Footer */
.bz-landing-footer {
  background: #08090E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 32px;
  width: 100%;
}

.bz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .bz-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bz-footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 32px;
  }
}

.bz-footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bz-muted-on-dark);
  margin-top: 12px;
  max-width: 320px;
}

.bz-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F8FAFC;
  margin-bottom: 16px;
}

.bz-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz-footer-nav-item {
  color: #94A3B8;
  font-size: 14px;
  transition: color var(--bz-transition);
}

.bz-footer-nav-item:hover {
  color: var(--bz-primary);
}

.bz-footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bz-muted-on-dark);
  text-align: center;
}

@media (min-width: 768px) {
  .bz-footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   Offer Details Modal (#myModal)
   Hidden by default and opened by showOffer(); closeModal() sets display:none.
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 24px 16px;
  background: rgba(6, 8, 14, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 40px auto;
  padding: 24px;
  background: var(--bz-surface-card);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  color: #E2E8F0;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-sm);
  cursor: pointer;
  transition: all var(--bz-transition);
}

.modal-close:hover {
  color: #FFFFFF;
  border-color: var(--bz-primary);
}

.modal-head-part {
  margin-top: 18px;
}

.modal-description .card,
.modal-steps {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-md);
}

.modal-description h5,
.modal-steps h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #A5B4FC;
}

.modal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 24px;
  background: var(--bz-primary);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--bz-radius-md);
  box-shadow: var(--bz-gradient-glow);
  transition: all var(--bz-transition);
}

.modal-link:hover {
  background: #736BFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   Application Shell
   Shared language for the admin console and the signed-in member area.
   Both shells load this file, so every control below appears once.
   ========================================================================== */

/* --- Page header ---------------------------------------------------------- */
.bz-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--bz-border-dark);
  margin-bottom: 24px;
}

.bz-page-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #FFFFFF;
}

.bz-page-sub {
  margin-top: 6px;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bz-muted-dark);
}

.bz-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* --- Sidebar navigation --------------------------------------------------- */
.bz-nav {
  padding: 6px 0 20px;
}

.bz-nav-group {
  margin-bottom: 22px;
}

.bz-nav-group-label {
  padding: 0 14px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bz-muted-on-dark);
}

.bz-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px;
  margin: 2px 0;
  border-radius: var(--bz-radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--bz-muted-dark) !important;
  text-decoration: none;
  transition: color var(--bz-transition), background-color var(--bz-transition);
}

.bz-nav-item i {
  width: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--bz-muted-on-dark);
  transition: color var(--bz-transition);
}

.bz-nav-item:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.05);
}

.bz-nav-item:hover i {
  color: #FFFFFF;
}

.bz-nav-item.is-active {
  color: #FFFFFF !important;
  background: rgba(99, 91, 255, 0.14);
}

.bz-nav-item.is-active i {
  color: #A5B4FC;
}

.bz-nav-count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
}

/* --- Panels, tables, empty states ---------------------------------------- */
.bz-panel {
  background: var(--bz-surface-card);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-lg);
  overflow: hidden;
}

.bz-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--bz-border-dark);
}

.bz-panel-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.bz-panel-body {
  padding: 18px;
}

.bz-empty {
  padding: 46px 18px;
  text-align: center;
  font-size: 14px;
  color: var(--bz-muted-on-dark);
}

.bz-empty i {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  color: #3D465C;
}

.bz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bz-table thead th {
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bz-muted-on-dark);
  border-bottom: 1px solid var(--bz-border-dark);
}

.bz-table tbody td {
  padding: 13px 14px;
  vertical-align: middle;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bz-table tbody tr:last-child td {
  border-bottom: none;
}

.bz-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.bz-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bz-scroll-x {
  overflow-x: auto;
}

/* --- Stats --------------------------------------------------------------- */
.bz-stat {
  padding: 18px;
  background: var(--bz-surface-card);
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-lg);
}

.bz-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bz-muted-dark);
}

.bz-stat-value {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
}

.bz-stat-meta {
  margin-top: 5px;
  font-size: 12px;
  color: var(--bz-muted-on-dark);
}

/* --- Buttons ------------------------------------------------------------- */
.bz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--bz-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--bz-transition), border-color var(--bz-transition), color var(--bz-transition);
}

.bz-btn-primary {
  background: var(--bz-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.32);
}

.bz-btn-primary:hover {
  background: #736BFF;
}

.bz-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--bz-border-dark);
  color: #E2E8F0 !important;
}

.bz-btn-ghost:hover {
  border-color: var(--bz-primary);
  color: #FFFFFF !important;
}

.bz-btn-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #FCA5A5 !important;
}

.bz-btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.bz-btn-sm {
  padding: 6px 11px;
  font-size: 12px;
}

.bz-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   Admin Console Shell
   The layout keeps the theme's sidebar mechanics (.sidebar-panel slides on
   .is-sidebar-open); this block only re-skins it to the Bonzoa surface.
   ========================================================================== */
.bz-admin-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bz-dark-bg);
  border-right: 1px solid var(--bz-border-dark);
}

.bz-admin-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px 18px 16px;
  text-decoration: none;
}

.bz-admin-brand-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--bz-primary);
}

.bz-admin-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.bz-admin-brand-tag {
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(99, 91, 255, 0.16);
  color: #A5B4FC;
}

.bz-admin-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 14px 6px;
  padding: 12px;
  border: 1px solid var(--bz-border-dark);
  border-radius: var(--bz-radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.bz-admin-identity img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--bz-border-dark);
}

.bz-admin-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bz-admin-mail {
  font-size: 11px;
  color: var(--bz-muted-on-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bz-admin-nav-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 10px 22px;
}

.bz-admin-foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--bz-border-dark);
}

/* Header bar --------------------------------------------------------------- */
.bz-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  height: 100%;
}

.bz-admin-head-title {
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
}

.bz-admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--bz-border-dark);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
}

.bz-admin-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.dark nav.header {
  border-color: var(--bz-border-dark);
}

.dark nav.header .header-container,
.is-header-blur nav.header .header-container {
  background: rgba(11, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hamburger, drawn from the palette */
.dark .menu-toggle span,
.menu-toggle span {
  background: #94A3B8;
  border-radius: 9999px;
}

.menu-toggle:hover span {
  background: #FFFFFF;
}

.dark .popper-box {
  background: var(--bz-surface-elevated) !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-md) !important;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65) !important;
}

.dark .popper-box a {
  color: #CBD5E1 !important;
}

.dark .popper-box a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
}

/* The theme sets table text to azure; the brand palette replaces it. */
.dark table tbody {
  color: #CBD5E1;
}

/* ==========================================================================
   Data tables and controls inside the app shells
   The theme paints table heads navy and primary actions indigo-600. Both
   shells are brand surfaces, so the Bonzoa tokens replace them here.
   ========================================================================== */
.dark .main-content table thead th {
  background: transparent !important;
  color: var(--bz-muted-on-dark) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bz-border-dark) !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

.dark .main-content table tbody tr {
  border-color: transparent !important;
}

.dark .main-content table tbody td {
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.dark .main-content table tbody tr:last-child td {
  border-bottom: none !important;
}

.dark .main-content table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Primary and accent actions resolve to the brand indigo. */
.dark .bg-primary,
.dark .hover\:bg-primary:hover,
.dark .focus\:bg-primary:focus,
.dark .dark\:bg-accent,
.dark .dark\:hover\:bg-accent:hover,
.dark .dark\:focus\:bg-accent:focus {
  background-color: var(--bz-primary) !important;
}

.dark .bg-primary\/10,
.dark .dark\:bg-accent-light\/10 {
  background-color: rgba(99, 91, 255, 0.12) !important;
}

.dark .text-primary,
.dark .dark\:text-accent-light {
  color: #A5B4FC !important;
}

.dark .border-primary {
  border-color: rgba(99, 91, 255, 0.4) !important;
}

/* Pagination and per-row action menus */
.dark .pagination {
  color: #94A3B8;
}

.dark .pagination .page-item.active .page-link,
.dark .pagination .active > .page-link {
  background: rgba(99, 91, 255, 0.16);
  border-color: rgba(99, 91, 255, 0.35);
  color: #FFFFFF;
}

.dark .is-scrollbar-hidden {
  scrollbar-width: thin;
}



/* --- Form controls re-tinted to brand tokens ----------------------------- */
.dark .form-input,
.dark .form-select,
.dark .form-textarea,
.dark .form-multiselect {
  background: #0F121C !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-sm) !important;
  color: #F1F5F9 !important;
}

.dark .form-input::placeholder,
.dark .form-textarea::placeholder {
  color: var(--bz-muted-on-dark) !important;
}

.dark .form-input:focus,
.dark .form-select:focus,
.dark .form-textarea:focus {
  border-color: var(--bz-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18) !important;
}

.dark input[type="checkbox"],
.dark input[type="radio"] {
  accent-color: var(--bz-primary);
}

.dark .card {
  background: var(--bz-surface-card) !important;
  border: 1px solid var(--bz-border-dark) !important;
  border-radius: var(--bz-radius-lg) !important;
  color: #E2E8F0 !important;
}

/* ==========================================================================
   Browser Surfaces
   Selection, caret, scrollbars and focus rings are part of the design.
   ========================================================================== */
::selection {
  background: rgba(99, 91, 255, 0.38);
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bz-dark-bg);
}

::-webkit-scrollbar-thumb {
  background: #262C3D;
  border: 2px solid var(--bz-dark-bg);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #37405A;
}

.dark,
.dark body {
  scrollbar-color: #262C3D var(--bz-dark-bg);
  scrollbar-width: thin;
}

.dark input,
.dark textarea,
.dark select {
  caret-color: var(--bz-primary);
}

:focus-visible {
  outline: 2px solid var(--bz-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Public content pages (About, Contact, legal)
   Reuses the landing wrapper and dark surface tokens so these pages match
   the homepage instead of the in-app dashboard chrome.
   ========================================================================== */

.bz-page-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--bz-border-dark);
}

.bz-page-title {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}

.bz-page-subtitle {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bz-muted-on-dark);
  max-width: 760px;
}

.bz-page-meta {
  margin-top: 16px;
  font-size: 12px;
  color: #64748B;
}

.bz-page-body {
  padding: 40px 0 72px;
}

.bz-page-card {
  background: #111420;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
}

@media (min-width: 768px) {
  .bz-page-title {
    font-size: 40px;
  }

  .bz-page-card {
    padding: 40px;
  }
}

.bz-prose {
  color: #C7D2E0;
  font-size: 15px;
  line-height: 1.8;
}

.bz-prose > * + * {
  margin-top: 18px;
}

.bz-prose h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #F8FAFC;
  margin-top: 40px;
  letter-spacing: -0.01em;
}

.bz-prose h3 {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
  margin-top: 28px;
}

.bz-prose ul,
.bz-prose ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz-prose ul {
  list-style: disc;
}

.bz-prose ol {
  list-style: decimal;
}

.bz-prose strong {
  color: #F8FAFC;
  font-weight: 600;
}

.bz-prose a {
  color: #A5B4FC;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bz-prose a:hover {
  color: #FFFFFF;
}

.bz-prose-lead {
  font-size: 16px;
  color: #D6DEEB;
}

.bz-prose hr {
  border: 0;
  border-top: 1px solid var(--bz-border-dark);
  margin: 32px 0;
}

.bz-callout {
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.24);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #C7D2E0;
}

/* Contact form ------------------------------------------------------------ */

.bz-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .bz-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bz-form-grid .bz-field-full {
    grid-column: 1 / -1;
  }
}

.bz-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.bz-input {
  width: 100%;
  background: #0B0D14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #F8FAFC;
  font-family: inherit;
  transition: border-color var(--bz-transition);
}

.bz-input:focus {
  border-color: var(--bz-primary);
  outline: none;
}

.bz-input::placeholder {
  color: #5A6478;
}

textarea.bz-input {
  min-height: 150px;
  resize: vertical;
}

.bz-field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #FB7185;
}

.bz-form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* The CTA class was written for anchors; a submit button needs the browser
   default border and font cleared before it inherits the same look. */
button.bz-hero-cta-main {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.bz-form-note {
  font-size: 12px;
  color: #64748B;
}

.bz-alert {
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.bz-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}

.bz-alert-error {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #FDA4AF;
}

/* Deliberately off-screen rather than display:none so bots still fill it. */
.bz-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cookie consent banner --------------------------------------------------- */

#cookieNotice {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 16px;
}

.bz-cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #151925;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #C7D2E0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .bz-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bz-cookie-inner a {
  color: #A5B4FC;
  text-decoration: underline;
}

.bz-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.bz-cookie-actions button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
  transition: opacity var(--bz-transition), color var(--bz-transition);
}

.bz-cookie-accept {
  background: var(--bz-primary);
  color: #FFFFFF;
}

.bz-cookie-accept:hover {
  opacity: 0.9;
}

.bz-cookie-decline {
  background: transparent;
  color: #C7D2E0;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.bz-cookie-decline:hover {
  color: #FFFFFF;
}



