
/* Performance optimizations */
* {
    box-sizing: border-box;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize rendering */
.will-change-transform {
    will-change: transform;
}

.will-change-scroll {
    will-change: scroll-position;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Optimize fonts */
@font-face {
    font-display: swap;
}
/* Bold Neo-Brutalism Design System - Clean and Professional */

:root {
  /* Neo-Brutalism Color Palette */
  --nb-primary: #000000;
  --nb-secondary: #333333;
  --nb-accent: #ff6b35;
  --nb-background: #ffffff;
  --nb-surface: #f8f9fa;
  --nb-border: #e9ecef;
  --nb-text: #212529;
  --nb-text-secondary: #6c757d;
  --nb-success: #198754;
  --nb-warning: #ffc107;
  --nb-error: #dc3545;

  /* Bold Neo-Brutalism Color Palette (bnb- prefix) */
  --bnb-primary: #000000;
  --bnb-secondary: #222222;
  --bnb-accent1: #ff3e00;
  --bnb-accent2: #4169e1;
  --bnb-accent3: #ffcc00;
  --bnb-background: #ffffff;
  --bnb-surface: #f0f0f0;
  --bnb-border: #000000;
  --bnb-text: #000000;
  --bnb-text-secondary: #444444;
  --bnb-success: #00cc66;
  --bnb-warning: #ffcc00;
  --bnb-error: #ff3e00;
  
  /* Neo-Brutalism Spacing */
  --nb-space-xs: 0.25rem;
  --nb-space-sm: 0.5rem;
  --nb-space-md: 1rem;
  --nb-space-lg: 1.5rem;
  --nb-space-xl: 2rem;
  --nb-space-2xl: 3rem;
  --nb-space-3xl: 4rem;

  /* Bold Neo-Brutalism Spacing */
  --bnb-space-xs: 0.5rem;
  --bnb-space-sm: 1rem;
  --bnb-space-md: 2rem;
  --bnb-space-lg: 3rem;
  --bnb-space-xl: 4rem;
  --bnb-space-2xl: 6rem;
  --bnb-space-3xl: 8rem;
  
  /* Neo-Brutalism Shadows */
  --nb-shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.1);
  --nb-shadow-md: 4px 4px 0px rgba(0, 0, 0, 0.15);
  --nb-shadow-lg: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --nb-shadow-xl: 8px 8px 0px rgba(0, 0, 0, 0.25);

  /* Bold Neo-Brutalism Shadows */
  --bnb-shadow-sm: 4px 4px 0px rgba(0, 0, 0, 1);
  --bnb-shadow-md: 8px 8px 0px rgba(0, 0, 0, 1);
  --bnb-shadow-lg: 12px 12px 0px rgba(0, 0, 0, 1);
  --bnb-shadow-xl: 16px 16px 0px rgba(0, 0, 0, 1);
  
  /* Neo-Brutalism Borders */
  --nb-border-thin: 1px solid var(--nb-border);
  --nb-border-medium: 2px solid var(--nb-primary);
  --nb-border-thick: 3px solid var(--nb-primary);

  /* Bold Neo-Brutalism Borders */
  --bnb-border-thin: 2px solid var(--bnb-border);
  --bnb-border-medium: 4px solid var(--bnb-border);
  --bnb-border-thick: 8px solid var(--bnb-border);
  
  /* Neo-Brutalism Border Radius */
  --nb-radius-sm: 4px;
  --nb-radius-md: 8px;
  --nb-radius-lg: 12px;
  --nb-radius-xl: 16px;

  /* Bold Neo-Brutalism Border Radius */
  --bnb-radius-sm: 0px;
  --bnb-radius-md: 4px;
  --bnb-radius-lg: 8px;
  --bnb-radius-xl: 16px;
}

/* Bold Neo-Brutalism Typography */
.bnb-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.bnb-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bnb-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

/* Enhanced Landing Page Background with better alignment */
.landing-page {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 25px 25px;
  background-position: center center;
  min-height: 100vh;
  background-color: var(--bnb-background);
  max-width: 100%;
  overflow-x: hidden;
}

/* Main container improvements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive container adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
}

/* Header styles moved to header-improvements.css */

/* Brand section styles moved to header-improvements.css */

/* Header auth styles moved to header-improvements.css */

/* Bold Neo-Brutalism Buttons */
.bnb-btn {
  padding: var(--bnb-space-md) var(--bnb-space-lg);
  font-size: 1rem;
  font-weight: 700;
  border: var(--bnb-border-thin);
  border-radius: var(--bnb-radius-md);
  background: var(--bnb-background);
  color: var(--bnb-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bnb-space-sm);
  box-shadow: var(--bnb-shadow-sm);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 48px;
  white-space: nowrap;
  cursor: pointer;
}

.bnb-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--bnb-shadow-md);
  text-decoration: none;
}

.bnb-btn:active {
  transform: translateY(0);
  box-shadow: var(--bnb-shadow-sm);
}

.bnb-btn-primary {
  background: var(--bnb-primary);
  color: var(--bnb-background);
  border-color: var(--bnb-primary);
}

.bnb-btn-primary:hover {
  background: var(--bnb-secondary);
  border-color: var(--bnb-secondary);
}

.bnb-btn-secondary {
  background: var(--bnb-background);
  color: var(--bnb-text);
  border-color: var(--bnb-border);
}

.bnb-btn-secondary:hover {
  background: var(--bnb-surface);
  border-color: var(--bnb-primary);
}

/* Bold Neo-Brutalism Cards */
.bnb-card {
  background: var(--bnb-background);
  border: var(--bnb-border-thin);
  border-radius: var(--bnb-radius-md);
  padding: var(--bnb-space-lg);
  box-shadow: var(--bnb-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bnb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bnb-shadow-md);
}

.bnb-card-featured {
  border-color: var(--bnb-accent1);
  transform: scale(1.05);
  box-shadow: var(--bnb-shadow-lg);
}

/* Bold Neo-Brutalism Sections */
.bnb-section {
  padding: var(--bnb-space-2xl) 0;
  border-bottom: var(--bnb-border-thin);
  margin-bottom: var(--bnb-space-2xl);
  position: relative;
}

.bnb-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bnb-section-header {
  text-align: center;
  margin-bottom: var(--bnb-space-xl);
  padding: 0 var(--bnb-space-md);
  position: relative;
}

.bnb-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--bnb-space-md);
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--bnb-text);
}

.bnb-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background-color: var(--bnb-primary);
}

.bnb-section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--bnb-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 500;
  line-height: 1.5;
}

/* Bold Neo-Brutalism Grid */
.bnb-grid {
  display: grid;
  gap: var(--bnb-space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--bnb-space-md);
}

.bnb-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.bnb-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.bnb-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Bold Neo-Brutalism Hero Section */
.bnb-hero {
  text-align: center;
  padding: var(--bnb-space-2xl) 0;
  border-bottom: var(--bnb-border-thin);
  margin-bottom: var(--bnb-space-2xl);
  background: var(--bnb-background);
  position: relative;
  overflow: hidden;
}

.bnb-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 0;
}

.bnb-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--bnb-space-md);
  position: relative;
  z-index: 1;
}

.bnb-hero-logo {
  margin-bottom: var(--bnb-space-xl);
  display: flex;
  justify-content: center;
}

.bnb-hero-logo img, .logo-crisp {
  width: 120px;
  height: 120px;
  border: var(--bnb-border-thin);
  border-radius: var(--bnb-radius-lg);
  padding: var(--bnb-space-sm);
  background: var(--bnb-background);
  box-shadow: var(--bnb-shadow-md);
  transition: all 0.3s ease;
}

.bnb-hero-logo img:hover, .logo-crisp:hover {
  transform: scale(1.05);
  box-shadow: var(--bnb-shadow-lg);
}

.bnb-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--bnb-space-lg);
  line-height: 1.1;
  color: var(--bnb-text);
  position: relative;
}

.bnb-hero-title span {
  position: relative;
  display: inline-block;
  padding: 0 var(--bnb-space-sm);
}

.bnb-hero-title span::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--bnb-accent3);
  transform: skewX(-10deg);
  z-index: -1;
}

.bnb-hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--bnb-space-xl);
  color: var(--bnb-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-weight: 500;
}

.bnb-hero-cta {
  display: flex;
  gap: var(--bnb-space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--bnb-space-xl);
}

/* Bold Neo-Brutalism Pricing Cards */
.bnb-pricing-card {
  background: var(--bnb-background);
  border: var(--bnb-border-thin);
  border-radius: var(--bnb-radius-lg);
  padding: var(--bnb-space-xl);
  box-shadow: var(--bnb-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bnb-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bnb-shadow-md);
}

.bnb-pricing-card-featured {
  border-color: var(--bnb-accent1);
  transform: scale(1.02);
  box-shadow: var(--bnb-shadow-lg);
}

.bnb-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bnb-primary);
  color: var(--bnb-background);
  padding: var(--bnb-space-xs) var(--bnb-space-md);
  border-radius: var(--bnb-radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bnb-pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--bnb-space-md);
  color: var(--bnb-text);
  text-align: center;
}

.bnb-pricing-price {
  text-align: center;
  margin-bottom: var(--bnb-space-lg);
}

.bnb-pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--bnb-text);
  display: block;
}

.bnb-pricing-period {
  font-size: 1rem;
  color: var(--bnb-text-secondary);
  font-weight: 500;
}

.bnb-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--bnb-space-lg) 0;
  flex-grow: 1;
}

.bnb-pricing-features li {
  padding: var(--bnb-space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--bnb-space-sm);
  font-size: 1rem;
  color: var(--bnb-text);
}

.bnb-pricing-features li i {
  color: var(--bnb-success);
  font-size: 1.125rem;
}

.bnb-pricing-card-featured .bnb-pricing-features li {
  color: var(--bnb-text-secondary) !important;
}

.bnb-pricing-card-featured .bnb-pricing-title {
  color: var(--bnb-primary) !important;
}

.bnb-pricing-card-featured .bnb-pricing-amount {
  color: var(--bnb-primary) !important;
}

.bnb-pricing-card-featured .bnb-pricing-period {
  color: var(--bnb-text-secondary) !important;
}

.bnb-pricing-card-featured .bnb-pricing-features li i {
  color: var(--bnb-accent3) !important;
}

/* Force Pro plan features text to be visible - highest specificity */
.bnb-pricing-card.bnb-pricing-card-featured .bnb-pricing-features li {
  color: var(--bnb-text-secondary) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.bnb-pricing-card.bnb-pricing-card-featured .bnb-pricing-title {
  color: var(--bnb-primary) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.bnb-pricing-card.bnb-pricing-card-featured .bnb-pricing-amount {
  color: var(--bnb-primary) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.bnb-pricing-card.bnb-pricing-card-featured .bnb-pricing-period {
  color: var(--bnb-text-secondary) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force Pro plan beta notice to be visible with highest specificity */
.bnb-pricing-card.bnb-pricing-card-featured .beta-notice {
  color: var(--bnb-accent1) !important;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  text-align: center;
}

.bnb-pricing-card-featured .bnb-pricing-features li i {
  color: var(--bnb-accent3);
}

/* Pricing card button styling */
.bnb-pricing-card .bnb-btn {
  width: 100%;
  margin-top: auto;
}

.bnb-pricing-card .bnb-btn-primary {
  background: var(--bnb-primary);
  color: var(--bnb-background);
  border-color: var(--bnb-primary);
}

.bnb-pricing-card .bnb-btn-primary:hover {
  background: var(--bnb-secondary);
  border-color: var(--bnb-secondary);
}

.bnb-pricing-card .bnb-btn-secondary {
  background: var(--bnb-background);
  color: var(--bnb-text);
  border-color: var(--bnb-border);
}

.bnb-pricing-card .bnb-btn-secondary:hover {
  background: var(--bnb-surface);
  border-color: var(--bnb-primary);
}

/* Bold Neo-Brutalism CTA Section */
.bnb-cta {
  background: var(--bnb-surface);
  border: var(--bnb-border-thin);
  border-radius: var(--bnb-radius-lg);
  padding: var(--bnb-space-3xl);
  text-align: center;
  margin: var(--bnb-space-2xl) 0;
}

.bnb-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.bnb-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--bnb-space-lg);
  color: var(--bnb-text);
  font-weight: 700;
}

.bnb-cta-message {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: var(--bnb-space-xl);
  color: var(--bnb-text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bnb-cta-actions {
  display: flex;
  gap: var(--bnb-space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Bold Neo-Brutalism Attribution Footer */
.bnb-attribution {
  text-align: center;
  padding: var(--bnb-space-xl) 0;
  border-top: var(--bnb-border-medium);
  margin-top: var(--bnb-space-3xl);
  background: var(--bnb-background);
}

.bnb-attribution p {
  margin: 0;
  color: var(--bnb-text);
  font-size: 1rem;
  font-weight: 500;
}

.bnb-attribution a {
  color: var(--bnb-primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--bnb-primary);
}

.bnb-attribution a:hover {
  color: var(--bnb-accent1);
  border-bottom-color: var(--bnb-accent1);
}

/* Bold Neo-Brutalism Dashboard Styles */
.bnb-dashboard {
  background: var(--bnb-background);
  min-height: 100vh;
  position: relative;
}

.bnb-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 0;
}

.bnb-dashboard-header {
  border-bottom: var(--bnb-border-medium);
  padding: var(--bnb-space-md) 0;
  background: var(--bnb-background);
  box-shadow: var(--bnb-shadow-sm);
  position: relative;
  z-index: 1;
}

.bnb-dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--bnb-space-md);
  position: relative;
  z-index: 1;
}

.bnb-dashboard-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bnb-space-md);
  min-height: 60px;
}

.bnb-dashboard-brand {
  text-decoration: none;
  color: var(--bnb-primary);
  font-weight: 900;
  font-size: 2rem;
  font-family: 'Press Start 2P', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bnb-dashboard-brand:hover {
  color: var(--bnb-accent1);
  text-decoration: none;
}

.bnb-dashboard-actions {
  display: flex;
  align-items: center;
  gap: var(--bnb-space-md);
}

.bnb-dashboard-btn {
  background: var(--bnb-surface);
  border: var(--bnb-border-medium);
  color: var(--bnb-text);
  padding: var(--bnb-space-sm) var(--bnb-space-md);
  border-radius: var(--bnb-radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--bnb-space-sm);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--bnb-shadow-sm);
}

.bnb-dashboard-btn:hover {
  background: var(--bnb-primary);
  color: var(--bnb-background);
  transform: translateY(-4px);
  box-shadow: var(--bnb-shadow-md);
}

.bnb-dashboard-btn i {
  font-size: 1rem;
}

/* Bold Neo-Brutalism Main Container */
.bnb-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--bnb-space-xl) var(--bnb-space-md);
  min-height: calc(100vh - 100px);
  position: relative;
  z-index: 1;
}

/* Bold Neo-Brutalism Playground Section */
.bnb-playground {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 160px);
  background: var(--bnb-background);
  border: var(--bnb-border-medium);
  border-radius: var(--bnb-radius-md);
  overflow: hidden;
  box-shadow: var(--bnb-shadow-lg);
  position: relative;
}

.bnb-playground-header {
  padding: var(--bnb-space-lg) var(--bnb-space-xl);
  border-bottom: var(--bnb-border-medium);
  background: var(--bnb-surface);
  position: relative;
}

.bnb-playground-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bnb-space-md);
}

.bnb-playground-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bnb-text);
  display: flex;
  align-items: center;
  gap: var(--bnb-space-md);
  text-transform: uppercase;
}

.bnb-playground-canvas {
  flex: 1;
  position: relative;
  background: var(--bnb-background);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: var(--bnb-space-xl);
  padding: var(--bnb-space-xl);
}

/* Bold Neo-Brutalism Sources Section */
.bnb-sources {
  width: 350px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  max-height: calc(100vh - 120px);
  gap: var(--bnb-space-md);
}

.bnb-sources-header {
  background: var(--bnb-background);
  border: var(--bnb-border-medium);
  border-radius: var(--bnb-radius-md);
  padding: var(--bnb-space-lg);
  box-shadow: var(--bnb-shadow-md);
}

.bnb-sources-title {
  font-weight: 700;
  margin: 0 0 var(--bnb-space-md) 0;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bnb-text);
  text-transform: uppercase;
}

.bnb-sources-list {
  flex: 1;
  overflow-y: auto;
  background: var(--bnb-background);
  border: var(--bnb-border-medium);
  border-radius: var(--bnb-radius-md);
  padding: var(--bnb-space-xl);
  min-height: 0;
  box-shadow: var(--bnb-shadow-md);
  position: relative;
}

.bnb-source-item {
  background: var(--bnb-background);
  border: var(--bnb-border-medium);
  border-radius: var(--bnb-radius-md);
  padding: var(--bnb-space-lg);
  margin-bottom: var(--bnb-space-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--bnb-shadow-sm);
}

.bnb-source-item:hover {
  background: var(--bnb-surface);
  transform: translateY(-4px);
  box-shadow: var(--bnb-shadow-md);
}

.bnb-source-item.selected {
  border-color: var(--bnb-accent1);
  background: var(--bnb-surface);
  box-shadow: var(--bnb-shadow-md);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .bnb-hero {
    padding: var(--bnb-space-xl) 0;
    margin-bottom: var(--bnb-space-xl);
  }
  
  .bnb-section {
    padding: var(--bnb-space-xl) 0;
    margin-bottom: var(--bnb-space-xl);
  }
  
  .bnb-grid-2,
  .bnb-grid-3,
  .bnb-grid-4 {
    grid-template-columns: 1fr;
    gap: var(--bnb-space-md);
  }
  
  .bnb-hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--bnb-space-md);
  }
  
  .bnb-hero-cta .bnb-btn-primary {
    width: 100%;
    max-width: 320px;
  }
  
  .bnb-cta {
    padding: var(--bnb-space-xl);
    margin: var(--bnb-space-xl) 0;
  }
  
  .bnb-cta-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--bnb-space-md);
  }
  
  .bnb-cta-actions .bnb-btn {
    width: 100%;
    max-width: 320px;
  }
  
  .bnb-dashboard-content {
    flex-direction: column;
    gap: var(--bnb-space-sm);
    align-items: flex-start;
  }
  
  .bnb-dashboard-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .bnb-main-container {
    padding: var(--bnb-space-md) var(--bnb-space-sm);
  }
  
  .bnb-playground {
    height: 60vh;
    min-height: 400px;
  }
  
  .bnb-sources {
    width: 100%;
    height: auto;
    max-height: 40vh;
  }
  
  /* Mobile pricing card improvements */
  .bnb-pricing-card {
    min-height: auto;
    padding: var(--bnb-space-lg);
    margin-bottom: var(--bnb-space-md);
  }
  
  .bnb-pricing-card-featured {
    transform: none;
    order: -1;
  }
  
  .bnb-pricing-title {
    font-size: 1.6rem;
    margin: var(--bnb-space-md) 0 var(--bnb-space-sm) 0;
  }
  
  .bnb-pricing-amount {
    font-size: 2.5rem;
  }
  
  .bnb-pricing-features {
    margin-bottom: var(--bnb-space-lg);
  }
  
  .bnb-pricing-features li {
    font-size: 1rem;
    min-height: 2rem;
    padding: var(--bnb-space-xs) 0;
  }
  
  .bnb-pricing-features li i {
    font-size: 1rem;
  }
  
  .bnb-dashboard-brand {
    font-size: 1.4rem;
  }
  
  .bnb-dashboard-btn {
    padding: var(--bnb-space-sm);
    font-size: 0.8rem;
  }
  
  .bnb-main-container {
    padding: var(--bnb-space-sm) var(--bnb-space-xs);
  }
}

@media (max-width: 480px) {
  .bnb-container {
    padding: var(--bnb-space-sm) var(--bnb-space-xs);
  }
  
  .bnb-hero {
    padding: var(--bnb-space-lg) 0;
  }
  
  .bnb-hero-logo img {
    width: 80px;
    height: 80px;
  }
  
  .bnb-card {
    padding: var(--bnb-space-lg);
  }
  
  .bnb-pricing-card {
    padding: var(--bnb-space-md);
    min-height: auto;
  }
  
  .bnb-pricing-title {
    font-size: 1.4rem;
    margin: var(--bnb-space-sm) 0 var(--bnb-space-xs) 0;
  }
  
  .bnb-pricing-amount {
    font-size: 2rem;
  }
  
  .bnb-pricing-period {
    font-size: 1rem;
  }
  
  .bnb-pricing-features li {
    font-size: 0.95rem;
    min-height: 1.8rem;
    gap: var(--bnb-space-sm);
  }
  
  .bnb-pricing-features li i {
    font-size: 1rem;
  }
  
  .bnb-dashboard-brand {
    font-size: 1.4rem;
  }
  
  .bnb-dashboard-btn {
    padding: var(--bnb-space-sm);
    font-size: 0.8rem;
  }
  
  .bnb-main-container {
    padding: var(--bnb-space-sm) var(--bnb-space-xs);
  }
}

/* Focus States for Accessibility */
.bnb-btn:focus,
.bnb-card:focus,
.bnb-pricing-card:focus {
  outline: 2px solid var(--bnb-accent2);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .bnb-btn,
  .bnb-card,
  .bnb-pricing-card {
    transition: none;
  }
  
  .bnb-btn:hover,
  .bnb-card:hover,
  .bnb-pricing-card:hover {
    transform: none;
  }
}