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

:root {
  --bg:        #0d0d14;
  --bg-card:   #13131f;
  --bg-hover:  #1a1a2a;
  --border:    #1f1f32;
  --text:      #e2e2f0;
  --muted:     #6b6b8a;
  --accent:    #9b6dff;
  --accent-dim:#6b41d4;
  --accent-glow: rgba(155, 109, 255, 0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ── SECTIONS ── */
section {
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

section:first-of-type { padding-top: 10rem; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3rem;
}

/* ── HERO ── */
#hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-greeting {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.hero-name {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-title span {
  color: var(--accent);
  font-weight: 500;
}

.hero-bio {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-bio a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.hero-bio a:hover {
  border-color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 3rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.social-links a:hover { color: var(--accent); }

/* ── DIVIDER ── */
.section-divider {
  max-width: 860px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── EXPERIENCE ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 2rem;
  padding: 2rem 0 2rem 2rem;
  position: relative;
  transition: background 0.2s;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 2.6rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  transition: background 0.2s, box-shadow 0.2s;
}

.tl-item:hover::before {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.tl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  padding-top: 0.2rem;
  line-height: 1.4;
}

.tl-body {}

.tl-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.tl-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.tl-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CONTACT ── */
#contact {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 8rem;
}

#contact h2 {
  margin-bottom: 1rem;
}

.contact-sub {
  color: var(--muted);
  font-size: 0.975rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-email:hover { border-color: var(--accent); }

.contact-links {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ── SVG ICONS (inline, no external dep) ── */
.icon {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 1rem 1.2rem; }
  .nav-links { gap: 1.2rem; }
  section { padding: 4rem 1.2rem; }
  section:first-of-type { padding-top: 7rem; }
  .tl-item { grid-template-columns: 1fr; gap: 0.3rem; padding-left: 2rem; }
  .tl-date { font-size: 0.68rem; }
}
