/* ==========================================================================
   Trademind.win — Binance Pro Desktop & Mobile PWA Terminal Design System
   Complete Layout, Sidebar, Topbar, KPI Grid, Buttons, Badges, Tables & Forms
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bn-bg: #0b0e11;
  --bn-panel: #11161d;
  --bn-bg-elevated: #161d26;
  --bn-border: #1f2937;
  --bn-border-light: #2b3139;
  --bn-text-primary: #eaecef;
  --bn-text-secondary: #848e9c;
  --bn-text-muted: #5e6673;

  --bn-yellow: #fcd535;
  --bn-yellow-hover: #f0b90b;
  --bn-yellow-bg: rgba(252, 213, 53, 0.14);

  --bn-green: #0ecb81;
  --bn-green-bg: rgba(14, 203, 129, 0.14);

  --bn-red: #f6465d;
  --bn-red-bg: rgba(246, 70, 93, 0.14);

  --bn-blue: #3b82f6;
  --bn-cyan: #22d3ee;
  --bn-purple: #a855f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bn-bg);
  color: var(--bn-text-primary);
  font-size: 13px;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono,
.font-mono-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* Text color utilities */
.text-green, .pos { color: var(--bn-green) !important; }
.text-red, .neg { color: var(--bn-red) !important; }
.text-yellow, .gold { color: var(--bn-yellow) !important; }
.text-muted { color: var(--bn-text-secondary) !important; }
.text-center { text-align: center !important; }
.mb-3 { margin-bottom: 14px !important; }

/* ==========================================================================
   APP SHELL: FIXED LEFT SIDEBAR + MAIN VIEWPORT
   ========================================================================== */
.bn-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.bn-sidebar {
  width: 248px;
  background: var(--bn-panel);
  border-right: 1px solid var(--bn-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.bn-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--bn-border);
  color: var(--bn-text-primary);
  text-decoration: none;
}

.bn-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--bn-yellow), #f59e0b);
  color: #0b0e11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(252, 213, 53, 0.25);
}

.bn-brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--bn-text-primary);
}
.bn-brand-title span {
  color: var(--bn-yellow);
}

/* Sidebar Navigation */
.bn-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 10px;
  flex: 1;
}

.bn-nav-section-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--bn-text-secondary);
  padding: 10px 8px 4px;
}

.bn-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--bn-text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.14s ease;
}

.bn-nav-item .nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bn-nav-item:hover {
  background: var(--bn-bg-elevated);
  color: var(--bn-text-primary);
}

.bn-nav-item.active {
  background: var(--bn-yellow-bg);
  color: var(--bn-yellow);
  border-color: rgba(252, 213, 53, 0.35);
}

.bn-sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--bn-border);
  background: rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   MAIN VIEWPORT & STICKY TOP HEADER BAR
   ========================================================================== */
.bn-viewport {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bn-bg);
}

.bn-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #0b0e11;
  border-bottom: 1px solid var(--bn-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bn-topbar-left,
.bn-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bn-content {
  padding: 16px 18px 36px;
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
}

/* Compact Telemetry Status Pill with Floating Hover Details */
.bn-telemetry-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 7px 2px 3px;
  gap: 5px;
  height: 28px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.bn-telemetry-pill:hover,
.bn-telemetry-pill:focus-within {
  border-color: rgba(252, 213, 53, 0.4);
  background: rgba(24, 32, 42, 0.95);
}

.bn-telemetry-pill .bn-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Floating Telemetry Detail Card on Hover */
.telemetry-hover-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  background: #11161d;
  border: 1px solid var(--bn-border);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: none;
  pointer-events: none;
  animation: fadeIn 0.15s ease-out;
}

.bn-telemetry-pill:hover .telemetry-hover-card,
.bn-telemetry-pill:focus .telemetry-hover-card,
.bn-telemetry-pill:focus-within .telemetry-hover-card {
  display: block;
}

.thc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
}

.thc-label {
  color: var(--bn-text-secondary);
}

.thc-value {
  color: var(--bn-text-primary);
  font-weight: 700;
}

/* Compact Segmented Bot Action Controls Toolbar */
.bot-controls-group {
  display: inline-flex;
  align-items: center;
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 2px 3px;
  gap: 3px;
  height: 28px;
}

.bot-controls-group .bn-btn {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Attractive Sliding PAPER / LIVE Mode Toggle Switch */
.mode-slider-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #090c10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(255, 255, 255, 0.05);
  transition: all 0.22s ease;
  height: 36px;
  width: 178px;
}

.mode-slider-wrap:hover {
  border-color: rgba(252, 213, 53, 0.45);
}

.mode-slider-wrap.is-live {
  border-color: rgba(14, 203, 129, 0.4);
}

.mode-slider-wrap.is-live:hover {
  border-color: rgba(14, 203, 129, 0.7);
}

.mode-slider-track {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.mode-slider-glider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b3139 0%, #1a222d 100%);
  border: 1px solid rgba(252, 213, 53, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
}

.mode-slider-wrap.is-live .mode-slider-glider {
  transform: translateX(100%);
  background: linear-gradient(135deg, #0ecb81 0%, #059669 100%);
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(14, 203, 129, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mode-slider-label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: color 0.22s ease;
  height: 100%;
  border-radius: 999px;
}

.mode-slider-label.mode-opt-paper {
  color: var(--bn-yellow);
}

.mode-slider-label.mode-opt-live {
  color: var(--bn-text-muted);
}

.mode-slider-wrap.is-live .mode-slider-label.mode-opt-paper {
  color: var(--bn-text-muted);
}

.mode-slider-wrap.is-live .mode-slider-label.mode-opt-live {
  color: #0b0e11;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Paper / Live Segmented Toggle Pill (Legacy fallback) */
.bn-mode-pill {
  display: inline-flex;
  background: #0b0e11;
  border: 1px solid var(--bn-border-light);
  border-radius: 7px;
  padding: 2px;
  gap: 2px;
}

.bn-mode-pill button {
  background: transparent;
  border: none;
  color: var(--bn-text-secondary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bn-mode-pill button.active-paper {
  background: var(--bn-yellow);
  color: #0b0e11;
}

.bn-mode-pill button.active-live {
  background: var(--bn-green);
  color: #0b0e11;
}

.bn-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--bn-border-light);
  background: var(--bn-bg-elevated);
  color: var(--bn-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bn-icon-btn:hover {
  border-color: var(--bn-yellow);
  color: var(--bn-yellow);
}

/* ==========================================================================
   CARDS, GRIDS & KPI STRIP
   ========================================================================== */
.bn-card {
  background: var(--bn-panel);
  border: 1px solid var(--bn-border);
  border-radius: 11px;
  overflow: hidden;
}

.bn-card-header {
  padding: 11px 15px;
  border-bottom: 1px solid var(--bn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.bn-card-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bn-text-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.bn-card-title .title-icon {
  width: 15px;
  height: 15px;
  color: var(--bn-yellow);
}

.bn-card-body {
  padding: 14px 15px;
}

/* KPI Strip Grid */
.bn-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.bn-kpi-card {
  background: var(--bn-panel);
  border: 1px solid var(--bn-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.bn-kpi-label {
  font-size: 11.5px;
  color: var(--bn-text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.bn-kpi-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--bn-text-primary);
  line-height: 1.2;
}

.bn-kpi-sub {
  font-size: 11.5px;
  color: var(--bn-text-secondary);
  margin-top: 5px;
}

/* Multi-Column Responsive Grids */
.bn-grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
}

.bn-grid-3 {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.95fr;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.bn-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--bn-border-light);
  background: var(--bn-bg-elevated);
  color: var(--bn-text-primary);
  text-decoration: none;
  transition: all 0.14s ease;
  line-height: 1.2;
}

.bn-btn:hover {
  border-color: var(--bn-yellow);
}

.bn-btn-sm {
  padding: 5px 10px;
  font-size: 11.5px;
  border-radius: 6px;
}

.bn-btn-xs {
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.bn-btn-active-pill {
  background: rgba(240, 185, 11, 0.12) !important;
  color: var(--bn-yellow, #f0b90b) !important;
  border-color: rgba(240, 185, 11, 0.45) !important;
}

.bn-btn-primary {
  background: var(--bn-yellow);
  color: #0b0e11 !important;
  border-color: var(--bn-yellow);
}
.bn-btn-primary:hover {
  background: var(--bn-yellow-hover);
  border-color: var(--bn-yellow-hover);
}

.bn-btn-success {
  background: var(--bn-green-bg);
  color: var(--bn-green) !important;
  border-color: rgba(14, 203, 129, 0.45);
}
.bn-btn-success:hover {
  background: rgba(14, 203, 129, 0.24);
}

.bn-btn-danger {
  background: var(--bn-red-bg);
  color: var(--bn-red) !important;
  border-color: rgba(246, 70, 93, 0.45);
}
.bn-btn-danger:hover {
  background: rgba(246, 70, 93, 0.24);
}

.bn-btn-outline {
  background: var(--bn-bg-elevated);
  color: var(--bn-text-primary);
  border-color: var(--bn-border-light);
}
.bn-btn-outline:hover {
  border-color: var(--bn-yellow);
  color: var(--bn-yellow);
}

/* Badges */
.bn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.bn-badge-yellow {
  background: var(--bn-yellow-bg);
  color: var(--bn-yellow);
  border: 1px solid rgba(252, 213, 53, 0.35);
}

.bn-badge-green {
  background: var(--bn-green-bg);
  color: var(--bn-green);
  border: 1px solid rgba(14, 203, 129, 0.35);
}

.bn-badge-red {
  background: var(--bn-red-bg);
  color: var(--bn-red);
  border: 1px solid rgba(246, 70, 93, 0.35);
}

.bn-badge-gray {
  background: rgba(132, 142, 156, 0.14);
  color: var(--bn-text-secondary);
  border: 1px solid rgba(132, 142, 156, 0.25);
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.bn-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.bn-form-group {
  margin-bottom: 12px;
}

.bn-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bn-text-secondary);
  margin-bottom: 5px;
}

.bn-input,
.bn-select {
  width: 100%;
  background: #0c1017;
  border: 1px solid var(--bn-border-light);
  color: var(--bn-text-primary);
  padding: 8px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s ease;
}

.bn-input:focus,
.bn-select:focus {
  border-color: var(--bn-yellow);
}

/* Institutional Strategy & Risk Grid System */
.bn-strategy-group-card {
  background: var(--bn-bg-elevated);
  border: 1px solid var(--bn-border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bn-strategy-group-card:hover {
  border-color: rgba(252, 213, 53, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.bn-strategy-group-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--bn-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bn-strategy-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .bn-strategy-input-row {
    grid-template-columns: 1fr;
  }
}
.bn-label-with-tooltip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.bn-label-with-tooltip .bn-label {
  margin-bottom: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bn-text-secondary);
}
.bn-unit-badge {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--bn-yellow);
  background: rgba(252, 213, 53, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}
.bn-hint {
  font-size: 10.5px;
  color: var(--bn-text-muted);
  margin-top: 4px;
  display: block;
  line-height: 1.35;
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.bn-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.bn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.bn-table th {
  text-align: left;
  padding: 9px 10px;
  color: var(--bn-text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--bn-border);
  background: var(--bn-panel);
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
}

.bn-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.65);
  white-space: nowrap;
}

.bn-table tbody tr:hover {
  background: rgba(252, 213, 53, 0.05);
}

/* ==========================================================================
   TOAST NOTIFICATIONS & MOBILE BOTTOM BAR
   ========================================================================== */
.bn-toast-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bn-toast {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.bn-toast.toast-ok {
  background: #0d281e;
  border: 1px solid var(--bn-green);
  color: var(--bn-green);
}

.bn-toast.toast-err {
  background: #2c1218;
  border: 1px solid var(--bn-red);
  color: var(--bn-red);
}

/* Mobile Bottom Navigation (Hidden on Desktop, Shown on Mobile/Tablet) */
.bn-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bn-panel);
  border-top: 1px solid var(--bn-border);
  z-index: 95;
  justify-content: space-around;
  align-items: center;
}

.bn-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--bn-text-secondary);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  height: 100%;
}

.bn-tab-item .tab-icon {
  width: 18px;
  height: 18px;
}

.bn-tab-item.active {
  color: var(--bn-yellow);
}

/* Responsive Breakpoints */
@media (max-width: 1350px) {
  .bn-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bn-grid-3 {
    grid-template-columns: 1fr;
  }
  .bn-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .bn-sidebar {
    display: none;
  }
  .bn-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
  .bn-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bn-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bn-border-light);
  border-radius: 3px;
}

/* ==========================================================================
   BRAND LANDING PAGE STYLES (landing.html)
   ========================================================================== */
.bn-landing-body {
  background: var(--bn-bg);
  color: var(--bn-text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 0 !important;
}

.bn-landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 17, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bn-border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bn-landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bn-landing-nav-link {
  color: var(--bn-text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease;
}

.bn-landing-nav-link:hover {
  color: var(--bn-yellow);
}

.bn-hero-section {
  position: relative;
  padding: 70px 24px 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(252, 213, 53, 0.08) 0%, rgba(14, 203, 129, 0.04) 35%, transparent 70%);
  overflow: hidden;
}

.bn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(252, 213, 53, 0.1);
  border: 1px solid rgba(252, 213, 53, 0.3);
  color: var(--bn-yellow);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.bn-hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.8px;
  max-width: 920px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #ffffff 30%, #b7bdc6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bn-hero-subtitle {
  font-size: 16.5px;
  color: var(--bn-text-secondary);
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.bn-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.bn-hero-cta-group .bn-btn {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.bn-ticker-tape {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.bn-ticker-card {
  background: var(--bn-panel);
  border: 1px solid var(--bn-border);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bn-ticker-card:hover {
  transform: translateY(-2px);
  border-color: rgba(252, 213, 53, 0.4);
}

.bn-section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.bn-section-hdr {
  text-align: center;
  margin-bottom: 44px;
}

.bn-section-tag {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--bn-yellow);
  margin-bottom: 8px;
  display: block;
}

.bn-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.bn-section-desc {
  font-size: 15px;
  color: var(--bn-text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.bn-landing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bn-landing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bn-feature-box {
  background: var(--bn-panel);
  border: 1px solid var(--bn-border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.bn-feature-box:hover {
  border-color: rgba(252, 213, 53, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.bn-feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(252, 213, 53, 0.1);
  border: 1px solid rgba(252, 213, 53, 0.25);
  color: var(--bn-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bn-feature-box.green .bn-feature-icon-wrap {
  background: rgba(14, 203, 129, 0.1);
  border-color: rgba(14, 203, 129, 0.25);
  color: var(--bn-green);
}

.bn-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.bn-feature-text {
  font-size: 13.5px;
  color: var(--bn-text-secondary);
  line-height: 1.6;
}

.bn-pricing-card {
  background: var(--bn-panel);
  border: 1px solid var(--bn-border);
  border-radius: 14px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.22s ease;
}

.bn-pricing-card.featured {
  border-color: var(--bn-yellow);
  box-shadow: 0 0 30px rgba(252, 213, 53, 0.15);
}

.bn-pricing-tier-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.bn-pricing-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--bn-yellow);
  margin-bottom: 4px;
}

.bn-pricing-period {
  font-size: 12px;
  color: var(--bn-text-secondary);
  margin-bottom: 24px;
}

.bn-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.bn-pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bn-text-secondary);
  margin-bottom: 12px;
}

.bn-pricing-list li i {
  color: var(--bn-green);
  flex-shrink: 0;
}

.bn-landing-footer {
  background: #090c10;
  border-top: 1px solid var(--bn-border);
  padding: 50px 24px 30px;
  margin-top: auto;
}

.bn-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.bn-risk-warning-box {
  background: rgba(246, 70, 93, 0.06);
  border: 1px solid rgba(246, 70, 93, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 12px;
  color: #f6465d;
  line-height: 1.6;
  margin-bottom: 30px;
}

@media (max-width: 960px) {
  .bn-hero-title {
    font-size: 32px;
  }
  .bn-landing-grid-3,
  .bn-landing-grid-2 {
    grid-template-columns: 1fr;
  }
  .bn-landing-nav-links {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL AUTH MODAL STYLES (Floating Centered Overlay)
   ========================================================================== */
.bn-modal-backdrop,
.tm-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(5, 7, 10, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.bn-modal-backdrop.open,
.tm-modal-backdrop.open {
  display: flex !important;
}

/* PWA Standalone Mode: Marketing page strictly disallowed, pure login presentation */
html.pwa-auth-only body#landing-root > *:not(#auth-modal):not(#bn-toast-container):not(#pwa-ios-modal) {
  display: none !important;
}

html.pwa-auth-only body#landing-root {
  background: #0b0e11 !important;
  min-height: 100vh !important;
}

html.pwa-auth-only #auth-modal {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0b0e11 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 999999 !important;
}

html.pwa-auth-only .bn-modal-close {
  display: none !important;
}

.pwa-install-btn {
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-btn.installed {
  opacity: 0.8;
  cursor: default;
}

.bn-modal-dialog,
.tm-auth-box {
  width: 100% !important;
  max-width: 440px !important;
  background: #11161d !important;
  border: 1px solid var(--bn-border, #2b3139) !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85) !important;
  position: relative !important;
  margin: auto !important;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.bn-modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
}

.bn-modal-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--bn-yellow, #fcd535) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.bn-modal-close {
  background: transparent !important;
  border: none !important;
  color: var(--bn-text-secondary, #848e9c) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: color 0.15s ease !important;
}

.bn-modal-close:hover {
  color: #ffffff !important;
}

/* Tabs inside Modal */
.bn-tabs,
.tm-auth-tabs {
  display: flex !important;
  gap: 4px !important;
  background: #0b0e11 !important;
  padding: 4px !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
}

.bn-tab-btn,
.tm-auth-tab {
  flex: 1 !important;
  padding: 8px 6px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  color: var(--bn-text-secondary, #848e9c) !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
}

.bn-tab-btn.active,
.tm-auth-tab.active {
  background: var(--bn-yellow, #fcd535) !important;
  color: #0b0e11 !important;
  font-weight: 800 !important;
}

.otp-input-field {
  letter-spacing: 6px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE NAVIGATION ARCHITECTURE
   ========================================================================== */

/* 1. Global Responsive Visibility Helpers */
.hidden-xs {
  display: inline;
}
.visible-xs {
  display: none !important;
}

@media (max-width: 768px) {
  .hidden-xs {
    display: none !important;
  }
  .visible-xs {
    display: inline-flex !important;
  }
}

/* 2. Responsive Trader Name & Profile Pill */
.bn-top-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252, 213, 53, 0.12);
  border: 1px solid rgba(252, 213, 53, 0.35);
  color: var(--bn-yellow);
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.18s ease;
  max-width: 150px;
  text-decoration: none;
  cursor: pointer;
}

.bn-top-user-pill:hover {
  background: rgba(252, 213, 53, 0.22);
  border-color: var(--bn-yellow);
  color: #fff;
}

.top-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bn-yellow);
  color: #0b0e11;
  font-weight: 900;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.top-user-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95px;
  letter-spacing: 0.2px;
}

@media (max-width: 480px) {
  .bn-top-user-pill {
    max-width: 115px;
    padding: 2px 6px 2px 3px;
    font-size: 11px;
  }
  .top-user-name {
    max-width: 60px;
  }
}

/* 3. Mobile Sidebar Drawer & Backdrop */
.bn-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 960px) {
  .bn-sidebar {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    z-index: 99999 !important;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.85) !important;
    background: #11161d !important;
  }
  .bn-sidebar.open {
    display: flex !important;
    animation: slideInLeft 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
  .bn-sidebar-backdrop.open {
    display: block !important;
  }
}

/* 4. Responsive Unified Command Header (.bn-topbar) */
@media (max-width: 768px) {
  .bn-topbar {
    padding: 0 10px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    background: #0b0e11 !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow: hidden !important;
  }
  .bn-topbar-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .bn-topbar-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    border-top: none !important;
    padding-top: 0 !important;
  }
  .mobile-nav-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .bn-telemetry-pill {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  #engine-badge {
    font-size: 10px !important;
    padding: 2px 7px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
  }
  .bot-controls-group {
    display: none !important;
  }
  .alert-toggles-wrap {
    display: none !important;
  }
  .mode-slider-wrap {
    width: 108px !important;
    height: 26px !important;
    padding: 2px !important;
    flex-shrink: 0 !important;
  }
  .mode-slider-label {
    font-size: 9.5px !important;
    gap: 3px !important;
  }
  .mode-slider-label i {
    width: 10px !important;
    height: 10px !important;
  }
}

/* 4a. Notification Bell & Activity Flyout Center */
.notification-bell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notification-bell-btn {
  position: relative;
  height: 28px;
  width: 28px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: var(--bn-bg-elevated) !important;
  color: var(--bn-text-secondary) !important;
  transition: all 0.15s ease;
}

.notification-bell-btn:hover {
  color: var(--bn-yellow) !important;
  border-color: var(--bn-yellow) !important;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--bn-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #11161d;
  line-height: 1;
}

.notification-flyout {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: #11161d;
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.18s ease-out;
}

.notif-flyout-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--bn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 22, 29, 0.95);
}

.notif-quick-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #090c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #0d1219;
}

.notif-tab {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--bn-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.notif-tab:hover {
  color: var(--bn-text-primary);
}

.notif-tab.active {
  background: var(--bn-bg-elevated);
  color: var(--bn-yellow);
  border-color: rgba(252, 213, 53, 0.35);
}

.bn-notif-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 85;
}

@media (min-width: 769px) {
  .bn-notif-backdrop {
    display: none !important;
  }
}

.notif-items-list, .notif-card-feed {
  flex: 1;
  overflow-y: auto;
  max-height: 420px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}

.notif-card {
  background: #0d1219;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid #2b313a;
  border-radius: 8px;
  padding: 8px 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notif-card:hover {
  background: #121822;
}

.notif-card.is-long, .notif-card.notif-card-tp {
  border-left-color: var(--bn-green);
}

.notif-card.is-short, .notif-card.notif-card-stop, .notif-card.notif-card-warn {
  border-left-color: var(--bn-red);
}

.notif-card.notif-card-auth, .notif-card.notif-card-reset {
  border-left-color: var(--bn-yellow);
}

.notif-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.notif-card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.notif-symbol {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.notif-score-pill {
  font-size: 10px;
  color: var(--bn-yellow);
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.25);
  padding: 1px 5px;
  border-radius: 4px;
}

.notif-time {
  font-size: 10.5px;
  color: var(--bn-text-muted);
  white-space: nowrap;
}

.notif-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 6px 8px;
  margin: 3px 0;
}

@media (max-width: 480px) {
  .notif-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

.notif-grid-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.notif-grid-lbl {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bn-text-muted);
  letter-spacing: 0.3px;
}

.notif-grid-val {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.notif-card-footer {
  font-size: 10px;
  color: var(--bn-text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.notif-card-body-text {
  font-size: 11.5px;
  color: var(--bn-text-primary);
  line-height: 1.45;
  word-break: break-word;
}

.log-filter-btn {
  font-size: 10.5px;
  padding: 2px 8px;
}

.log-filter-btn.active {
  background: var(--bn-bg-elevated);
  color: var(--bn-yellow);
  border-color: rgba(240, 185, 11, 0.4);
}

@media (max-width: 768px) {
  .notification-flyout {
    position: fixed !important;
    top: 48px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: min(82vh, 620px) !important;
    max-height: calc(100vh - 108px) !important;
    border-radius: 0 0 16px 16px !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95) !important;
    z-index: 99999 !important;
  }
  .notif-items-list {
    max-height: none !important;
    flex: 1 !important;
  }
  .notif-card-feed {
    max-height: 280px !important;
  }
}

/* 4b. Mobile Layout Density, Filter Bar & Typography Optimization */
.scanner-filter-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding-bottom: 4px;
}
.scanner-filter-bar::-webkit-scrollbar {
  height: 3px;
}
.scanner-filter-bar .scan-filter-btn {
  flex-shrink: 0;
  font-size: 11px;
  padding: 3px 8px;
  height: 26px;
}
.scanner-filter-bar .bn-input {
  flex-shrink: 0;
  width: 130px;
  font-size: 11px;
  height: 26px;
  padding: 3px 8px;
}

@media (max-width: 768px) {
  .bn-content {
    padding: 10px 10px 32px !important;
  }
  .bn-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }
  .bn-kpi-card {
    padding: 7px 9px !important;
    border-radius: 8px !important;
  }
  .bn-kpi-label {
    font-size: 10.5px !important;
    margin-bottom: 2px !important;
  }
  .bn-kpi-label .bn-badge {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
  }
  .bn-kpi-value {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
  .bn-kpi-sub {
    font-size: 10px !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .bn-card {
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }
  .bn-card-header {
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .bn-card-title {
    font-size: 11.5px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .bn-card-body {
    padding: 10px !important;
  }
  .bn-grid-2,
  .bn-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .log-box {
    max-height: 160px !important;
    font-size: 11px !important;
  }
  .log-item {
    padding: 5px 8px !important;
    font-size: 10.5px !important;
  }
  #equityCanvas {
    height: 170px !important;
  }
  #candleCanvas {
    height: 220px !important;
  }
}

/* 5. Home Page Landing Navigation & Mobile Drawer */
.landing-brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-mobile-menu {
  display: none;
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(17, 22, 29, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bn-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 999;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.landing-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 55px;
  background: rgba(5, 7, 10, 0.65);
  backdrop-filter: blur(2px);
  z-index: 998;
}

.landing-mobile-backdrop.open {
  display: block;
}

.landing-mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--bn-text-primary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.landing-mobile-link:hover,
.landing-mobile-link:active {
  background: var(--bn-bg-elevated);
  color: var(--bn-yellow);
}

.landing-mobile-menu-actions {
  padding-top: 12px;
  border-top: 1px solid var(--bn-border);
}

@media (max-width: 768px) {
  .bn-landing-header {
    padding: 10px 14px !important;
  }
  .landing-brand-title {
    font-size: 15.5px !important;
  }
  .header-login-btn,
  .header-signup-btn {
    padding: 5px 9px !important;
    font-size: 11.5px !important;
  }
}
