@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --bg: #04060c;
  --surface-1: #0b1120;
  --surface-2: #111a2e;
  --surface-3: #182440;
  --border: #1a2744;
  --border-hover: #243660;
  --text-primary: #e8ecf4;
  --text-secondary: #8a98b4;
  --text-muted: #4a5a78;
  --accent: #00d4ff;
  --blue: #2d8cf0;
  --purple: #a878ff;
  --green: #00e67a;
  --red: #ff3858;
  --amber: #ffb020;
  --orange: #ff7030;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  background: #04060c;
  color: #e8ecf4;
  font-family: 'Instrument Sans', 'SF Pro Display', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  overflow-x: hidden;
}
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #1f2f50;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d3d58;
}
/* Input range styling */
input[type='range'] {
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #182440;
  border-radius: 2px;
  outline: none;
  width: 100%;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00d4ff;
  cursor: pointer;
  transition: background 0.15s;
}
input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00d4ff;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
input[type='range']::-webkit-slider-thumb:hover {
  background: #00b8d4;
}
input[type='range']::-moz-range-thumb:hover {
  background: #00b8d4;
}
/* Text input styling */
input[type='text'],
input[type='email'],
input[type='password'],
textarea {
  font-family: 'Instrument Sans', -apple-system, sans-serif;
}
/* Selection styling */
::selection {
  background: #00d4ff;
  color: #04060c;
}
::-moz-selection {
  background: #00d4ff;
  color: #04060c;
}
/* Links */
a {
  color: #00d4ff;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: #00b8d4;
}
/* Base animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Form inputs ───────────────────────────────────────────── */
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input, textarea, select {
  font-family: var(--font-body);
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}
/* Root element */
#root {
  min-height: 100vh;
}
