/* ============================================
   BLACKNODE Design System — shared.css
   2026 Redesign: Space Grotesk + Inter, Green Accent
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --bn-bg: #06070A;
  --bn-bg-elevated: rgba(255, 255, 255, 0.03);
  --bn-bg-card: rgba(255, 255, 255, 0.04);
  --bn-bg-card-hover: rgba(255, 255, 255, 0.07);
  --bn-bg-input: rgba(255, 255, 255, 0.05);
  --bn-border: rgba(255, 255, 255, 0.08);
  --bn-border-hover: rgba(255, 255, 255, 0.15);
  --bn-text: #F5F7FB;
  --bn-text-secondary: #97A3B6;
  --bn-text-muted: #5A6478;
  --bn-accent: #00ff88;
  --bn-accent-2: #4CC9F0;
  --bn-accent-gradient: linear-gradient(135deg, #00ff88, #4CC9F0);
  --bn-accent-glow: rgba(0, 255, 136, 0.15);
  --bn-surface-1: #0B0D12;
  --bn-surface-2: #11141B;
  --bn-radius-sm: 0.5rem;
  --bn-radius: 0.75rem;
  --bn-radius-lg: 1rem;
  --bn-radius-xl: 1.25rem;
  --bn-radius-2xl: 1.5rem;
  --bn-blur: 20px;
  --bn-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --bn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bn-font-display: 'Space Grotesk', 'Inter', sans-serif;
  --bn-nav-height: 3.5rem;
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--bn-font);
  background: var(--bn-bg);
  color: var(--bn-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Noise Overlay --- */
.bn-noise::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   Announcement Bar
   ============================================ */
.bn-announcement {
  background: #1a1d24;
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--bn-text-secondary);
  position: relative;
  z-index: 60;
}

.bn-announcement a {
  color: var(--bn-accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--bn-transition);
}

.bn-announcement a:hover {
  opacity: 0.8;
}

.bn-announcement strong {
  color: var(--bn-text);
}

/* ============================================
   Card / Panel (unified)
   ============================================ */
.bn-card {
  background: var(--bn-bg-card);
  backdrop-filter: blur(var(--bn-blur));
  -webkit-backdrop-filter: blur(var(--bn-blur));
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  position: relative;
  transition: border-color var(--bn-transition), box-shadow var(--bn-transition);
}

/* Top edge accent line — updated to green */
.bn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
  border-radius: 1px;
}

.bn-card:hover {
  border-color: var(--bn-border-hover);
}

.bn-card-glow:hover {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Generic glow hover utility */
.bn-glow-hover:hover {
  border-color: rgba(0, 255, 136, 0.3) !important;
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.08), 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Navigation
   ============================================ */
.bn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bn-nav-height);
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(var(--bn-blur));
  -webkit-backdrop-filter: blur(var(--bn-blur));
  border-bottom: 1px solid var(--bn-border);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

/* When announcement bar is present, offset nav */
.bn-has-announcement .bn-nav {
  top: 2.1rem;
}

.bn-nav-inner {
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bn-nav-logo {
  font-family: var(--bn-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--bn-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.bn-nav-logo .tech-badge {
  font-family: var(--bn-font);
  font-size: 0.6rem;
  font-weight: 600;
  background: rgba(0, 255, 136, 0.12);
  color: var(--bn-accent);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  -webkit-text-fill-color: var(--bn-accent);
}

.bn-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.bn-nav-link {
  font-size: 0.8rem;
  color: var(--bn-text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--bn-radius-sm);
  transition: color var(--bn-transition), background var(--bn-transition);
  position: relative;
}

.bn-nav-link:hover {
  color: var(--bn-text);
  background: var(--bn-bg-elevated);
}

.bn-nav-link.active {
  color: var(--bn-text);
}

/* Nav link with dropdown arrow */
.bn-nav-link.has-dropdown {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.bn-nav-link.has-dropdown svg {
  width: 12px;
  height: 12px;
  transition: transform var(--bn-transition);
}

.bn-nav-link.has-dropdown:hover svg,
.bn-nav-link.has-dropdown.open svg {
  transform: rotate(180deg);
}

/* Mobile hamburger */
.bn-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--bn-text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--bn-radius-sm);
  transition: background var(--bn-transition);
}

.bn-hamburger:hover {
  background: var(--bn-bg-elevated);
}

.bn-mobile-menu {
  display: none;
  position: fixed;
  top: var(--bn-nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 7, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--bn-border);
  padding: 1rem 1.5rem;
  z-index: 49;
  flex-direction: column;
  gap: 0.25rem;
  animation: bn-slideDown 0.2s ease-out;
  max-height: calc(100vh - var(--bn-nav-height));
  overflow-y: auto;
}

.bn-mobile-menu.open {
  display: flex !important;
}

.bn-mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--bn-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: var(--bn-radius-sm);
  transition: color var(--bn-transition), background var(--bn-transition);
}

.bn-mobile-menu a:hover {
  color: var(--bn-text);
  background: var(--bn-bg-elevated);
}

.bn-mobile-menu .bn-mobile-section-title {
  font-family: var(--bn-font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-text-muted);
  padding: 0.75rem 1rem 0.25rem;
}

@media (max-width: 768px) {
  .bn-hamburger { display: block; }
  .bn-nav-links.desktop-only { display: none; }
}

/* ============================================
   Mega Menu
   ============================================ */
.bn-mega-menu-wrapper {
  position: fixed;
  top: var(--mega-menu-top, 56px);
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bn-mega-menu-wrapper.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.bn-mega-menu {
  background: var(--bn-surface-1);
  border-bottom: 1px solid var(--bn-border);
  border-top: 1px solid rgba(0, 255, 136, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 2rem 0;
}

.bn-mega-menu-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bn-mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.bn-mega-menu-column h4 {
  font-family: var(--bn-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bn-text-muted);
  margin-bottom: 0.75rem;
}

.bn-mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--bn-radius);
  text-decoration: none;
  transition: background var(--bn-transition);
  cursor: pointer;
}

.bn-mega-menu-item:hover {
  background: var(--bn-bg-elevated);
}

.bn-mega-menu-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bn-surface-2);
  border: 1px solid var(--bn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.bn-mega-menu-item-text {
  flex: 1;
  min-width: 0;
}

.bn-mega-menu-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bn-text);
  line-height: 1.3;
}

.bn-mega-menu-item-desc {
  font-size: 0.72rem;
  color: var(--bn-text-muted);
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* Mega menu — mobile fullscreen */
@media (max-width: 768px) {
  .bn-mega-menu-wrapper {
    position: fixed;
    top: var(--bn-nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
  }

  .bn-mega-menu {
    min-height: 100%;
    padding: 1.5rem 0;
  }

  .bn-mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .bn-mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Buttons
   ============================================ */
.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--bn-font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--bn-radius);
  border: none;
  cursor: pointer;
  transition: all var(--bn-transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.bn-btn:active {
  transform: translateY(1px);
}

/* Primary — green gradient */
.bn-btn-primary {
  background: linear-gradient(135deg, #00ff88, #4CC9F0);
  color: #000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 255, 136, 0.25);
}

.bn-btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
  filter: brightness(1.05);
}

/* Secondary */
.bn-btn-secondary {
  background: var(--bn-bg-elevated);
  color: var(--bn-text);
  border: 1px solid var(--bn-border);
}

.bn-btn-secondary:hover {
  border-color: var(--bn-border-hover);
  background: var(--bn-bg-card-hover);
}

/* Ghost */
.bn-btn-ghost {
  background: transparent;
  color: var(--bn-text-secondary);
}

.bn-btn-ghost:hover {
  color: var(--bn-text);
  background: var(--bn-bg-elevated);
}

/* Accent outline */
.bn-btn-outline-accent {
  background: transparent;
  color: var(--bn-accent);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.bn-btn-outline-accent:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.5);
}

/* Sizes */
.bn-btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 0.875rem;
}

.bn-btn-lg {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--bn-radius-lg);
}

.bn-btn-xl {
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
  border-radius: var(--bn-radius-lg);
}

/* Loading state */
.bn-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.bn-btn.loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: bn-spin 0.6s linear infinite;
  margin-left: 0.5rem;
}

.bn-btn-primary.loading::after {
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
}

/* ============================================
   Form Inputs
   ============================================ */
.bn-input,
.bn-select,
.bn-textarea {
  font-family: var(--bn-font);
  font-size: 1rem; /* 16px — prevents iOS auto-zoom */
  color: var(--bn-text);
  background: var(--bn-bg-input);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius);
  padding: 0.625rem 0.875rem;
  width: 100%;
  transition: border-color var(--bn-transition), box-shadow var(--bn-transition);
  outline: none;
}

.bn-input:focus,
.bn-select:focus,
.bn-textarea:focus {
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.bn-input::placeholder,
.bn-textarea::placeholder {
  color: var(--bn-text-muted);
}

.bn-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6478' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.bn-select option {
  background: var(--bn-surface-1);
  color: var(--bn-text);
}

.bn-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bn-text-secondary);
  margin-bottom: 0.375rem;
}

.bn-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

/* ============================================
   Modal
   ============================================ */
.bn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: bn-fadeIn 0.2s ease-out;
}

.bn-modal {
  background: rgba(11, 13, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  animation: bn-slideUp 0.25s ease-out;
}

.bn-modal::-webkit-scrollbar { width: 4px; }
.bn-modal::-webkit-scrollbar-track { background: transparent; }
.bn-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.bn-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bn-bg-elevated);
  border: 1px solid var(--bn-border);
  color: var(--bn-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--bn-transition);
}

.bn-modal-close:hover {
  background: var(--bn-bg-card-hover);
  color: var(--bn-text);
  border-color: var(--bn-border-hover);
}

/* ============================================
   Toast
   ============================================ */
.bn-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

@media (max-width: 640px) {
  .bn-toast-container {
    bottom: 5rem;
    left: 1rem;
    right: 1rem;
  }
}

.bn-toast {
  padding: 0.75rem 1.25rem;
  border-radius: var(--bn-radius);
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  pointer-events: auto;
  animation: bn-slideIn 0.3s ease-out;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-width: 380px;
}

.bn-toast.success { background: rgba(16, 185, 129, 0.9); border: 1px solid rgba(16, 185, 129, 0.3); }
.bn-toast.error   { background: rgba(239, 68, 68, 0.9);  border: 1px solid rgba(239, 68, 68, 0.3); }
.bn-toast.warning { background: rgba(245, 158, 11, 0.9); border: 1px solid rgba(245, 158, 11, 0.3); }
.bn-toast.info    { background: rgba(0, 255, 136, 0.15); border: 1px solid rgba(0, 255, 136, 0.3); color: var(--bn-accent); }

/* ============================================
   Gradient Text
   ============================================ */
.bn-gradient-text {
  background: var(--bn-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bn-gradient-text-green {
  background: linear-gradient(135deg, #00ff88 0%, #00e07a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Status Badges
   ============================================ */
.bn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bn-badge-green {
  background: rgba(0, 255, 136, 0.12);
  color: var(--bn-accent);
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.bn-badge-cyan {
  background: rgba(76, 201, 240, 0.12);
  color: var(--bn-accent-2);
  border: 1px solid rgba(76, 201, 240, 0.25);
}

.bn-badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--bn-text-muted);
  border: 1px solid var(--bn-border);
}

.bn-badge-new {
  background: rgba(0, 255, 136, 0.15);
  color: var(--bn-accent);
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
}

/* ============================================
   Divider / Separator
   ============================================ */
.bn-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bn-border), transparent);
  margin: 1.5rem 0;
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ============================================
   Body padding for fixed nav
   ============================================ */
.bn-has-nav {
  padding-top: calc(var(--bn-nav-height) + 1.5rem);
}

.bn-has-nav.bn-has-announcement {
  padding-top: calc(var(--bn-nav-height) + 2.1rem + 1.5rem);
}

/* ============================================
   Utility
   ============================================ */
.bn-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bn-container-sm {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bn-section {
  padding: 5rem 0;
}

.bn-section-sm {
  padding: 3rem 0;
}

.bn-text-display {
  font-family: var(--bn-font-display);
}

/* ============================================
   Animations
   ============================================ */
@keyframes bn-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bn-slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bn-slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bn-slideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bn-spin {
  to { transform: rotate(360deg); }
}

@keyframes bn-fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bn-pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes bn-pulse-scale {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

@keyframes bn-glow-breathe {
  0%, 100% { box-shadow: 0 0 8px rgba(0, 255, 136, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); }
}

@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Staggered entrance animations */
.bn-fade-in {
  animation: bn-fadeInUp 0.5s ease-out both;
}

.bn-fade-in-delay-1 { animation: bn-fadeInUp 0.5s 0.1s ease-out both; }
.bn-fade-in-delay-2 { animation: bn-fadeInUp 0.5s 0.2s ease-out both; }
.bn-fade-in-delay-3 { animation: bn-fadeInUp 0.5s 0.3s ease-out both; }
.bn-fade-in-delay-4 { animation: bn-fadeInUp 0.5s 0.4s ease-out both; }

/* ============================================
   Live Dot — Green Pulse
   ============================================ */
.bn-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bn-accent);
  border-radius: 50%;
  animation: bn-pulse-green 2s ease-in-out infinite;
  flex-shrink: 0;
}

.bn-live-dot-lg {
  width: 8px;
  height: 8px;
}

.bn-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bn-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   Hero Section
   ============================================ */
.bn-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Subtle radial green glow */
.bn-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Grid pattern overlay */
.bn-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.bn-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bn-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bn-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.bn-hero-headline {
  font-family: var(--bn-font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--bn-text);
  margin-bottom: 1.25rem;
}

.bn-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--bn-text-secondary);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.bn-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Social proof line below CTA */
.bn-hero-proof {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--bn-text-muted);
  flex-wrap: wrap;
}

.bn-hero-proof-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.bn-hero-proof-item svg {
  color: var(--bn-accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================
   Replace Stack Strip
   ============================================ */
.bn-replace-strip {
  padding: 1.25rem 0;
  border-top: 1px solid var(--bn-border);
  border-bottom: 1px solid var(--bn-border);
  overflow: hidden;
}

.bn-replace-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1.5rem;
}

.bn-replace-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bn-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-right: 0.5rem;
}

.bn-replace-arrow {
  color: var(--bn-text-muted);
  font-size: 0.9rem;
}

.bn-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--bn-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.bn-stack-pill.highlight {
  color: var(--bn-accent);
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.3);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.12);
  animation: bn-glow-breathe 3s ease-in-out infinite;
}

/* ============================================
   Workflow Explorer — Tabbed Section
   ============================================ */
.bn-workflow-section {
  padding: 5rem 0;
}

.bn-workflow-tabs {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.bn-workflow-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bn-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bn-border);
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--bn-transition);
  white-space: nowrap;
}

.bn-workflow-tab:hover {
  color: var(--bn-text);
  border-color: var(--bn-border-hover);
  background: rgba(255, 255, 255, 0.06);
}

.bn-workflow-tab.active {
  background: var(--bn-accent);
  border-color: var(--bn-accent);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}

.bn-workflow-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bn-workflow-panel {
  display: none;
}

.bn-workflow-panel.active {
  display: block;
  animation: bn-fadeInUp 0.3s ease-out;
}

.bn-workflow-panel-title {
  font-family: var(--bn-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bn-text);
  margin-bottom: 0.875rem;
}

.bn-workflow-panel-desc {
  font-size: 0.9rem;
  color: var(--bn-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bn-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bn-workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--bn-text-secondary);
}

.bn-workflow-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: var(--bn-accent);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.bn-workflow-preview {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bn-workflow-preview-placeholder {
  text-align: center;
  padding: 2rem;
}

.bn-workflow-preview-placeholder .preview-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.bn-workflow-preview-placeholder p {
  font-size: 0.8rem;
  color: var(--bn-text-muted);
}

@media (max-width: 768px) {
  .bn-workflow-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bn-workflow-preview {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   Bento Grid
   ============================================ */
.bn-bento-section {
  padding: 5rem 0;
}

.bn-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bn-bento-row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bn-bento-row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bn-bento-row-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Featured / wide card */
.bn-bento-row-1 .bn-bento-card:first-child {
  grid-column: span 1;
}

.bn-bento-card {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bn-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
}

.bn-bento-card:hover {
  border-color: rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mouse-following glow via --glow-x / --glow-y set by JS */
.bn-bento-card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(0, 255, 136, 0.06),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.bn-bento-card-glow:hover::after {
  opacity: 1;
}

/* Large card variant */
.bn-bento-card-lg {
  padding: 2rem;
  min-height: 240px;
}

/* Medium card variant */
.bn-bento-card-md {
  min-height: 180px;
}

/* Small card variant */
.bn-bento-card-sm {
  min-height: 140px;
}

.bn-bento-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bn-bento-card .card-title {
  font-family: var(--bn-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bn-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bn-bento-card .card-desc {
  color: var(--bn-text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
  flex: 1;
}

.bn-bento-card .card-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(0, 255, 136, 0.1);
  color: var(--bn-accent);
  border: 1px solid rgba(0, 255, 136, 0.2);
  align-self: flex-start;
}

.bn-bento-card .card-preview {
  border-radius: var(--bn-radius);
  overflow: hidden;
  background: var(--bn-surface-2);
  border: 1px solid var(--bn-border);
  flex: 1;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bn-bento-card .card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bento card accent corner glow */
.bn-bento-card-accent::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Bento Responsive */
@media (max-width: 1024px) {
  .bn-bento-row-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bn-bento-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bn-bento-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .bn-bento-row-1,
  .bn-bento-row-2,
  .bn-bento-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bn-bento-card {
    padding: 1.125rem;
  }

  .bn-bento-card .card-title {
    font-size: 0.875rem;
  }

  .bn-bento-card .card-desc {
    font-size: 0.78rem;
  }
}

@media (max-width: 375px) {
  .bn-bento-row-1,
  .bn-bento-row-2,
  .bn-bento-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Platform in Motion — Scroll Demo
   ============================================ */
.bn-scroll-demo-section {
  padding: 5rem 0;
}

.bn-scroll-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.bn-scroll-demo-left {
  position: sticky;
  top: 120px;
}

.bn-scroll-demo-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
}

.bn-scroll-step {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 1.5rem;
  opacity: 0.3;
  transition: opacity 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
  transform: translateX(8px);
}

.bn-scroll-step.active {
  opacity: 1;
  border-color: rgba(0, 255, 136, 0.25);
  transform: translateX(0);
}

.bn-scroll-step-num {
  font-family: var(--bn-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bn-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.bn-scroll-step-title {
  font-family: var(--bn-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bn-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.bn-scroll-step-desc {
  font-size: 0.85rem;
  color: var(--bn-text-secondary);
  line-height: 1.6;
}

/* Vertical progress rail */
.bn-scroll-rail {
  position: relative;
  width: 2px;
  background: var(--bn-border);
  border-radius: 1px;
  margin: 1.5rem 0;
}

.bn-scroll-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bn-accent);
  border-radius: 1px;
  transition: height 0.3s ease;
}

/* Scroll demo heading area */
.bn-scroll-demo-heading {
  margin-bottom: 2rem;
}

.bn-scroll-demo-heading h2 {
  font-family: var(--bn-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bn-text);
  margin-bottom: 0.875rem;
  line-height: 1.1;
}

.bn-scroll-demo-heading p {
  font-size: 0.9rem;
  color: var(--bn-text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .bn-scroll-demo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bn-scroll-demo-left {
    position: static;
  }
}

/* ============================================
   Campaigns Gallery — Updated Colors
   ============================================ */
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bn-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bn-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-tab:hover {
  color: var(--bn-text);
  border-color: var(--bn-border-hover);
}

.gallery-tab.active {
  color: #000;
  background: var(--bn-accent);
  border-color: var(--bn-accent);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 12;
  background: var(--bn-surface-2);
  border: 1px solid var(--bn-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.1);
}

.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-play-icon {
  opacity: 0;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 0.75rem;
  color: #e4e4e7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Skeleton */
.gallery-skeleton {
  aspect-ratio: 9 / 12;
  border-radius: 0.75rem;
  background: var(--bn-bg-card);
  position: relative;
  overflow: hidden;
}

.gallery-skeleton-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}

/* Empty state */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--bn-text-muted);
}

.gallery-empty p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bn-fadeIn 0.2s ease-out;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 201;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-content {
  text-align: center;
}

.gallery-lightbox-caption {
  color: var(--bn-text-secondary);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ============================================
   Templates / Playbooks
   ============================================ */
.bn-playbooks-section {
  padding: 5rem 0;
}

.bn-playbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.bn-playbook-card {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
}

.bn-playbook-card:hover {
  border-color: rgba(0, 255, 136, 0.25);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.05);
}

.bn-playbook-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bn-playbook-card-title {
  font-family: var(--bn-font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bn-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bn-playbook-card-desc {
  font-size: 0.8rem;
  color: var(--bn-text-secondary);
  line-height: 1.6;
  flex: 1;
}

.bn-playbook-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bn-playbook-card-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.bn-playbook-tool-pill {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--bn-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bn-border);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.bn-playbook-setup-time {
  font-size: 0.72rem;
  color: var(--bn-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.bn-playbook-setup-time svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

/* ============================================
   Social Proof
   ============================================ */
.bn-proof-section {
  padding: 4rem 0;
  border-top: 1px solid var(--bn-border);
}

.bn-proof-logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.bn-proof-logo {
  opacity: 0.35;
  filter: grayscale(1) brightness(1.5);
  transition: opacity 0.3s ease, filter 0.3s ease;
  max-height: 28px;
  width: auto;
  display: flex;
  align-items: center;
}

.bn-proof-logo:hover {
  opacity: 0.8;
  filter: none;
}

.bn-proof-logo-text {
  font-family: var(--bn-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bn-text-secondary);
  letter-spacing: -0.01em;
}

.bn-proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.bn-proof-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.bn-proof-metric .number {
  font-family: var(--bn-font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bn-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.bn-proof-metric .label {
  font-size: 0.82rem;
  color: var(--bn-text-secondary);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .bn-proof-metrics {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bn-proof-metric .number {
    font-size: 2rem;
  }

  .bn-proof-logos {
    gap: 1.5rem;
  }
}

/* ============================================
   Pricing Section — Updated Colors
   ============================================ */
.bn-pricing-section {
  padding: 5rem 0;
}

.bn-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.bn-pricing-card {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bn-pricing-card:hover {
  border-color: var(--bn-border-hover);
}

/* Popular card — green accent */
.bn-pricing-card.popular {
  border-color: rgba(0, 255, 136, 0.35);
  background: linear-gradient(160deg, rgba(0, 255, 136, 0.04) 0%, var(--bn-surface-1) 60%);
}

.bn-pricing-card.popular:hover {
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
}

/* Top line glow for popular */
.bn-pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bn-accent), transparent);
  border-radius: 1px;
}

.bn-pricing-popular-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--bn-accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem 0.35rem;
  border-radius: 0 0 8px 8px;
}

.bn-pricing-plan-name {
  font-family: var(--bn-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bn-text-muted);
  margin-bottom: 0.5rem;
}

.bn-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.bn-pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bn-text-secondary);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.bn-pricing-price .amount {
  font-family: var(--bn-font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--bn-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.bn-pricing-price .period {
  font-size: 0.875rem;
  color: var(--bn-text-muted);
}

.bn-pricing-desc {
  font-size: 0.85rem;
  color: var(--bn-text-secondary);
  line-height: 1.6;
}

.bn-pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}

.bn-pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.82rem;
  color: var(--bn-text-secondary);
  line-height: 1.4;
}

.bn-pricing-feature-check {
  color: var(--bn-accent);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.9rem;
  font-weight: 700;
}

.bn-pricing-feature-x {
  color: var(--bn-text-muted);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.9rem;
}

.bn-pricing-feature.disabled {
  opacity: 0.45;
  text-decoration: none;
}

.bn-pricing-divider {
  height: 1px;
  background: var(--bn-border);
}

@media (max-width: 768px) {
  .bn-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   FAQ — Accordion — Updated Colors
   ============================================ */
.bn-faq-section {
  padding: 5rem 0;
}

.bn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 52rem;
  margin: 0 auto;
}

.bn-faq-item {
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.bn-faq-item.open {
  border-color: rgba(0, 255, 136, 0.2);
}

.bn-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: none;
  border: none;
  color: var(--bn-text);
  font-family: var(--bn-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bn-faq-question:hover {
  color: var(--bn-text);
}

.bn-faq-question-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bn-text-muted);
  font-size: 0.8rem;
  transition: all 0.25s ease;
}

.bn-faq-item.open .bn-faq-question-icon {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--bn-accent);
  transform: rotate(45deg);
}

.bn-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bn-faq-item.open .bn-faq-answer {
  max-height: 400px;
}

.bn-faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--bn-text-secondary);
  line-height: 1.7;
}

/* ============================================
   Final CTA Section
   ============================================ */
.bn-final-cta-section {
  padding: 5rem 0;
}

.bn-final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bn-surface-1);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-2xl);
  padding: 5rem 2rem;
  text-align: center;
}

/* Radial green glow */
.bn-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid overlay */
.bn-final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.bn-final-cta > * {
  position: relative;
  z-index: 1;
}

.bn-final-cta .cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bn-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.bn-final-cta h2 {
  font-family: var(--bn-font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bn-text);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.bn-final-cta p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--bn-text-secondary);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.bn-final-cta .cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Node graph animated background */
.bn-final-cta .node-graph-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bn-final-cta .node-graph-bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

@media (max-width: 640px) {
  .bn-final-cta {
    padding: 3.5rem 1.5rem;
    border-radius: var(--bn-radius-xl);
  }
}

/* ============================================
   Footer — Expanded 4 Columns
   ============================================ */
.bn-footer {
  border-top: 1px solid var(--bn-border);
  padding: 4rem 0 2rem;
}

.bn-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.bn-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bn-footer-brand-desc {
  font-size: 0.82rem;
  color: var(--bn-text-muted);
  line-height: 1.7;
  max-width: 240px;
}

.bn-footer-social {
  display: flex;
  gap: 0.625rem;
}

.bn-footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--bn-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bn-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--bn-transition);
}

.bn-footer-social-link:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.25);
  color: var(--bn-accent);
}

.bn-footer-col h4 {
  font-family: var(--bn-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bn-text-secondary);
  margin-bottom: 1rem;
}

.bn-footer-col a {
  color: var(--bn-text-muted);
  font-size: 0.8rem;
  display: block;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.bn-footer-col a:hover {
  color: var(--bn-text);
}

.bn-footer-col a .badge-new {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 255, 136, 0.12);
  color: var(--bn-accent);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.375rem;
  vertical-align: middle;
}

.bn-footer-bottom {
  border-top: 1px solid var(--bn-border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.bn-footer-bottom-left {
  font-size: 0.78rem;
  color: var(--bn-text-muted);
}

.bn-footer-bottom-right {
  display: flex;
  gap: 1.5rem;
}

.bn-footer-bottom-right a {
  font-size: 0.78rem;
  color: var(--bn-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bn-footer-bottom-right a:hover {
  color: var(--bn-text);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .bn-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bn-footer-brand {
    grid-column: span 3;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .bn-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .bn-footer-brand {
    grid-column: span 2;
    flex-direction: column;
  }

  .bn-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .bn-footer-bottom-right {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 375px) {
  .bn-footer-grid {
    grid-template-columns: 1fr;
  }

  .bn-footer-brand {
    grid-column: span 1;
  }
}

/* ============================================
   Section Headers — Shared Pattern
   ============================================ */
.bn-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.bn-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bn-accent);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.bn-section-title {
  font-family: var(--bn-font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bn-text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.bn-section-sub {
  font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
  color: var(--bn-text-secondary);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Tool Showcase — Linear/Vercel Split Layout
   ============================================ */

/* --- Section container --- */
.tool-showcase {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tool-showcase-section {
  padding: 120px 0;
}

/* --- Header --- */
.tool-showcase-header {
  text-align: center;
  margin-bottom: 64px;
}

.tool-showcase-header h2 {
  font-family: var(--bn-font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bn-text);
}

.tool-showcase-header .gradient-accent {
  background: var(--bn-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Count badge — updated to green --- */
.tool-showcase-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bn-accent);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Split grid layout --- */
.tool-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 64px;
  align-items: start;
}

/* --- Left panel: tool list --- */
.tool-showcase-left {
  position: relative;
  max-width: 480px;
}

.tool-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* --- Each tool item --- */
.tool-showcase-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: transparent;
  cursor: pointer;
  border-left: 2px solid transparent;
  border-radius: 0;
  opacity: 0.6;
  transition:
    background 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  user-select: none;
}

@media (hover: hover) {
  .tool-showcase-item:hover {
    background: rgba(255, 255, 255, 0.02);
    opacity: 0.85;
  }
}

/* Active state — updated to green */
.tool-showcase-item.active {
  background: rgba(0, 255, 136, 0.04);
  border-left-color: var(--bn-accent);
  opacity: 1;
}

/* --- Icon container --- */
.tool-showcase-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tool-showcase-item.active .tool-showcase-icon {
  transform: scale(1.05);
}

/* --- Tool info text --- */
.tool-showcase-info {
  flex: 1;
  min-width: 0;
}

.tool-showcase-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #888888;
  line-height: 1.3;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tool-showcase-item.active .tool-showcase-name {
  color: var(--bn-text);
}

.tool-showcase-item:hover .tool-showcase-name {
  color: #cccccc;
}

.tool-showcase-desc {
  font-size: 15px;
  font-weight: 400;
  color: #52525b;
  line-height: 1.6;
  margin-top: 4px;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tool-showcase-item.active .tool-showcase-desc {
  color: var(--bn-text-secondary);
}

/* --- Arrow indicator — updated to green --- */
.tool-showcase-arrow {
  color: transparent;
  flex-shrink: 0;
  transition:
    color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tool-showcase-item:hover .tool-showcase-arrow {
  color: #52525b;
}

.tool-showcase-item.active .tool-showcase-arrow {
  color: var(--bn-accent);
  transform: translateX(2px);
}

/* --- Right panel: preview area --- */
.tool-showcase-preview {
  position: sticky;
  top: 120px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--bn-border);
  background: rgba(11, 13, 18, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow:
    0 0 80px -20px rgba(255, 255, 255, 0.04),
    0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

.tool-showcase-preview-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Gradient placeholder --- */
.tool-showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.tool-showcase-placeholder.fading {
  opacity: 0;
}

.tool-showcase-placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.tool-showcase-placeholder-name {
  font-family: var(--bn-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--bn-text);
  letter-spacing: -0.02em;
}

.tool-showcase-placeholder-sub {
  font-size: 14px;
  color: #52525b;
  font-weight: 500;
}

/* --- CTA link — updated to green --- */
.tool-showcase-cta {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bn-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.15s,
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.15s,
    color 0.2s ease;
  z-index: 3;
}

.tool-showcase-preview:hover .tool-showcase-cta {
  opacity: 1;
  transform: translateY(0);
}

.tool-showcase-cta:hover {
  color: #33ffaa;
}

/* ============================================
   Tool Showcase — Responsive
   ============================================ */
@media (max-width: 1024px) {
  .tool-showcase-section {
    padding: 80px 0;
  }
  .tool-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
  }
  .tool-showcase-header {
    margin-bottom: 48px;
  }
  .tool-showcase-header h2 {
    font-size: 40px;
  }
  .tool-showcase-item {
    padding: 20px 24px;
  }
  .tool-showcase-name {
    font-size: 17px;
  }
  .tool-showcase-desc {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .tool-showcase-section {
    padding: 64px 0;
  }
  .tool-showcase-header {
    margin-bottom: 32px;
  }
  .tool-showcase-header h2 {
    font-size: 32px;
  }

  .tool-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tool-showcase-left {
    position: static;
    max-width: none;
  }

  /* Hide the desktop preview panel on mobile */
  .tool-showcase-preview {
    display: none;
  }

  .tool-showcase-list {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--bn-border);
  }

  /* Turn each item into an accordion on mobile */
  .tool-showcase-item {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px 24px;
    border-left: none;
  }

  /* Active state — green bg tint */
  .tool-showcase-item.active {
    background: rgba(0, 255, 136, 0.04);
  }

  .tool-showcase-arrow {
    color: #3f3f46;
    transition:
      color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .tool-showcase-item.active .tool-showcase-arrow {
    transform: rotate(90deg);
    color: var(--bn-accent);
  }

  /* Mobile inline preview */
  .tool-showcase-mobile-preview {
    display: none;
    width: 100%;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(6, 7, 10, 0.6);
    border: 1px solid var(--bn-border);
    position: relative;
  }

  .tool-showcase-item.active .tool-showcase-mobile-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: bn-slideDown 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .tool-showcase-mobile-preview .tool-showcase-placeholder {
    position: relative;
    flex: 1;
    gap: 8px;
    padding: 24px;
  }

  .tool-showcase-mobile-preview .tool-showcase-placeholder-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .tool-showcase-mobile-preview .tool-showcase-placeholder-name {
    font-size: 16px;
  }

  .tool-showcase-mobile-preview .tool-showcase-placeholder-sub {
    font-size: 12px;
  }

  .tool-showcase-mobile-cta {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--bn-accent);
    text-decoration: none;
    padding: 8px;
    margin-top: 4px;
    transition: color 0.2s ease;
  }

  .tool-showcase-mobile-cta:hover {
    color: #33ffaa;
  }
}

@media (max-width: 480px) {
  .tool-showcase-section {
    padding: 48px 0;
  }
  .tool-showcase-header h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
  }
  .tool-showcase-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .tool-showcase-item {
    padding: 16px 20px;
    gap: 12px;
  }
  .tool-showcase-name {
    font-size: 16px;
  }
  .tool-showcase-desc {
    font-size: 13px;
  }
}

/* ============================================
   Responsive Breakpoints — Global
   ============================================ */

/* 1440px — max-width container (handled via .bn-container max-width) */

/* 1024px — tablet */
@media (max-width: 1024px) {
  :root {
    --bn-nav-height: 3.25rem;
  }

  .bn-section {
    padding: 4rem 0;
  }

  .bn-hero {
    padding: 5.5rem 0 4rem;
  }
}

/* 768px — mobile layout */
@media (max-width: 768px) {
  .bn-section {
    padding: 3rem 0;
  }

  .bn-section-header {
    margin-bottom: 2.5rem;
  }

  .bn-hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }

  .bn-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .bn-hero-cta-group .bn-btn {
    width: 100%;
    justify-content: center;
  }

  .bn-hero-proof {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .bn-final-cta {
    padding: 3rem 1.25rem;
  }

  .bn-replace-strip-inner {
    gap: 0.375rem;
  }
}

/* 480px — small mobile */
@media (max-width: 480px) {
  .bn-container {
    padding: 0 1rem;
  }

  .bn-container-sm {
    padding: 0 1rem;
  }

  .bn-section-title {
    font-size: 1.625rem;
  }

  .bn-hero-headline {
    font-size: 2.25rem;
  }

  .bn-modal {
    padding: 1.25rem;
    border-radius: var(--bn-radius-lg);
  }

  .bn-workflow-tabs {
    gap: 0.25rem;
  }

  .bn-workflow-tab {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
  }
}

/* 375px — smallest mobile */
@media (max-width: 375px) {
  .bn-container {
    padding: 0 0.875rem;
  }

  .bn-hero-headline {
    font-size: 1.875rem;
    letter-spacing: -0.025em;
  }

  .bn-btn-xl {
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
  }

  .bn-stack-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ============================================
   Prevent iOS zoom on inputs
   ============================================ */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

@supports (-webkit-touch-callout: none) {
  input, select, textarea {
    font-size: 16px !important;
  }
}
