/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --bg:           #050505;
  --bg-surface:   #0c0c0e;
  --bg-card:      rgba(255, 255, 255, 0.02);
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text:         #e4e4e7;
  --text-muted:   #a1a1aa;
  --text-dim:     #52525b;
  --accent:       #818cf8;
  --accent-bright:#a5b4fc;
  --accent-glow:  rgba(129, 140, 248, 0.12);
  --accent-glow-strong: rgba(129, 140, 248, 0.25);
  --white:        #fafafa;
  --green:        #34d399;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --container:    1200px;
  --nav-h:        72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

@media (max-width: 768px) {
  body { cursor: auto; }
}

::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(129, 140, 248, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease-out); cursor: none; }
a:hover { color: var(--white); }
button { cursor: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-spring), height 0.2s var(--ease-spring), background 0.2s;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(129, 140, 248, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}

.cursor.hovering {
  width: 48px;
  height: 48px;
  background: rgba(129, 140, 248, 0.15);
  mix-blend-mode: normal;
}
.cursor-follower.hovering {
  width: 64px;
  height: 64px;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all 0.5s var(--ease-out);
}

.nav--solid {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.nav__logo:hover .nav__logo-text { color: var(--accent); }
.nav__logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent) !important;
  transition: all 0.3s var(--ease-out) !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(129, 140, 248, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(129, 140, 248, 0.05), transparent);
  z-index: 2;
  pointer-events: none;
}

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

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.hero__name {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 20px;
}
.hero__name-line {
  display: block;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--white);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__name-line--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__roles {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 1.6em;
  font-weight: 400;
}
.hero__typed { color: var(--text); font-weight: 500; }
.hero__cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__summary {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero__highlight {
  color: var(--accent-bright);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero__mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.hero__mouse:hover { opacity: 1; }
.hero__mouse-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 2s ease-in-out infinite;
}
@keyframes mouseScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn__text { position: relative; z-index: 1; }
.btn__icon { position: relative; z-index: 1; display: flex; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: var(--bg);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #6366f1, var(--accent-bright));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.btn--primary:hover {
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--accent-glow-strong), 0 0 80px rgba(129, 140, 248, 0.15);
}
.btn--primary:hover::before { opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ================================================
   SECTION HEADERS
   ================================================ */
.section { padding: 140px 0; }

.section__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}
.section__number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}
.section__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* ================================================
   ABOUT
   ================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.about__photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
}
.about__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) brightness(0.9);
  transition: all 0.6s var(--ease-out);
}
.about__photo-frame:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}
.about__photo-border {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color 0.4s;
}
.about__photo-frame:hover .about__photo-border {
  border-color: var(--accent);
}
.about__photo-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent-bright));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
  filter: blur(12px);
}
.about__photo-frame:hover .about__photo-glow { opacity: 0.4; }

.about__text {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
}
.about__text strong { color: var(--white); font-weight: 600; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 44px 0 36px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stat__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.stat__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out);
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* ================================================
   EXPERIENCE - EXPANDED
   ================================================ */
.exp__company { margin-bottom: 56px; }
.exp__company-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.exp__company-meta {
  font-size: 0.9375rem;
  color: var(--text-dim);
}

/* Featured GenAI card */
.exp__featured { margin-bottom: 40px; }
.exp__featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.exp__featured-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.04), rgba(255,255,255,0.01));
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.exp__featured-card:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 0 60px var(--accent-glow), 0 20px 60px rgba(0,0,0,0.3);
}
.exp__featured-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}
.exp__featured-content { position: relative; padding: 48px; z-index: 1; }

.exp__featured-header { margin-bottom: 32px; }
.exp__featured-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.exp__featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.exp__featured-tags span {
  padding: 4px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-bright);
}

.exp__featured-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.exp__featured-item h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.exp__featured-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.exp__featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.exp__metric-card {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255,255,255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}
.exp__metric-card:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.exp__metric-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent-bright);
  display: block;
  margin-bottom: 4px;
}
.exp__metric-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Experience Cards */
.exp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.exp__card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.exp__card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.exp__card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.exp__card:hover .exp__card-accent { opacity: 1; }

.exp__card-content { padding: 32px; position: relative; z-index: 1; }

.exp__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
}
.exp__card:hover .exp__card-icon {
  background: var(--accent-glow-strong);
  box-shadow: 0 0 20px var(--accent-glow);
}

.exp__card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.exp__card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.exp__card-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.exp__bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.exp__bullet-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-bright);
  min-width: 80px;
}

/* ================================================
   PROJECTS
   ================================================ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project__card {
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent-glow) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
}
.project__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.project__card:hover::before { opacity: 1; }
.project__card > * { position: relative; z-index: 1; }

.project__card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(129, 140, 248, 0.08);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s;
}
.project__card:hover .project__card-number {
  color: rgba(129, 140, 248, 0.15);
}

.project__card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.project__card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s;
}
.project__card:hover .project__tags span {
  border-color: var(--border-hover);
  color: var(--text-muted);
}

/* ================================================
   RESEARCH
   ================================================ */
.research__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research__card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.research__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.research__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.research__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.research__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.research__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.research__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all 0.3s;
}
.research__link:hover { gap: 10px; }

/* ================================================
   CONTACT
   ================================================ */
.contact { text-align: center; }
.contact .section__header { justify-content: center; }
.contact__content { max-width: 560px; margin: 0 auto; }
.contact__text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}
.contact__socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.contact__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.contact__socials a::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  filter: blur(8px);
}
.contact__socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-6px);
}
.contact__socials a:hover::before { opacity: 0.4; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p { font-size: 0.8125rem; color: var(--text-dim); }

/* ================================================
   EASTER EGG OVERLAY
   ================================================ */
.ee-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
  cursor: auto;
}
.ee-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ee-terminal {
  width: min(640px, 90vw);
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: rgba(10, 10, 14, 0.95);
  box-shadow:
    0 0 80px rgba(129, 140, 248, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s var(--ease-spring);
}
.ee-overlay.active .ee-terminal {
  transform: scale(1) translateY(0);
}

.ee-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ee-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ee-dot--red { background: #ff5f57; }
.ee-dot--yellow { background: #febc2e; }
.ee-dot--green { background: #28c840; }
.ee-terminal-title {
  margin-left: 8px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.ee-terminal-body {
  padding: 20px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--text-muted);
  min-height: 280px;
  max-height: 60vh;
  overflow-y: auto;
}
.ee-terminal-body::-webkit-scrollbar { width: 4px; }
.ee-terminal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ee-line {
  opacity: 0;
  transform: translateY(6px);
  animation: eeLine 0.3s var(--ease-out) forwards;
}
@keyframes eeLine {
  to { opacity: 1; transform: translateY(0); }
}

.ee-line .ee-dim { color: var(--text-dim); }
.ee-line .ee-accent { color: var(--accent-bright); }
.ee-line .ee-green { color: #34d399; }
.ee-line .ee-yellow { color: #fbbf24; }
.ee-line .ee-red { color: #f87171; }
.ee-line .ee-white { color: var(--white); font-weight: 600; }

.ee-line--result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ee-line .ee-cursor-blink {
  animation: blink 1s step-end infinite;
}

/* ================================================
   3D TILT CARD
   ================================================ */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transition: transform 0.1s ease-out;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .exp__grid { grid-template-columns: 1fr 1fr; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .exp__featured-body { grid-template-columns: 1fr; }
  .exp__featured-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 48px 32px;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    transition: right 0.4s var(--ease-out);
    z-index: 100;
  }
  .nav__links.open { right: 0; }
  .nav__links a { font-size: 1.125rem; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photo-frame { max-width: 240px; margin: 0 auto; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }

  .exp__grid { grid-template-columns: 1fr; }
  .exp__featured-content { padding: 28px; }
  .exp__featured-metrics { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: 1fr; }
  .research__grid { grid-template-columns: 1fr; }

  .hero__scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .exp__featured-metrics { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
