/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors — electric blue palette */
  --bg-primary: #0c1018;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 42, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.06);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-1: #3b82f6;
  --accent-2: #60a5fa;
  --accent-3: #22d3ee;
  --accent-4: #818cf8;
  --accent-5: #34d399;

  --gradient-main: linear-gradient(135deg, #2563eb 0%, #3b82f6 30%, #22d3ee 70%, #34d399 100%);
  --gradient-warm: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
  --gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.06));

  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-active: rgba(59, 130, 246, 0.6);

  --shadow-glow: 0 0 80px rgba(59, 130, 246, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

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

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 140px);
  --container-max: 1200px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-1) var(--bg-primary);
}

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

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

ul {
  list-style: none;
}

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

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-1);
  border-radius: 3px;
}

/* ============================================================
   CURSOR CANVAS
   ============================================================ */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   PARTICLES
   ============================================================ */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-1);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 12s infinite ease-in-out;
}

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-200px) scale(1.5); }
  90% { opacity: 0; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-main);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  z-index: 10000;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-bracket {
  color: var(--accent-1);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  gap: 24px;
  transition: right 0.5s var(--ease-out-expo);
  border-left: 1px solid var(--border-subtle);
}

.mobile-menu.open {
  right: 0;
}

.mobile-link {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

.mobile-link:hover {
  color: var(--text-primary);
  transform: translateX(8px);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  position: relative;
  padding: var(--section-padding) 0;
  z-index: 1;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--accent-1);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

.label-number {
  color: var(--accent-2);
  margin-right: 8px;
}

/* ============================================================
   SCROLLY ANIMATION SYSTEM
   ============================================================ */
.scrolly {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.scrolly.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typewriter effect */
.typewriter {
  overflow: hidden;
}

.typewriter.visible {
  animation: typeReveal 0.8s var(--ease-out-expo) forwards;
}

@keyframes typeReveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 65%);
  pointer-events: none;
  animation: ambientDrift1 12s ease-in-out infinite alternate;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(52, 211, 153, 0.05) 40%, transparent 65%);
  pointer-events: none;
  animation: ambientDrift2 14s ease-in-out infinite alternate;
}

@keyframes ambientDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.1); }
}

@keyframes ambientDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-20px, -30px) scale(1.08); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
}

.hero-avatar-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: 0.6;
  filter: blur(24px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.4; transform: scale(0.95); }
  to { opacity: 0.75; transform: scale(1.08); }
}

.hero-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(59, 130, 246, 0.4);
  position: relative;
  z-index: 1;
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--accent-1);
  letter-spacing: 0.08em;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
}

.hero-title-prefix {
  color: var(--accent-3);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--accent-1);
}

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

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-location svg {
  color: var(--accent-3);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-active);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-3), transparent);
  opacity: 0.5;
}

.about-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.about-content {
  display: block;
  width: 100%;
}

.about-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.highlight {
  color: var(--accent-1);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s;
}

.skill-category:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.skill-category:hover::before {
  opacity: 1;
}

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

.skill-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-1);
}

.skill-category h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.skill-tag {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(96, 165, 250, 0.2);
  transition: all 0.3s;
}

.skill-tag:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  color: #bfdbfe;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

/* ============================================================
   EXPERIENCE SECTION
   ============================================================ */
.experience-section {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-3), transparent);
}

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

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

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-1);
  z-index: 1;
  transition: all 0.3s;
}

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

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 32px;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.timeline-card:hover {
  transform: translateX(8px);
  border-color: var(--border-active);
}

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

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

.timeline-company {
  font-size: 0.9rem;
  color: var(--accent-2);
  margin-top: 4px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 6px;
}

.timeline-details {
  list-style: none;
}

.timeline-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-details li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-size: 0.9rem;
}

.timeline-details li strong {
  color: var(--text-primary);
}

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

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
  overflow: hidden;
}

.project-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

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

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
}

.project-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}

.project-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-3);
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.project-subtitle {
  font-size: 0.85rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-highlights {
  margin-bottom: 20px;
}

.project-highlights li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.project-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-3);
  font-size: 0.8rem;
}

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

.project-tags span {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-muted);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-1);
  transition: color 0.3s, gap 0.3s;
}

.project-link:hover {
  color: var(--accent-2);
  gap: 10px;
}

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements-section {
  background: var(--bg-secondary);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.achievement-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.achievement-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.achievement-card:hover::after {
  opacity: 1;
}

.achievement-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-1);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.achievement-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.achievement-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.achievement-card p strong {
  color: var(--accent-3);
}

/* ============================================================
   EDUCATION & PUBLICATIONS
   ============================================================ */
.edu-pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.edu-card,
.pub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s;
}

.edu-card:hover,
.pub-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.edu-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-1);
  margin-bottom: 20px;
}

.edu-card h4,
.pub-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.edu-school {
  font-size: 0.9rem;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pub-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-1);
  transition: color 0.3s;
}

.pub-link:hover {
  color: var(--accent-2);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  text-align: center;
  background: var(--bg-primary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
  opacity: 0.3;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out-expo);
}

.contact-card svg {
  color: var(--accent-1);
  flex-shrink: 0;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

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

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

.footer-year {
  margin-top: 4px;
  font-size: 0.75rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-content { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  .skills-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .edu-pub-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 32px; }
  .timeline-dot { left: -32px; }
  .timeline-header { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .contact-links { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 340px; justify-content: center; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-number { font-size: 2rem; }
}
