/* Global Styles */
:root {
  --primary: #2563eb;
  --secondary: #64748b;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
.site-header {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* Main */
.main-content { max-width: 1000px; margin: 0 auto; padding: 3rem 2rem; }

/* Hero */
.hero {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
}

.hero-text h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.position { color: var(--primary); font-weight: 500; margin-bottom: 0.5rem; }
.bio { color: var(--text-light); max-width: 600px; }

.interests { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.tag { background: var(--bg-alt); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; }
.tag.highlight { background: #fef3c7; color: #92400e; }

.links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: 6px;
  background: var(--primary); color: white; text-decoration: none; font-weight: 500; font-size: 0.85rem;
}
.btn.secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
.btn.scholar { background: #4285f4; }
.btn.scholar:hover { background: #357ae8; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 3rem;
}
.stat {
  text-align: center; padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius);
}
.stat .num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat .label { color: var(--text-light); font-size: 0.9rem; }

/* Sections */
.section { margin-bottom: 3rem; }
.section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; }

/* Publications */
.pub-list { display: flex; flex-direction: column; gap: 1.5rem; }
.pub { padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.pub h3 { margin: 0.5rem 0; font-size: 1.1rem; }
.pub .authors { color: var(--text-light); font-size: 0.9rem; }
.badge { 
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; 
  font-size: 0.8rem; font-weight: 500;
}
.badge.spotlight { background: #dbeafe; color: #1e40af; }
.badge.oral { background: #fef3c7; color: #92400e; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.timeline .item { display: flex; gap: 1.5rem; }
.timeline .date { width: 120px; color: var(--text-light); font-weight: 500; flex-shrink: 0; }
.timeline .content h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline .content p { color: var(--text-light); }

/* Services */
.services { list-style: none; }
.services li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }

/* Footer */
.site-footer {
  text-align: center; padding: 2rem; color: var(--text-light); font-size: 0.9rem;
  border-top: 1px solid var(--border); margin-top: 3rem;
}

/* Blog Page */
.blog-header { text-align: center; margin-bottom: 3rem; }
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-item { padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.blog-item h2 { margin-bottom: 0.5rem; }
.blog-item .meta { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero { flex-direction: column; align-items: center; text-align: center; }
  .links { justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .timeline .item { flex-direction: column; gap: 0.5rem; }
  .timeline .date { width: auto; }
}
