/* ============================================
   PROFESSOR PORTFOLIO — GLASSMORPHISM UI
   ============================================ */

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

:root {
  --bg-deep:       #05020f;
  --bg-mid:        #0d0826;
  --glass-bg:      rgba(255, 255, 255, 0.05);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-hover:   rgba(255, 255, 255, 0.09);
  --blur:          18px;

  --violet:        #8b5cf6;
  --violet-light:  #a78bfa;
  --violet-dark:   #6d28d9;
  --teal:          #2dd4bf;
  --teal-light:    #5eead4;
  --rose:          #fb7185;
  --amber:         #fbbf24;

  --text-primary:  #f0eeff;
  --text-secondary:#b8b0d4;
  --text-muted:    #7a7296;

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --shadow-glass:  0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === BACKGROUND SCENE === */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #6d28d9, transparent 70%); top: -10%; left: -15%; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #0d9488, transparent 70%); top: 30%; right: -10%; animation-delay: -6s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #be185d, transparent 70%); bottom: 10%; left: 20%; animation-delay: -12s; }
.orb-4 { width: 350px; height: 350px; background: radial-gradient(circle, #1d4ed8, transparent 70%); top: 60%; right: 30%; animation-delay: -4s; }

@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-30px) scale(1.08); }
  66%       { transform: translate(-30px, 40px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* === GLASS UTILITY === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 2, 15, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-shrink: 0;
}
.brand-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--violet-light);
  letter-spacing: 0.12em;
  font-weight: 300;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--glass-bg);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: rgba(5, 2, 15, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}
.mobile-link:hover { color: var(--text-primary); background: var(--glass-bg); }

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 120px 4rem 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.title-italic { font-style: italic; color: var(--text-secondary); }
.title-accent {
  color: var(--violet-light);
  font-style: italic;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-card {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 90px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--violet-light);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.avatar-ring {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-frame {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(139,92,246,0.35);
  z-index: 2;
}
.avatar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.avatar-placeholder svg { width: 100px; opacity: 0.6; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}
.r1 {
  width: 320px; height: 320px;
  border-color: rgba(139,92,246,0.2);
  animation-duration: 30s;
}
.r2 {
  width: 370px; height: 370px;
  border-color: rgba(45,212,191,0.12);
  animation-duration: 50s;
  animation-direction: reverse;
  border-style: dashed;
}
@keyframes spin { to { transform: rotate(360deg); } }

.floating-tag {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.ft-icon { font-size: 1em; }
.ft-1 { top: 40px; right: -10px; animation-delay: 0s; }
.ft-2 { bottom: 80px; right: -20px; animation-delay: -2s; }
.ft-3 { bottom: 30px; left: 0px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  border-radius: var(--radius-lg);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(139,92,246,0.5);
  box-shadow: 0 4px 20px rgba(109,40,217,0.35);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(109,40,217,0.5);
}
.btn-primary.full-width { width: 100%; justify-content: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* === SECTIONS === */
.section { position: relative; z-index: 1; padding: 100px 0; }
.section-alt { background: rgba(255,255,255,0.015); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
}
.accent { color: var(--violet-light); font-style: italic; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.lead-para {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-text strong { color: var(--text-primary); font-weight: 500; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  font-size: 0.78rem;
  color: var(--violet-light);
  letter-spacing: 0.02em;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.info-card:hover {
  background: var(--glass-hover);
  transform: translateY(-3px);
}
.info-icon { font-size: 1.5rem; flex-shrink: 0; }
.info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.info-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.15rem;
}

/* === RESEARCH === */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.research-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: default;
}
.research-card:hover {
  background: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.research-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}
.research-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.research-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.research-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.research-tag {
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-light);
}

/* === PUBLICATIONS === */
.pub-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(139,92,246,0.18);
  border-color: rgba(139,92,246,0.4);
  color: var(--violet-light);
}
.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  transition: var(--transition);
}
.pub-item:hover { background: var(--glass-hover); transform: translateX(4px); }
.pub-item.hidden { display: none; }
.pub-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--violet-light);
  min-width: 40px;
  padding-top: 0.25rem;
  font-weight: 400;
}
.pub-content { flex: 1; }
.pub-type-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pub-type-badge.journal  { background: rgba(139,92,246,0.18); color: var(--violet-light); }
.pub-type-badge.conference { background: rgba(45,212,191,0.15); color: var(--teal-light); }
.pub-type-badge.book { background: rgba(251,191,36,0.15); color: var(--amber); }
.pub-content h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.pub-authors { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.pub-journal { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.pub-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.pub-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--violet-light);
  border: 1px solid rgba(139,92,246,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transition: var(--transition);
}
.pub-link:hover { background: rgba(139,92,246,0.15); }
.pub-citations { font-size: 0.75rem; color: var(--text-muted); margin-left: auto; }
.pub-more { text-align: center; margin-top: 2.5rem; }

/* === COURSES === */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.course-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.course-card:hover {
  background: var(--glass-hover);
  transform: translateY(-4px);
}
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.course-code {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--violet-light);
  font-weight: 400;
}
.course-level {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.course-level.grad { background: rgba(139,92,246,0.15); color: var(--violet-light); border: 1px solid rgba(139,92,246,0.3); }
.course-level.undergrad { background: rgba(45,212,191,0.12); color: var(--teal-light); border: 1px solid rgba(45,212,191,0.25); }
.course-level.phd { background: rgba(251,113,133,0.12); color: var(--rose); border: 1px solid rgba(251,113,133,0.25); }
.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.course-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.course-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === AWARDS TIMELINE === */
.awards-timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.awards-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(139,92,246,0.4) 10%, rgba(139,92,246,0.4) 90%, transparent);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--violet-light);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}
.timeline-year::after {
  content: '';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 12px rgba(139,92,246,0.5);
}
.timeline-content {
  flex: 1;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.timeline-content:hover { background: var(--glass-hover); }
.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.timeline-content p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  align-items: flex-start;
}
.ci-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.contact-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.social-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-btn:hover {
  color: var(--violet-light);
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: #1a1035; color: var(--text-primary); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.06);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.3);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--teal-light);
  text-align: center;
}
.form-success.show { display: block; }

/* === FOOTER === */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); width: 100%; }
.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--violet-light); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.research-grid .reveal:nth-child(1), .courses-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.research-grid .reveal:nth-child(2), .courses-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.research-grid .reveal:nth-child(3), .courses-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.research-grid .reveal:nth-child(4), .courses-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.research-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.research-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.about-cards .reveal:nth-child(1) { transition-delay: 0.05s; }
.about-cards .reveal:nth-child(2) { transition-delay: 0.12s; }
.about-cards .reveal:nth-child(3) { transition-delay: 0.19s; }
.about-cards .reveal:nth-child(4) { transition-delay: 0.26s; }

/* === GLASS-PILL === */
.glass-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 2rem 80px;
    text-align: center;
  }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .research-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .awards-timeline::before { left: 55px; }
  .pub-item { flex-direction: column; gap: 0.75rem; }
  .pub-citations { margin-left: 0; }
  .br-desktop { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 1.25rem 60px; }
  .container { padding: 0 1.25rem; }
  .contact-form { padding: 1.5rem; }
  .hero-stats { gap: 0.65rem; }
  .stat-card { min-width: 75px; padding: 0.75rem; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .orb, .ring, .floating-tag, .pulse-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
