:root {
  --bg-primary: #080b12;
  --bg-surface: #101522;
  --bg-card: #141b2b;
  --bg-input: #111827;
  --bg-hover: #1b263b;
  
  --border-subtle: #253149;
  --border-focus: #6b9cff;
  
  --text-main: #f5f7fb;
  --text-muted: #a6b1c4;
  --text-dim: #71809a;
  
  --accent-primary: #477cf5;
  --accent-primary-hover: #3568df;
  --accent-glow: rgba(71, 124, 245, 0.28);
  
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  
  --font-heading: 'Aptos Display', 'Segoe UI', sans-serif;
  --font-body: 'Aptos', 'Segoe UI', sans-serif;
  --font-mono: 'Cascadia Mono', 'Consolas', monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);
  
  --trans-fast: 0.15s ease;
  --trans-normal: 0.3s ease;
  --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible, a:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid rgba(107, 156, 255, 0.85);
  outline-offset: 3px;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

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

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
