:root {
  /* Colors */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-tertiary: #1a1a1f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;
  
  --accent-primary: #a78bfa;     /* Purple */
  --accent-secondary: #818cf8;   /* Indigo */
  --accent-tertiary: #6366f1;    /* Deep indigo */
  --accent-glow: rgba(167, 139, 250, 0.15);
  --accent-glow-strong: rgba(167, 139, 250, 0.3);
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(167, 139, 250, 0.3);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 800;
  --font-bold: 700;
  --font-semibold: 600;
  --font-medium: 500;
  --font-regular: 400;
  --font-light: 300;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-hero: clamp(3rem, 8vw, 7rem);
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --section-padding: clamp(4rem, 10vh, 8rem);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Effects */
  --glass-blur: 20px;
  --glass-blur-heavy: 40px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-index */
  --z-base: 1;
  --z-nav: 100;
  --z-overlay: 200;
  --z-cursor: 300;
}

/* 1. Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(167, 139, 250, 0.3);
  color: white;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 2. Noise Overlay */
#noise-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEUfHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8dVhAuAAAAGnRSTlMBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGpMrrwIAAABJSURBVHja7cxBDQAgEMCwA/+iIQG3sOLmKqiqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr6/wk2AC8GAAAAAElFTkSuQmCC");
  background-repeat: repeat;
}

/* 3. Cursor Glow */
#cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-base);
}

/* 4. Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: 72px;
  background: transparent;
  transition: all var(--transition-base);
}

#navbar.navbar-scrolled {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
}

.nav-logo {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--accent-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--bg-primary);
  background: var(--accent-primary);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  width: 24px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 1);
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 11, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: var(--z-nav);
}

#mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-link:hover {
  color: var(--text-primary);
}

/* 5. Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.aurora-bg {
  position: absolute;
  inset: -50%;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(129, 140, 248, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
  animation: aurora 20s ease-in-out infinite alternate;
  filter: blur(40px);
}

@keyframes aurora {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(5%, -5%) rotate(3deg) scale(1.05); }
  50% { transform: translate(-3%, 5%) rotate(-2deg) scale(0.98); }
  75% { transform: translate(4%, 2%) rotate(4deg) scale(1.03); }
  100% { transform: translate(-2%, -3%) rotate(-3deg) scale(1); }
}

.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 10s ease-in-out infinite;
}

.shape:nth-child(1) { width: 300px; height: 300px; background: rgba(167,139,250,0.1); top: 20%; left: 10%; animation-duration: 8s; }
.shape:nth-child(2) { width: 200px; height: 200px; background: rgba(129,140,248,0.08); top: 60%; right: 15%; animation-duration: 10s; animation-delay: -2s; }
.shape:nth-child(3) { width: 150px; height: 150px; background: rgba(99,102,241,0.1); bottom: 20%; left: 30%; animation-duration: 12s; animation-delay: -4s; }
.shape:nth-child(4) { width: 250px; height: 250px; background: rgba(139,92,246,0.06); top: 10%; right: 30%; animation-duration: 9s; animation-delay: -1s; }
.shape:nth-child(5) { width: 180px; height: 180px; background: rgba(167,139,250,0.07); bottom: 30%; right: 10%; animation-duration: 11s; animation-delay: -3s; }
.shape:nth-child(6) { width: 120px; height: 120px; background: rgba(129,140,248,0.09); top: 40%; left: 60%; animation-duration: 7s; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-15px); }
  75% { transform: translateY(-25px) translateX(5px); }
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-greeting {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-weight: var(--font-medium);
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  min-height: 2.5rem;
  font-weight: var(--font-light);
}

#typed-text::after {
  content: '|';
  color: var(--accent-primary);
  animation: blink 1s step-end infinite;
}

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

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(167,139,250,0.3);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* 6. Section Shared Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-padding) var(--space-6);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* 7. About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--accent-primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-interests {
  margin-top: var(--space-12);
}

.about-interests h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  text-align: center;
}

.about-interests div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.interest-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.interest-tag:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* 8. Experience Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-12);
  margin-bottom: var(--space-12);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -5px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.timeline-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.timeline-role {
  font-size: var(--text-sm);
  color: var(--accent-primary);
  font-weight: var(--font-medium);
}

.timeline-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-top: var(--space-3);
  line-height: 1.7;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.timeline-tag {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* 9. Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-slow);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.project-card.featured {
  grid-column: span 2;
}

.project-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1), rgba(99, 102, 241, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  position: relative;
}

.project-card.featured .project-image {
  height: 300px;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card), transparent);
  opacity: 0.5;
}

.project-content {
  padding: var(--space-6);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.project-label {
  font-size: var(--text-xs);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-semibold);
}

.project-year {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.project-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.project-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.project-tags span {
  font-size: var(--text-xs);
  color: var(--accent-primary);
  background: rgba(167, 139, 250, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.project-links {
  display: flex;
  gap: var(--space-3);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-primary);
}

/* 10. Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-4);
  max-width: 800px;
  margin: 0 auto;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.tech-icon {
  font-size: var(--text-3xl);
  color: var(--accent-primary);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-icon span {
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

.tech-name {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--font-medium);
}

/* 11. Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

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

.skill-category-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.skill-category-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.skill-item {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.skill-item:hover {
  color: var(--accent-primary);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* 12. Education */
.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.education-card:hover {
  border-color: var(--border-accent);
}

.education-icon {
  font-size: var(--text-5xl);
  flex-shrink: 0;
}

.education-content h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.education-degree {
  font-size: var(--text-lg);
  color: var(--accent-primary);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-1);
}

.education-year {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.education-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 13. Certificates */
.certificates-grid {
  max-width: 600px;
  margin: 0 auto;
}

.certificate-card {
  background: var(--bg-card);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
}

.certificate-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.certificate-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
}

/* 14. GitHub Section */
.github-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.github-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

.github-stat-card:hover {
  border-color: var(--border-accent);
}

.github-stat-card img {
  width: 100%;
  height: auto;
}

/* 15. Contact */
#contact {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.contact-socials {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

.social-link {
  font-size: var(--text-xl);
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.social-link:hover {
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* 16. Footer */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin-bottom: var(--space-6);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright, .footer-credit {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* 17. Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 18. @keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 19. Responsive Media Queries */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
  .hero-buttons {
    flex-direction: column;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card.featured {
    grid-column: span 1;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-dot {
    left: 15px;
  }
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .education-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .section-container {
    padding: clamp(3rem, 8vh, 5rem) var(--space-4);
  }
  .footer-top {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  .section-container {
    padding: clamp(2.5rem, 6vh, 4rem) var(--space-3);
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-buttons {
    gap: var(--space-3);
  }
}
