/* css/theme.css */
:root {
  /* Brand & Theme Colors */
  --primary-color: #0d6efd;
  --primary-dark: #0a58ca;
  --accent-color: #ffc107;
  --dark-bg: #0b0f19;
  --dark-topbar-bg: #060911;
  --neon-blue: #00f0ff;
  --light-bg: #f8f9fa;

  /* Typography Colors */
  --text-light: #e2e8f0;
  --text-dark: #212529;
  --text-muted: #94a3b8;

  /* Layout & Utility Tokens */
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Additional Reactive & Fluid Tokens */
  --primary: #0f172a;
  --accent: #2563eb;
  --success: #059669;
  --bg-main: #f8fafc;
  --text-main: #0f172a;
  --border-color: #cbd5e1;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Fluid Box-Sizing & Viewport Reset */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  max-width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Global Accessibility Focus Ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}