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

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg-primary: #030712;
  --bg-secondary: #0a0f1e;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.4);
  --border-glass: rgba(139, 92, 246, 0.15);
  --border-glass-hover: rgba(139, 92, 246, 0.35);

  /* Accent colors */
  --accent-purple: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-pink: #EC4899;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.06), transparent 40%);

  /* Text */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

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

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

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
}

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

ul, ol { list-style: none; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 3px;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.bg-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.bg-orb:nth-child(3) {
  width: 300px;
  height: 300px;
  background: var(--accent-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 40px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.02); }
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  position: relative;
  z-index: 2;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav-logo span {
  font-weight: 300;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
}

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

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.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); }

/* ===== SECTION COMMON ===== */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.section-label i {
  font-size: 0.7rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--accent-purple);
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-name .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--text-secondary);
}

.hero-line {
  flex: 1;
  height: 1px;
  background: var(--gradient-primary);
  max-width: 120px;
  opacity: 0.5;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-glass-hover);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-art-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
}

.hero-art {
  width: 400px;
  height: 400px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* ===== HERO ANIMATION ===== */
.hero-anim-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-anim-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

/* Center block */
.hero-center-block {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(3, 7, 18, 0.6);
  padding: 20px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
}

.center-bracket {
  color: var(--text-secondary);
  animation: bracketPulse 2s ease-in-out infinite;
}

.center-slash {
  color: var(--accent-purple);
  margin: 0 4px;
}

.center-heart {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 1.5rem;
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(236, 72, 153, 0.3);
  animation: heartbeat 2s ease-in-out infinite;
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.2);
  z-index: 1;
}

.orbit-ring-1 {
  width: 250px;
  height: 250px;
  animation: rotateRight 20s linear infinite;
}

.orbit-ring-2 {
  width: 380px;
  height: 380px;
  border-color: rgba(6, 182, 212, 0.15);
  animation: rotateLeft 30s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-primary);
  /* Use math to position around the circle */
  transform: rotate(var(--angle)) translate(125px) rotate(calc(var(--angle) * -1));
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.orbit-ring-2 .orbit-dot {
  transform: rotate(var(--angle)) translate(190px) rotate(calc(var(--angle) * -1));
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  font-size: 1.1rem;
}

/* Counter-rotate the icons so they stay upright */
.orbit-ring-1 .orbit-dot i {
  animation: rotateLeft 20s linear infinite;
}
.orbit-ring-2 .orbit-dot i {
  animation: rotateRight 30s linear infinite;
}

/* Floating Code Particles */
.code-particle {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  z-index: 2;
  font-size: 1.2rem;
  animation: floatCode 6s ease-in-out infinite;
}

.code-particle.p1 { top: 10%; left: 15%; animation-delay: 0s; color: var(--accent-purple); }
.code-particle.p2 { bottom: 15%; right: 10%; animation-delay: -2s; color: var(--accent-cyan); }
.code-particle.p3 { top: 20%; right: 15%; animation-delay: -4s; color: var(--accent-pink); }
.code-particle.p4 { bottom: 20%; left: 10%; animation-delay: -1s; color: var(--accent-amber); }

@keyframes rotateRight {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateLeft {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes bracketPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); color: var(--text-primary); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.2); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

@keyframes floatCode {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* Floating tech badges (Keep for responsive layout or accents) */
.hero-float-badge {
  position: absolute;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 20;
  animation: floatBadge 6s ease-in-out infinite;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-float-badge:nth-child(5) {
  bottom: -20px;
  right: 20px;
  animation-delay: 0s;
  border-color: rgba(139, 92, 246, 0.3);
}

.hero-float-badge:nth-child(6) {
  top: -10px;
  left: 0;
  animation-delay: -2s;
  border-color: rgba(6, 182, 212, 0.3);
}

.hero-float-badge:nth-child(7) {
  bottom: 40px;
  left: -20px;
  animation-delay: -4s;
  border-color: rgba(236, 72, 153, 0.3);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-item { text-align: left; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.highlight-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
}

.highlight-icon { font-size: 1.5rem; margin-bottom: 12px; }

.highlight-title {
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About info cards */
.about-info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-info-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.about-info-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
}

.about-info-label {
  font-size: 0.75rem;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.about-info-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.about-info-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== EXPERIENCE SECTION ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 24px;
}

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

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-purple);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateX(8px);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.1);
}

.timeline-card:hover::before { transform: scaleX(1); }

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

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 1rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-top: 4px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-purple);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  white-space: nowrap;
}

.timeline-org-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
  padding-left: 12px;
  border-left: 2px solid rgba(139, 92, 246, 0.2);
}

.timeline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.timeline-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: var(--transition-fast);
}

.timeline-project a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.timeline-project:hover {
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.timeline-project.cert-badge {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.timeline-project.cert-badge:hover {
  background: rgba(245, 158, 11, 0.15);
}

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

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

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: 700;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

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

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.project-icon.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.project-icon.icon-pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.project-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.project-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.project-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* ===== SKILLS SECTION ===== */
.skills-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.skill-category {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.skill-category:hover { border-color: var(--border-glass-hover); }

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.skill-category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.skill-category-icon.icon-lang {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
}

.skill-category-icon.icon-tech {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
}

.skill-category-icon.icon-course {
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent-pink);
}

.skill-category-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  transition: var(--transition-smooth);
  cursor: default;
}

.skill-tag:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15);
}

/* Marquee */
.skills-marquee {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.skills-marquee::before,
.skills-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.skills-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.skills-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.1);
}

/* ===== EDUCATION SECTION ===== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.education-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.education-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.education-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
}

.education-card:hover::after { transform: scaleX(1); }

.education-emoji { font-size: 2.5rem; margin-bottom: 16px; }

.education-school {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.education-degree {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.education-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.education-score {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.achievement-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.achievement-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.1);
}

.achievement-icon { font-size: 2rem; flex-shrink: 0; }

.achievement-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.achievement-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-link:hover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.contact-link i {
  font-size: 1.1rem;
  color: var(--accent-purple);
}

.contact-cta { margin-top: 48px; }

.contact-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-text .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== TYPING CURSOR ===== */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--accent-purple);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-art-wrapper { width: 300px; height: 300px; }
  .hero-art { width: 300px; height: 300px; }

  .about-content { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 12px 24px; }
  .nav-toggle { display: flex; }

  .hero-name { font-size: 2.4rem; }
  .hero-float-badge { display: none; }
  .hero-stats { gap: 24px; }
  .stat-number { font-size: 1.5rem; }

  .about-highlights { grid-template-columns: 1fr; }

  .timeline { padding-left: 24px; }
  .timeline-dot { left: -32px; width: 12px; height: 12px; }

  .achievements-grid { grid-template-columns: 1fr; }
  .contact-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-art-wrapper { width: 220px; height: 220px; }
  .hero-art { width: 220px; height: 220px; }
  .timeline-card { padding: 20px; }
  .project-card { padding: 24px; }
}
