:root {
  /* Color System (Quiet Luxury & Engineering) */
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-card: #0a0a0a;
  --bg-card-hover: #0f0f0f;
  
  /* Ultra-thin architectural lines */
  --border-color: rgba(255, 255, 255, 0.03);
  --border-color-hover: rgba(255, 255, 255, 0.07);
  --border-active: rgba(255, 122, 0, 0.2);
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #8e8e93;
  --text-muted: #3a3a3c;
  
  /* Linha de Engenharia™ (Orangecondutores) */
  --accent-color: #ff7a00;
  --accent-hover: #e06c00;
  --accent-glow: rgba(255, 122, 0, 0.1);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Spacing (8px Grid System) */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;    /* 16px */
  --spacing-md: 1.5rem;  /* 24px */
  --spacing-lg: 3rem;    /* 48px */
  --spacing-xl: 6rem;    /* 96px */
  --spacing-xxl: 8rem;   /* 128px */
  
  --max-width: 1512px;
  --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: auto; /* Handled by Lenis smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Fine structural dot-pattern background (CAD Sheet texture) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}
