:root {
  --bg: #0b0f19;
  --bg2: #111827;
  --bg3: #1e293b;
  --white: #f1f5f9;
  --pure: #fff;
  --cream: #cbd5e1;
  --slate: #94a3b8;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --teal: #06b6d4;
  --ember: #10b981;
  --font-d: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', monospace;
  --pad: clamp(2rem, 5vw, 5rem);
  --section-pad: clamp(5rem, 10vh, 10rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --fast: 0.3s ease;
  --glow-indigo: rgba(99, 102, 241, 0.25);
  --glow-cyan: rgba(6, 182, 212, 0.25);
  --glow-emerald: rgba(16, 185, 129, 0.25);
  --glow: rgba(6, 182, 212, 0.25);
  --glow-soft: rgba(99, 102, 241, 0.1);
  --glass: rgba(15, 23, 42, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; cursor: default; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── BACKGROUND BLOBS ── */
.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  width: 45vw; height: 45vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: blobMove 25s infinite alternate;
}
.blob--1 { top: -15%; left: -10%; background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%); }
.blob--2 { bottom: -15%; right: -10%; background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%); animation-delay: -8s; }
@keyframes blobMove { from { transform: translate(0, 0) scale(1); } to { transform: translate(8%, 8%) scale(1.15); } }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(11, 15, 25, 0.92);
  border-bottom-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-d); font-size: 1.5rem; font-weight: 900; color: var(--pure); letter-spacing: -0.02em; }
.dot { color: var(--indigo); }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate);
  transition: all 0.3s var(--ease); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--indigo);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--pure); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--indigo); color: var(--bg) !important;
  padding: 0.6em 1.8em; border-radius: 100px;
  font-weight: 800; letter-spacing: 0.08em;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
  transition: all 0.3s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--pure); transition: 0.3s; }


/* ── HERO ── */
.hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Background */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.slideshow { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease, transform 8s cubic-bezier(0.1, 0, 0.9, 1);
  filter: brightness(0.6) saturate(1.1);
}
.slide--active { opacity: 1; transform: scale(1.02); filter: brightness(0.55) saturate(1.15); }
.slide--prev { opacity: 0; transform: scale(1.05); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.3) 0%, rgba(11, 15, 25, 0.2) 40%, rgba(11, 15, 25, 0.6) 80%, rgba(11, 15, 25, 0.95) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Content */
.hero-content {
  position: relative; z-index: 10;
  max-width: 820px; width: 100%;
  padding: 0 2.5rem;
  display: flex; flex-direction: column; align-items: flex-start;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cream); opacity: 0.7;
  margin-bottom: 1.5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald), 0 0 20px rgba(16, 185, 129, 0.2);
  animation: dotPulse 2.5s ease infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px var(--emerald); }
  50% { box-shadow: 0 0 14px var(--emerald), 0 0 24px rgba(16, 185, 129, 0.3); }
}
.hero-sep { opacity: 0.3; font-weight: 300; }

.hero-title {
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92; letter-spacing: -0.04em;
  color: var(--pure); margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--cyan), var(--indigo) 60%, var(--emerald));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 350; line-height: 1.8;
  color: var(--cream); opacity: 0.7;
  max-width: 52ch; margin-bottom: 2.5rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--slate));
  animation: scrollPulse 2.5s ease infinite;
}
.hero-scroll span {
  font-size: 0.55rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--slate); opacity: 0.5;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.8; } }


/* ── LIVE STATS BANNER ── */
.stats-banner {
  position: relative;
  z-index: 50;
  width: 100%;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 2rem;
  backdrop-filter: blur(16px);
}
.stats-banner-track {
  display: flex; justify-content: center; align-items: center; gap: 2rem;
  max-width: 1200px; margin: 0 auto;
}
.stats-banner-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--cream); font-size: 0.82rem; font-weight: 500;
}
.stats-icon { color: var(--cyan); font-size: 0.9rem; display: flex; align-items: center; }
.stats-text { white-space: nowrap; }
.stats-highlight {
  color: var(--pure); font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stats-banner-sep { color: rgba(255, 255, 255, 0.1); font-weight: 300; font-size: 1rem; user-select: none; }


/* ── BUTTONS ── */
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-b); font-size: clamp(0.7rem, 0.8vw, 0.85rem);
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.8rem 1.8rem; border-radius: 100px; cursor: pointer;
  transition: all 0.3s var(--ease); border: 2px solid transparent;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.btn:hover::before { opacity: 1; }
.btn--solid { background: var(--indigo); color: var(--pure); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2); }
.btn--solid:hover { background: #4f46e5; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35); color: var(--pure); }
.btn--emerald { background: var(--emerald); color: var(--pure); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2); }
.btn--emerald:hover { background: #059669; box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35); color: var(--pure); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.15); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--pure); background: rgba(6, 182, 212, 0.06); transform: translateY(-2px); }
.btn--teal { background: var(--cyan); color: var(--bg); border: 2px solid var(--cyan); font-weight: 800; }
.btn--teal:hover { background: #0891b2; border-color: #0891b2; box-shadow: 0 8px 32px rgba(6, 182, 212, 0.35); transform: translateY(-2px); }
.btn--lg { padding: 1.1em 3em; font-size: 0.9rem; }


/* ── SECTIONS ── */
.section { padding: var(--section-pad) 0; position: relative; }
.section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 20%, rgba(99, 102, 241, 0.1) 50%, rgba(255, 255, 255, 0.06) 80%, transparent);
}
.section--alt { background: rgba(15, 23, 42, 0.3); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.sec-label {
  font-size: 0.85rem; font-weight: 700; color: var(--cyan);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.sec-label .sec-dot {
  width: 8px; height: 8px; background: var(--cyan); border-radius: 50%;
  display: inline-block; box-shadow: 0 0 8px var(--cyan);
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900; color: var(--pure);
  margin-bottom: 4rem; line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-title .grad,
.grad {
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}


/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: flex-start; }
.about-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.8s var(--ease); }
.about-img-wrap:hover .about-img { transform: scale(1.04); }
.about-img-border { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; pointer-events: none; }
.stat-row { display: flex; gap: 1rem; margin-top: 2rem; }
.stat {
  flex: 1; background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 1.8rem 1.2rem; text-align: center;
  transition: all 0.4s var(--ease);
}
.stat:hover { transform: translateY(-8px); border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-soft); }
.stat-num { font-family: var(--font-d); font-size: 2.2rem; font-weight: 900; color: var(--pure); line-height: 1; }
.stat-plus { font-family: var(--font-d); font-size: 1.3rem; color: var(--cyan); vertical-align: top; }
.stat-label { display: block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); margin-top: 0.6rem; font-weight: 600; }

.about-text h2 { font-family: var(--font-d); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.2; color: var(--pure); margin-bottom: 1.8rem; }
.about-text p { font-size: 1.05rem; line-height: 1.8; color: var(--slate); margin-bottom: 1.2rem; }

.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.pills span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.5em 1em; border-radius: 8px;
  background: rgba(99, 102, 241, 0.06); border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--cream); transition: all 0.3s ease;
}
.pills span:hover { border-color: var(--indigo); color: var(--pure); background: rgba(99, 102, 241, 0.12); }


/* ── EXPERIENCE TIMELINE ── */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 2rem 0; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 24px; width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.2) 10%, rgba(99, 102, 241, 0.2) 90%, transparent);
}
.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 70px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-badge {
  position: absolute; top: 4px; left: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; color: var(--slate); transition: all 0.4s ease;
}
.timeline-badge i { font-size: 0.85rem; }
.timeline-item:hover .timeline-badge { background: var(--indigo); border-color: var(--indigo); color: var(--pure); box-shadow: 0 0 16px var(--glow-indigo); }
.timeline-badge.active-badge { background: var(--cyan); border-color: var(--cyan); color: var(--pure); box-shadow: 0 0 16px var(--glow-cyan); }
.timeline-card {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 2rem; transition: all 0.4s var(--ease); position: relative;
}
.timeline-card:hover {
  border-color: rgba(99, 102, 241, 0.25); transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px var(--glow-soft);
}
.timeline-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04); padding-bottom: 1rem;
}
.role-info h3 { font-family: var(--font-d); font-size: 1.25rem; font-weight: 800; color: var(--pure); }
.company { font-size: 0.82rem; color: var(--slate); display: flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; }
.company i { color: var(--cyan); font-size: 0.75rem; }
.meta-info { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.timeline-date { font-family: var(--font-m); font-size: 0.72rem; color: var(--cyan); background: rgba(6, 182, 212, 0.08); padding: 0.3em 0.8em; border-radius: 6px; }
.status-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.3em 0.8em; border-radius: 6px;
}
.status-badge--success { background: rgba(16, 185, 129, 0.08); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.15); }
.status-badge--info { background: rgba(99, 102, 241, 0.08); color: var(--indigo); border: 1px solid rgba(99, 102, 241, 0.15); }
.status-badge--warning { background: rgba(6, 182, 212, 0.08); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.15); }
.status-badge--neutral { background: rgba(255, 255, 255, 0.04); color: var(--slate); border: 1px solid rgba(255, 255, 255, 0.08); }
.timeline-summary { font-size: 0.92rem; line-height: 1.7; color: var(--cream); margin-bottom: 1rem; }
.timeline-card ul { padding-left: 1.2rem; list-style: disc; margin-bottom: 1.2rem; }
.timeline-card li { font-size: 0.88rem; line-height: 1.7; color: var(--slate); margin-bottom: 0.5rem; }
.timeline-card li strong { color: var(--white); }
.timeline-card li::marker { color: var(--cyan); }
.timeline-accent-box {
  display: flex; align-items: flex-start; gap: 0.6rem;
  background: rgba(99, 102, 241, 0.06); border-left: 3px solid var(--indigo);
  padding: 0.9rem 1rem; border-radius: 0 12px 12px 0; margin-bottom: 1.2rem;
}
.accent-title { font-size: 0.82rem; font-weight: 700; color: var(--indigo); white-space: nowrap; display: flex; align-items: center; gap: 0.3rem; }
.accent-val { font-size: 0.85rem; color: var(--white); line-height: 1.5; }
.timeline-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; transition: 0.3s; }
.timeline-link:hover { color: var(--pure); }
.exp-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.exp-tags span {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.4em 0.8em; border-radius: 6px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--slate); transition: all 0.3s ease;
}
.exp-tags span:hover { border-color: rgba(99, 102, 241, 0.3); color: var(--cream); }


/* ── PROJECT TABS ── */
.proj-tabs { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  background: transparent; border: 1px solid var(--bg3);
  color: var(--slate); font-family: var(--font-b); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.05em;
  padding: 0.55rem 1.3rem; border-radius: 100px;
  cursor: pointer; transition: all 0.3s ease; outline: none;
}
.tab-btn:hover { border-color: rgba(99, 102, 241, 0.3); color: var(--pure); }
.tab-btn.active { background: var(--indigo); border-color: var(--indigo); color: var(--pure); box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3); }
.hidden-card { display: none !important; }

/* ── PROJECTS ── */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.proj-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
}
.proj-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(99, 102, 241, 0.2) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s ease;
  pointer-events: none;
}
.proj-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-soft);
  border-color: rgba(99, 102, 241, 0.2);
}
.proj-card:hover::before { opacity: 1; }
.proj-num {
  font-family: var(--font-d); font-size: 7rem; font-weight: 900;
  color: var(--indigo); opacity: 0.04; position: absolute;
  top: -0.5rem; right: 0.8rem; line-height: 1; pointer-events: none;
}
.proj-card h3 { font-family: var(--font-d); font-size: 1.7rem; font-weight: 800; color: var(--pure); margin-bottom: 0.6rem; }
.proj-type {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.proj-type::before { content: ""; width: 18px; height: 1.5px; background: var(--cyan); }
.proj-card > p { font-size: 0.95rem; line-height: 1.7; color: var(--slate); margin-bottom: 2rem; }

.proj-stack { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.proj-stack span {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5em 1em; border-radius: 8px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--cream); transition: all 0.3s ease;
}
.proj-stack span:hover { border-color: rgba(99, 102, 241, 0.3); color: var(--pure); }
.proj-links { display: flex; gap: 1.5rem; }
.proj-links a {
  font-size: 0.82rem; font-weight: 600; color: var(--cyan);
  display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.3s ease; border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.proj-links a:hover { color: var(--pure); border-color: rgba(6, 182, 212, 0.4); }


/* ── SKILLS ── */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.skill-group {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 24px;
  padding: 2.5rem; transition: all 0.4s var(--ease);
}
.skill-group:hover { border-color: rgba(99, 102, 241, 0.2); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-soft); }
.skill-group h4 {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--pure); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.skill-group h4::before { content: ""; width: 14px; height: 2px; background: var(--indigo); border-radius: 2px; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.skill-chips span {
  font-size: 0.8rem; font-weight: 500; padding: 0.6em 1.2em; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--slate); transition: all 0.3s ease;
}
.skill-chips span:hover { border-color: rgba(99, 102, 241, 0.3); background: rgba(99, 102, 241, 0.06); color: var(--pure); transform: scale(1.03); }
.skill-chips .accent { border-color: rgba(99, 102, 241, 0.2); color: var(--indigo); }


/* ── ACHIEVEMENTS ── */
.ach-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.ach-right-col { display: flex; flex-direction: column; gap: 1.5rem; }
.ach-card {
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 24px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.ach-card:hover { border-color: rgba(99, 102, 241, 0.2); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-soft); }
.ach-card--feat {
  border-left: 3px solid var(--indigo);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(30, 27, 75, 0.15));
  padding-bottom: 0;
}

.ach-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; padding: 0.4em 1em; border-radius: 100px;
  background: rgba(99, 102, 241, 0.1); color: var(--indigo);
  margin-bottom: 0.8rem; width: fit-content;
}
.ach-card h3 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--pure); margin-bottom: 0.3rem; }
.ach-sub { font-size: 0.78rem; color: var(--slate); margin-bottom: 0.6rem; }
.ach-card > p { font-size: 0.82rem; line-height: 1.7; color: var(--slate); margin-bottom: 0.8rem; }
.ach-links { display: flex; gap: 1rem; margin-bottom: 0.8rem; }
.ach-links a { font-size: 0.75rem; font-weight: 500; color: var(--cyan); transition: color 0.3s; }
.ach-links a:hover { color: var(--pure); }
.ach-img {
  border-radius: 0; margin-top: auto;
  width: calc(100% + 4rem); margin-left: -2rem; margin-right: -2rem;
  height: 400px; object-fit: cover;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.6s ease; filter: brightness(1.05);
}
.ach-card:hover .ach-img { filter: brightness(1.15); transform: scale(1.02); }


/* ── GALLERY ── */
.gallery-title { font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; color: var(--pure); margin-bottom: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 280px; gap: 1rem; }
.gallery-item {
  border-radius: 16px; overflow: hidden; position: relative;
  background: var(--bg2); border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.4s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s var(--ease); }
.gallery-item:hover { transform: scale(0.98); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item--lg { grid-column: span 2; grid-row: span 2; }


/* ── CONTACT ── */
.contact-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.contact-heading { font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; line-height: 1.2; color: var(--pure); margin-bottom: 1rem; }
.contact-sub { font-size: 1.05rem; color: var(--slate); margin-bottom: 3rem; max-width: 55ch; margin-left: auto; margin-right: auto; line-height: 1.7; }
.contact-cards { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.c-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 1.5rem 2rem;
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 20px;
  min-width: 180px; transition: all var(--fast); text-decoration: none;
}
.c-card:hover { border-color: rgba(99, 102, 241, 0.25); transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3), 0 0 16px var(--glow-soft); }
.c-icon { font-size: 1.4rem; color: var(--cyan); margin-bottom: 0.2rem; }
.c-label { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
.c-val { font-size: 0.82rem; color: var(--white); font-weight: 500; }

.copy-tooltip {
  position: absolute; top: -2.5rem; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--indigo); color: var(--pure);
  padding: 0.4rem 0.8rem; font-size: 0.68rem; font-weight: 700;
  border-radius: 6px; pointer-events: none; opacity: 0;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); white-space: nowrap;
}
.copy-tooltip::after {
  content: ""; position: absolute; bottom: -4px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 8px; height: 8px;
  background: var(--indigo);
}
.c-card--copy:hover .copy-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.copy-tooltip.copied { background: var(--emerald); }
.copy-tooltip.copied::after { background: var(--emerald); }


/* ── FOOTER ── */
.footer { padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--slate); opacity: 0.5; }


/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { top: 0; width: 100%; border-radius: 0; padding: 0.8rem 1.5rem; }
  .nav-links {
    display: none; position: fixed; top: 4rem; left: 0;
    width: 100%; height: calc(100vh - 4rem);
    background: rgba(11, 15, 25, 0.97); backdrop-filter: blur(30px);
    flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    opacity: 0; transform: translateY(-20px);
    transition: all 0.5s var(--ease);
    pointer-events: none; z-index: 100;
  }
  .nav-links a::after { display: none; }
  .nav-links.active { display: flex; opacity: 1; transform: translateY(0); pointer-events: all; }
  .nav-links.active a { font-size: 1rem; }
  .nav-burger { display: flex; }

  .hero { min-height: 100vh; }
  .hero-content { padding: 0 1.5rem; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-desc { font-size: 0.92rem; max-width: 100%; }
  .hero-eyebrow { font-size: 0.68rem; gap: 0.5rem; flex-wrap: wrap; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 0.8rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-scroll { bottom: 1.5rem; }

  .stats-banner { padding: 1.2rem 1.5rem; }
  .stats-banner-track {
    flex-direction: column; align-items: flex-start; gap: 0.7rem;
  }
  .stats-banner-sep { display: none; }
  .stats-banner-item { font-size: 0.78rem; }

  .section { padding: 4rem 0; }
  .section-title { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 2.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stat-row { flex-wrap: wrap; gap: 0.8rem; }
  .stat { padding: 1.2rem; min-width: 0; }

  .timeline::before { left: 14px; }
  .timeline-item { padding-left: 42px; margin-bottom: 2rem; }
  .timeline-badge { left: 0; width: 30px; height: 30px; }
  .timeline-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .meta-info { margin-top: 0.2rem; }
  .timeline-card { padding: 1.5rem; }
  .role-info h3 { font-size: 1.1rem; }

  .proj-tabs { gap: 0.4rem; }
  .tab-btn { padding: 0.5rem 0.9rem; font-size: 0.7rem; }
  .proj-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .proj-card { padding: 2rem 1.5rem; }

  .skills-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .skill-group { padding: 2rem 1.5rem; }

  .ach-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .ach-card { padding: 1.5rem; }
  .ach-img { height: 200px; width: calc(100% + 3rem); margin-left: -1.5rem; margin-right: -1.5rem; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--lg { grid-column: span 1; grid-row: span 1; }

  .contact-cards { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .c-card { padding: 1.2rem; flex-direction: row; gap: 1rem; min-width: 0; }

  .foot-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 12vw, 3rem); }
  .hero-content { padding: 0 1.2rem; }
  .hero-eyebrow { font-size: 0.6rem; }
  .container { padding: 0 1.2rem; }
  .proj-card { padding: 1.5rem; border-radius: 20px; }
  .proj-card h3 { font-size: 1.4rem; }
  .stat-row { gap: 0.5rem; }
  .stat { padding: 1rem 0.6rem; }
  .stat-num { font-size: 1.8rem; }
}


.cursor { display: none !important; }

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.45); }
