:root {
  --bg: #121212;
  --card-bg: #1e1e1e;
  --border: #333333;
  --text: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent: #64b5f6;
  --tag-bg: #2a2a2a;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 40px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.brand {
  font-family: var(--font-mono);
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
  background-color: #1e1e1e;
  padding-top: 10px;
  padding-bottom: 10px;
}

.section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

h1 { font-size: 2.2rem; margin-bottom: 5px; }
h2 { font-size: 1.5rem; color: var(--accent); margin-bottom: 20px; font-family: var(--font-mono); }
h3 { font-size: 1.1rem; color: var(--text); }

.tagline {
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 15px;
}

.bio { margin-bottom: 20px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}

.date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.job-item, .edu-item {
  margin-bottom: 25px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

ul {
  padding-left: 20px;
  margin: 10px 0;
}

li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background: var(--tag-bg);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.links-container a {
  display: inline-block;
  margin-right: 30px;
  font-family: var(--font-mono);
}

.footer {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
}

.icon-link svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  right: 2px;
  top: -2.5px;
}

.icon-link:hover {
  text-decoration: underline;
}

/* Print Stylesheet for Ctrl+P PDF export */
@media print {
  .no-print { display: none !important; }
  body { background: white; color: black; }
  .container { padding: 0; max-width: 100%; }
  .section { border-bottom: 1px solid #ccc; padding: 20px 0; }
  .card { border: none; background: transparent; padding: 0; }
  h2, .brand, .tag { color: black; }
  .tag { border: 1px solid #ccc; }
}
