@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;700;900&display=swap');

/* Variables */
:root {
  --bg-primary: #050811;
  --bg-secondary: #0a0f1d;
  --bg-card: rgba(13, 20, 36, 0.75);
  --bg-card-hover: rgba(18, 28, 51, 0.85);
  
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-purple: #8b5cf6;
  --neon-purple-glow: rgba(139, 92, 246, 0.35);
  --neon-magenta: #ff007f;
  --neon-green: #10b981;
  --neon-amber: #f59e0b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 240, 255, 0.25);
  
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Background Atmosphere & Grid */
.cyber-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(140px);
  opacity: 0.18;
}
.ambient-glow-1 {
  top: -150px;
  left: -150px;
  background: var(--neon-cyan);
}
.ambient-glow-2 {
  bottom: -200px;
  right: -200px;
  background: var(--neon-purple);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

section {
  padding: 90px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-neon);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title span.highlight {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #38bdf8 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 650px;
  margin-bottom: 45px;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), #38bdf8 50%, var(--neon-purple) 100%);
  z-index: 10001;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
  transition: width 0.08s linear;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(5, 8, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.95);
  border-bottom-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-badge {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #050811;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0284c7 100%);
  color: #041019;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 110px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#webgl-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.hero-content, .hero-station-card {
  pointer-events: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero-title .name-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #bae6fd 70%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 22px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 38px;
}

.hero-role .accent-chip {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-neon);
  font-size: 11.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.typed-role-container {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  white-space: nowrap;
}

.typed-role-text {
  color: var(--neon-cyan);
  font-weight: 700;
  white-space: nowrap;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.15em;
  background-color: var(--neon-cyan);
  margin-left: 4px;
  animation: blinkCursor 0.9s infinite;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--neon-cyan);
  flex-shrink: 0;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-summary {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.metrics-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-glass);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-number span.plus {
  color: var(--neon-cyan);
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--neon-cyan);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--border-neon);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.6s infinite;
}

@keyframes mouseScroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* Station Card */
.hero-station-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.hero-station-card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 30px 60px rgba(0, 240, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.station-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.station-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

.station-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.station-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.station-avatar-info h4 {
  font-size: 18px;
  font-weight: 800;
}

.station-avatar-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.live-feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-item span.title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.feed-item span.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
}

.canvas-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Projects Section */
.projects-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-neon);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

.project-card:hover::before {
  opacity: 1;
}

.project-preview-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #080c14;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.project-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.92) contrast(1.05);
}

.project-card:hover .project-preview-img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.1);
}

.project-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.05) 0%, rgba(5, 8, 17, 0.75) 100%);
  pointer-events: none;
}

.project-preview-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid var(--border-neon);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.project-preview-pill.purple {
  border-color: rgba(139, 92, 246, 0.5);
  color: #c084fc;
}

.project-preview-pill.amber {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-badge.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.3);
}

.project-badge.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cbd5e1;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-actions .btn-sm {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 12px;
}

/* Skills */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-normal);
}

.skill-category-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
}

.skill-category-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-cyan);
}

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

.skill-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.skill-chip:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
}

/* Education */
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px;
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.edu-icon {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.edu-content h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.edu-content .univ {
  color: var(--neon-cyan);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.edu-content .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
}

.contact-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--border-neon);
  background: rgba(0, 240, 255, 0.05);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info .icon {
  font-size: 22px;
}

.contact-info h5 {
  font-size: 14px;
  font-weight: 700;
}

.contact-info p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy:hover {
  background: var(--neon-cyan);
  color: #000;
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.footer span.heart {
  color: var(--neon-magenta);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111b27;
  border: 1px solid var(--neon-cyan);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px var(--neon-cyan-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 20, 36, 0.88);
  border: 1px solid var(--border-neon);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--neon-cyan);
  color: #041019;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.5);
}

/* Scroll Reveals & Transitions */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active,
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* Project Highlights List */
.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
}

.project-highlights li {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-highlights li .bullet-icon {
  flex-shrink: 0;
  font-size: 11px;
}

.project-highlights li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Timeline / Experience */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  margin-bottom: 45px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple), transparent);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  margin-top: 24px;
  margin-left: 14px;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--border-neon);
  transform: translateX(4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}

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

.timeline-role {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 13.5px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid var(--border-neon);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-bullets li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.timeline-bullets li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: 700;
}

/* Value Proposition Cards */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value-prop-card {
  background: rgba(13, 20, 36, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 22px;
  transition: var(--transition-fast);
}

.value-prop-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(13, 20, 36, 0.85);
  transform: translateY(-3px);
}

.prop-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.value-prop-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-prop-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Responsive (Tablet & Mobile System) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding: 30px 0;
  }
  .hero-role {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    min-height: 72px; /* Fixed height reservation eliminates CLS & screen jitter */
  }
  .typed-role-container {
    font-size: 20px;
    white-space: nowrap;
  }
  .status-pill, .hero-buttons, .metrics-strip {
    justify-content: center;
  }
  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-station-card {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  section {
    padding: 55px 0;
  }
  .navbar {
    height: 64px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-neon);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--neon-cyan);
    cursor: pointer;
  }

  /* Centered and Clean Section Headers on Mobile */
  .section-tag {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
  }
  .section-title {
    text-align: center;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .section-desc {
    text-align: center;
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    max-width: 520px;
    padding: 0 8px;
  }

  /* Safe reveals on mobile (no horizontal screen overflow or viewport wobble) */
  .reveal-left, .reveal-right {
    transform: translateY(22px);
  }
  .reveal-left.active, .reveal-right.active {
    transform: translateY(0);
  }

  /* Projects Filter & Grid */
  .projects-filter {
    justify-content: center;
    gap: 8px;
    margin-bottom: 26px;
  }
  .filter-btn {
    padding: 7px 13px;
    font-size: 11.5px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-card {
    padding: 18px 16px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .project-preview-wrap {
    height: 165px;
  }

  /* Timeline Center and Mobile Balance */
  .timeline-container {
    margin-bottom: 35px;
  }
  .timeline-container::before {
    left: 8px;
  }
  .timeline-item {
    gap: 12px;
  }
  .timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 18px;
    margin-left: 3px;
  }
  .timeline-card {
    padding: 16px 16px;
  }
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .timeline-role {
    font-size: 16px;
  }
  .timeline-bullets li {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Value Props Grid */
  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 480px;
    margin: 24px auto 0 auto;
  }
  .value-prop-card {
    text-align: center;
    padding: 18px 16px;
  }
  .value-prop-card .prop-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Skills Grid */
  .skills-container {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
  }
  .skill-category-card {
    padding: 18px 16px;
    text-align: center;
  }
  .skill-category-card h3 {
    justify-content: center;
    font-size: 17px;
  }
  .skills-pills-wrap {
    justify-content: center;
  }
  .skill-chip {
    font-size: 12px;
    padding: 6px 11px;
  }

  /* Education Card */
  .edu-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
    gap: 14px;
    max-width: 480px;
    margin: 20px auto 0 auto;
  }
  .edu-icon {
    margin: 0 auto;
  }
  .edu-content h4 {
    font-size: 18px;
  }

  /* Contact Section */
  .contact-grid {
    padding: 22px 16px;
    gap: 20px;
    border-radius: 18px;
    max-width: 480px;
    margin: 0 auto;
  }
  .contact-card-item {
    padding: 14px 14px;
    margin-bottom: 12px;
    gap: 10px;
  }
  .contact-info {
    min-width: 0;
    gap: 10px;
  }
  .contact-info h5 {
    font-size: 13.5px;
  }
  .contact-info p {
    font-size: 11px;
    word-break: break-all;
  }

  /* Metrics on Mobile */
  .metrics-strip {
    gap: 20px;
  }
  .metric-number {
    font-size: 22px;
  }

  /* Back to Top */
  #back-to-top {
    bottom: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  .typed-role-container {
    font-size: 16px;
  }
  .hero-role {
    min-height: 64px;
  }
  .status-pill {
    font-size: 10.5px;
    padding: 5px 10px;
    text-align: center;
    white-space: normal;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .metrics-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
  }
  .station-avatar-wrap {
    flex-direction: column;
    text-align: center;
  }
  .station-avatar {
    width: 76px;
    height: 76px;
  }
  .project-actions {
    flex-direction: column;
  }
  .project-actions .btn-sm {
    width: 100%;
  }
  .contact-card-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-card-item .btn-copy {
    align-self: flex-end;
  }
}
