/* ═══════════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════════ */
:root {
  --bg:         #070d1a;
  --bg-alt:     #0d1526;
  --bg-card:    #0f1d35;
  --primary:    #f5c400;
  --primary-dim:#c99d00;
  --accent:     #ffd84d;
  --accent-dim: #cc9f00;
  --text:       #e2eaf5;
  --text-muted: #7a92b0;
  --border:     rgba(245,196,0,0.15);
  --border-h:   rgba(245,196,0,0.4);
  --glow:       0 0 30px rgba(245,196,0,0.25);
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ═══════════════════════════════════════════════
   BACKGROUND CANVAS
══════════════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(7, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.logo-bracket { color: var(--primary); }
.nav-links {
  display: flex; gap: 0.5rem;
  list-style: none;
  align-items: center;
}
.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--primary);
  color: #0a0f1a !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

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

/* ═══════════════════════════════════════════════
   CONTAINERS & SECTIONS
══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, #040810 0%, #070d1a 100%);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.6;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 2rem 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--primary);
  font-weight: 400;
  margin-bottom: 1rem;
  min-height: 2rem;
}
.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.tag {
  padding: 5px 14px;
  background: rgba(245,196,0,0.12);
  border: 1px solid var(--border-h);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-mono);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary), #c99d00);
  color: #0a0f1a;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245,196,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,196,0,0.5);
  color: var(--bg);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--border-h);
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(245,196,0,0.08);
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 40px; font-size: 1.05rem; }

/* ── HERO METRICS ─────────────────────── */
.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-metric {
  display: flex;
  flex-direction: column;
  padding: 10px 18px;
  background: rgba(245,196,0,0.07);
  border: 1px solid rgba(245,196,0,0.25);
  border-radius: 10px;
  min-width: 100px;
}
.metric-val {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.scroll-line {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%, 100% { width: 50px; opacity: 1; }
  50% { width: 80px; opacity: 0.5; }
}

/* ── ORBIT ────────────────────────────── */
.hero-visual {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-container {
  position: relative;
  width: 340px; height: 340px;
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 40px rgba(245,196,0,0.5);
}
.center-icon { font-size: 1.8rem; line-height: 1; }
.center-label { font-size: 0.6rem; font-weight: 700; color: var(--bg); font-family: var(--font-mono); }

.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed var(--border);
}
.orbit-1 {
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  animation: spin 20s linear infinite;
}
.orbit-2 {
  width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  animation: spin 30s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.orbit-item, .orbit-item-sm {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  animation: counter-spin 20s linear infinite;
}
.orbit-2 .orbit-item-sm { animation-duration: 30s; animation-direction: reverse; }

.orbit-item {
  width: 46px; height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  font-size: 0.7rem;
  color: var(--primary);
  transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle)));
}
.orbit-item-sm {
  width: 36px; height: 36px;
  background: rgba(0,255,204,0.08);
  border: 1px solid rgba(0,255,204,0.3);
  font-size: 0.62rem;
  color: var(--accent);
  transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle)));
}
@keyframes counter-spin { to { transform: rotate(calc(var(--angle) - 360deg)) translateX(110px) rotate(calc(-1 * var(--angle) + 360deg)); } }

/* ═══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.photo-initials {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.photo-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 1rem;
}
.photo-hint code {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.7rem;
}
.about-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.social-btn svg { width: 15px; height: 15px; }

.about-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.about-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); }

.about-info { display: flex; flex-direction: column; gap: 0.75rem; }
.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.info-row svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   SKILLS
══════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  animation-delay: var(--delay);
}
.skill-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.skill-icon {
  width: 42px; height: 42px;
  background: rgba(0,170,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.skill-icon svg { width: 20px; height: 20px; }
.skill-category {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.skill-items { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.skill-item {
  padding: 3px 10px;
  background: rgba(245,196,0,0.07);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════
   TIMELINE / EXPERIENCE
══════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.2rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--text-muted);
  z-index: 1;
}
.dot-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.timeline-card:hover { border-color: var(--border-h); box-shadow: var(--glow); }
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.exp-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.exp-company {
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 3px;
}
.exp-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.exp-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.25rem;
}
.exp-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.exp-tasks li::before {
  content: '▸';
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-small {
  padding: 3px 10px;
  background: rgba(0,255,204,0.07);
  border: 1px solid rgba(0,255,204,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-dim);
  font-family: var(--font-mono);
}

/* ── EXP METRICS ──────────────────────── */
.exp-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}
.exp-metric {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(245,196,0,0.08);
  border: 1px solid rgba(245,196,0,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-mono);
}
.exp-metric svg { width: 12px; height: 12px; }

/* ═══════════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay);
}
.project-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: var(--glow); }
.project-featured { border-color: rgba(245,196,0,0.35); }
.project-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg);
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-folder { color: var(--primary); width: 28px; height: 28px; }
.project-link-icon {
  color: var(--text-muted);
  transition: var(--transition);
}
.project-link-icon:hover { color: var(--primary); }
.project-link-icon svg { width: 20px; height: 20px; }
.project-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.project-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

/* ── PROJECT METRICS ──────────────────── */
.project-metrics {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(245,196,0,0.05);
  border-left: 2px solid var(--primary);
  border-radius: 0 6px 6px 0;
  margin-bottom: 4px;
}
.project-metric {
  font-size: 0.76rem;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 600;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.project-tag {
  padding: 2px 8px;
  background: rgba(245,196,0,0.07);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.project-year { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.project-github-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}
.project-github-link svg { width: 13px; height: 13px; }

/* ═══════════════════════════════════════════════
   CERTIFICATIONS
══════════════════════════════════════════════ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  animation-delay: var(--delay);
}
.cert-card:hover { transform: translateY(-6px); border-color: var(--cert-color); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.cert-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--cert-color) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.cert-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.cert-short {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cert-color);
  margin-bottom: 0.5rem;
}
.cert-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cert-issuer { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.cert-year {
  padding: 4px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(245,196,0,0.1);
  border: 1px solid rgba(245,196,0,0.35);
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}
.cert-link:hover {
  background: var(--primary);
  color: #0a0f1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,196,0,0.35);
}
.cert-link svg { width: 13px; height: 13px; }

.cert-link-soon {
  cursor: default;
  opacity: 0.45;
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text-muted);
}
.cert-link-soon:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  transform: none;
  box-shadow: none;
}

/* ── LANGUES ────────────────────────── */
.languages {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.lang-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.lang-grid { display: flex; flex-direction: column; gap: 1rem; }
.lang-item { display: flex; align-items: center; gap: 1rem; }
.lang-flag { font-size: 1.5rem; }
.lang-info { flex: 1; }
.lang-name { font-size: 0.9rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.lang-bar {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}
.lang-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 1.5s ease;
}
.lang-level { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

/* ═══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-content { text-align: center; }
.contact-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-3px); color: var(--text); }
.contact-card svg { width: 20px; height: 20px; color: var(--primary); }
.contact-label { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.contact-value { font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ═══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer p { color: var(--text-muted); font-size: 0.875rem; }
.footer strong { color: var(--primary); }
.footer-sub { font-size: 0.78rem; margin-top: 4px; }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════
   FORMATION / EDUCATION
══════════════════════════════════════════════ */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edu-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  animation-delay: var(--delay);
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: var(--transition);
}

.edu-card:hover {
  border-color: var(--border-h);
  transform: translateX(6px);
  box-shadow: var(--glow);
}

.edu-card:hover::before {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.edu-highlight {
  border-color: rgba(245,196,0,0.35);
  background: linear-gradient(135deg, var(--bg-card) 80%, rgba(245,196,0,0.05) 100%);
}

.edu-highlight::before {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.edu-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,196,0,0.08);
  border: 1px solid var(--border-h);
  border-radius: 12px;
}

.edu-body {
  flex: 1;
  min-width: 0;
}

.edu-degree {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.4;
}

.edu-highlight .edu-degree {
  color: var(--primary);
}

.edu-school {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.edu-school svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
  flex-shrink: 0;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  flex-shrink: 0;
}

.edu-highlight .edu-period {
  border-color: var(--border-h);
  color: var(--primary);
}

@media (max-width: 640px) {
  .edu-card { flex-wrap: wrap; gap: 0.75rem; }
  .edu-period { align-self: flex-start; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding: 120px 1.5rem 60px; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-tagline { justify-content: center; }
  .hero-scroll { justify-content: center; }
  .hero-visual { flex: none; }
  .orbit-container { width: 240px; height: 240px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-alt);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .section { padding: 70px 0; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 1rem; }
}
