/* ========== ZENITH SYSTEM DESIGN SYSTEM ========== */
:root {
  --zenith-bg: #0a0a0f;
  --zenith-surface: #111118;
  --zenith-card: #16161f;
  --zenith-border: #1e1e2a;
  --zenith-text: #e4e4ec;
  --zenith-muted: #6b6b80;
  --zenith-accent: #7c3aed;
  --zenith-accent-glow: #a78bfa;
  --zenith-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--zenith-bg);
  color: var(--zenith-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Glass morphism panels */
.glass {
  background: rgba(22, 22, 31, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.glass-hover:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient text */
.gradient-text {
  background: var(--zenith-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow effects */
.glow-purple {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.glow-blue {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.btn-primary {
  background: var(--zenith-gradient);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--zenith-text);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--zenith-border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

/* Badge / Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-sm { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-md { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.2); }
.badge-lg { background: rgba(124, 58, 237, 0.1); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.2); }
.badge-xl { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-ent { background: rgba(148, 163, 184, 0.1); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.2); }
.badge-frontier { background: rgba(244, 63, 94, 0.1); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.2); }

/* Model cards */
.model-card {
  background: var(--zenith-card);
  border: 1px solid var(--zenith-border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}

.model-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.2);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  color: var(--zenith-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* Section headings */
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* Form elements */
input, select, textarea {
  background: var(--zenith-surface);
  border: 1px solid var(--zenith-border);
  color: var(--zenith-text);
  padding: 12px 16px;
  border-radius: 10px;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--zenith-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--zenith-muted);
  margin-bottom: 6px;
  font-weight: 500;
}