:root {
    --bg-body: #0d1117;
    --bg-sidebar: #161b22;
    --bg-card: #161b22;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --border: #30363d;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* Layout */
.app-container { display: grid; min-height: 100vh; }
@media (min-width: 768px) {
    .app-container { grid-template-columns: 280px 1fr; }
    .sidebar { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--border); }
}

/* Sidebar */
.sidebar {
    background: var(--bg-sidebar);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.profile-img {
    width: 100px; height: 100px; border-radius: 50%;
    border: 2px solid var(--accent); margin-bottom: 1rem;
}
.sidebar h1 { font-size: 1.4rem; color: #fff; font-family: var(--font-mono); }
.sidebar .role { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; font-family: var(--font-mono); }
.sidebar nav a {
    display: block; color: var(--text-muted); text-decoration: none;
    margin-top: 0.5rem; transition: 0.2s; font-family: var(--font-mono); font-size: 0.9rem;
}
.sidebar nav a:hover { color: var(--accent); padding-left: 5px; }

/* Main Content */
.content { padding: 3rem; max-width: 900px; }
h2 { color: #fff; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin: 2.5rem 0 1.5rem 0; font-family: var(--font-mono); font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-main); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Skills Tags */
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.skill-tag {
    background: var(--border); color: var(--text-main);
    padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8rem; font-family: var(--font-mono);
}

/* Project Grid */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.project-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 1.5rem; border-radius: 6px; transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.project-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.project-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.project-link { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; }

/* Publications List */
.pub-item { margin-bottom: 1rem; border-left: 2px solid var(--border); padding-left: 1rem; }
.pub-title { color: #fff; font-weight: 600; display: block; }
.pub-meta { font-size: 0.9rem; color: var(--text-muted); font-style: italic; }

/* Mobile */
@media (max-width: 768px) {
    .content { padding: 1.5rem; }
    .sidebar { border-bottom: 1px solid var(--border); }
}