/* ========================================================
   DAPPLESOFT NEXUS DESIGN SYSTEM - DESIGN TOKENS & RESET
   ======================================================== */

:root {
  color-scheme: light;
  /* Clean Slate Executive Light Theme */
  --bg-primary: #f8fafc;
  --bg-main: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-surface: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: #f1f5f9;
  --hover-color: #f1f5f9;
  --active-color: #e2e8f0;
  
  --border-color: #cbd5e1;
  --border-subtle: #e2e8f0;
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-success: #059669;
  --accent-warning: #d97706;
  --accent-danger: #dc2626;
  --accent-purple: #7c3aed;

  --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --modal-backdrop: rgba(15, 23, 42, 0.4);

  --font-sans: 'Hind Siliguri', 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif;
  --font-mono: 'Fira Code', Consolas, Monaco, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #0a0d14;
  --bg-main: #0a0d14;
  --bg-secondary: #101522;
  --bg-tertiary: #171f30;
  --bg-card: #131a2a;
  --bg-surface: #171f30;
  --bg-input: #101522;
  --bg-hover: #1c273e;
  --hover-color: #1c273e;
  --active-color: #1e293b;
  
  --border-color: #334155;
  --border-subtle: #1e293b;
  --border-focus: #3b82f6;

  --text-main: #f1f5f9;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-purple: #8b5cf6;

  --card-shadow: none;
  --card-shadow-hover: none;
  --modal-backdrop: rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  width: 100%;
}
