/* ============================================
   IRFAN BHAT — PORTFOLIO
   Agency-crafted • 2026
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Fira+Code:wght@300;400;500&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-primary:    #050810;
  --bg-secondary:  #0a0f1e;
  --bg-card:       rgba(13, 20, 40, 0.7);
  --accent:        #4f8ef7;
  --accent-2:      #7c3aed;
  --accent-glow:   rgba(79, 142, 247, 0.25);
  --accent-2-glow: rgba(124, 58, 237, 0.2);
  --gold:          #f59e0b;
  --text-primary:  #e8eaf6;
  --text-secondary:#9ca3c4;
  --text-muted:    #5a6380;
  --border:        rgba(79, 142, 247, 0.15);
  --border-hover:  rgba(79, 142, 247, 0.4);
  --glass:         rgba(255, 255, 255, 0.04);
  --glass-hover:   rgba(255, 255, 255, 0.07);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --shadow-card:   0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
  --shadow-glow:   0 0 60px var(--accent-glow), 0 0 120px rgba(79,142,247,0.08);
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:     'Inter', sans-serif;
  --font-display:  'Space Grotesk', sans-serif;
  --font-mono:     'Fira Code', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ── Selection ── */
::selection { background: var(--accent); color: #fff; }

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

/* ── Animated grid overlay ── */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* ── Gradient orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -200px; animation-duration: 14s; }
.orb-2 { width: 500px; height: 500px; background: var(--accent-2); bottom: -150px; right: -150px; animation-duration: 10s; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: #06b6d4; top: 40%; left: 40%; animation-duration: 18s; animation-delay: -8s; opacity: 0.1; }
@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 40px) scale(1.1); }
}

/* ============================================
   CURSOR GLOW (desktop)
============================================ */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.08s linear;
}

/* ============================================
   MAIN LAYOUT
============================================ */
.app-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* ============================================
   NAVIGATION
============================================ */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
nav.main-nav.scrolled {
  background: rgba(5, 8, 16, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.nav-logo span { font-weight: 300; opacity: 0.7; }
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--glass);
}
.nav-links a:hover::after, .nav-links a.active::after {
  left: 16px; right: 16px;
}
.nav-cta {
  padding: 8px 20px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #fff !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   SECTIONS BASE
============================================ */
section {
  padding: 100px 0;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
}

/* ── Animated divider ── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  margin: 20px 0 40px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   HERO SECTION
============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-left {}

/* Status badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 28px;
  animation: badgePulse 3s ease-in-out infinite;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.hero-name .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--accent) 30%, var(--accent-2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Typewriter */
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  min-height: 36px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.typewriter-text { color: var(--text-primary); font-weight: 500; }
.cursor-blink {
  display: inline-block;
  width: 2px; height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--accent-glow); }
.btn-primary:hover::before { opacity: 1; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--glass);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Social links */
.hero-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--glass);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.social-divider {
  width: 1px; height: 24px;
  background: var(--border);
}
.social-email-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-email-link:hover { color: var(--accent); }

/* Hero right — 3D profile card */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 30px;
}
.profile-card-3d {
  position: relative;
  width: 340px;
  perspective: 1000px;
}
.profile-card-inner {
  position: relative;
  transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-20px) rotateY(5deg) rotateX(-2deg); }
}
.profile-img-wrapper {
  width: 300px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border), var(--shadow-glow);
  border: 1px solid var(--border-hover);
}
.profile-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 0.5s ease;
}
.profile-img-wrapper:hover img { transform: scale(1.06); }
.profile-img-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(5,8,16,0.9), transparent);
}
.profile-img-overlay {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
}
.profile-company-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: floatSm 5s ease-in-out infinite alternate;
  white-space: nowrap;
}
.float-badge-1 {
  top: 20px; right: -30px;
  animation-delay: 0s;
}
.float-badge-2 {
  bottom: 60px; left: -30px;
  animation-delay: -2s;
}
.float-badge-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.float-badge-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.float-badge-value span { color: var(--accent); }
@keyframes floatSm {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-10px) translateX(5px); }
}

/* Glow ring */
.glow-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringPulse 4s ease-in-out infinite;
}
.glow-ring-2 {
  inset: -40px;
  animation-delay: -2s;
  opacity: 0.5;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ── 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;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-wheel {
  width: 24px; height: 40px;
  border: 1.5px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 380px;
}
.stat-item {
  background: var(--bg-card);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.stat-item:hover { background: var(--glass-hover); }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION
============================================ */
#about {
  background: linear-gradient(180deg, transparent, rgba(10,15,30,0.5), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text { }
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.info-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.info-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.info-chip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.info-chip-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Services cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px var(--border-hover);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-glow), var(--accent-2-glow));
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.service-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   EXPERIENCE / TIMELINE
============================================ */
#experience {
  position: relative;
}
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 40px;
}
.timeline-dot {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.2), 0 0 20px var(--accent-glow);
  transition: var(--transition);
  z-index: 1;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(79,142,247,0.2), 0 0 30px var(--accent-glow);
}
.timeline-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2), 0 0 20px rgba(16,185,129,0.4);
  animation: activeDot 2s ease-in-out infinite;
}
@keyframes activeDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2), 0 0 20px rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.1), 0 0 40px rgba(16,185,129,0.6); }
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.timeline-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.timeline-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.timeline-card:hover::after { opacity: 0.5; }
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.timeline-title { font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(79,142,247,0.2);
  white-space: nowrap;
}
.timeline-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.timeline-company::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--accent);
}
.timeline-company .current-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(79,142,247,0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================
   EDUCATION
============================================ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.edu-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}
.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.edu-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.edu-degree {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.edu-school {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.edu-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   SKILLS SECTION
============================================ */
#skills {
  background: linear-gradient(180deg, transparent, rgba(10,15,30,0.5), transparent);
}
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Skill bars */
.skill-bar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skill-bar-item {}
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.skill-bar-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.skill-bar-pct {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 6px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tech tags cloud */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(10px);
}
.tech-tag:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-glow);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px var(--accent-glow);
}
.tech-tag .tech-icon { font-size: 1.1rem; }

/* Knowledge list */
.knowledge-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.knowledge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.knowledge-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

/* ============================================
   CERTIFICATIONS & LANGUAGES
============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--accent-glow);
}
.cert-icon { font-size: 2rem; margin-bottom: 12px; }
.cert-name { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 4px; }
.cert-issuer { font-size: 0.78rem; color: var(--text-muted); }

/* Languages */
.lang-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.lang-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}
.lang-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.lang-flag { font-size: 1.2rem; }

/* ============================================
   CLIENTS / NOTABLE WORK
============================================ */
#clients {}
.clients-intro {
  max-width: 600px;
  margin-bottom: 48px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.client-card::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.client-card:hover::before { width: 200px; height: 200px; }
.client-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.client-logo-wrapper {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}
.client-card:hover .client-logo-wrapper {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.client-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.client-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============================================
   CONTACT SECTION
============================================ */
#contact {
  padding-bottom: 120px;
}
.contact-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 70px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(79,142,247,0.04), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact-info-item:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-glow), var(--accent-2-glow));
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(79,142,247,0.05);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { height: 120px; }
.form-submit { align-self: flex-start; }

/* ============================================
   FOOTER
============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: rgba(5,8,16,0.8);
  backdrop-filter: blur(10px);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-copy span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* ============================================
   FLOATING PROGRESS / TOC
============================================ */
.progress-bar-top {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   MOBILE / RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero-content { gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-wrapper { padding: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav.main-nav { padding: 0 24px; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(5,8,16,0.96); flex-direction: column; padding: 24px; gap: 8px; border-bottom: 1px solid var(--border); backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-right { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .section-label { justify-content: center; }
  .section-title { text-align: center; }
  .section-divider { margin-left: auto; margin-right: auto; }
  .section-desc { text-align: center; margin: 0 auto; }
  .container { padding: 0 24px; }
  section { padding: 70px 0; }
  .skills-layout { grid-template-columns: 1fr; gap: 40px; }
  .edu-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-wrapper { padding: 32px 24px; border-radius: var(--radius-lg); }
  .about-info-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { display: inline-flex; }
  .timeline { padding-left: 20px; }
  .timeline-item { padding-left: 24px; }
  .timeline-dot { left: -26px; }
}

@media (max-width: 480px) {
  .hero-name { letter-spacing: -1px; }
  .cert-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================
   HERO ENHANCEMENT — MESMERIZING EDITION
============================================ */

/* ── Staggered Entry Animations ── */
.hero-entry-1, .hero-entry-2, .hero-entry-3,
.hero-entry-4, .hero-entry-5, .hero-entry-6,
.hero-entry-7, .hero-entry-8 {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntryIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-entry-1 { animation-delay: 0.2s; }
.hero-entry-2 { animation-delay: 0.4s; }
.hero-entry-3 { animation-delay: 0.55s; }
.hero-entry-4 { animation-delay: 0.7s; }
.hero-entry-5 { animation-delay: 0.85s; }
.hero-entry-6 { animation-delay: 1.0s; }
.hero-entry-7 { animation-delay: 1.1s; }
.hero-entry-8 { animation-delay: 1.2s; }
@keyframes heroEntryIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Aurora Background Layers ── */
#hero { overflow: hidden; }
.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  mix-blend-mode: screen;
  animation: auroraShift 12s ease-in-out infinite alternate;
}
.aurora-1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.22) 0%, transparent 70%);
  top: -100px; left: -150px;
  animation-duration: 14s;
}
.aurora-2 {
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: 50%; right: -100px;
  animation-duration: 11s;
  animation-delay: -4s;
}
.aurora-3 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation-duration: 16s;
  animation-delay: -8s;
}
@keyframes auroraShift {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.8; }
  33%  { transform: translate(40px, 30px) scale(1.1) rotate(5deg); opacity: 1; }
  66%  { transform: translate(-20px, 50px) scale(0.95) rotate(-3deg); opacity: 0.7; }
  100% { transform: translate(60px, -20px) scale(1.05) rotate(8deg); opacity: 0.9; }
}

/* ── Floating Tech Symbols ── */
.hero-symbols {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.sym {
  position: absolute;
  font-family: var(--font-mono);
  color: rgba(79, 142, 247, 0.12);
  font-weight: 600;
  user-select: none;
  animation: symFloat linear infinite;
}
.sym-1  { font-size: 2.5rem; top: 8%;  left: 5%;  animation-duration: 18s; animation-delay: 0s; }
.sym-2  { font-size: 1.8rem; top: 70%; left: 2%;  animation-duration: 22s; animation-delay: -5s; }
.sym-3  { font-size: 1.4rem; top: 20%; right: 8%; animation-duration: 16s; animation-delay: -3s; }
.sym-4  { font-size: 1.6rem; top: 55%; right: 3%; animation-duration: 20s; animation-delay: -8s; }
.sym-5  { font-size: 3rem;   top: 40%; left: 8%;  animation-duration: 25s; animation-delay: -12s; }
.sym-6  { font-size: 2rem;   top: 85%; right: 12%; animation-duration: 19s; animation-delay: -2s; }
.sym-7  { font-size: 1.2rem; top: 12%; left: 20%; animation-duration: 17s; animation-delay: -7s; }
.sym-8  { font-size: 1.3rem; top: 75%; left: 15%; animation-duration: 23s; animation-delay: -10s; }
@keyframes symFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.12; }
  25%  { transform: translateY(-20px) rotate(3deg); opacity: 0.2; }
  75%  { transform: translateY(15px) rotate(-2deg); opacity: 0.08; }
}

/* ── Animated Gradient Name ── */
.hero-name .name-first {
  display: block;
}
.hero-name .name-last,
.gradient-text {
  display: block;
  background: linear-gradient(
    135deg,
    #4f8ef7 0%,
    #a78bfa 25%,
    #60a5fa 50%,
    #7c3aed 75%,
    #4f8ef7 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 5s ease infinite;
}
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glitch effect on hover */
.hero-name {
  position: relative;
  cursor: default;
}
.hero-name:hover::before,
.hero-name:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: inherit;
  line-height: inherit;
  pointer-events: none;
}
.hero-name:hover::before {
  color: rgba(79,142,247,0.7);
  animation: glitch1 0.4s steps(2) 1;
}
.hero-name:hover::after {
  color: rgba(124,58,237,0.7);
  animation: glitch2 0.4s steps(2) 1;
}
@keyframes glitch1 {
  0%   { clip-path: inset(20% 0 60% 0); transform: translate(-4px,0); }
  25%  { clip-path: inset(60% 0 10% 0); transform: translate(4px,0); }
  50%  { clip-path: inset(40% 0 30% 0); transform: translate(-2px,0); }
  100% { clip-path: inset(0 0 100% 0); transform: translate(0,0); }
}
@keyframes glitch2 {
  0%   { clip-path: inset(50% 0 20% 0); transform: translate(4px,0); }
  25%  { clip-path: inset(10% 0 70% 0); transform: translate(-4px,0); }
  50%  { clip-path: inset(80% 0 5%  0); transform: translate(3px,0); }
  100% { clip-path: inset(0 0 100% 0); transform: translate(0,0); }
}

/* ── Role Prefix dash ── */
.role-prefix {
  color: var(--accent);
  font-family: var(--font-mono);
  margin-right: 8px;
  opacity: 0.7;
}

/* ── Company Highlight ── */
.company-highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ── Badge Ping ── */
.badge-ping {
  position: absolute;
  right: 10px;
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  80%  { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── Live Dot on company badge ── */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 5px;
  animation: livePulse 1.5s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

/* ── Btn Magnetic / Shine ── */
.btn-magnetic {
  overflow: hidden;
  position: relative;
}
.btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  z-index: 0;
  transition: opacity 0.3s ease;
}
.btn-magnetic > * { position: relative; z-index: 1; }
.btn-shine {
  position: absolute !important;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  z-index: 2 !important;
  transition: none;
}
.btn-magnetic:hover .btn-shine {
  animation: shineSweep 0.6s ease forwards;
}
@keyframes shineSweep {
  to { left: 160%; }
}

/* ── Morphing Blob Glow ── */
.card-morph-blob {
  position: absolute;
  width: 450px; height: 450px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.2) 0%, rgba(124,58,237,0.1) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: blobMorph 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(-50%,-50%) scale(1); }
  25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(-50%,-50%) scale(1.08); }
  50%  { border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%; transform: translate(-50%,-50%) scale(0.95); }
  75%  { border-radius: 70% 30% 50% 60% / 60% 70% 30% 50%; transform: translate(-50%,-50%) scale(1.05); }
  100% { border-radius: 40% 60% 60% 40% / 70% 30% 50% 60%; transform: translate(-50%,-50%) scale(1); }
}

/* ── Orbit Rings ── */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(79,142,247,0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin linear infinite;
}
.orbit-ring-1 { width: 380px; height: 380px; animation-duration: 18s; }
.orbit-ring-2 { width: 460px; height: 460px; animation-duration: 28s; animation-direction: reverse; border-color: rgba(124,58,237,0.2); }
.orbit-ring-3 { width: 540px; height: 540px; animation-duration: 40s; border-color: rgba(6,182,212,0.12); }
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}
.orbit-ring-2 .orbit-dot {
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2), 0 0 20px var(--accent-2);
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.orbit-ring-3 .orbit-dot {
  background: #06b6d4;
  box-shadow: 0 0 10px #06b6d4;
  top: auto; bottom: 0; left: 50%;
  transform: translateX(-50%);
}

/* ── Corner Accents ── */
.corner-accent {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.profile-card-inner:hover .corner-accent { opacity: 1; }
.ca-tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.ca-tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; border-radius: 0 3px 0 0; }
.ca-bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; border-radius: 0 0 0 3px; }
.ca-br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; border-radius: 0 0 3px 0; }

/* ── Holographic Shimmer ── */
.holo-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(79,142,247,0.06) 25%,
    rgba(124,58,237,0.08) 50%,
    rgba(6,182,212,0.06) 75%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: holoShift 6s ease infinite;
  border-radius: var(--radius-lg);
}
@keyframes holoShift {
  0%   { background-position: 0% 0%; opacity: 0.5; }
  50%  { background-position: 100% 100%; opacity: 1; }
  100% { background-position: 0% 0%; opacity: 0.5; }
}

/* ── Enhanced Float Badges ── */
.float-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-badge-icon {
  font-size: 1.2rem;
  line-height: 1;
}
.float-badge-3 {
  position: absolute;
  top: 50%;
  right: -55px;
  transform: translateY(-50%);
  animation: floatSm 6s ease-in-out infinite alternate;
  animation-delay: -4s;
}
.float-badge-1 { top: 10px; right: -50px; }
.float-badge-2 { bottom: 70px; left: -50px; }

/* ── Floating Code Snippets ── */
.code-float {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(10,15,30,0.85);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
  line-height: 1.6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: codeFloat 7s ease-in-out infinite alternate;
  pointer-events: none;
}
.code-float-1 {
  bottom: -20px;
  left: -60px;
  animation-delay: 0s;
}
.code-float-2 {
  top: -20px;
  right: -30px;
  animation-delay: -3s;
}
@keyframes codeFloat {
  0%   { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}
.cf-kw  { color: #a78bfa; }
.cf-var { color: #60a5fa; }
.cf-key { color: #34d399; }
.cf-str { color: #fbbf24; }
.cf-fn  { color: #f472b6; }

.cf-str { color: #fbbf24; }
.cf-fn  { color: #f472b6; }

/* ── Hero right positioning ── */
.hero-right { position: relative; }

/* ── Responsive for new elements ── */
@media (max-width: 768px) {
  .hero-aurora { display: none; }
  .hero-symbols { display: none; }
  .orbit-ring { display: none; }
  .corner-accent { display: none; }
  .code-float { display: none; }
  .card-morph-blob { display: none; }
  .float-badge-3 { display: none; }
  .float-badge-1 { right: -10px; top: 5px; }
  .float-badge-2 { left: -10px; bottom: 60px; }
}

/* ============================================
   2026 REVAMP: IDE-CORE & BENTO GRID SYSTEM
============================================ */

/* ── IDE Mock Window ── */
.ide-window {
  width: 100%;
  max-width: 580px;
  background: #090d16;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  font-family: var(--font-mono);
  text-align: left;
  position: relative;
}
.ide-titlebar {
  background: #06090f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(79, 142, 247, 0.1);
}
.ide-controls {
  display: flex;
  gap: 8px;
}
.ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ide-dot-red { background: #ef4444; }
.ide-dot-yellow { background: #eab308; }
.ide-dot-green { background: #22c55e; }
.ide-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ide-tabs {
  background: #06090f;
  display: flex;
  border-bottom: 1px solid rgba(79, 142, 247, 0.1);
}
.ide-tab {
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-right: 1px solid rgba(79, 142, 247, 0.08);
  background: #06090f;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.ide-tab.active {
  background: #090d16;
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
  font-weight: 500;
}
.ide-tab-icon-json { color: #f59e0b; }
.ide-tab-icon-js { color: #f39c12; }
.ide-tab-icon-yml { color: #a855f7; }

.ide-body {
  display: grid;
  grid-template-columns: 45px 1fr;
  padding: 20px 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  background: #090d16;
  max-height: 380px;
  overflow-y: auto;
}
.ide-linenumbers {
  color: var(--text-muted);
  text-align: right;
  padding-right: 16px;
  user-select: none;
  border-right: 1px solid rgba(79, 142, 247, 0.05);
}
.ide-code {
  padding-left: 16px;
  white-space: pre-wrap;
  color: var(--text-primary);
}

/* Syntax Highlighting */
.syn-kw  { color: #f43f5e; font-weight: 600; } /* keyword */
.syn-var { color: #f8fafc; }                  /* variable */
.syn-val { color: #a855f7; }                  /* boolean/number */
.syn-str { color: #22c55e; }                  /* string */
.syn-obj { color: #60a5fa; }                  /* key/object */
.syn-com { color: #64748b; font-style: italic; } /* comment */
.syn-fn  { color: #3b82f6; }                  /* function */

/* ── Bento Grid System ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(79, 142, 247, 0.1);
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.bento-span-4 { grid-column: span 4; }
.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }
.bento-span-7 { grid-column: span 7; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

/* Bento inner elements */
.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bento-icon {
  font-size: 1.5rem;
  background: rgba(79, 142, 247, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 142, 247, 0.15);
}
.bento-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.bento-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.bento-card-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(79, 142, 247, 0.05), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Git Timeline Career Graph ── */
.git-timeline {
  position: relative;
  padding-left: 45px;
  margin-top: 40px;
}
.git-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 0;
  width: 3px;
  background: var(--border);
  z-index: 1;
}
/* Git branches representation */
.git-branch-line {
  position: absolute;
  left: 28px;
  top: 15px;
  bottom: 40px;
  width: 2px;
  border-left: 2px dashed rgba(168, 85, 247, 0.4);
  z-index: 0;
  display: none; /* hidden on small screen, visible on desktop config */
}
.git-commit-node {
  position: absolute;
  left: 12px;
  top: 14px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #050810;
  border: 3.5px solid var(--accent);
  z-index: 2;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: var(--transition);
}
.git-timeline-item:hover .git-commit-node {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 15px var(--accent);
}
.git-timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.git-timeline-item.current .git-commit-node {
  border-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
  animation: gitNodePulse 2s infinite;
}
@keyframes gitNodePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 16px rgba(34, 197, 94, 0.7); }
}

.git-commit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.git-commit-card:hover {
  border-color: var(--border-hover);
  background: var(--glass-hover);
}
.git-commit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.git-commit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.git-commit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.git-hash {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.git-date {
  color: var(--text-muted);
}
.git-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.git-ref {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
}
.git-commit-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.git-commit-bullets {
  margin-top: 10px;
  padding-left: 16px;
}
.git-commit-bullets li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  list-style-type: square;
}

/* ── Terminal Console (Skills) ── */
.terminal-window {
  width: 100%;
  background: #040711;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  font-family: var(--font-mono);
  text-align: left;
}
.terminal-header {
  background: #080d1a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(79, 142, 247, 0.08);
}
.terminal-body {
  padding: 24px;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
  min-height: 300px;
}
.terminal-line {
  margin-bottom: 14px;
}
.terminal-prompt {
  color: #22c55e;
}
.terminal-host {
  color: #3b82f6;
}
.terminal-cmd {
  color: #f8fafc;
  font-weight: 500;
}
.terminal-out {
  color: #94a3b8;
  margin-top: 6px;
}
.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .terminal-grid { grid-template-columns: 1fr; }
}
.terminal-skill-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.terminal-skill-name {
  color: #f1fa8c;
  display: flex;
  justify-content: space-between;
}
.terminal-skill-pct {
  color: var(--text-muted);
}
.terminal-progress-bar {
  display: flex;
  color: #64748b;
  letter-spacing: -1px;
}
.terminal-progress-fill {
  color: #22c55e;
}

/* ── Section Numbers Side HUD ── */
.section-code-wrapper {
  position: relative;
}
.section-line-numbers {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 30px;
  display: flex;
  flex-direction: column;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 2.2;
  user-select: none;
  pointer-events: none;
  opacity: 0.18;
}

/* Responsive Overrides for Bento & Git */
@media (max-width: 1024px) {
  .bento-span-4, .bento-span-5, .bento-span-6, 
  .bento-span-7, .bento-span-8 {
    grid-column: span 6;
  }
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-span-4, .bento-span-5, .bento-span-6, 
  .bento-span-7, .bento-span-8, .bento-span-12 {
    grid-column: span 1;
  }
  .bento-card {
    padding: 20px;
  }
  .git-timeline {
    padding-left: 30px;
  }
  .git-timeline::before {
    left: 9px;
  }
  .git-commit-node {
    left: 2px;
  }
  .git-commit-card {
    padding: 16px;
  }
}

