/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:          #000000; /* Pitch Black */
  --glass-bg:    rgba(255,255,255,0.02);
  --glass-bg-h:  rgba(255,255,255,0.05);
  --glass-border:rgba(255,255,255,0.05);
  --glass-blur:  30px;

  --accent-1: #ffffff;   /* Pure White */
  --accent-2: #ffd700;   /* Electric Yellow */
  --accent-3: #555555;   /* Mid Grey */

  --text-bright: #f8fafc;
  --text-mid:    #94a3b8;
  --text-soft:   #475569;

  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 8px 40px rgba(0,0,0,0.6);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-bright);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .hero-subtitle, .subsection-title {
  text-wrap: balance;
}

p, blockquote, li, .hero-desc {
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════
   AMOEBAS CANVAS BACKGROUND
═══════════════════════════════════════════ */
#fluid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR  (smooth blur dot)
═══════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 22px; height: 22px;
  background: rgba(255,215,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,215,0,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  /* positioned via JS with will-change for GPU compositing */
  left: 0; top: 0;
  will-change: transform;
  transition: width .2s ease, height .2s ease, background .2s ease;
  box-shadow: 0 0 12px rgba(255,215,0,0.4);
}
.cursor.hovered {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.cursor.text-hovered {
  width: 44px; height: 44px;
  background: rgba(255,215,0,0.2);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  mix-blend-mode: screen;
  animation: amoeba 2.5s linear infinite;
}
@keyframes amoeba {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34%  { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67%  { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

/* hide cursor-trail entirely — replaced by blur cursor */
.cursor-trail { display: none; }

@media (hover: none) {
  .cursor { display: none; }
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background .3s;
}
#navbar.scrolled { background: rgba(0,0,0,.85); }

.nav-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.nav-logo-link:hover {
  transform: scale(1.05);
}
.nav-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  font-size: .75rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:1.5px;
  background: var(--text-bright);
  transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent-2); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; background: var(--accent-2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-mid);
  transition: .3s;
}

/* ═══════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}
.section-inner {
  width: 100%;
  max-width: 1100px;
}
.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 3rem;
  text-align: center;
  text-transform: lowercase;
}
.gradient-text {
  color: var(--accent-2);
}
.subsection-title {
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin: 3rem 0 1.5rem;
  color: var(--text-soft);
  text-align: center;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   GLASS CARD
═══════════════════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .2s;
  transform-style: preserve-3d;
  will-change: transform;
}
.glass-card:hover {
  background: var(--glass-bg-h);
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 30px 60px rgba(0,51,255,.15);
}
.glass-pill {
  display: inline-block;
  background: rgba(124,58,237,.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 999px;
  padding: .4rem 1.2rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: .05em;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,.4); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--accent-2); box-shadow: 0 8px 30px rgba(6,182,212,.2); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge { margin-bottom: 1.5rem; }

.hero-title {
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  line-height: .9;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  text-transform: uppercase;
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(.8rem, 1.8vw, 1rem);
  color: var(--text-mid);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: .8rem;
  opacity: 0;
  animation: slideUp .8s .3s forwards;
}

.hero-desc {
  font-size: .98rem;
  color: var(--text-soft);
  font-family: 'DM Sans', sans-serif;
  max-width: 480px;
  line-height: 1.7;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: slideUp .8s .45s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .8s .6s forwards;
}

/* Removed old static orbs */

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-soft);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: bounce 1.4s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.avatar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.avatar-ring {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(124,58,237,.25), 0 0 40px rgba(124,58,237,.3);
  position: relative;
}
.avatar-ring::after {
  content:'';
  position:absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  z-index: -1;
  animation: spin 4s linear infinite;
  filter: blur(3px);
}
@keyframes spin { to { transform: rotate(360deg); } }

.avatar-initials {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  z-index: 1;
}
.avatar-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .3rem; }
.avatar-role { color: var(--text-mid); font-size: .9rem; margin-bottom: 1rem; }
.avatar-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

.tag {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .8rem;
  color: var(--text-mid);
}

.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}
.info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(6,182,212,.5));
}
.info-label { font-size: .75rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.info-val { font-size: .95rem; color: var(--text-bright); font-weight: 500; }
.info-val a:hover { color: var(--accent-2); }

/* lang cards */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.lang-card { text-align: center; padding: 1.5rem 1rem; }
.lang-flag { display: none; }
.lang-card h4 { font-size: .95rem; font-weight: 700; font-family: 'Josefin Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .4rem; }
.lang-native, .lang-level { font-size: .85rem; color: var(--accent-2); margin-bottom: 1rem; }
.lang-bar {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}
.lang-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
  width: 0;
  transition: width 1.2s ease;
}

/* ═══════════════════════════════════════════
   TIMELINE (EXPERIENCE)
═══════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-1), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 3.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }

.timeline-dot {
  position: absolute;
  left: 10px; top: 28px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent-1);
  box-shadow: 0 0 10px var(--accent-1);
  transition: transform .3s;
}
.timeline-dot.active {
  border-color: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 8px var(--accent-2); }
  50%      { box-shadow: 0 0 24px var(--accent-2); }
}

.timeline-card { padding: 1.8rem; position: relative; }
.timeline-card.featured {
  border-color: rgba(6,182,212,.3);
  background: rgba(6,182,212,.05);
}

.tl-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--grad2);
  border-radius: 999px;
  padding: .25rem .9rem;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}

.tl-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .6rem;
}
.tl-icon { font-size: 2rem; filter: drop-shadow(0 0 8px rgba(124,58,237,.6)); }
.tl-role { font-size: 1.2rem; font-weight: 700; }
.tl-company { font-size: .9rem; color: var(--accent-2); font-weight: 500; }
.tl-date { font-size: .8rem; color: var(--text-soft); margin-bottom: .3rem; }
.tl-location { font-size: .82rem; color: var(--text-soft); margin-bottom: .8rem; }

.tl-bullets { padding-left: 1rem; }
.tl-bullets li {
  position: relative;
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: .4rem;
  padding-left: .8rem;
}
.tl-bullets li::before {
  content: '▹';
  position: absolute;
  left: -1rem;
  color: var(--accent-2);
}

/* ═══════════════════════════════════════════
   EDUCATION
═══════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.edu-card {
  text-align: center;
  padding: 2.5rem 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.edu-card.visible { opacity: 1; transform: translateY(0); }
.edu-icon { font-size: 3rem; margin-bottom: 1rem; }
.edu-badge {
  display: inline-block;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 999px;
  padding: .3rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 1.2rem;
}
.edu-badge.current {
  background: rgba(6,182,212,.15);
  border-color: rgba(6,182,212,.3);
  color: var(--accent-2);
  animation: pulse 2s infinite;
}
.edu-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; }
.edu-school { color: var(--accent-2); font-size: .95rem; font-weight: 500; margin-bottom: .4rem; }
.edu-meta { font-size: .82rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.edu-link {
  font-size: .85rem;
  color: var(--accent-1);
  border-bottom: 1px solid rgba(124,58,237,.3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.edu-link:hover { color: var(--accent-2); border-color: var(--accent-2); }
.current-edu {
  border-color: rgba(6,182,212,.25);
  background: rgba(6,182,212,.04);
}

/* ═══════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.skill-card {
  text-align: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition: opacity .5s, transform .5s;
}
.skill-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.skill-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 12px rgba(124,58,237,.6));
  transition: transform .3s;
}
.skill-card:hover .skill-icon { transform: scale(1.15) translateY(-4px); }
.skill-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.skill-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-inner { text-align: center; }
.contact-sub { color: var(--text-mid); margin-bottom: 3rem; font-size: 1.05rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}
.contact-card {
  padding: 2rem 1.5rem;
  text-align: center;
}
.contact-icon { font-size: 2.4rem; margin-bottom: .8rem; display: block; }
.contact-card h4 { font-size: .85rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.contact-card a, .contact-card p { font-size: .95rem; color: var(--text-mid); font-weight: 500; }
.contact-card a:hover { color: var(--accent-2); }

/* form */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.contact-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.8rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.form-group label { font-size: .85rem; font-weight: 500; color: var(--text-mid); text-transform: uppercase; letter-spacing: .05em; }

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-bright);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-soft); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

.contact-form .btn { width: 100%; justify-content: center; margin-top: .5rem; }

/* ═══════════════════════════════════════════
   AVATAR PHOTO
═══════════════════════════════════════════ */
.avatar-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  display: block;
}

/* ═══════════════════════════════════════════
   RECOMMENDATIONS  (redesigned)
═══════════════════════════════════════════ */
.rec-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rec-card {
  padding: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
  position: relative;
  overflow: hidden;
}
.rec-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(124,58,237,.12), transparent 70%);
  pointer-events: none;
}
.rec-card.visible { opacity: 1; transform: translateY(0); }

.rec-quote-mark {
  font-family: 'Bodoni Moda', serif;
  font-size: 8rem;
  line-height: .6;
  color: var(--accent-1);
  opacity: .25;
  margin-bottom: .5rem;
  user-select: none;
}

.rec-quote {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-bright);
  margin: 0 0 2.5rem;
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
}
.rec-quote em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.rec-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.rec-sig { }
.sig-squiggle {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 999px;
  margin-bottom: .7rem;
}
.sig-name { font-size: 1rem; font-weight: 600; font-family: 'Josefin Sans', sans-serif; letter-spacing: .06em; margin-bottom: .2rem; }
.sig-role { font-size: .78rem; color: var(--text-soft); letter-spacing: .04em; text-transform: uppercase; font-family: 'Josefin Sans', sans-serif; }

.rec-brands {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.rec-brand-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.rec-brand-name {
  font-size: .72rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-right: .4rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: .85rem;
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════
   TILT
═══════════════════════════════════════════ */
.tilt-card { transform-style: preserve-3d; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-info { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; max-width: 440px; }
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 3rem; }
  .lang-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .about-info { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
}

/* mobile nav open */
/* ═══════════════════════════════════════════
   MOBILE MENU OVERLAY  (body-level for iOS blur)
═══════════════════════════════════════════ */
#mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  /* iOS Safari blur works here because this is a direct body child */
  background: rgba(2, 2, 10, 0.88);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  backdrop-filter: blur(36px) saturate(200%);
  z-index: 998;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#mobile-menu.open {
  display: flex;
  animation: menuFadeIn .25s ease forwards;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
#mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  transition: color .2s;
  position: relative;
  text-transform: uppercase;
}
#mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-2);
  transition: width .3s ease;
}
#mobile-menu a:hover,
#mobile-menu a.active { color: var(--accent-2); }
#mobile-menu a:hover::after,
#mobile-menu a.active::after { width: 100%; }

/* Keep desktop nav-links hidden on mobile — mobile-menu handles it */
.nav-open .nav-links { display: none !important; }
