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

:root {
  --neon-primary: #00f5ff;
  --neon-secondary: #ff00ff;
  --neon-accent: #00ff88;
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --shadow-neon: 0 0 30px rgba(0,245,255,0.6);
  --shadow-float: 0 30px 60px rgba(0,0,0,0.4);
  --ease-cubic: cubic-bezier(0.25,0.46,0.45,0.94);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(ellipse at top, #0a0a23 0%, #000 100%);
  color: #fff;
  overflow-x: hidden;
}

#particles-js, .mouse-follower {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
  pointer-events: none !important; z-index: -1;
}

.preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a0a23, #1a0033);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity 0.5s ease-out; gap: 2rem;
}
.preloader span { font-family: 'JetBrains Mono', monospace; font-size: 1.2rem; }
.spinner {
  width: 60px; height: 60px; border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--neon-primary); border-radius: 50%; 
  animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.navbar {
  position: fixed; top: 0; width: 100%;
  background: rgba(12,15,35,0.95); backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(0,245,255,0.2); z-index: 10000;
}
.nav-container {
  max-width: 1600px; margin: 0 auto; padding: 1.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-size: 2.2rem; font-weight: 900;
  background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.nav-links {
  display: flex; list-style: none; gap: 3rem; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.9); text-decoration: none;
  font-weight: 600; padding: 0.75rem 0; position: relative;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--neon-primary); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none; flex-direction: column; cursor: pointer; gap: 4px;
}
.nav-toggle span {
  width: 28px; height: 4px; background: var(--neon-primary);
  border-radius: 2px; transition: 0.3s ease;
}

/* 🔥 HERO SECTION - BADGE NOW VISIBLE WITH BLACK TEXT */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  max-width: 1600px; margin: 0 auto; padding: 0 5%;
}

.hero-content { flex: 1; max-width: 700px; }

.hero-badge {
  background: linear-gradient(135deg, #00f5ff, #00ff88);
  padding: 0.75rem 2rem; border-radius: 50px; 
  font-size: 1rem; font-weight: 800;
  color: #000 !important; /* ← BLACK TEXT = PERFECTLY VISIBLE */
  display: inline-block; margin-bottom: 1rem;  margin-top: 3rem;
  box-shadow: 0 0 20px rgba(0,245,255,0.6);
  animation: pulse 2s infinite;
  text-transform: uppercase; letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(3rem,6vw,6.5rem); /* SMALLER + PERFECT */
  font-weight: 900; line-height: 0.95;
  margin-bottom: 1rem; 
  background: linear-gradient(135deg,#fff,#00f5ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 300; margin-bottom: 1rem;
  opacity: 0.9; line-height: 1.4;
}

.highlight { color: var(--neon-primary); font-weight: 700; }

.hero-buttons { display: flex; gap: 2rem; flex-wrap: wrap; }

.btn {
  padding: 1.3rem 3.5rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem;
  text-decoration: none; cursor: pointer !important; display: inline-flex;
  align-items: center; gap: 1rem; transition: all 0.6s var(--ease-cubic);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg,var(--neon-primary),var(--neon-accent));
  box-shadow: var(--shadow-neon); color: #000;
}
.btn-secondary {
  background: transparent; color: #fff; border: 2px solid rgba(0,245,255,0.6);
}
.btn.full-width { width: 100%; justify-content: center; margin: 1rem 0; }
.btn:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 30px 60px rgba(0,245,255,0.4); }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2rem; font-size: 1.1rem; flex-wrap: wrap;
}
.hero-stats span { display: flex; align-items: center; gap: 0.5rem; }

/* 🔥 HERO PROFILE PHOTO - REPLACES CODE MOCKUP */
.hero-image-container {
  width: 320px;
  height: 320px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  border: 4px solid rgba(0,245,255,0.3);
  position: relative;
  transition: all 0.4s ease;
}

.hero-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  transition: all 0.4s ease;
}

.hero-image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 35px 70px rgba(0,245,255,0.3);
  border-color: rgba(0,245,255,0.6);
}

.hero-image-container:hover .hero-profile-img {
  filter: brightness(1.1) contrast(1.1);
}


.code-mockup {
  background: rgba(15,23,42,0.9); backdrop-filter: blur(30px);
  padding: 3rem; border-radius: 30px; border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float); max-width: 400px;
}

.code-line {
  background: rgba(0,245,255,0.1); padding: 1rem; margin: 0.5rem 0;
  border-radius: 10px; font-family: 'JetBrains Mono', monospace;
  border-left: 4px solid var(--neon-primary); display: flex; gap: 0.5rem;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.7} }

section { padding: 120px 5%; max-width: 1600px; margin: 0 auto; }
.section-title {
  font-size: clamp(3rem,6vw,5.5rem); font-weight: 900; text-align: center;
  margin-bottom: 5rem; background: linear-gradient(135deg,var(--neon-primary),var(--neon-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-text p { font-size: 1.25rem; line-height: 1.8; margin-bottom: 2rem; opacity: 0.9; }
.about-highlights { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.highlight-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.5rem;
  background: var(--glass-bg); border-radius: 20px; border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.highlight-item:hover { transform: translateY(-5px); }
.highlight-item i { font-size: 2rem; color: var(--neon-primary); }
.profile-card {
  width: 300px; height: 300px; border-radius: 25px;
  background: linear-gradient(135deg, var(--glass-bg), rgba(0,245,255,0.1));
  backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-float); transition: all 0.3s ease;
}
.profile-card:hover { transform: rotateY(10deg) translateY(-10px); }
.profile-card i { font-size: 4rem; color: var(--neon-primary); margin-bottom: 1rem; }
.profile-card div { font-size: 1.8rem; font-weight: 800; }
.profile-card span { font-size: 1rem; opacity: 0.8; }

/* 🔥 UPGRADED SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.skill-category {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 25px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-primary), var(--neon-accent));
}

.skill-category h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--neon-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.skill-tags span {
  padding: 0.6rem 1.2rem;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  background: var(--neon-primary);
  color: #000;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,245,255,0.4);
}


.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(380px,1fr)); gap: 2.5rem;
}
.project-card {
  background: var(--glass-bg); backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
  border-radius: 25px; overflow: hidden; transition: all 0.6s var(--ease-cubic);
  cursor: pointer; box-shadow: var(--shadow-float);
}
.project-card:hover { 
  transform: translateY(-20px) rotateX(5deg); 
  border-color: var(--neon-primary); box-shadow: var(--shadow-neon);
}
.project-image { height: 250px; overflow: hidden; }
.project-image img { 
  width: 100%; height: 100%; object-fit: cover; 
  transition: transform 0.6s ease; 
}
.project-card:hover .project-image img { transform: scale(1.1); }
.project-content { padding: 2.5rem; }
.project-tech { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.project-tech span {
  padding: 0.4rem 1rem; background: rgba(0,245,255,0.1); border-radius: 20px; font-size: 0.85rem;
}
.project-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.project-links a {
  width: 50px; height: 50px; border-radius: 50%; background: var(--neon-primary);
  display: flex; align-items: center; justify-content: center; color: #000;
  text-decoration: none; transition: all 0.4s ease;
}
.project-links a:hover { transform: translateY(-5px) scale(1.1) rotate(180deg); }

.timeline {
  max-width: 800px; margin: 0 auto; position: relative; padding: 2rem 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--neon-primary), var(--neon-accent));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; margin-bottom: 4rem; position: relative;
}
.timeline-item:nth-child(odd) { justify-content: flex-end; }
.timeline-item:nth-child(even) { justify-content: flex-start; }
.timeline-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--neon-primary);
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  box-shadow: var(--shadow-neon); z-index: 2; animation: pulse 2s infinite;
}
.timeline-content {
  background: var(--glass-bg); backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
  padding: 2.5rem; border-radius: 20px; max-width: 45%; box-shadow: var(--shadow-float);
  position: relative; transition: all 0.3s ease;
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: 50px; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 50px; }
.timeline-content:hover { transform: translateX(10px); }

.contact-content { display: grid; grid-template-columns: 1fr 450px; gap: 6rem; align-items: start; }
.fake-form {
  background: var(--glass-bg); backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
  border-radius: 25px; padding: 3rem; text-align: center;
}
.fake-form h3 { 
  color: var(--neon-primary); margin: 2rem 0 1.5rem 0; 
  font-size: 1.8rem; font-weight: 700;
}
.quick-links { 
  margin-top: 2rem; padding-top: 2rem; 
  border-top: 1px solid var(--glass-border); 
}
.quick-links p { margin-bottom: 1rem; opacity: 0.9; }
.quick-actions { 
  display: flex; gap: 1.5rem; justify-content: center; margin-top: 1rem; 
}
.quick-btn { 
  width: 70px; height: 70px; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; text-decoration: none; transition: all 0.4s ease;
  box-shadow: var(--shadow-float);
}
.quick-btn.whatsapp { background: #25D366; color: white; }
.quick-btn.email { background: var(--neon-primary); color: #000; }
.quick-btn:hover { 
  transform: translateY(-10px) scale(1.1); 
  box-shadow: var(--shadow-neon);
}
.form-hint { 
  color: var(--neon-accent); font-size: 1rem; 
  margin-top: 1.5rem; opacity: 0.9; font-weight: 500;
}
#whatsapp-number { font-family: 'JetBrains Mono', monospace; font-size: 1.2rem; }

.contact-info {
  background: var(--glass-bg); backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
  border-radius: 25px; padding: 3rem;
}
.contact-item {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem;
  padding: 1.5rem; border-radius: 15px; transition: all 0.4s ease; cursor: pointer;
}
.contact-item:hover { 
  background: rgba(0,245,255,0.1); transform: translateX(10px); 
}
.contact-icon {
  width: 60px; height: 60px; border-radius: 15px;
  background: linear-gradient(135deg,var(--neon-primary),var(--neon-accent));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

.footer {
  text-align: center; padding: 4rem 5%; background: rgba(10,10,35,0.9);
  border-top: 1px solid var(--glass-border);
}
.social-links {
  display: flex; justify-content: center; gap: 2rem; margin-top: 2rem;
}
.social-links a {
  width: 50px; height: 50px; border-radius: 50%; background: var(--glass-bg);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; transition: all 0.4s ease;
  border: 1px solid var(--glass-border);
}
.social-links a:hover {
  background: var(--neon-primary); transform: translateY(-8px) rotate(360deg);
}

.mouse-follower {
  position: fixed; width: 20px; height: 20px;
  background: radial-gradient(circle,var(--neon-primary) 0%,transparent 70%);
  border-radius: 50%; pointer-events: none !important;
  z-index: 9999; mix-blend-mode: difference; transition: transform 0.15s ease;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 100%; left: 0; width: 100%;
    background: rgba(12,15,35,0.98); flex-direction: column;
    padding: 3rem 5%; gap: 2rem; transform: translateY(-100vh);
    opacity: 0; transition: 0.5s ease;
  }
  .nav-links.active { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }
  
  .hero { flex-direction: column; text-align: center; gap: 3rem; padding-top: 120px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .about-content, .contact-content { grid-template-columns: 1fr; gap: 3rem; }
  .timeline::before { left: 30px; }
  .timeline-item { flex-direction: column; justify-content: flex-start; margin-bottom: 3rem; }
  .timeline-dot { left: 30px; }
  .timeline-content { max-width: 100%; margin: 0 0 0 60px !important; }
  .projects-grid { grid-template-columns: 1fr; }
}
