/* =============================
   ROOT VARIABLES & RESET
============================= */
:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #12121f;
  --surface: #1a1a2e;
  --surface2: #1f1f35;
  --border: rgba(255,255,255,0.08);
  --purple: #7c3aed;
  --purple-light: #9d5cf5;
  --purple-glow: rgba(124,58,237,0.3);
  --pink: #ec4899;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-subtle: rgba(255,255,255,0.3);
  --accent: var(--purple-light);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 60px rgba(124,58,237,0.2);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Performance Optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* GPU Acceleration for animations */
.avatar-ring, .cursor, .cursor-follower, .floating-tag, .tech-logo, .project-card {
  will-change: transform;
  transform: translateZ(0);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* =============================
   CUSTOM CURSOR
============================= */
.cursor {
  width: 12px; height: 12px;
  background: var(--purple-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor-follower {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(157,92,245,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor.active { width: 20px; height: 20px; }
.cursor-follower.active { width: 60px; height: 60px; border-color: var(--purple-light); }

@media (max-width: 768px) { .cursor, .cursor-follower { display: none; } }

/* =============================
   LOADER
============================= */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-text {
  font-family: 'Syne', sans-serif;
  font-size: 4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; margin-bottom: 24px;
  animation: pulse 1s ease infinite alternate;
}
@keyframes pulse { from { opacity: 0.6; } to { opacity: 1; } }
.loader-bar {
  width: 200px; height: 3px;
  background: var(--surface2);
  border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* =============================
   NAV
============================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; gap: 32px;
  padding: 0 48px;
  height: 72px;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.5rem;
  color: var(--text); margin-right: auto;
}
.nav-logo span { color: var(--purple-light); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--purple-light);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 20px; }
.nav-cta {
  padding: 10px 24px; border-radius: 100px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 0 20px var(--purple-glow);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--purple-glow); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 16px; z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); pointer-events: all; }
.mobile-menu ul { list-style: none; }
.mobile-link {
  display: block; padding: 14px 16px;
  color: var(--text-muted); font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-link:hover { color: var(--text); background: var(--surface); }

/* =============================
   HERO
============================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 0 48px;
  gap: 64px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 600px; height: 600px; background: var(--purple); top: -200px; left: -200px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: var(--pink); bottom: -150px; right: -100px; animation-delay: 3s; }
.orb3 { width: 300px; height: 300px; background: var(--blue); top: 50%; left: 50%; animation-delay: 6s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
}

.hero-content { position: relative; z-index: 1; max-width: 620px; flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.1);
  font-size: 0.85rem; font-weight: 500;
  color: var(--purple-light);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-greeting {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem; font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hero-name {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}
.accent { color: var(--purple-light); }
.hero-title { margin-bottom: 0; }
/* .role-container{
  height: 2rem;
  overflow: hidden;
  background-color: #ec4899;
}

.role-words{
  display:flex;
  flex-direction:column;
  animation:slideWords 8s ease-in-out infinite;
  color:var(--purple-light);
  
}

.role-words span{
  height:2rem;
  display:flex;
  align-items:center;
  white-space:nowrap;
  
} */
.role-container {
  display: flex;
  align-items: center;
  gap: 80px;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  height: 3rem;
  overflow: hidden;
}

.role-prefix {
  color: var(--text-muted);
  white-space: nowrap;
}

.role-words {
  display: flex;
  flex-direction: column;
  animation: slideWords 10s ease-in-out infinite;
  color: var(--purple-light);
}

.role-words span {
  height: 3rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

@keyframes slideWords {
  0%, 20% { transform: translateY(+4.5rem); }              /* Full Stack Apps */
  25%, 45% { transform: translateY(1.5rem); }         /* Web Experiences */
  50%, 70% { transform: translateY(-1.5rem); }         /* React Projects */
  75%, 95% { transform: translateY(-4.5rem); }         /* APIs & Backends */
  100% { transform: translateY(0); }                  /* Back to Full Stack Apps */
}


.hero-role {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.2rem; font-weight: 500;
  margin-bottom: 20px;
  /* overflow: hidden; height: 2rem; */
}
/* .role-prefix { color: var(--text-muted); white-space: nowrap; } */
/* .role-words {
  display: flex; flex-direction: column;
  animation: slideWords 8s ease infinite;
  color: var(--purple-light);
}
.role-words span { height: 2rem; display: flex; align-items: center; white-space: nowrap; }
@keyframes slideWords { 10%, 50% { transform: translateY(0); } 25%, 45% { transform: translateY(-2rem); } 50%, 70% { transform: translateY(-4rem); } 75%, 95% { transform: translateY(-6rem); } 100% { transform: translateY(0); } } */

.hero-desc {
  font-size: 1.05rem; color: var(--text-muted);
  margin-bottom: 32px; line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600;
  transition: var(--transition); cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  box-shadow: 0 0 30px var(--purple-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px var(--purple-glow), 0 12px 30px rgba(0,0,0,0.4); }
.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.btn-ghost:hover { border-color: var(--purple-light); background: rgba(124,58,237,0.1); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

.hero-stats {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--purple-light); }
.stat span:first-child { color: var(--purple-light); }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: relative; flex-shrink: 0;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.avatar-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--pink), var(--cyan), var(--purple));
  animation: spin 6s linear infinite;
  mask: radial-gradient(ellipse at center, transparent 75%, black 78%);
  -webkit-mask: radial-gradient(ellipse at center, transparent 75%, black 78%);
}
.ring2 {
  inset: -20px;
  background: conic-gradient(from 180deg, var(--purple), transparent 40%, var(--purple));
  animation: spin 12s linear infinite reverse;
  opacity: 0.4;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-img {
  width: 300px; height: 300px; border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--surface2);
  background: var(--surface2);
  position: relative; z-index: 1;
  box-shadow: 0 0 60px var(--purple-glow), var(--shadow-card);
}
.avatar-img img { width: 100%; height: 100%; object-fit: cover; }

.floating-tag {
  position: absolute; z-index: 2;
  padding: 10px 16px; border-radius: 100px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  animation: floatTag 4s ease-in-out infinite;
  white-space: nowrap;
}
.tag1 { top: 10%; left: -20%; animation-delay: 0s; }
.tag2 { bottom: 25%; right: -15%; animation-delay: 1s; }
.tag3 { top: 30%; right: -20%; animation-delay: 2s; }
.tag4 { bottom: 10%; left: -15%; animation-delay: 3s; }
@keyframes floatTag { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* =============================
   SECTIONS SHARED
============================= */
.section { padding: 120px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.08);
  color: var(--purple-light);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

/* =============================
   REVEAL ANIMATIONS
============================= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* =============================
   ABOUT
============================= */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-intro {
  font-size: 1.15rem; font-weight: 500; line-height: 1.8;
  color: var(--text); margin-bottom: 20px;
}
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-highlights {
  display: flex; flex-direction: column; gap: 16px;
  margin: 32px 0;
}
.highlight {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.highlight:hover { border-color: rgba(124,58,237,0.4); transform: translateX(4px); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight strong { display: block; font-weight: 600; margin-bottom: 2px; }
.highlight span { font-size: 0.85rem; color: var(--text-muted); }

.about-card-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-card {
  padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.about-card:hover { transform: translateY(-6px); }
.card-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem; font-weight: 800;
}
.card-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.card-icon { position: absolute; right: 20px; top: 20px; font-size: 2rem; opacity: 0.5; }
.card-purple { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); }
.card-purple .card-num { color: var(--purple-light); }
.card-blue { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }
.card-blue .card-num { color: var(--blue); }
.card-pink { background: rgba(236,72,153,0.12); border-color: rgba(236,72,153,0.3); }
.card-pink .card-num { color: var(--pink); }
.card-orange { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); }
.card-orange .card-num { color: var(--orange); }

/* =============================
   SKILLS
============================= */
.skills { background: var(--bg); }
.skills-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 48px;
}
.skill-tab {
  padding: 12px 28px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); border: 1.5px solid var(--border);
  background: transparent;
  transition: var(--transition);
}
.skill-tab.active, .skill-tab:hover {
  color: var(--text);
  border-color: var(--purple);
  background: rgba(124,58,237,0.15);
}
.skill-panel { display: none; }
.skill-panel.active { display: block; }
.skill-items { display: flex; flex-direction: column; gap: 20px; max-width: 700px; margin: 0 auto; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }
.skill-bar {
  height: 6px; background: var(--surface2);
  border-radius: 3px; overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.skill-fill::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-light);
}

/* Tech Logos */
.tech-logos {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 64px;
}
.tech-logo {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px;
  transition: var(--transition);
  cursor: pointer;
}
.tech-logo:hover { border-color: var(--purple); transform: translateY(-6px) scale(1.1); box-shadow: 0 12px 30px var(--purple-glow); }
.tech-logo img { width: 36px; height: 36px; object-fit: contain; }

/* =============================
   PROJECTS
============================= */
.projects { background: var(--bg2); }
.projects-filter {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); border: 1.5px solid var(--border);
  background: transparent; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  color: white; border-color: var(--purple);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
}

.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-8px); border-color: rgba(124,58,237,0.4); box-shadow: var(--shadow-glow), var(--shadow-card); }
.project-card.hidden { display: none; }

.project-img {
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-emoji { font-size: 4rem; transition: transform 0.3s ease; }
.project-card:hover .project-emoji { transform: scale(1.2) rotate(5deg); }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  opacity: 0; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.project-card:hover .project-overlay { opacity: 1; }
.proj-link {
  padding: 10px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.85rem; font-weight: 600; color: white;
  transition: var(--transition);
}
.proj-link:hover { background: rgba(255,255,255,0.3); }

.project-info { padding: 24px; }
.project-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
}
.project-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}
.project-info p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.project-footer { display: flex; justify-content: flex-end; }
.proj-btn {
  font-size: 0.85rem; font-weight: 600;
  color: var(--purple-light);
  transition: var(--transition);
}
.proj-btn:hover { color: var(--pink); letter-spacing: 0.05em; }

/* =============================
   EDUCATION / TIMELINE
============================= */
.education { background: var(--bg); }
.timeline {
  max-width: 700px; margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 56px; margin-bottom: 48px;
}
.timeline-dot {
  position: absolute; left: 8px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px var(--purple-glow);
}
.timeline-date {
  display: inline-block;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 12px;
}
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.timeline-content:hover { border-color: rgba(124,58,237,0.4); }
.timeline-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 4px;
}
.timeline-content h4 { color: var(--purple-light); font-size: 0.9rem; margin-bottom: 8px; }
.timeline-content p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 8px; }

/* =============================
   CONTACT
============================= */
.contact { background: var(--bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: start;
}
.contact-intro {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-item:hover { border-color: rgba(124,58,237,0.4); }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-label { display: block; font-size: 0.75rem; color: var(--text-subtle); margin-bottom: 4px; }
.contact-item a { color: var(--text); font-weight: 500; transition: color 0.2s; }
.contact-item a:hover { color: var(--purple-light); }

.social-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.socials { display: flex; gap: 12px; }
.social-btn {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { color: white; border-color: var(--purple); background: var(--purple); transform: translateY(-3px); }
.social-btn:nth-child(3):hover {
  background: linear-gradient(135deg, #ff0066, #ff7a00);
  border-color: transparent;
  color: white;
}
/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit; font-size: 0.9rem;
  transition: var(--transition);
  outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-subtle); }
.form-success {
  display: none; margin-top: 16px;
  padding: 14px; border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green); font-size: 0.9rem; text-align: center;
}
.form-success.show { display: block; }

/* =============================
   FOOTER
============================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; }
.footer-logo span { color: var(--purple-light); }
.footer-content p { color: var(--text-muted); font-size: 0.85rem; }
.back-top {
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: 0.85rem; transition: var(--transition);
}
.back-top:hover { color: var(--text); border-color: var(--purple); }

/* =============================
   COMING SOON MODAL
============================= */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(90deg);
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: bounce 1s infinite;
}

.modal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--purple-light), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.modal-subtext {
  font-size: 14px;
  color: var(--text-subtle);
  font-style: italic;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding: 120px 32px 80px; text-align: center; gap: 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { width: 280px; height: 280px; }
  .avatar-img { width: 220px; height: 220px; }
  .tag1, .tag2, .tag3, .tag4 { font-size: 0.75rem; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .hero { padding: 100px 24px 60px; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .about-card-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { width: 240px; height: 240px; }
  .avatar-img { width: 190px; height: 190px; }
  .floating-tag { display: none; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.8rem; }
  .about-card-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 40px; height: 1px; }
}
