/* ═══ MATRIX THEME ═══ */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
  --green: #00ff41;
  --green-dim: #00cc33;
  --green-dark: #00801f;
  --green-glow: rgba(0, 255, 65, 0.15);
  --bg: #0a0a0a;
  --terminal-bg: rgba(0, 20, 0, 0.85);
  --border: rgba(0, 255, 65, 0.3);
  --text: #c0c0c0;
  --red: #ff0040;
  --blue: #0080ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: var(--bg);
  color: var(--green);
  overflow-x: hidden;
}

/* CRT Scanlines */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
  z-index: 9999;
}

#matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.35;
}

/* ═══ UTILITIES ═══ */
.dimtext { color: var(--text); font-size: 0.85rem; margin-left: 10px; }
.highlight { color: var(--green); text-shadow: 0 0 8px var(--green-dark); }
.blink { animation: blink 1s infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
.cursor { animation: blink 1s infinite; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-logo {
  color: var(--green);
  font-size: 1.1rem;
  text-decoration: none;
  text-shadow: 0 0 10px var(--green);
}

.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a {
  color: var(--green-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.3s;
  letter-spacing: 2px;
}
.nav-links a:hover { color: var(--green); text-shadow: 0 0 10px var(--green); }

.nav-burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 25px; height: 2px; background: var(--green); transition: 0.3s; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-content { text-align: center; padding: 20px; }

.hero-name-instant {
  opacity: 1 !important;
  animation: hero-fade-in 1s ease-out forwards, title-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-matrix-lines {
  margin-top: 20px;
  min-height: 80px;
}

.hero-line {
  display: block;
  font-size: 1rem;
  color: var(--green-dim);
  margin: 5px 0;
  opacity: 0;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

.hero-glitch { opacity: 0; margin: 20px 0; }

/* ═══ NAME — readable, not blinding ═══ */
.hero-name {
  font-size: 5rem;
  font-weight: bold;
  color: #b8ffca;
  opacity: 0;
  transition: opacity 0.8s;
  letter-spacing: 18px;
  text-transform: uppercase;
  position: relative;
  text-shadow:
    0 0 6px rgba(0, 255, 65, 0.3),
    0 0 15px rgba(0, 255, 65, 0.15),
    0 0 40px rgba(0, 255, 65, 0.08);
  animation: title-glow 4s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% {
    text-shadow:
      0 0 6px rgba(0, 255, 65, 0.3),
      0 0 15px rgba(0, 255, 65, 0.15),
      0 0 40px rgba(0, 255, 65, 0.08);
  }
  100% {
    text-shadow:
      0 0 8px rgba(0, 255, 65, 0.4),
      0 0 20px rgba(0, 255, 65, 0.2),
      0 0 50px rgba(0, 255, 65, 0.1);
  }
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--green-dim);
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.5s;
  letter-spacing: 2px;
}

.hero-tagline {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.5s 0.3s;
}

/* ═══ HERO STATS — larger numbers ═══ */
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 50px;
  opacity: 0;
  transition: opacity 0.5s 0.5s;
}

.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 2.6rem;
  color: var(--green);
  text-shadow: 0 0 12px var(--green-dark), 0 0 25px rgba(0,255,65,0.15);
  letter-spacing: 2px;
}
.stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text);
  letter-spacing: 1px;
  margin-top: 6px;
}

.pill-buttons {
  margin-top: 35px;
  display: flex;
  gap: 30px;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.pill {
  padding: 14px 35px;
  border: none;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.pill-red { background: var(--red); color: white; box-shadow: 0 0 20px rgba(255,0,64,0.4); }
.pill-red:hover { box-shadow: 0 0 35px rgba(255,0,64,0.7); transform: scale(1.05); }
.pill-blue { background: var(--blue); color: white; box-shadow: 0 0 20px rgba(0,128,255,0.4); }
.pill-blue:hover { box-shadow: 0 0 35px rgba(0,128,255,0.7); transform: scale(1.05); }

/* ═══ SECTIONS — Matrix-inspired reveal ═══ */
.section {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  padding: 100px 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.section.visible { opacity: 1; transform: translateY(0); }

/* Horizontal code line divider between sections */
.section::before {
  content: '// ─────────────────────────────────────────────────────────────────';
  display: block;
  color: rgba(0, 255, 65, 0.12);
  font-size: 0.7rem;
  margin-bottom: 40px;
  overflow: hidden;
  white-space: nowrap;
}

.section-header {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 40px;
  text-shadow: 0 0 10px var(--green);
  position: relative;
}
.section-header .prompt { color: var(--green-dim); }

/* ═══ GLITCH BORDER EFFECT — cards get a data-stream edge ═══ */
@keyframes border-stream {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

.stream-border {
  position: relative;
}
.stream-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    transparent 40%,
    var(--green) 50%,
    transparent 60%
  );
  background-size: 200% 200%;
  animation: border-stream 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}
.stream-border:hover::after { opacity: 0.3; }

/* ═══ ABOUT GRID ═══ */
.matrix-grid {
  display: grid;
  gap: 30px;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  align-items: start;
}

/* Terminal */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  box-shadow:
    0 0 30px rgba(0,255,65,0.08),
    inset 0 0 60px rgba(0,255,65,0.02);
  position: relative;
  overflow: hidden;
}

/* Faint vertical data stream inside terminals */
.terminal::before {
  content: '';
  position: absolute;
  top: 0; right: 20px;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--green-dark), transparent);
  opacity: 0.15;
  animation: data-fall 3s linear infinite;
}
@keyframes data-fall {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.terminal-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title { color: var(--text); font-size: 0.75rem; margin-left: 10px; }

.terminal-line { margin: 10px 0; font-size: 0.9rem; line-height: 1.6; }
.terminal-line .cmd { color: var(--green); }
.terminal-line .output { color: var(--text); }

/* Info Cards Matrix */
.info-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.info-card {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hex grid pattern overlay on info cards */
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,255,65,0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,255,65,0.02) 0%, transparent 50%);
  pointer-events: none;
}

.info-card:hover {
  border-color: var(--green);
  box-shadow:
    0 0 20px rgba(0,255,65,0.15),
    0 0 60px rgba(0,255,65,0.05);
  transform: translateY(-4px);
}
.info-icon { font-size: 1.8rem; margin-bottom: 8px; }
.info-title { color: var(--green); font-size: 0.85rem; margin-bottom: 6px; }
.info-desc { color: var(--text); font-size: 0.7rem; line-height: 1.5; }

/* ═══ EXPERIENCE ═══ */
.exp-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
  max-width: 1200px;
}

.exp-card {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Diagonal scan line across experience cards */
.exp-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    135deg,
    transparent 45%,
    rgba(0,255,65,0.03) 49%,
    rgba(0,255,65,0.06) 50%,
    rgba(0,255,65,0.03) 51%,
    transparent 55%
  );
  animation: scan-diagonal 6s linear infinite;
  pointer-events: none;
}
@keyframes scan-diagonal {
  0% { transform: translateX(-30%) translateY(-30%); }
  100% { transform: translateX(30%) translateY(30%); }
}

.exp-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(0,255,65,0.15), 0 0 80px rgba(0,255,65,0.05);
  transform: translateY(-3px);
}
.exp-card.current { border-color: var(--green); border-width: 2px; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.exp-badge {
  background: var(--green);
  color: var(--bg);
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 4px var(--green); }
  50% { box-shadow: 0 0 15px var(--green), 0 0 30px rgba(0,255,65,0.3); }
}

.exp-date { color: var(--green-dim); font-size: 0.75rem; }
.exp-role { color: var(--green); font-size: 1.15rem; margin-bottom: 4px; }
.exp-company { color: var(--text); font-size: 0.9rem; margin-bottom: 15px; }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.exp-highlight {
  text-align: center;
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.15);
  border-radius: 6px;
  padding: 10px 5px;
  transition: all 0.3s;
}
.exp-highlight:hover {
  background: rgba(0,255,65,0.1);
  border-color: rgba(0,255,65,0.4);
}

.exp-metric {
  display: block;
  font-size: 1.3rem;
  color: var(--green);
  text-shadow: 0 0 8px var(--green-dark);
}
.exp-metric-label {
  display: block;
  font-size: 0.6rem;
  color: var(--text);
  margin-top: 3px;
}

.exp-bullets {
  list-style: none;
  margin-bottom: 15px;
}
.exp-bullets li {
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.6;
  padding-left: 15px;
  position: relative;
  margin-bottom: 5px;
}
.exp-bullets li::before {
  content: '▹';
  color: var(--green);
  position: absolute;
  left: 0;
}

.exp-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══ PROJECTS ═══ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
  max-width: 1100px;
}

.project-card {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Corner brackets — like a targeting reticle */
.project-card::before,
.project-card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--green);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
}
.project-card::before {
  top: 8px; left: 8px;
  border-width: 2px 0 0 2px;
  transform: translate(-5px, -5px);
}
.project-card::after {
  bottom: 8px; right: 8px;
  border-width: 0 2px 2px 0;
  transform: translate(5px, 5px);
}
.project-card:hover::before,
.project-card:hover::after {
  opacity: 0.6;
  transform: translate(0, 0);
}

.project-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(0,255,65,0.2), 0 0 80px rgba(0,255,65,0.05);
  transform: translateY(-4px);
}
.project-card.featured { border-width: 2px; }

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--green-dim);
  margin-bottom: 10px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 4px var(--green); }
  50% { box-shadow: 0 0 12px var(--green); }
}
.status-dot.classified { background: var(--red); box-shadow: 0 0 6px var(--red); }

.project-name {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 10px;
  text-shadow: 0 0 5px var(--green-dark);
}

.project-desc {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.module {
  padding: 4px 10px;
  background: rgba(0,255,65,0.08);
  border: 1px solid rgba(0,255,65,0.2);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--green-dim);
}

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.tag {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.68rem;
  color: var(--green-dim);
  transition: all 0.3s;
}
.tag:hover {
  background: rgba(0,255,65,0.1);
  border-color: var(--green);
  color: var(--green);
}

.project-links a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.8rem;
  margin-right: 15px;
  transition: 0.3s;
}
.project-links a:hover { text-shadow: 0 0 10px var(--green); }

.project-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.review-badge {
  font-size: 0.65rem;
  color: #fdd663;
  border: 1px solid #fdd66355;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.suite-label {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--green-dim);
  letter-spacing: 2px;
  margin-top: 20px;
  margin-bottom: -5px;
  font-family: var(--mono);
  opacity: 0.7;
}

.classified-card { display: flex; align-items: center; justify-content: center; min-height: 200px; }
.classified-overlay {
  text-align: center;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 3px;
  line-height: 2;
  animation: classified-flicker 4s ease-in-out infinite;
}
@keyframes classified-flicker {
  0%,90%,100% { opacity: 1; }
  92% { opacity: 0.3; }
  94% { opacity: 0.8; }
  96% { opacity: 0.2; }
  98% { opacity: 1; }
}

/* ═══ SKILLS MATRIX ═══ */
.skills-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
}

.skill-block {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Loading bar animation at bottom of skill blocks */
.skill-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-block:hover::after {
  width: 100%;
}

.skill-block:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0,255,65,0.1);
}

.skill-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.9rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.skill-icon { font-size: 1.3rem; }

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-pill {
  padding: 6px 14px;
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--green-dim);
  transition: all 0.3s;
  cursor: default;
}
.skill-pill:hover {
  background: rgba(0,255,65,0.15);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 10px rgba(0,255,65,0.2);
  transform: translateY(-2px);
}
.skill-pill small {
  color: var(--green-dark);
  margin-left: 4px;
  font-size: 0.65rem;
}

/* ═══ TIMELINE ═══ */
.timeline {
  position: relative;
  max-width: 700px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--green-dark), transparent);
  box-shadow: 0 0 8px var(--green-dark);
}

/* Flowing energy particles along the timeline */
.timeline::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
  animation: timeline-particle 4s linear infinite;
}
@keyframes timeline-particle {
  0% { top: 0; opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  border: 2px solid var(--bg);
}

/* Ring ripple on timeline dots */
.timeline-item::after {
  content: '';
  position: absolute;
  left: -38px; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0;
  animation: ring-ripple 3s ease-out infinite;
}
@keyframes ring-ripple {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.timeline-date { font-size: 0.8rem; color: var(--green); margin-bottom: 5px; }
.timeline-title { font-size: 1.05rem; color: var(--green); margin-bottom: 5px; }
.timeline-desc { color: var(--text); font-size: 0.82rem; line-height: 1.5; }

.timeline-item.future { opacity: 0.5; }
.timeline-item.future::before {
  background: var(--green-dark);
  animation: pulse 2s infinite;
}
.timeline-item.future::after {
  border-color: var(--green-dark);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 5px var(--green-dark); }
  50% { box-shadow: 0 0 20px var(--green); }
}

/* ═══ RESEARCH ═══ */
.classified-box {
  background: var(--terminal-bg);
  border: 1px solid rgba(255,0,64,0.3);
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Red scan line for classified section */
.classified-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: scan-line 3s linear infinite;
}
@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}

.classified-box .lock { font-size: 2rem; margin-bottom: 15px; }
.classified-box p { color: var(--text); font-size: 0.85rem; line-height: 1.6; }

/* ═══ CONTACT ═══ */
.contact-terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 25px;
  max-width: 500px;
}

.contact-link {
  display: block;
  padding: 12px 0;
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
  border-bottom: 1px solid rgba(0,255,65,0.1);
}
.contact-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--green);
  padding-left: 10px;
}

.end-line {
  text-align: center;
  color: var(--green-dark);
  margin-top: 60px;
  font-size: 0.85rem;
  letter-spacing: 5px;
  animation: end-pulse 3s ease-in-out infinite;
}
@keyframes end-pulse {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; text-shadow: 0 0 10px var(--green-dark); }
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 50px; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  
  .hero-name { font-size: 2.2rem; letter-spacing: 8px; }
  .hero-line { font-size: 1rem; }
  .hero-subtitle { font-size: 0.75rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-num { font-size: 2rem; }
  .pill-buttons { flex-direction: column; gap: 15px; align-items: center; }
  
  .section { padding: 60px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .info-matrix { grid-template-columns: 1fr; }
  .exp-matrix { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-matrix { grid-template-columns: 1fr; }
  
  #matrix-canvas { opacity: 0.15; }
}
