:root {
  --bg: #0f1117;
  --bg-card: #181a20;
  --text: #e4e4e7;
  --text-muted: #9ca3af;
  --accent: #60a5fa;
  --accent-dim: #2563eb;
  --border: #23262f;
  --font: 'Inter UI', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
nav {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
nav .logo { font-weight: 700; font-size: 1.1rem; color: var(--text); }
nav .logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 1.5rem; }
nav ul a { color: var(--text-muted); font-size: 0.9rem; }
nav ul a:hover, nav ul a.active { color: var(--accent); text-decoration: none; }

/* HERO */
.hero { padding: 5rem 0 3rem; }
.hero h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; }
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  margin: 0.5rem 0 1.5rem;
  font-weight: 500;
}
.hero p { color: var(--text-muted); max-width: 600px; font-size: 1rem; }
.socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.socials a {
  color: var(--text-muted);
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 20px; height: 20px; }

/* SECTIONS */
section { padding: 3rem 0; }
section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* SKILLS */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.skill-group h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 0.5rem; }
.skill-group ul { list-style: none; }
.skill-group li { color: var(--text-muted); font-size: 0.95rem; padding: 0.15rem 0; }

/* TIMELINE */
.timeline-item {
  border-left: 2px solid var(--border);
  padding: 0 0 2.5rem 1.5rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -6px; top: 4px;
}
.timeline-item h3 { font-size: 1.1rem; font-weight: 600; }
.timeline-item .meta { color: var(--accent); font-size: 0.85rem; margin: 0.25rem 0 0.75rem; }
.timeline-item ul { list-style: disc; padding-left: 1.2rem; }
.timeline-item li { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.4rem; }

/* BLOG CARDS */
.blog-list { display: flex; flex-direction: column; gap: 1rem; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--accent); text-decoration: none; }
.blog-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; }
.blog-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: #fff;
  margin-top: 0.75rem;
}

/* OSS */
.oss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.oss-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.oss-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.oss-card p { color: var(--text-muted); font-size: 0.85rem; }

/* FOOTER */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .oss-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
}
