:root {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-color: #f8fafc;
  --accent-color: #38bdf8;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: var(--card-bg);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.logo {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--accent-color);
  text-decoration: none;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--accent-color);
}

main {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--bg-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  opacity: 0.9;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid #334155;
}

.skills-grid, .form-group {
  margin-bottom: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--card-bg);
  border: 1px solid #334155;
  color: var(--text-color);
  border-radius: 0.375rem;
  margin-top: 0.5rem;
}

.alert { padding: 10px; margin-bottom: 15px; border-radius: 4px; }
        .alert.error { background-color: #f8d7da; color: #721c24; }
        .alert.success { background-color: #d4edda; color: #155724; }
        