/* ==========================================================================
   RakMind Labs - Global Design System Tokens & Base Styles
   ========================================================================== */

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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Primary Palettes */
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-primary-light: rgba(59, 130, 246, 0.1);
  --color-accent: #06b6d4;
  --color-accent-purple: #8b5cf6;
  --color-accent-amber: #f59e0b;
  --color-accent-rose: #f43f5e;
  --color-accent-emerald: #10b981;

  /* Neutrals (Dark Slate Theme default for Simulations) */
  --bg-dark: #090d16;
  --bg-dark-surface: #0f172a;
  --bg-dark-card: #1e293b;
  --bg-dark-border: rgba(148, 163, 184, 0.12);
  --text-dark-primary: #f8fafc;
  --text-dark-secondary: #94a3b8;
  --text-dark-muted: #64748b;

  /* Light Theme */
  --bg-light: #f8fafc;
  --bg-light-surface: #ffffff;
  --bg-light-card: #ffffff;
  --bg-light-border: #e2e8f0;
  --text-light-primary: #0f172a;
  --text-light-secondary: #475569;
  --text-light-muted: #94a3b8;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 24px -4px rgba(59, 130, 246, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button, input, select {
  font-family: inherit;
}

/* Background Grids */
.grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.font-mono {
  font-family: var(--font-mono);
}
