:root {
  --bg: #0b1220;
  --panel: #111827;
  --panel-2: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: #243041;
  --accent: #60a5fa;
  --accent-2: #93c5fd;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.98rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.card {
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(147,197,253,0.28);
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }

.lead {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 58ch;
}

.muted { color: var(--muted); }

.actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(37,99,235,0.45);
}

.button:hover { text-decoration: none; transform: translateY(-1px); }

.stat-list,
.info-list,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-list li,
.info-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-list li:last-child,
.info-list li:last-child { border-bottom: 0; }

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

section {
  padding: 1rem 0 2.4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #dbeafe;
  font-size: 0.92rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.timeline-item p,
.timeline-item ul { margin: 0.4rem 0 0; }

.timeline-item ul {
  padding-left: 1.1rem;
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-header {
  padding: 3rem 0 1.3rem;
}

.resume-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-section {
  margin-bottom: 1.8rem;
}

.resume-entry {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.resume-entry:first-child { border-top: 0; }

.resume-entry-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.small { font-size: 0.95rem; }

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 3.5rem; }
}
