/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:           #06090f;
  --bg-2:         #090e1a;
  --bg-card:      #0c1422;
  --border:       #17263a;
  --border-glow:  rgba(0, 207, 255, 0.22);
  --cyan:         #00cfff;
  --cyan-dim:     rgba(0, 207, 255, 0.08);
  --cyan-mid:     rgba(0, 207, 255, 0.15);
  --green:        #00e676;
  --green-dim:    rgba(0, 230, 118, 0.12);
  --amber:        #ffab00;
  --text:         #c8d4e2;
  --text-muted:   #46586e;
  --text-dim:     #7890a8;
  --mono:         'JetBrains Mono', monospace;
  --sans:         'Inter', sans-serif;
  --ease:         0.24s cubic-bezier(0.4, 0, 0.2, 1);
  --r:            6px;
}

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

a { text-decoration: none; color: inherit; }

/* ================================================================
   SCROLLBAR
================================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-mid); }

/* ================================================================
   NAV
================================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(6, 9, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}
#navbar.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 3px;
}
.cursor-blink { animation: blink 1s step-end infinite; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-social {
  color: var(--text-dim);
  font-size: 1rem;
  transition: color var(--ease);
}
.nav-social:hover { color: var(--cyan); }

#lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--ease);
  letter-spacing: 1px;
}
#lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 62px; left: 0; right: 0;
  z-index: 99;
  background: rgba(6, 9, 15, 0.98);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 1.2rem 2rem;
  gap: 1.3rem;
  transform: translateY(-110%);
  transition: transform var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--ease);
}
.mobile-menu a:hover { color: var(--cyan); }

/* ================================================================
   HERO
================================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 2.5rem 5rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 207, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 207, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 30% 50%, rgba(0, 207, 255, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(108, 59, 255, 0.03) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* AVAILABLE BADGE */
.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(0, 230, 118, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
  letter-spacing: 0.5px;
}
.available-pulse {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

.hero-name {
  font-family: var(--mono);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1rem;
  cursor: default;
  user-select: none;
}
.hero-name:hover { animation: glitch 0.35s ease; }

.hero-role {
  font-family: var(--mono);
  font-size: clamp(0.88rem, 2vw, 1.1rem);
  color: var(--cyan);
  min-height: 1.7rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 3px;
}
.typing-cursor { color: var(--cyan); animation: blink 0.75s step-end infinite; }

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.2rem;
  letter-spacing: 0.2px;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

/* STATS */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.35rem;
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.12);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

/* CODE CARD (hero visual) */
.hero-visual { display: flex; justify-content: center; }

.code-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 207, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.code-card:hover {
  border-color: var(--border-glow);
  box-shadow:
    0 0 0 1px rgba(0, 207, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 207, 255, 0.05);
}

.code-card-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.code-dots { display: flex; gap: 6px; }
.code-card-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 auto;
}

.code-body {
  padding: 1.2rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
}
.code-line { display: flex; gap: 1rem; white-space: pre; }
.code-cursor-line { margin-top: 0.2rem; }

.c-num  { color: var(--text-muted); min-width: 18px; user-select: none; }
.c-comment { color: #4a6478; font-style: italic; }
.c-kw   { color: #b083f0; }
.c-fn   { color: var(--cyan); }
.c-base { color: var(--text-dim); }
.c-prompt { color: var(--cyan); }

/* ================================================================
   SECTION BASE
================================================================ */
section { padding: 6rem 2.5rem; }

.section-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.8rem;
}
.section-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  flex-shrink: 0;
  opacity: 0.7;
}
.section-header h2 {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 600;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 400px;
}

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   ABOUT
================================================================ */
#about { background: var(--bg-2); }

.terminal-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
  max-width: 680px;
  border-left: 2px solid var(--cyan);
  transition: box-shadow var(--ease);
}
.terminal-card:hover {
  box-shadow: 0 0 30px rgba(0, 207, 255, 0.06), -4px 0 20px rgba(0, 207, 255, 0.04);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 auto;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.84rem;
}
.terminal-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.terminal-line.mt { margin-top: 1.1rem; }
.t-prompt { color: var(--cyan); }
.t-cmd { color: var(--text); }
.t-output {
  color: var(--text-dim);
  padding-left: 1.3rem;
  margin-top: 0.3rem;
  line-height: 1.65;
}
.t-list {
  list-style: none;
  padding-left: 1.3rem;
  margin-top: 0.4rem;
}
.t-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}
.t-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.blink-cursor {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  font-size: 0.9rem;
}

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

.skill-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  padding: 1.4rem;
  transition: all var(--ease);
  border-left: 2px solid transparent;
}
.skill-card:hover {
  border-left-color: var(--cyan);
  box-shadow: -3px 0 16px rgba(0, 207, 255, 0.06), 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.skill-card-accent {
  border-left-color: rgba(108, 59, 255, 0.5);
}
.skill-card-accent:hover {
  border-left-color: #6c3bff;
  box-shadow: -3px 0 16px rgba(108, 59, 255, 0.08), 0 4px 20px rgba(0,0,0,0.2);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.skill-card-header i {
  color: var(--cyan);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}
.skill-card-accent .skill-card-header i { color: #8b5cf6; }
.skill-card-header h3 {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.skill-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.52rem;
  border-radius: 4px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0, 207, 255, 0.12);
}
.skill-card-accent .skill-tags span {
  background: rgba(108, 59, 255, 0.08);
  color: #a78bfa;
  border-color: rgba(108, 59, 255, 0.15);
}

/* ================================================================
   EXPERIENCE / TIMELINE
================================================================ */

.timeline {
  position: relative;
  padding-left: 1.4rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan-mid), var(--border) 30%, var(--border) 70%, transparent);
}

.tl-item {
  position: relative;
  padding-bottom: 2rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -1.4rem;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.08);
}

.tl-when {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}
.tl-content h3 {
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.tl-content > p {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  letter-spacing: 0.2px;
}
.tl-points {
  list-style: none;
  padding: 0;
}
.tl-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 0.3rem;
}
.tl-points li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.85rem;
}

/* ================================================================
   PROJECTS
================================================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  padding: 1.5rem;
  transition: all var(--ease);
}
.project-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.06), 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.project-card-featured {
  position: relative;
  border-color: rgba(0, 207, 255, 0.45);
  background: linear-gradient(140deg, rgba(0, 207, 255, 0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px rgba(0, 207, 255, 0.12), 0 0 32px rgba(0, 207, 255, 0.05);
}
.project-card-featured::before {
  content: "NEW";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: var(--cyan);
  color: #06090f;
}
.project-card-featured:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 207, 255, 0.18), 0 12px 28px rgba(0,0,0,0.3);
}
.project-card-featured .project-card-top > i:first-child {
  color: #ff5577;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.project-card-top > i:first-child {
  font-size: 1.4rem;
  color: var(--cyan);
}
.project-github-icon {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--ease);
}
.project-card:hover .project-github-icon { color: var(--cyan); }

.project-card h3 {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.project-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}
.project-tags span {
  font-family: var(--mono);
  font-size: 0.66rem;
  padding: 0.16rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ================================================================
   TALKS
================================================================ */
.talks-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 2px solid rgba(255, 171, 0, 0.5);
  border-radius: var(--r);
  background: var(--bg-card);
  padding: 2rem;
  transition: all var(--ease);
}
.talks-card:hover {
  border-left-color: var(--amber);
  box-shadow: -3px 0 16px rgba(255, 171, 0, 0.07), 0 4px 20px rgba(0,0,0,0.2);
}

.talks-icon {
  font-size: 2.2rem;
  color: var(--amber);
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  padding-top: 0.2rem;
}

.talks-content h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.talks-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.talks-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}
.talks-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.52rem;
  border-radius: 4px;
  background: rgba(255, 171, 0, 0.08);
  color: var(--amber);
  border: 1px solid rgba(255, 171, 0, 0.18);
}

/* ================================================================
   CERTS
================================================================ */
#certs { background: var(--bg-2); }

.certs-sub {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.certs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.cert-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  min-width: 148px;
  text-align: center;
  transition: all var(--ease);
}
.cert-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.05), 0 4px 16px rgba(0,0,0,0.2);
}
.cert-logo {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.cert-name {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.cert-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 171, 0, 0.08);
  color: var(--amber);
  border: 1px solid rgba(255, 171, 0, 0.18);
  letter-spacing: 0.3px;
}

/* ================================================================
   CONTACT
================================================================ */
.contact-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 480px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 400px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: all var(--ease);
}
.contact-item:hover {
  border-color: var(--border-glow);
  color: var(--cyan);
  transform: translateX(4px);
  box-shadow: -2px 0 12px rgba(0, 207, 255, 0.05);
}
.contact-item i {
  color: var(--cyan);
  width: 15px;
  text-align: center;
}
.contact-location { cursor: default; }
.contact-location:hover { color: var(--text-dim); transform: none; box-shadow: none; }

/* ================================================================
   FOOTER
================================================================ */
footer {
  padding: 1.8rem;
  text-align: center;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  50%       { opacity: 0.85; box-shadow: 0 0 0 5px rgba(0, 230, 118, 0); }
}

@keyframes glitch {
  0%   { text-shadow: none;                        transform: translate(0,0);    }
  20%  { text-shadow: -3px 0 rgba(0,207,255,0.7);  transform: translate(-2px,1px);}
  40%  { text-shadow:  3px 0 rgba(108,59,255,0.7); transform: translate(2px,-1px);}
  60%  { text-shadow: -2px 0 rgba(0,207,255,0.5);  transform: translate(-1px,1px);}
  80%  { text-shadow:  2px 0 rgba(108,59,255,0.5); transform: translate(1px,-1px);}
  100% { text-shadow: none;                        transform: translate(0,0);    }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navbar { padding: 1rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  section { padding: 4.5rem 1.5rem; }
  .talks-card { flex-direction: column; gap: 1.2rem; }
  .talks-icon { font-size: 2rem; width: auto; }
  .skills-grid,
  .projects-grid { grid-template-columns: 1fr; }
  .certs-grid { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .cert-card { min-width: 130px; }
  .section-line { display: none; }
  .hero-stats { gap: 1rem; }
}
