:root {
  /* Abyss Theme Colors */
  --bg-dark: #0a0e17;
  /* Deep ocean */
  --bg-panel: #141b2d;
  /* Slightly lighter panel */
  --bg-card: #1c2640;
  /* Card background */

  --accent-primary: #00d2ff;
  /* Cyan/Electric Blue */
  --accent-secondary: #00ff9d;
  /* Sea Green */
  --accent-glow: rgba(0, 210, 255, 0.4);

  --text-main: #e0f7ff;
  --text-sub: #8ca8bd;
  --text-muted: #5a7080;

  --border-color: #2a3b55;
  --border-hover: #00d2ff;

  /* Spacing */
  --nav-height: 64px;
  --container-width: 1200px;

  /* Fonts */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* For numbers/calculators */
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll from animations */
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #0077ff);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-primary);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.9rem;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}