/* ============================================
   FASTWEBIFY DESIGN SYSTEM
   ============================================ */

:root {
  /* Color — Dark base with electric cyan accent */
  --bg-0: #07080a;        /* deepest */
  --bg-1: #0c0e12;        /* page bg */
  --bg-2: #11141a;        /* surface */
  --bg-3: #181c24;        /* elevated */
  --bg-4: #20252f;        /* hover */

  --line: rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);

  --fg-0: #f5f7fa;        /* primary text */
  --fg-1: #c5cad3;        /* secondary */
  --fg-2: #8b919d;        /* tertiary */
  --fg-3: #5a606b;        /* muted */

  /* Accent — electric cyan */
  --accent: #00e5ff;
  --accent-bright: #5cf3ff;
  --accent-dim: oklch(0.78 0.15 200 / 0.15);
  --accent-glow: oklch(0.85 0.18 200 / 0.4);

  /* Secondary accent — for variation */
  --violet: #b794ff;
  --lime: #c8ff5a;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-glow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 0 40px rgba(0, 229, 255, 0.15);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; }
body { margin: 0; }

/* Utility classes */
.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); }

/* Grid bg pattern */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dot-bg {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glow effects */
.accent-glow {
  box-shadow: 0 0 60px -10px var(--accent-glow);
}

/* Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes type {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-4); }
