/* =========================================
   Muhammad Anas Portfolio — Neon Blue Theme
   ========================================= */

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

:root {
  --bg:        #030712;
  --bg2:       #060d1a;
  --bg3:       #0a1628;
  --card:      #0d1b2e;
  --card2:     #101f35;
  --border:    rgba(0, 180, 255, 0.12);
  --border2:   rgba(0, 180, 255, 0.25);
  --neon:      #00c8ff;
  --neon2:     #0066ff;
  --neon-glow: rgba(0, 200, 255, 0.35);
  --text:      #e8f4ff;
  --muted:     #6a8aa8;
  --muted2:    #90afc8;
  --white:     #ffffff;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
  --radius:    12px;
  --radius-lg: 18px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

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

/* ---- NOISE OVERLAY ---- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---- GRID BG ---- */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ---- CUSTOM CURSOR ---- */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  box-shadow: 0 0 12px var(--neon);
}
.cursor-trail {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(0,200,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left .12s ease, top .12s ease;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 20px; height: 20px; background: var(--neon2); }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 2.5rem;
  height: 64px;
  display: flex; align-items: center;
  transition: background var(--transition), border-color var(--transition);
}
nav.scrolled {
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.logo-bracket { color: var(--muted); }
.nav-links {
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted2);
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--neon);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--neon); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 1.5rem;
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 7px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--neon);
  color: var(--bg);
  box-shadow: 0 0 20px var(--neon-glow);
}
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(3,7,18,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  transform: translateY(-110%);
  transition: transform var(--transition);
  z-index: 499;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-link {
  font-size: 16px; color: var(--muted2);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--neon); }

/* ---- CONTAINER ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; position: relative; z-index: 1; }

/* ---- SECTION HEADER ---- */
.section-head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--neon);
  opacity: .7;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 2px; text-transform: uppercase;
}
.section-label::before { content: '// '; color: var(--neon); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.neon {
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0,200,255,0.4);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--neon);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  transition: box-shadow var(--transition), transform var(--transition);
}
.btn-primary:hover {
  box-shadow: 0 0 30px var(--neon-glow), 0 0 60px rgba(0,200,255,0.15);
  transform: translateY(-1px);
}
.btn-primary.full { width: 100%; justify-content: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--neon); color: var(--neon); }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   HERO
   ========================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 2rem 0;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
}
.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,200,255,0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  white-space: nowrap;
  z-index: 0;
}
.hero-content { flex: 1; z-index: 1; }
.hero-top {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.5rem;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 10px #22c55e; }
  50% { box-shadow: 0 0 20px #22c55e, 0 0 40px rgba(34,197,94,0.4); }
}
.status-text { font-family: var(--font-mono); font-size: 12px; color: #22c55e; }
.hero-name {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 1.25rem;
}
.hero-name .line1 {
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--muted2);
}
.hero-name .line2 {
  display: block;
  font-size: clamp(50px, 8vw, 96px);
  color: var(--white);
}
.accent-dot { color: var(--neon); }
.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(13px, 2vw, 16px);
  color: var(--neon);
  margin-bottom: 1.5rem;
  min-height: 1.5em;
}
.cursor-blink { animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-bio {
  color: var(--muted2);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-size: 15px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap;
}
.stat { padding: 0 2rem 0 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  color: var(--neon);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--muted); }
.stat-div { width: 1px; height: 36px; background: var(--border2); margin: 0 1.5rem 0 0; }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .4;
}
.scroll-cue span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 1px; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--neon), transparent); animation: scroll-ani 2s infinite; }
@keyframes scroll-ani { 0%{height:0;opacity:1} 100%{height:60px;opacity:0} }

/* HERO VISUAL */
.hero-visual {
  flex: 0 0 340px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.avatar-ring {
  position: relative;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.ring-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ring-rotate { animation: ring-spin 20s linear infinite; transform-origin: center; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.avatar-inner {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.avatar-initials {
  font-family: var(--font-head);
  font-size: 48px; font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 30px var(--neon-glow);
}
.avatar-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0,200,255,0.1), transparent 70%);
}
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}
.d1 { top: 10px; left: 50%; transform: translateX(-50%); animation: orbit1 4s ease-in-out infinite; }
.d2 { bottom: 20px; left: 20px; animation: orbit2 5s ease-in-out infinite; }
.d3 { top: 50%; right: 8px; animation: orbit3 3.5s ease-in-out infinite; }
@keyframes orbit1 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
@keyframes orbit2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes orbit3 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% + 8px))} }
.floating-badges {
  position: absolute; inset: 0; pointer-events: none;
}
.fbadge {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border2);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.b1 { top: -8px; right: -20px; animation: float1 3s ease-in-out infinite; }
.b2 { bottom: 30px; right: -30px; animation: float1 4s ease-in-out infinite .5s; }
.b3 { bottom: -10px; left: -10px; animation: float2 3.5s ease-in-out infinite 1s; }
.b4 { top: 40px; left: -30px; animation: float2 4.5s ease-in-out infinite .2s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* =========================================
   ABOUT
   ========================================= */
#about { background: linear-gradient(180deg, transparent, rgba(0,100,200,0.03), transparent); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.about-text p {
  color: var(--muted2); margin-bottom: 1rem; font-size: 15px;
}
.about-text strong { color: var(--neon); font-weight: 500; }
.about-meta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.meta-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: 13px; color: var(--muted);
}
.meta-icon { color: var(--neon); display: flex; align-items: center; }
.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.acard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}
.acard:hover { border-color: var(--border2); transform: translateY(-3px); }
.acard-icon { margin-bottom: .75rem; }
.acard h3 { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.acard p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =========================================
   SKILLS
   ========================================= */
#skills {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.skills-container { display: flex; flex-direction: column; gap: 2.5rem; }
.skill-group {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 2rem;
}
.skill-group-title {
  font-family: var(--font-mono); font-size: 13px; color: var(--neon);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem;
}
.sg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.skill-bars { display: flex; flex-direction: column; gap: 1.2rem; }
.skill-bar-item {}
.sb-top { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: 13px; color: var(--muted2); }
.sb-pct { font-family: var(--font-mono); font-size: 12px; color: var(--neon); }
.sb-track { height: 4px; background: rgba(0,200,255,0.1); border-radius: 2px; overflow: hidden; }
.sb-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon2), var(--neon)); border-radius: 2px; transition: width 1.2s cubic-bezier(.4,0,.2,1); box-shadow: 0 0 8px rgba(0,200,255,0.4); }
.skill-tags-wrap { display: flex; flex-wrap: wrap; gap: .6rem; }
.stag {
  background: rgba(0,200,255,0.08); border: 1px solid var(--border2);
  color: var(--neon); font-family: var(--font-mono);
  font-size: 12px; padding: 5px 14px; border-radius: 20px;
  transition: background var(--transition), box-shadow var(--transition);
}
.stag:hover { background: rgba(0,200,255,0.15); box-shadow: 0 0 14px rgba(0,200,255,0.2); }

/* =========================================
   PROJECTS
   ========================================= */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.project-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.project-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.project-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.project-card:hover::before { opacity: 1; }
.project-card.featured {
  grid-column: span 2;
  border-color: rgba(0,200,255,0.2);
}
.project-card.featured::before { opacity: 0.6; }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.pc-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.pc-links { display: flex; gap: .5rem; }
.pc-link {
  color: var(--muted); width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pc-link:hover { color: var(--neon); border-color: var(--neon); box-shadow: 0 0 10px rgba(0,200,255,0.2); }
.pc-badge {
  display: inline-block;
  background: rgba(0,200,255,0.1); border: 1px solid rgba(0,200,255,0.3);
  color: var(--neon); font-family: var(--font-mono); font-size: 10px;
  padding: 2px 10px; border-radius: 20px; margin-bottom: .75rem;
}
.pc-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: .75rem; line-height: 1.3; }
.pc-desc { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.pc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.pc-tags span {
  font-size: 11px; background: rgba(0,102,255,0.1); color: #60a5fa;
  border: 1px solid rgba(0,102,255,0.2); padding: 3px 10px; border-radius: 4px;
}

/* =========================================
   EXPERIENCE
   ========================================= */
#experience { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.exp-timeline { display: flex; flex-direction: column; gap: 0; padding-left: 1.5rem; border-left: 1px solid var(--border); }
.exp-item { position: relative; padding: 0 0 2.5rem 2rem; }
.exp-dot {
  position: absolute; left: -1.5rem; top: 4px;
  transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 12px var(--neon-glow);
  border: 2px solid var(--bg2);
}
.exp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color var(--transition); }
.exp-card:hover { border-color: var(--border2); }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.exp-role { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: .5rem; }
.exp-badge { font-family: var(--font-mono); font-size: 10px; background: rgba(0,200,255,0.08); border: 1px solid var(--border2); color: var(--neon); padding: 2px 8px; border-radius: 20px; }
.exp-company { font-size: 13px; color: var(--muted); margin-top: .2rem; }
.exp-date { font-family: var(--font-mono); font-size: 12px; color: var(--neon); white-space: nowrap; }
.exp-list { display: flex; flex-direction: column; gap: .4rem; }
.exp-list li { font-size: 13px; color: var(--muted2); padding-left: 1rem; position: relative; }
.exp-list li::before { content: '›'; position: absolute; left: 0; color: var(--neon); }
.exp-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 1rem; opacity: .5; }

/* =========================================
   EDUCATION
   ========================================= */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.edu-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
}
.edu-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.edu-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.edu-card:hover::after { opacity: 1; }
.edu-year { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 1rem; }
.edu-icon { margin: 0 auto 1rem; width: fit-content; }
.edu-card h3 { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: .5rem; line-height: 1.3; }
.edu-school { font-size: 13px; color: var(--muted2); margin-bottom: .25rem; }
.edu-loc { font-size: 12px; color: var(--muted); margin-bottom: 1rem; }
.edu-status { display: inline-block; font-family: var(--font-mono); font-size: 11px; padding: 3px 12px; border-radius: 20px; }
.edu-status.current { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
.edu-status.done { background: rgba(0,200,255,0.08); border: 1px solid var(--border2); color: var(--neon); }

.cert-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cl-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.cl-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.cert-item { display: flex; align-items: flex-start; gap: .75rem; }
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); margin-top: 7px; flex-shrink: 0; }
.cert-name { font-size: 13px; color: var(--text); line-height: 1.5; }
.cert-org { font-size: 12px; color: var(--muted); margin-top: .2rem; }
.lang-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.lang-name { font-size: 13px; color: var(--text); min-width: 55px; }
.lang-bar { flex: 1; height: 4px; background: rgba(0,200,255,0.1); border-radius: 2px; overflow: hidden; }
.lang-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--neon2), var(--neon)); border-radius: 2px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.lang-lvl { font-family: var(--font-mono); font-size: 11px; color: var(--neon); min-width: 60px; text-align: right; }

/* =========================================
   CONTACT
   ========================================= */
#contact {
  background: linear-gradient(180deg, transparent, rgba(0,50,120,0.04));
  border-top: 1px solid var(--border);
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-sub { color: var(--muted2); margin-bottom: 2rem; font-size: 15px; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.clink {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.clink:hover { border-color: var(--border2); transform: translateX(4px); }
.clink-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0,200,255,0.08); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon); flex-shrink: 0;
}
.clink-label { font-size: 11px; color: var(--muted); margin-bottom: .15rem; font-family: var(--font-mono); }
.clink-val { font-size: 13px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.form-group input,
.form-group textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  color: var(--text); font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-note { font-family: var(--font-mono); font-size: 12px; color: #22c55e; text-align: center; min-height: 16px; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg2);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
}
.footer-left { display: flex; align-items: center; gap: 1rem; }
.footer-left p { font-size: 13px; color: var(--muted); }
.footer-social { display: flex; gap: .5rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.social-btn:hover { color: var(--neon); border-color: var(--neon); box-shadow: 0 0 14px rgba(0,200,255,0.2); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  #hero { flex-direction: column; text-align: center; align-items: center; padding-top: 100px; gap: 3rem; }
  .hero-bio { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .scroll-cue { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: span 2; }
  .edu-grid { grid-template-columns: 1fr; }
  .cert-lang-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  section { padding: 70px 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .about-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-div { display: none; }
  .stat { padding: 0 1rem 0 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
