/* ─────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────────────────── */
:root {
  /* Dark theme (default) */
  --bg-primary:    #0d1117;
  --bg-secondary:  #161b22;
  --bg-tertiary:   #1c2333;
  --bg-card:       #1c2333;
  --bg-card-hover: #21273a;
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(99,179,237,0.35);

  --text-primary:   #e6edf3;
  --text-secondary: #8b949e;
  --text-muted:     #6e7681;

  --accent:         #3b82f6;
  --accent-light:   #60a5fa;
  --accent-glow:    rgba(59,130,246,0.25);
  --accent-2:       #06b6d4;

  --tag-bg:         rgba(59,130,246,0.1);
  --tag-border:     rgba(59,130,246,0.25);
  --tag-text:       #60a5fa;

  --tag-neutral-bg:     rgba(255,255,255,0.05);
  --tag-neutral-border: rgba(255,255,255,0.1);
  --tag-neutral-text:   #8b949e;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.6);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --nav-height: 68px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="light"] {
  --bg-primary:    #f6f8fa;
  --bg-secondary:  #ffffff;
  --bg-tertiary:   #f0f2f5;
  --bg-card:       #ffffff;
  --bg-card-hover: #f6f8fa;
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(59,130,246,0.35);

  --text-primary:   #1f2937;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;

  --accent:         #2563eb;
  --accent-light:   #3b82f6;
  --accent-glow:    rgba(37,99,235,0.15);

  --tag-bg:         rgba(37,99,235,0.08);
  --tag-border:     rgba(37,99,235,0.2);
  --tag-text:       #2563eb;

  --tag-neutral-bg:     rgba(0,0,0,0.04);
  --tag-neutral-border: rgba(0,0,0,0.1);
  --tag-neutral-text:   #4b5563;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.15);
}

/* ─────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────────────────────
   LAYOUT HELPERS
   ───────────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header-inline {
  margin-bottom: 32px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-header h2,
.section-header-inline h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(246,248,250,0.85);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo-bracket { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-toggle, .theme-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.lang-toggle:hover, .theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.lang-toggle .lang-de,
.lang-toggle .lang-en { transition: color var(--transition); }
.lang-toggle .lang-de.active,
.lang-toggle .lang-en.active { color: var(--accent-light); }
.lang-divider { color: var(--text-muted); }

.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="dark"]  .icon-moon { display: block; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 64px;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.glow-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}
.glow-2 {
  width: 400px; height: 400px;
  top: 200px; right: -100px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  animation: heroFadeIn 0.8s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-name {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero-first {
  display: block;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-last {
  display: block;
  color: var(--text-secondary);
  font-weight: 300;
}

.hero-title-wrapper { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}
.hero-title::before { content: '// '; color: var(--text-muted); }

.hero-description {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.stack-tag {
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

/* Avatar */
.hero-avatar {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  animation: heroFadeIn 0.8s 0.2s ease both;
}
.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(var(--accent), var(--accent-2), var(--accent));
  animation: spin 8s linear infinite;
  opacity: 0.6;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-img {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-primary);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.05em;
}
.avatar-fallback .avatar-initials { display: flex; }
.avatar-fallback img { display: none; }

.avatar-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  box-shadow: var(--shadow-md);
}
.avatar-badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
}

/* ─────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-facts {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.fact { text-align: center; }
.fact-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.fact-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.info-list li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-light); }
.info-list a:hover { color: var(--accent-light); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  color: var(--accent-light);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 24px;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--text-muted);
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition);
}
.timeline-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.timeline-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--border) 0%, transparent 100%);
  margin-top: 6px;
}

.timeline-content {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child .timeline-content { border-bottom: none; padding-bottom: 0; }

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.job-company {
  display: flex;
  align-items: center;
  gap: 14px;
}
.company-logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.exxeta { background: linear-gradient(135deg, #1e3a5f, #2563eb); color: #93c5fd; border: 1px solid rgba(37,99,235,0.3); }
.kpro   { background: linear-gradient(135deg, #1a3a2e, #059669); color: #6ee7b7; border: 1px solid rgba(5,150,105,0.3); }
.vector { background: linear-gradient(135deg, #3a1a2e, #9333ea); color: #d8b4fe; border: 1px solid rgba(147,51,234,0.3); }

.job-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.job-company-name {
  font-size: 14px;
  color: var(--text-secondary);
}
.job-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.job-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.job-date svg { width: 13px; height: 13px; }
.job-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* Project cards inside timeline */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.project-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.project-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 3px;
  flex-shrink: 0;
}
.project-header h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.project-type {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.project-bullets, .project-bullets.standalone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.project-bullets li,
.project-bullets.standalone li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.project-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 10px;
  top: 3px;
}
.project-bullets.standalone { margin-top: 0; }

.tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  font-size: 12px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 10px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
  border-radius: 100px;
}

/* ─────────────────────────────────────────────────────────
   SKILLS
   ───────────────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.skill-category:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.skill-icon {
  width: 44px;
  height: 44px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.skill-icon svg { width: 22px; height: 22px; color: var(--accent-light); }
.skill-category h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--tag-neutral-bg);
  border: 1px solid var(--tag-neutral-border);
  color: var(--tag-neutral-text);
  transition: all var(--transition);
}
.skill-tag.primary {
  background: var(--tag-bg);
  border-color: var(--tag-border);
  color: var(--tag-text);
}
.skill-tag:hover {
  background: var(--tag-bg);
  border-color: var(--tag-border);
  color: var(--tag-text);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────
   EDUCATION
   ───────────────────────────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

.edu-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.edu-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.edu-icon {
  width: 52px;
  height: 52px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.edu-icon svg { width: 26px; height: 26px; color: var(--accent-light); }
.edu-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.edu-institution {
  display: block;
  font-size: 14px;
  color: var(--accent-light);
  margin-bottom: 4px;
}
.edu-date {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 10px;
}
.edu-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────
   CERTIFICATIONS
   ───────────────────────────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cert-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cert-card.featured {
  border-color: rgba(59,130,246,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(59,130,246,0.05));
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.cert-icon.azure  { background: linear-gradient(135deg, #0078d4, #005a9e); color: #79c0ff; }
.cert-icon.mendix { background: linear-gradient(135deg, #0a1628, #0d52b8); color: #79d0ff; }
.cert-icon.docker { background: linear-gradient(135deg, #003f8a, #2496ed); color: #79c9ff; }
.cert-icon.k8s    { background: linear-gradient(135deg, #1a2744, #326ce5); color: #93bbff; }
.cert-icon.gh     { background: linear-gradient(135deg, #1a1a2e, #333); color: #c9d1d9; }
.cert-icon.net    { background: linear-gradient(135deg, #1a0a3e, #512bd4); color: #c2aaf8; }

.cert-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.35;
}
.cert-tag {
  font-size: 12px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────
   LANGUAGES & SOFT SKILLS
   ───────────────────────────────────────────────────────── */
.languages-soft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lang-list { display: flex; flex-direction: column; gap: 20px; }
.lang-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-flag { font-size: 28px; line-height: 1; }
.lang-info { flex: 1; }
.lang-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.lang-bar {
  height: 5px;
  background: var(--bg-tertiary);
  border-radius: 100px;
  overflow: hidden;
}
.lang-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}
.lang-fill.animated { transform: scaleX(1); }
.lang-level {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  font-family: 'JetBrains Mono', monospace;
  min-width: 80px;
  text-align: right;
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.soft-skill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.soft-skill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.soft-skill svg { width: 18px; height: 18px; color: var(--accent-light); flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 260px));
  gap: 20px;
  justify-content: center;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--accent-light); }
.contact-card h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-link {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--accent-light); }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.footer-text {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
    padding-top: calc(var(--nav-height) + 60px);
  }
  .hero-description { margin: 0 auto 28px; }
  .hero-stack { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin: 0 auto 24px; }

  .about-grid { grid-template-columns: 1fr; }
  .languages-soft-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 0;
  }
  .nav-links.open a { padding: 12px; }
  .hamburger { display: flex; }

  .section { padding: 64px 0; }
  .avatar-img { width: 200px; height: 200px; }
  .avatar-ring { inset: -10px; }

  .timeline-item { grid-template-columns: 32px 1fr; gap: 0 16px; }
  .job-header { flex-direction: column; gap: 10px; }
  .job-meta { align-items: flex-start; flex-direction: row; gap: 12px; }

  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .soft-skills-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, minmax(180px, 260px)); justify-content: center; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 36px; }
  .about-facts { gap: 20px; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .edu-card { flex-direction: column; }
}
