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

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

:root {
  --bg: #0a0d0f;
  --surface: #111417;
  --surface2: #181c20;
  --border: #2a2f36;
  --accent: #00d4aa;
  --accent2: #4f8ef7;
  --text: #e8eaed;
  --muted: #8a9099;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans), serif;
  min-height: 100vh;
}

/* NAV */
nav {
  background: rgba(10,13,15,0.97);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-top {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 6px;
  font-family: var(--mono), serif;
  font-size: 13px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.nav-top::-webkit-scrollbar { display: none; }

.path-root { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.path-root:hover { color: var(--accent); }
.path-sep { color: #3a4048; user-select: none; }
.path-current { color: var(--accent); font-weight: 700; }

.nav-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--border);
}
.nav-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--mono), serif;
  font-size: 12px;
  padding: 0 16px;
  height: 38px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  border-right: 1px solid var(--border);
  transition: all 0.15s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--surface); }

/* PAGE WRAPPER */
.page { padding: 3.5rem 2rem; max-width: 900px; margin: 0 auto; animation: fadeIn 0.25s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* TYPOGRAPHY */
.section-label {
  font-family: var(--mono), serif;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.section-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* BUTTONS */
.btn {
  font-family: var(--mono), serif;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: #0a0d0f; font-weight: 700; }
.btn-primary:hover { background: #00ffe6; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* TERMINAL BLOCK */
.terminal-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  font-family: var(--mono), serif;
  font-size: 13px;
  color: #cdd6f4;
  margin-top: 2.5rem;
  line-height: 1.9;
}
.terminal-bar { display: flex; gap: 6px; margin-bottom: 1rem; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #f38ba8; }
.dot-y { background: #f9e2af; }
.dot-g { background: #a6e3a1; }
.t-path { color: var(--accent); }
.t-cmd { color: var(--accent2); }
.t-out { color: var(--muted); }

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.mission-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* FORM */
.form-area { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin-top: 2rem; }
.form-area label {
  font-family: var(--mono), serif; font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
.form-area input, .form-area textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--sans), serif;
  font-size: 14px;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-area input:focus, .form-area textarea:focus { border-color: var(--accent); }
.form-area textarea { min-height: 90px; resize: vertical; }
