/* ============================================================
   SHREYANSH ARORA — PORTFOLIO CSS
   Color Scheme: Deep Black + Electric Violet + Neon Cyan + Hot Pink
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg:          #08080f;
  --bg-2:        #0d0d1a;
  --bg-card:     #111120;
  --bg-card-2:   #13131f;
  --violet:      #7c3aed;
  --violet-2:    #a855f7;
  --cyan:        #06b6d4;
  --cyan-2:      #22d3ee;
  --pink:        #ec4899;
  --pink-2:      #f472b6;
  --white:       #f8f8ff;
  --white-dim:   #b0b0cc;
  --white-muted: #6b6b8a;
  --border:      rgba(124, 58, 237, 0.2);
  --border-2:    rgba(6, 182, 212, 0.15);
  --font-sans:   'Space Grotesk', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --radius:      12px;
  --radius-lg:   20px;
  --glow-violet: 0 0 40px rgba(124, 58, 237, 0.4);
  --glow-cyan:   0 0 40px rgba(6, 182, 212, 0.35);
  --glow-pink:   0 0 40px rgba(236, 72, 153, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  cursor: none;
}

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

/* ---------- NOISE OVERLAY ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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;
  background-size: 100px 100px;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor {
  width: 10px; height: 10px;
  background: var(--violet-2);
  mix-blend-mode: difference;
  transition: width .15s, height .15s;
}

.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  background: transparent;
  transition: width .3s, height .3s, border-color .3s;
}

.cursor.cursor--grow { width: 18px; height: 18px; }
.cursor-follower.cursor-follower--grow { width: 64px; height: 64px; border-color: var(--cyan); }

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- SECTION DEFAULTS ---------- */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 40%, var(--violet-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--violet-2);
  font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.65);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--violet-2);
  color: var(--violet-2);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  transform: translateY(-2px);
}

.btn-ghost--yellow {
  border-color: rgba(234, 179, 8, 0.35);
  color: #fbbf24;
}
.btn-ghost--yellow:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 0 20px rgba(251,191,36,0.2);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ---------- NAV PHOTO ---------- */
.nav-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--violet);
  box-shadow: 0 0 12px rgba(124,58,237,0.5);
  transition: box-shadow 0.2s;
}
.nav-photo:hover { box-shadow: 0 0 20px rgba(124,58,237,0.8); }

/* ---------- FOOTER PHOTO ---------- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-dim);
}
.footer-photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid var(--violet);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.nav--scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

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

.nav-logo-bracket { color: var(--violet-2); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--violet-2);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--violet-2);
  border: 1.5px solid var(--violet-2);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--glow-violet);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 490;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white-dim);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--violet-2); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 2.5rem;
  padding-top: 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--violet-2);
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-name-line {
  display: block;
  overflow: hidden;
}

.hero-name-line:nth-child(2) {
  background: linear-gradient(135deg, var(--violet-2), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--white-dim);
  margin-bottom: 1.25rem;
  font-weight: 400;
  opacity: 0;
}

.hero-role-prefix { color: var(--white-muted); }

.hero-role-typed {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 500;
}

.hero-role-cursor {
  color: var(--violet-2);
  animation: blink 0.8s step-end infinite;
}

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

.hero-sub {
  font-size: 0.95rem;
  color: var(--white-muted);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  opacity: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--violet-2);
  line-height: 1;
}

.hero-stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--white-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--violet-2), transparent);
  animation: scroll-line-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-line-anim {
  0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-muted);
  font-family: var(--font-mono);
}

/* Floaters */
.hero-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.floater {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid;
  opacity: 0;
  animation: float-drift 6s ease-in-out infinite;
}

.f1 { top: 18%; right: 10%; border-color: rgba(124,58,237,0.4); color: var(--violet-2); background: rgba(124,58,237,0.07); animation-delay: 0s; animation-duration: 7s; }
.f2 { top: 35%; right: 6%;  border-color: rgba(6,182,212,0.4); color: var(--cyan); background: rgba(6,182,212,0.07); animation-delay: 1s; animation-duration: 8s; }
.f3 { top: 55%; right: 14%; border-color: rgba(236,72,153,0.4); color: var(--pink); background: rgba(236,72,153,0.07); animation-delay: 2s; animation-duration: 6.5s; }
.f4 { top: 70%; right: 5%;  border-color: rgba(124,58,237,0.4); color: var(--violet-2); background: rgba(124,58,237,0.07); animation-delay: 0.5s; animation-duration: 9s; }
.f5 { top: 22%; right: 24%; border-color: rgba(6,182,212,0.4); color: var(--cyan); background: rgba(6,182,212,0.07); animation-delay: 1.5s; animation-duration: 7.5s; }
.f6 { top: 45%; right: 20%; border-color: rgba(236,72,153,0.4); color: var(--pink); background: rgba(236,72,153,0.07); animation-delay: 3s; animation-duration: 8.5s; }

@keyframes float-drift {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg); }

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

.about-avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  /* ensure the outermost ring doesn't get clipped */
  overflow: visible;
}

.about-avatar-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.about-avatar {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  position: relative;
  z-index: 2;
  box-shadow: var(--glow-violet), 0 0 0 4px var(--violet);
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ring-pulse 3s ease-in-out infinite;
}
.r1 { width: 304px; height: 304px; border-color: rgba(124,58,237,0.5); animation-delay: 0s; }
.r2 { width: 334px; height: 334px; border-color: rgba(6,182,212,0.3); animation-delay: 0.5s; }
.r3 { width: 364px; height: 364px; border-color: rgba(124,58,237,0.15); animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

.about-right { display: flex; flex-direction: column; gap: 1.25rem; }

.about-p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white-dim);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.about-tag {
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--violet-2);
  font-weight: 500;
  transition: all 0.2s;
}
.about-tag:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--violet-2);
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s ease;
  /* equal height — fill the row */
  display: flex;
  flex-direction: column;
}

.skill-category:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}

.skill-cat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.skill-cat-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
  flex: 1;
}

.skill-tag {
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  background: rgba(248,248,255,0.04);
  border: 1px solid rgba(248,248,255,0.08);
  color: var(--white-dim);
  font-family: var(--font-mono);
  transition: all 0.2s;
}
.skill-tag:hover { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); color: var(--violet-2); }

.skill-tag--glow {
  border-color: rgba(6,182,212,0.25);
  color: var(--cyan-2);
  background: rgba(6,182,212,0.06);
}
.skill-tag--pink {
  border-color: rgba(236,72,153,0.25);
  color: var(--pink-2);
  background: rgba(236,72,153,0.06);
}

/* ---------- EXPERIENCE ---------- */
.experience {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--violet), var(--cyan), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -2.65rem;
  top: 1.25rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(124,58,237,0.5);
}

.timeline-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-2);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  border-color: rgba(124,58,237,0.45);
  box-shadow: 0 8px 40px rgba(124,58,237,0.12);
  transform: translateX(6px);
}

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

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.timeline-company {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.timeline-company-name {
  color: var(--violet-2);
  font-weight: 600;
}

.timeline-divider { color: var(--white-muted); }

.timeline-location { color: var(--white-muted); }

.period-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.3rem 0.8rem;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 100px;
  color: var(--cyan);
  white-space: nowrap;
}

.timeline-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.timeline-bullets li {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}

.timeline-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet-2);
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tech span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  background: rgba(248,248,255,0.04);
  border: 1px solid rgba(248,248,255,0.08);
  border-radius: 4px;
  color: var(--white-muted);
}

/* ---------- PROJECTS ---------- */
.projects {
  background: var(--bg-2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.project-card:hover {
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(124,58,237,0.15);
}

.project-card-glow {
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s;
  border-radius: 50%;
}

.project-card-glow--cyan {
  background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
}
.project-card-glow--pink {
  background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
}

.project-card:hover .project-card-glow { opacity: 1.5; transform: scale(1.4); }

.project-card-inner {
  padding: 2rem 2.25rem;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white-muted);
  letter-spacing: 0.1em;
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white-muted);
  transition: color 0.2s;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}
.project-link:hover {
  color: var(--violet-2);
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.08);
}

.project-link--appstore {
  color: var(--pink);
  border: 1px solid rgba(236,72,153,0.35);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(236,72,153,0.07);
  transition: all 0.2s;
}
.project-link--appstore:hover { background: rgba(236,72,153,0.15); border-color: var(--pink); color: var(--pink); }

.haptiq-live-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 100px;
  color: #4ade80;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.project-subtitle {
  font-size: 0.82rem;
  color: var(--violet-2);
  font-family: var(--font-mono);
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-desc {
  font-size: 0.93rem;
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-highlights li {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.6;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.project-stack span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 4px;
  color: var(--violet-2);
}

/* ---------- ACHIEVEMENTS ---------- */
.achievements {
  background: var(--bg);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.achievement-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  border-color: rgba(168,85,247,0.45);
  box-shadow: 0 0 30px rgba(124,58,237,0.12);
  transform: translateY(-4px);
}

.achievement-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
}

.achievement-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.achievement-body p {
  font-size: 0.82rem;
  color: var(--white-muted);
  line-height: 1.6;
}

/* Profiles */
.profiles-section { text-align: center; }

.profiles-title {
  font-size: 1rem;
  color: var(--white-muted);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.profiles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white-dim);
  transition: all 0.2s;
}

.profile-badge:hover {
  border-color: var(--violet-2);
  color: var(--violet-2);
  background: rgba(124,58,237,0.08);
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
  transform: translateY(-2px);
}

/* ---------- CONTACT ---------- */
.contact {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.contact-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-wrapper .section-header { margin-bottom: 1.5rem; }

.contact-sub {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--white-muted);
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--white-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--white-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--violet-2); }

/* ---------- SCROLL REVEAL ---------- */
.reveal-text { opacity: 0; transform: translateY(30px); }
.reveal-fade { opacity: 0; transform: translateY(24px); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet-2); }

/* ---------- SELECTION ---------- */
::selection { background: rgba(124,58,237,0.35); color: var(--white); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 1rem 1.5rem; }

  .hero-content { padding: 0 1.5rem; padding-top: 7rem; }
  .hero-floaters { display: none; }

  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }

  .timeline { padding-left: 2rem; }
  .timeline-dot { left: -1.75rem; }
  .timeline-card { padding: 1.5rem; }
  .timeline-card-header { flex-direction: column; }

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

  .contact-wrapper { padding: 2.5rem 1.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }

  .hero-stats { gap: 1.5rem; }

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

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

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
