:root {
  --bg: #09090b;
  --surface-low: #18181b;
  --surface-mid: #27272a;
  --surface-high: #3f3f46;
  --text: #fafafa;
  --muted: #a1a1aa;
  --primary: #3b82f6;
  --border: #27272a;
  --success: #22c55e;
  --error: #ef4444;
  --radius: 0.5rem;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--surface-low);
}

.card {
  background: var(--surface-low);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary);
}

/* Navigation */
nav {
  height: 4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary);
}

/* RTS Bar */
.rts-bar {
  background: #000;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: monospace;
  padding: 0.25rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.rts-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.success-banner {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  padding: 1rem;
  border: 1px solid var(--success);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.error-list {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  padding: 1rem;
  border: 1px solid var(--error);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  list-style: none;
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}
