/* =============================================
   PRATYUSH BADAL — PORTFOLIO
   Dark Purple / Violet Aesthetic
   ============================================= */

/* ---------- LUCIDE ICON UTILITIES ---------- */
.icon-xs {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  flex-shrink: 0;
}
.icon-sm {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex-shrink: 0;
}
.icon-md {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  flex-shrink: 0;
}
.icon-lg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* Lucide icons inherit color from parent by default */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

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

:root {
  /* Color Palette */
  --bg-base: #07060f;
  --bg-surface: #0e0c1a;
  --bg-elevated: #15122a;
  --accent-primary: #8b5cf6;
  --accent-violet: #7c3aed;
  --accent-glow: #a78bfa;
  --accent-pink: #c084fc;
  --text-primary: #f1f0ff;
  --text-secondary: #b8b4d8;
  --text-muted: #6b6890;
  --border-subtle: rgba(139, 92, 246, 0.15);
  --border-glow: rgba(139, 92, 246, 0.4);
  --glass-bg: rgba(21, 18, 42, 0.7);
  --glass-border: rgba(139, 92, 246, 0.2);

  /* Spacing */
  --section-gap: 7rem;
  --container-max: 1200px;

  /* Typography */
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-glow);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s ease,
    width 0.2s ease,
    height 0.2s ease;
  mix-blend-mode: screen;
}

.cursor-trail {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    left 0.12s ease,
    top 0.12s ease;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 20px;
  height: 20px;
}

/* ---------- GLASS CARD ---------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-violet),
    var(--accent-primary)
  );
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-glow);
  border: 1.5px solid var(--accent-primary);
}

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

/* ---------- SECTION SHARED ---------- */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-glow);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--accent-glow) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}

.navbar.scrolled {
  background: rgba(7, 6, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
  padding: 0.6rem 0;
}

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

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-bracket {
  color: var(--accent-primary);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

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

.nav-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-glow);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--accent-primary);
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: all var(--transition-base);
}

.nav-resume-btn:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--accent-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

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

/* =============================================
   HERO SECTION
   ============================================= */
/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

/* Background Orbs */
.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

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

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -150px;
  right: -100px;
  animation-duration: 9s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #c084fc, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation-duration: 11s;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: 50%;
  left: 40%;
  animation-duration: 7s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-glow);
  border-radius: 50%;
  opacity: 0;
  animation: particleFade var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes particleFade {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}

/* Hero Layout */
.hero-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-greeting {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.greeting-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

.greeting-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.name-accent {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--accent-glow);
  margin-bottom: 1.5rem;
  min-height: 1.6em;
}

.typed-text {
  color: var(--accent-glow);
}

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

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

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-bio strong {
  color: var(--text-primary);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-glow);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-base);
  background: var(--glass-bg);
}

.social-link:hover {
  color: var(--accent-glow);
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-3px);
}

/* Avatar */
.hero-avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(
    135deg,
    var(--accent-violet),
    var(--accent-pink),
    var(--accent-glow)
  );
  box-shadow:
    0 0 50px rgba(139, 92, 246, 0.35),
    0 0 100px rgba(139, 92, 246, 0.15);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--bg-elevated),
    rgba(124, 58, 237, 0.1)
  );
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.avatar-icon {
  width: 72px;
  height: 72px;
  stroke-width: 1;
  color: rgba(139, 92, 246, 0.4);
}

.avatar-badge {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 6, 15, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0);
  }
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(21, 18, 42, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  backdrop-filter: blur(12px);
  animation: floatCard 4s ease-in-out infinite;
}

.card-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.card-lucide-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.card-top {
  top: 20px;
  right: -20px;
  animation-delay: 0s;
}
.card-bottom {
  bottom: 80px;
  left: -20px;
  animation-delay: -2s;
}

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

.card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.card-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 1;
  animation: fadeInUp 1s 1.5s both;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.5;
  }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124, 58, 237, 0.04),
    transparent
  );
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.about-text p strong {
  color: var(--text-primary);
}

.about-text p em {
  color: var(--accent-glow);
  font-style: normal;
}

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

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   SKILLS SECTION
   ============================================= */
.skills-section {
  background: rgba(124, 58, 237, 0.03);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.skill-category {
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.skill-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--accent-glow);
}

.skill-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.skill-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.18);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.pill:hover {
  color: var(--accent-glow);
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.15);
}

/* =============================================
   EXPERIENCE SECTION
   ============================================= */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-violet),
    var(--accent-pink),
    transparent
  );
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
  z-index: 1;
}

.timeline-content {
  padding: 1.75rem;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.exp-company {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.exp-role {
  font-size: 0.9rem;
  color: var(--accent-glow);
  font-weight: 500;
  margin-top: 0.2rem;
}

.exp-meta {
  text-align: right;
  flex-shrink: 0;
}

.exp-period {
  display: block;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.exp-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.exp-bullets {
  list-style: none;
  margin-bottom: 1.25rem;
}

.exp-bullets li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.exp-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.75rem;
  top: 0.05em;
}

.exp-bullets li strong {
  color: var(--text-primary);
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.exp-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-pink);
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
}

/* =============================================
   PROJECTS SECTION
   ============================================= */
.projects-section {
  background: rgba(124, 58, 237, 0.03);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
}

.project-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-base);
}

.project-link-btn:hover {
  color: var(--accent-glow);
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.1);
}

.project-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.project-subtitle {
  font-size: 0.8rem;
  color: var(--accent-glow);
  font-weight: 500;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.project-highlights {
  list-style: none;
  flex: 1;
}

.project-highlights li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.project-highlights li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.7rem;
  top: 0.1em;
}

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

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.stack-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-glow);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
}

/* =============================================
   EDUCATION SECTION
   ============================================= */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.edu-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.edu-col-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.edu-card {
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.edu-degree {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.edu-school {
  font-size: 0.88rem;
  color: var(--accent-glow);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.edu-period {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.edu-coursework {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
}

.cert-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.cert-lucide-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.cert-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cert-issuer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  background: rgba(124, 58, 237, 0.03);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  border-radius: 14px;
  cursor: none;
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-card-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

/* Contact Form */
.contact-form {
  padding: 2rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(7, 6, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--accent-glow);
  text-align: center;
  margin-top: 0.75rem;
  min-height: 1.2em;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.footer-text strong {
  color: var(--text-secondary);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--accent-glow);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 5rem;
  }

  body {
    cursor: auto;
  }
  .cursor,
  .cursor-trail {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 6, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateY(-110%);
    transition: transform var(--transition-base);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-greeting {
    justify-content: center;
  }
  .hero-bio {
    margin: 0 auto 1.75rem;
  }
  .hero-tags {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-socials {
    justify-content: center;
  }
  .hero-avatar-wrap {
    order: -1;
  }

  .avatar-ring {
    width: 220px;
    height: 220px;
  }
  .floating-card {
    display: none;
  }
  .avatar-badge {
    bottom: 10px;
  }

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

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

  .edu-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .exp-header {
    flex-direction: column;
  }
  .exp-meta {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.5rem;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    padding-bottom: calc(env(safe-area-inset-bottom) + 2rem) !important;
  }

  .nav-resume-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 280px;
    transform: none;
    height: 100dvh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem calc(env(safe-area-inset-bottom) + 2rem);
    gap: 1.5rem;
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
  }

  .nav-resume-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.2rem;
  }
}
