/* ============================================
   CSS Custom Properties / Design Tokens
   ============================================ */
:root {
  --color-dark: #0F172A;
  --color-navy: #1E293B;
  --color-indigo: #6366F1;
  --color-emerald: #10B981;
  --color-amber: #F59E0B;
}

/* ============================================
   Base Styles
   ============================================ */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #0F172A;
  color: #E2E8F0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

/* ============================================
   Selection Styles
   ============================================ */
::selection {
  background-color: rgba(99, 102, 241, 0.3);
  color: white;
}

/* ============================================
   Scrollbar Styles
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6366F1;
}

.gradient-text {
  background: linear-gradient(135deg, #6366F1, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-light {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-grid {
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.3) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ============================================
   Responsive & Focus
   ============================================ */
@media (max-width: 640px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
}

:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
  border-radius: 4px;
}

a, button {
  transition-property: color, background-color, border-color, transform, box-shadow, opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

@media print {
  .fixed, .sticky { position: static; }
  .no-print { display: none; }
}
