/* ============================================
   MANN JASMATIA — PORTFOLIO
   Ultra Premium Dark Theme
   ============================================ */

/* ── Variables ─────────────────────────────── */
:root {
  --bg:         #030014;
  --bg-alt:     #07051a;
  --surface:    rgba(255,255,255,0.025);
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(0,212,255,0.25);
  --cyan:       #00d4ff;
  --purple:     #7c3aed;
  --cyan-glow:  rgba(0,212,255,0.12);
  --purple-glow:rgba(124,58,237,0.12);
  --text:       #eeeeff;
  --text-dim:   #6b6b8a;
  --text-mid:   #9999bb;
  --grad:       linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --nav-h:      76px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
strong { color: var(--text); }
code {
  font-family: var(--ff-mono);
  font-size: 0.88em;
  background: rgba(0,212,255,0.08);
  color: var(--cyan);
  padding: 1px 6px;
  border-radius: 4px;
}

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

/* ── Cursor ─────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,212,255,0.4);
  transition: transform 0.08s, width 0.25s, height 0.25s, background 0.25s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s, background 0.3s, transform 0.08s;
}
.cursor-dot.hover { transform: translate(-50%,-50%) scale(0); }
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
}

/* ── Noise ──────────────────────────────────── */
.noise {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Scroll Progress ────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--grad);
  z-index: 9997;
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  z-index: 500;
  transition: background 0.5s var(--ease),
              backdrop-filter 0.5s,
              box-shadow 0.5s;
}
.nav.scrolled {
  background: rgba(3,0,20,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.5px;
}
.dot { color: var(--cyan); }
.nav-links { display: flex; gap: 36px; }
.nav-link {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.btn-hire {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--cyan);
  border-radius: 5px; color: var(--cyan);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: none;
}
.btn-hire:hover {
  background: var(--cyan); color: var(--bg);
  box-shadow: 0 0 24px rgba(0,212,255,0.35);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Drawer */
.drawer {
  position: fixed; top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: rgba(7,5,26,0.98);
  backdrop-filter: blur(32px);
  border-left: 1px solid var(--border);
  z-index: 600;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px;
  transition: right 0.4s var(--ease);
}
.drawer.open { right: 0; }
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: 1px solid var(--border);
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text-mid); font-size: 16px;
  cursor: none; transition: color 0.3s, border-color 0.3s;
}
.drawer-close:hover { color: var(--cyan); border-color: var(--cyan); }
.drawer-nav { display: flex; flex-direction: column; gap: 32px; text-align: center; }
.drawer-link {
  font-family: var(--ff-display);
  font-size: 26px; font-weight: 600;
  transition: color 0.3s;
}
.drawer-link:hover { color: var(--cyan); }
.drawer-socials { display: flex; gap: 20px; }
.drawer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all 0.3s;
}
.drawer-socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 590;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; height: 100vh;
  min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0;
  z-index: 0;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  z-index: 1;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
.blob-1 {
  width: 600px; height: 600px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
}
.blob-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -50px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes blob-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 3;
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 64px;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; }

/* ── Hero Portrait ── */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; /* gsap animates */
}
.hero-photo-wrap {
  position: relative; width: 380px; height: 660px;
}
.photo-ring {
  position: absolute; border-radius: 28px;
  border: 1px solid rgba(0,212,255,0.18);
  pointer-events: none;
}
.photo-ring-1 {
  inset: -10px;
  animation: ring-rotate 12s linear infinite;
}
.photo-ring-2 {
  inset: -22px;
  border-color: rgba(124,58,237,0.12);
  animation: ring-rotate 18s linear infinite reverse;
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.photo-glow {
  position: absolute; inset: -30px; border-radius: 36px;
  background: radial-gradient(ellipse at 50% 80%,
    rgba(0,212,255,0.12) 0%,
    rgba(124,58,237,0.08) 50%,
    transparent 70%);
  pointer-events: none;
  animation: glow-breathe 4s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom center;
  display: block;
  position: relative; z-index: 1;
  /*
    filter works pixel-by-pixel on the visible parts only —
    safe to use on transparent PNGs, creates zero rectangle.
    drop-shadow() follows the actual silhouette, not the bounding box.
  */
  filter:
    brightness(0.92)
    contrast(1.06)
    saturate(0.75)
    hue-rotate(168deg)
    drop-shadow(0 16px 48px rgba(0,0,0,0.8))
    drop-shadow(0 0  30px rgba(0,212,255,0.18));
}
/* Removed .photo-tint and .photo-overlay — rectangles on a transparent PNG */
.photo-overlay { display: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
  opacity: 0; /* gsap animates */
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2.2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}
.hero-name {
  font-family: var(--ff-display);
  font-size: clamp(68px, 9vw, 128px);
  font-weight: 700; line-height: 0.93;
  letter-spacing: -3px; margin-bottom: 24px;
}
.name-line { display: block; overflow: hidden; }
.hero-role {
  font-family: var(--ff-mono);
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--text-dim); margin-bottom: 24px;
  display: flex; align-items: center; gap: 2px;
  opacity: 0;
}
.role-dynamic { color: var(--cyan); font-weight: 700; }
.role-cursor { color: var(--cyan); animation: blink 1.1s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc {
  font-size: 16px; color: var(--text-mid);
  max-width: 540px; margin-bottom: 40px;
  line-height: 1.85; opacity: 0;
}
.hero-actions {
  display: flex; gap: 16px; margin-bottom: 44px;
  opacity: 0;
}
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 7px;
  font-family: var(--ff-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.3px; cursor: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 0 30px rgba(0,212,255,0.18),
              0 4px 24px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 50px rgba(0,212,255,0.4),
              0 0 80px rgba(124,58,237,0.2);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--cyan); color: var(--cyan);
  transform: translateY(-2px);
}
.hero-socials {
  display: flex; gap: 12px; opacity: 0;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: none;
}
.social-pill:hover {
  border-color: var(--cyan); color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,212,255,0.12);
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column;
  align-items: center; gap: 8px; opacity: 0;
}
.scroll-track {
  width: 1px; height: 56px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px; position: relative; overflow: hidden;
}
.scroll-thumb {
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 60%;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scroll-anim 2.4s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { top: -60%; }
  100% { top: 160%; }
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-dim);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section { padding: 130px 0; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 64px; }

.section-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.label-num {
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--cyan); letter-spacing: 2px;
}
.label-line {
  width: 32px; height: 1px;
  background: var(--border);
}
.label-text {
  font-size: 12px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim);
}
.section-heading {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 64px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 18px;
}

/* Highlight */
.hl { color: var(--cyan); font-weight: 500; }

/* Reveal base states */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}
.revealed { opacity: 1 !important; transform: none !important; }

/* ============================================
   ABOUT
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text p {
  font-size: 15.5px; color: var(--text-mid);
  margin-bottom: 20px; line-height: 1.85;
}
.about-intro {
  font-size: 19px !important;
  color: var(--text) !important;
  margin-bottom: 24px !important;
}
.about-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.badge-tag {
  padding: 7px 16px; border-radius: 100px;
  font-size: 12.5px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, color 0.3s;
}
.badge-tag:hover { border-color: var(--cyan); color: var(--text); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  padding: 30px 22px; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s;
}
.stat-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
}
.stat-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--grad); opacity: 0; border-radius: 18px;
  transition: opacity 0.35s;
}
.stat-card:hover .stat-glow { opacity: 0.04; }
.stat-value {
  font-family: var(--ff-display);
  font-size: 50px; font-weight: 700; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative; z-index: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-dim);
  position: relative; z-index: 1;
}

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.skill-block {
  padding: 32px;
  transition: border-color 0.35s, transform 0.35s;
}
.skill-block:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.skill-block-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.skill-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan); font-size: 15px;
  flex-shrink: 0;
}
.skill-block-head h3 {
  font-family: var(--ff-display);
  font-size: 17px; font-weight: 600;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 5px 13px; border-radius: 100px;
  font-family: var(--ff-mono); font-size: 12px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.pill:hover {
  border-color: rgba(0,212,255,0.35);
  color: var(--text);
  background: rgba(0,212,255,0.05);
}
.pill-accent {
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
  background: rgba(0,212,255,0.05);
}

/* ============================================
   EXPERIENCE TIMELINE
   ============================================ */
.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 28px;
  margin-bottom: 48px;
}
.tl-connector {
  display: flex; flex-direction: column;
  align-items: center; padding-top: 28px;
  position: relative;
}
.tl-ring {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--cyan);
  position: absolute; top: 24px;
  opacity: 0.4;
}
.tl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  position: absolute; top: 30px;
  z-index: 1;
}
.tl-dot.pulse { animation: pulse-dot 2.5s infinite; }
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(0,212,255,0); }
}
.tl-line {
  position: absolute; top: 48px; bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, rgba(0,212,255,0.3), transparent);
}
.timeline-item:last-child .tl-line { display: none; }

.tl-card {
  padding: 32px;
  transition: border-color 0.35s, transform 0.35s;
}
.tl-card:hover {
  border-color: var(--border-h);
  transform: translateX(5px);
}
.tl-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap;
  gap: 14px; margin-bottom: 22px;
}
.tl-company-info { display: flex; align-items: center; gap: 14px; }
.tl-company-logo {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(0,212,255,0.2);
  font-family: var(--ff-mono);
  font-size: 13px; font-weight: 700;
  color: var(--cyan); flex-shrink: 0;
}
.tl-logo-2 {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(167,139,250,0.1));
  border-color: rgba(124,58,237,0.2);
  color: #a78bfa;
}
.tl-company {
  font-family: var(--ff-display);
  font-size: 21px; font-weight: 700;
  margin-bottom: 3px;
}
.tl-role {
  font-family: var(--ff-mono); font-size: 13px; color: var(--cyan);
}
.tl-dates { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tl-date-tag {
  font-family: var(--ff-mono); font-size: 11.5px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 100px;
}
.tl-current {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 3px 10px; border-radius: 100px;
}
.tl-bullets {
  list-style: none; margin: 0 0 22px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.tl-bullets li {
  font-size: 14px; color: var(--text-mid);
  line-height: 1.75; padding-left: 18px;
  position: relative;
}
.tl-bullets li::before {
  content: '▹';
  position: absolute; left: 0;
  color: var(--cyan); font-size: 12px;
  top: 2px;
}
.tl-bullets li strong { color: var(--text); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tag {
  font-family: var(--ff-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 5px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #a78bfa;
}

/* ============================================
   PROJECTS
   ============================================ */
/* Featured */
.project-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px; margin-bottom: 64px;
  overflow: hidden;
  border-color: rgba(0,212,255,0.1);
  transition: border-color 0.35s;
}
.project-feature:hover { border-color: rgba(0,212,255,0.25); }
.pf-visual {
  background: linear-gradient(135deg,
    rgba(0,212,255,0.04) 0%,
    rgba(124,58,237,0.04) 100%);
  border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}

/* App Mockup */
.app-mockup {
  width: 100%; max-width: 360px;
  background: #06040f;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7),
              0 0 60px rgba(0,212,255,0.04);
}
.app-bar {
  height: 34px; background: #0d0920;
  display: flex; align-items: center;
  padding: 0 12px; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.app-dots { display: flex; gap: 5px; }
.dot-red   { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.dot-yellow{ width: 8px; height: 8px; border-radius: 50%; background: #febc2e; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
.app-address {
  flex: 1; text-align: center;
  font-family: var(--ff-mono); font-size: 10px; color: var(--text-dim);
  background: rgba(255,255,255,0.04); border-radius: 4px;
  padding: 2px 10px;
}
.app-body { display: flex; height: 280px; }
.app-sidebar {
  width: 44px; background: rgba(0,0,0,0.3);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  align-items: center; padding: 14px 0; gap: 20px;
}
.sb-logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff;
}
.sb-items { display: flex; flex-direction: column; gap: 12px; }
.sb-item {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.05);
}
.sb-item.active { background: rgba(0,212,255,0.15); }
.app-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-now-playing {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 12px;
  display: flex; gap: 12px; align-items: center;
}
.disc-wrap { position: relative; flex-shrink: 0; }
.disc {
  width: 48px; height: 48px; border-radius: 50%;
  background: conic-gradient(
    #00d4ff 0deg, #7c3aed 120deg, #a855f7 240deg, #00d4ff 360deg);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.spinning-disc { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.disc-hole {
  width: 14px; height: 14px; border-radius: 50%;
  background: #06040f;
}
.disc-glow {
  position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.2), transparent 70%);
  animation: glow-pulse 2s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
  from { opacity: 0.4; } to { opacity: 1; }
}
.np-info { flex: 1; }
.np-title { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); width: 70%; margin-bottom: 6px; }
.np-artist { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); width: 45%; margin-bottom: 10px; }
.np-progress {
  height: 3px; border-radius: 3px; overflow: hidden;
  background: rgba(255,255,255,0.06); margin-bottom: 8px;
}
.np-fill { height: 100%; background: var(--grad); }
.animated-progress { animation: prog 5s linear infinite; }
@keyframes prog { from { width: 0%; } to { width: 100%; } }
.np-controls {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: var(--text-dim);
}
.play-btn {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 8px;
}

.app-nearby { flex: 1; min-height: 0; }
.nearby-head { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.06); width: 55%; margin-bottom: 10px; }
.nearby-cards { display: flex; flex-direction: column; gap: 6px; }
.nc {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
}
.glass-mini {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.nc-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; flex-shrink: 0;
}
.nc-name { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); width: 60%; margin-bottom: 4px; }
.nc-match { font-size: 9px; color: var(--text-dim); }
.match-pct { color: var(--cyan); font-weight: 700; }

/* Project info panel */
.pf-info {
  padding: 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.pf-num {
  font-family: var(--ff-mono); font-size: 72px; font-weight: 700;
  color: rgba(255,255,255,0.03); line-height: 1; margin-bottom: 4px;
}
.pf-name {
  font-family: var(--ff-display);
  font-size: 34px; font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 4px;
}
.pf-tagline {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--cyan); margin-bottom: 16px;
}
.pf-desc {
  font-size: 14px; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 20px;
}
.pf-highlights {
  list-style: none; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 7px;
}
.pf-highlights li {
  font-size: 13px; color: var(--text-mid);
  display: flex; align-items: center; gap: 8px;
}
.pf-highlights li i { color: var(--cyan); font-size: 11px; }
.pf-tech {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.tech-pill {
  font-family: var(--ff-mono); font-size: 11px;
  padding: 4px 10px; border-radius: 5px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #a78bfa;
}
.pf-links { display: flex; gap: 12px; }
.pf-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 7px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
  cursor: none;
}
.pf-link:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.pf-link-primary {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.pf-link-primary:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.35);
  transform: translateY(-2px);
  color: #fff;
}

/* Other work */
.other-work-title {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 600;
  color: var(--text-mid); margin-bottom: 24px;
}
.mini-projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-card {
  padding: 26px;
  transition: border-color 0.35s, transform 0.35s;
}
.mini-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
}
.mini-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,212,255,0.05));
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan); font-size: 16px;
  margin-bottom: 16px;
}
.mini-card h4 {
  font-family: var(--ff-display);
  font-size: 15px; font-weight: 600; margin-bottom: 10px;
}
.mini-card p {
  font-size: 12.5px; color: var(--text-dim);
  line-height: 1.7; margin-bottom: 14px;
}
.mini-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-pills span {
  font-family: var(--ff-mono); font-size: 10px;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse,
    rgba(124,58,237,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-heading {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 20px;
}
.contact-sub {
  font-size: 15.5px; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 28px;
}
.contact-availability {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-mid);
  border: 1px solid rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.05);
  padding: 9px 18px; border-radius: 100px;
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2.2s infinite;
}
.contact-right { display: flex; flex-direction: column; gap: 14px; }
.contact-row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  cursor: none;
}
.contact-row:hover {
  border-color: var(--border-h);
  transform: translateX(8px);
  box-shadow: 0 0 30px rgba(0,212,255,0.04);
}
.cr-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan); font-size: 15px;
}
.cr-linkedin { background: rgba(10,102,194,0.12); border-color: rgba(10,102,194,0.25); color: #5c9dc5; }
.cr-github   { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--text); }
.cr-phone    { background: rgba(34,197,94,0.1);    border-color: rgba(34,197,94,0.25);   color: #22c55e; }
.cr-content {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.cr-label {
  font-size: 10.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
}
.cr-value {
  font-family: var(--ff-mono); font-size: 14px;
  font-weight: 500;
}
.cr-arrow {
  color: var(--text-dim); font-size: 13px;
  transition: transform 0.3s, color 0.3s;
}
.contact-row:hover .cr-arrow { transform: translateX(4px); color: var(--cyan); }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 44px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: var(--ff-display); font-size: 22px; font-weight: 700; }
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-socials { display: flex; gap: 18px; }
.footer-socials a {
  color: var(--text-dim); font-size: 17px;
  transition: color 0.3s, transform 0.3s;
}
.footer-socials a:hover { color: var(--cyan); transform: translateY(-2px); }

/* Tilt card */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .mini-projects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 56px; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-feature { grid-template-columns: 1fr; }
  .pf-visual { border-right: none; border-bottom: 1px solid var(--border); min-height: 360px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { grid-template-columns: 1fr 340px; gap: 40px; }
  .hero-photo-wrap { width: 320px; height: 390px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav { padding: 0 24px; }
  .nav-links, .btn-hire { display: none; }
  .hamburger { display: flex; }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 24px;
    padding-top: calc(var(--nav-h) + 20px);
    gap: 44px;
  }
  .hero-right { order: -1; }
  .hero-photo-wrap { width: 200px; height: 240px; margin: 0 auto; }
  .photo-ring-1 { inset: -7px; }
  .photo-ring-2 { inset: -15px; }
  .container { padding: 0 24px; }
  .section { padding: 90px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .mini-projects { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 20px 1fr; gap: 0 18px; }
  .tl-header { flex-direction: column; }
  .tl-dates { align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .hero-name { letter-spacing: -2px; }
  .hero-socials { flex-direction: column; align-items: flex-start; }
  .social-pill span { display: none; }
  .social-pill { padding: 8px 12px; }
  .stat-value { font-size: 40px; }
  .section-heading { margin-bottom: 40px; }
  .pf-info { padding: 28px 24px; }
}
