/* ========================================
   ABINASH KUMAR BARUAH - PORTFOLIO CSS
   Professional | Dark | Glassmorphism
   ======================================== */

/* ===== IMPORTS & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors */
  --bg-primary: #020617;
  --bg-secondary: #0d1b2e;
  --bg-tertiary: #0f2240;
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.3);
  --accent-pink: #ec4899;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(15, 34, 64, 0.6);
  --glass-border: rgba(6, 182, 212, 0.15);
  --glass-border-hover: rgba(6, 182, 212, 0.4);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 90%, rgba(6, 182, 212, 0.07) 0%, transparent 60%),
    var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Vignette overlay that sits above the canvas but below content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(2, 6, 23, 0.55) 100%
  );
}

/* ===== 3D CANVAS BACKGROUND ===== */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Slight inner glow to make edges bleed nicely */
  filter: contrast(1.05) brightness(1.05);
}

/* ===== TORCH CURSOR SYSTEM ===== */

/* Hide the default OS cursor everywhere */
*, *::before, *::after { cursor: none !important; }

/* ── Layer 1: Large warm torch cone (follows instantly) ── */
.cursor-torch {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(255, 235, 130, 0.22)  0%,
    rgba(255, 190,  60, 0.14) 20%,
    rgba(255, 140,  30, 0.07) 45%,
    rgba(255,  90,  10, 0.02) 65%,
    transparent 75%
  );
  animation: torch-flicker 0.12s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

/* ── Layer 2: Medium lagging ring ── */
.cursor-ring {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255, 210, 80, 0.55);
  box-shadow:
    0 0 10px rgba(255, 190, 60, 0.35),
    inset 0 0 10px rgba(255, 200, 70, 0.08);
  transition:
    transform  0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    width 0.25s ease,
    height 0.25s ease;
  animation: ring-flicker 0.18s ease-in-out infinite alternate;
}

/* Expand ring on hover of interactive elements */
.cursor-ring.hovering {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 220, 100, 0.85);
  box-shadow:
    0 0 18px rgba(255, 200, 70, 0.6),
    0 0 40px rgba(255, 150, 40, 0.25),
    inset 0 0 14px rgba(255, 200, 70, 0.12);
}

/* ── Layer 3: Bright center dot (very fast follow) ── */
.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  background: rgba(255, 248, 200, 1);
  box-shadow:
    0 0  5px  rgba(255, 240, 160, 1.0),
    0 0 14px  rgba(255, 200,  80, 0.9),
    0 0 28px  rgba(255, 150,  40, 0.6),
    0 0 50px  rgba(255, 100,  20, 0.3);
  animation: dot-flicker 0.09s ease-in-out infinite alternate;
}

/* ── Torch flicker animations ── */
@keyframes torch-flicker {
  0%   { transform: translate(-50%, -50%) scale(1.00); opacity: 0.88; }
  100% { transform: translate(-50%, -50%) scale(1.06); opacity: 1.00; }
}

@keyframes ring-flicker {
  0%   { opacity: 0.75; }
  100% { opacity: 1.00; }
}

@keyframes dot-flicker {
  0% {
    transform: translate(-50%, -50%) scale(1.0);
    box-shadow: 0 0 5px rgba(255,240,160,1), 0 0 14px rgba(255,200,80,0.85), 0 0 28px rgba(255,150,40,0.55), 0 0 48px rgba(255,100,20,0.28);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 0 8px rgba(255,250,180,1), 0 0 20px rgba(255,210,90,0.95), 0 0 40px rgba(255,160,50,0.70), 0 0 60px rgba(255,110,25,0.38);
  }
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-bracket {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  background: var(--accent-cyan-glow);
}

.btn-hire {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-hire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}

/* Hero Text */
.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.name-line {
  display: block;
}

.name-line.accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.typing-text {
  color: var(--accent-cyan);
  font-weight: 500;
}

.cursor-blink {
  color: var(--accent-cyan);
  animation: blink 1s step-end infinite;
}

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

.hero-summary {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-summary strong {
  color: var(--text-primary);
}

.hero-info {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.35);
  font-family: var(--font-heading);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid var(--glass-border-hover);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 12px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.social-btn:hover {
  background: var(--accent-cyan-glow);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

/* ===================================================
   PREMIUM PROFILE SHOWCASE
   =================================================== */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 460px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.profile-showcase {
  position: relative;
  width: 380px;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ── Outer arc track ── */
.arc-track {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  pointer-events: none;
}

.arc-track-outer {
  width: 360px;
  height: 360px;
  animation: arc-spin 18s linear infinite;
}

@keyframes arc-spin {
  from { transform: translate(-50%, -58%) rotate(0deg); }
  to   { transform: translate(-50%, -58%) rotate(360deg); }
}

/* Coloured arc segments (conic-gradient trick) */
.arc-segment {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.arc-seg-1 {
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-cyan);
  clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
  box-shadow: inset 0 0 0 1px transparent;
  background: conic-gradient(
    from 0deg,
    rgba(6,182,212,0.8) 0%,
    rgba(6,182,212,0.0) 30%,
    transparent 30%
  );
  -webkit-mask: radial-gradient(transparent 177px, black 178px);
  mask: radial-gradient(transparent 177px, black 178px);
  border: none;
}

.arc-seg-2 {
  background: conic-gradient(
    from 120deg,
    rgba(124,58,237,0.8) 0%,
    rgba(124,58,237,0.0) 30%,
    transparent 30%
  );
  -webkit-mask: radial-gradient(transparent 177px, black 178px);
  mask: radial-gradient(transparent 177px, black 178px);
  border: none;
}

.arc-seg-3 {
  background: conic-gradient(
    from 240deg,
    rgba(236,72,153,0.8) 0%,
    rgba(236,72,153,0.0) 30%,
    transparent 30%
  );
  -webkit-mask: radial-gradient(transparent 177px, black 178px);
  mask: radial-gradient(transparent 177px, black 178px);
  border: none;
}

/* ── Dashed spinning orbit ── */
.dashed-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  border: 1.5px dashed rgba(6, 182, 212, 0.3);
  animation: dashed-spin 12s linear infinite reverse;
  pointer-events: none;
}

@keyframes dashed-spin {
  from { transform: translate(-50%, -58%) rotate(0deg); }
  to   { transform: translate(-50%, -58%) rotate(360deg); }
}

/* ── Floating skill chips ── */
.skill-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(6, 182, 212, 0.95);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  padding: 5px 13px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 12px rgba(6,182,212,0.1);
  animation: chip-float 4s ease-in-out infinite;
  pointer-events: none;
  letter-spacing: 0.3px;
}

/* Chip positions — orbit the photo centre (top: ~130px from showcase top) */
.chip-1 { top:  -4px; left: 50%; transform: translateX(-50%); animation-delay: 0.0s; }
.chip-2 { top:  38px; right: -8px;                             animation-delay: 0.5s; color: rgba(124,58,237,0.95); border-color: rgba(124,58,237,0.25); background: rgba(124,58,237,0.08); }
.chip-3 { top: 110px; right:-16px;                             animation-delay: 1.0s; color: rgba(236,72,153,0.95); border-color: rgba(236,72,153,0.25); background: rgba(236,72,153,0.08); }
.chip-4 { top: 110px; left: -16px;                             animation-delay: 1.5s; color: rgba(124,58,237,0.95); border-color: rgba(124,58,237,0.25); background: rgba(124,58,237,0.08); }
.chip-5 { top:  38px; left:  -8px;                             animation-delay: 2.0s; }
.chip-6 { top: 183px; left: 50%; transform: translateX(-50%); animation-delay: 2.5s; color: rgba(34,197,94,0.95);  border-color: rgba(34,197,94,0.25);  background: rgba(34,197,94,0.08); }

@keyframes chip-float {
  0%,100% { transform: translateY(0) translateX(var(--cx, 0)); }
  50%      { transform: translateY(-7px) translateX(var(--cx, 0)); }
}

/* For chips using only translateX in position, override float properly */
.chip-1 { animation-name: chip-float-center; }
.chip-6 { animation-name: chip-float-center; }

@keyframes chip-float-center {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-7px); }
}

/* ── Photo ring layers ── */
.profile-ring-outer {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 4px;
  /* Multi-colour animated conic border */
  background: conic-gradient(
    from 0deg,
    #06b6d4, #7c3aed, #ec4899, #06b6d4
  );
  animation: ring-spin 4s linear infinite;
  box-shadow:
    0 0 30px rgba(6,182,212,0.35),
    0 0 60px rgba(124,58,237,0.2),
    0 0 100px rgba(6,182,212,0.1);
  margin-top: 28px;
}

@keyframes ring-spin {
  from { filter: hue-rotate(0deg);   }
  to   { filter: hue-rotate(360deg); }
}

.profile-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Photo wrap + scan line ── */
.profile-photo-wrap {
  position: relative;
  width: 222px;
  height: 222px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
  transition: filter 0.4s ease;
}

.profile-photo:hover {
  filter: brightness(1.1) contrast(1.08) saturate(1.2);
}

/* Animated holographic scan line across photo */
.photo-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.6) 40%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(6, 182, 212, 0.6) 60%,
    transparent 100%
  );
  animation: photo-scan 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: 2px;
  opacity: 0.7;
}

@keyframes photo-scan {
  0%   { top: -4px;  opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { top: 103%; opacity: 0; }
}

/* ── Status badge ── */
.profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.3px;
  box-shadow: 0 0 16px rgba(34,197,94,0.12);
  animation: badge-rise 0.8s ease 1s both;
}

@keyframes badge-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: dot-live 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-live {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── Name card ── */
.profile-namecard {
  margin-top: 14px;
  text-align: center;
  background: rgba(15, 34, 64, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 16px;
  padding: 14px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px rgba(6,182,212,0.06);
  animation: badge-rise 0.8s ease 1.2s both;
  position: relative;
  overflow: hidden;
}

.profile-namecard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.7), var(--accent-purple), transparent);
}

.namecard-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.namecard-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.namecard-location {
  font-size: 12px;
  color: var(--text-muted);
}


.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}

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

@keyframes scroll-anim {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== STATS SECTION ===== */
.stats-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(13, 27, 46, 0.5);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  padding: 24px;
}

.stat-card:not(:last-child) {
  border-right: 1px solid var(--glass-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-purple);
  display: inline;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(6, 182, 212, 0.1);
  transform: translateY(-4px);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: rgba(13, 27, 46, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.section-title .accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-lead strong {
  color: var(--accent-cyan);
}

.about-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-body strong {
  color: var(--text-primary);
}

.about-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-label {
  font-size: 13px;
  color: var(--text-muted);
  min-width: 110px;
}

.detail-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.status-open {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  padding: 24px;
}

.about-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== EXPERIENCE TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 900px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-dot {
  position: absolute;
  left: -47px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.timeline-dot-intern {
  background: var(--accent-purple);
  box-shadow: 0 0 12px var(--accent-purple-glow);
}

.timeline-content {
  padding: 28px 32px;
}

.exp-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.exp-company-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.nic-badge { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1)); border: 1px solid rgba(6, 182, 212, 0.3); }
.siqes-badge { background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.1)); border: 1px solid rgba(124, 58, 237, 0.3); }
.bb-badge { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1)); border: 1px solid rgba(236, 72, 153, 0.3); }
.amtron-badge { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)); border: 1px solid rgba(34, 197, 94, 0.3); }

.exp-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.exp-company {
  font-size: 14px;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 8px;
}

.exp-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.duration-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.current-badge {
  font-size: 11px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-weight: 600;
}

.intern-badge-pill {
  color: var(--accent-purple) !important;
  background: rgba(124, 58, 237, 0.1) !important;
  border: 1px solid rgba(124, 58, 237, 0.3) !important;
}

.exp-bullets {
  list-style: none;
  margin-bottom: 20px;
}

.exp-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}

.exp-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 12px;
  top: 1px;
}

.exp-bullets li strong {
  color: var(--text-primary);
}

.exp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 500;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-category {
  padding: 28px;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.skill-cat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
}

.frontend-icon { background: rgba(6, 182, 212, 0.15); }
.backend-icon { background: rgba(124, 58, 237, 0.15); }
.ai-icon { background: rgba(236, 72, 153, 0.15); }
.db-icon { background: rgba(34, 197, 94, 0.15); }
.tools-icon { background: rgba(245, 158, 11, 0.15); }

.skill-cat-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: default;
}

.skill-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

.ai-badge:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.08);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.project-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-icon {
  font-size: 28px;
}

.project-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gov-badge {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.edu-badge {
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-pill {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
}

.ai-pill {
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.2);
}

.project-at {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== AI SECTION ===== */
.ai-section {
  margin-top: 20px;
}

.ai-section-header {
  text-align: center;
  margin-bottom: 32px;
}

.ai-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pink);
  margin-bottom: 12px;
}

.ai-section-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.ai-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.ai-card-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.ai-card-content h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.ai-card-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ai-card-content p strong {
  color: var(--text-primary);
}

.ai-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== EDUCATION SECTION ===== */
.edu-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.edu-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.edu-icon {
  font-size: 52px;
  flex-shrink: 0;
}

.edu-degree {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.edu-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.edu-badge-large {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  opacity: 0.3;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-text {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.email-icon { background: rgba(6, 182, 212, 0.15); }
.phone-icon { background: rgba(34, 197, 94, 0.15); }
.linkedin-icon { background: rgba(14, 118, 168, 0.2); }
.location-icon { background: rgba(236, 72, 153, 0.15); }

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

.contact-arrow {
  color: var(--accent-cyan);
  font-size: 18px;
  opacity: 0;
  transition: var(--transition);
}

.contact-card:hover .contact-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ====================================================
   HOLOGRAPHIC PROFILE SECTION
   ==================================================== */
.holo-section {
  padding: 100px 0 120px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 182, 212, 0.03) 30%,
    rgba(124, 58, 237, 0.04) 60%,
    transparent 100%
  );
}

/* Ambient centre glow */
.holo-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: holo-glow-pulse 4s ease-in-out infinite;
}

@keyframes holo-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

/* Three-column layout */
.holo-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 32px;
  align-items: center;
  min-height: 580px;
}

/* ── HOLOGRAPHIC STAGE ── */
.holo-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 580px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.holo-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

/* Horizontal scan-line texture */
.holo-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent            0px,
    transparent            3px,
    rgba(6, 182, 212, 0.025) 3px,
    rgba(6, 182, 212, 0.025) 4px
  );
  animation: scanlines-drift 10s linear infinite;
}

@keyframes scanlines-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

/* Moving scan beam (top → bottom) */
.holo-flicker {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(6, 182, 212, 0.06)  30%,
    rgba(6, 182, 212, 0.18)  50%,
    rgba(6, 182, 212, 0.06)  70%,
    transparent 100%
  );
  animation: scan-beam 3.5s ease-in-out infinite;
  top: 0;
}

@keyframes scan-beam {
  0%   { top: -80px;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% + 80px); opacity: 0; }
}

/* Holographic flicker on the whole stage */
.holo-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  animation: holo-flicker 8s step-end infinite;
  background: rgba(6, 182, 212, 0.04);
}

@keyframes holo-flicker {
  0%, 94%, 97%, 100% { opacity: 0; }
  95%   { opacity: 1; }
  96%   { opacity: 0.2; }
  98%   { opacity: 0.8; }
  99%   { opacity: 0; }
}

/* ── PLATFORM ELLIPTIC RINGS ── */
.holo-platform {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 200px;
  height: 60px;
}

.platform-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.45);
  animation: ring-pulse 3s ease-in-out infinite;
}

.ring-a { width: 80px;  height: 24px; animation-delay: 0s;   }
.ring-b { width: 140px; height: 42px; animation-delay: 0.6s; border-color: rgba(6, 182, 212, 0.25); }
.ring-c { width: 200px; height: 60px; animation-delay: 1.2s; border-color: rgba(6, 182, 212, 0.12); }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 0.3; }
}

/* ── HUD BRACKET CORNERS ── */
.hud-bracket {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(6, 182, 212, 0.85);
  border-style: solid;
  z-index: 6;
  animation: bracket-pulse 4s ease-in-out infinite;
}

.hud-bracket.tl { top: 8px;  left: 8px;  border-width: 2px 0 0 2px; }
.hud-bracket.tr { top: 8px;  right: 8px; border-width: 2px 2px 0 0; }
.hud-bracket.bl { bottom: 8px; left: 8px;  border-width: 0 0 2px 2px; }
.hud-bracket.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

@keyframes bracket-pulse {
  0%, 100% { border-color: rgba(6, 182, 212, 0.85); }
  50%       { border-color: rgba(6, 182, 212, 0.35); }
}

/* ── HUD TEXT LABELS ── */
.holo-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(6, 182, 212, 0.85);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 6;
  animation: label-flicker 6s ease-in-out infinite;
}

.top-label { top: 14px;  }
.bot-label { bottom: 14px; }

@keyframes label-flicker {
  0%, 93%, 97%, 100% { opacity: 1; }
  95% { opacity: 0.15; }
  96% { opacity: 1; }
  98% { opacity: 0.4; }
}

/* ── SIDE TICK MARKS ── */
.holo-ticks {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 6;
}

.holo-ticks.left-ticks  { left: 6px;  }
.holo-ticks.right-ticks { right: 6px; }

.holo-ticks span {
  display: block;
  height: 1px;
  background: rgba(6, 182, 212, 0.5);
  animation: tick-pulse 3s ease-in-out infinite;
}

.holo-ticks.left-ticks  span:nth-child(odd)  { width: 14px; }
.holo-ticks.left-ticks  span:nth-child(even) { width: 8px; }
.holo-ticks.right-ticks span:nth-child(odd)  { width: 14px; margin-left: auto; }
.holo-ticks.right-ticks span:nth-child(even) { width: 8px; margin-left: auto; }

@keyframes tick-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── SIDE DATA PANELS ── */
.holo-panel {
  background: rgba(6, 182, 212, 0.04);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 16px;
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.holo-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.7), transparent);
}

.holo-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), transparent);
}

.holo-panel:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.08), 0 20px 60px rgba(0,0,0,0.3);
}

.panel-header {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(6, 182, 212, 0.9);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  gap: 8px;
}

.skill-bar-row {
  align-items: center;
}

.pk {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.pv {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.pv.bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.pv.bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(6,182,212,0.85), rgba(124,58,237,0.85));
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.panel-divider {
  height: 1px;
  background: rgba(6, 182, 212, 0.1);
  margin: 16px 0;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
  50%       { box-shadow: 0 0 14px rgba(34, 197, 94, 1), 0 0 24px rgba(34, 197, 94, 0.3); }
}

.tech-grid-holo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 4px;
}

.tech-grid-holo span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(6, 182, 212, 0.85);
  background: rgba(6, 182, 212, 0.07);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 5px;
  padding: 5px 4px;
  text-align: center;
  transition: var(--transition);
}

.tech-grid-holo span:hover {
  background: rgba(6, 182, 212, 0.15);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
  color: white;
}

.panel-contact {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  word-break: break-word;
  line-height: 1.5;
}

/* ====================================================
   HOLOGRAPHIC FACE DISPLAY
   ==================================================== */

/* Decorative canvas sits behind, covering full stage */
.holo-deco-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none;
}

/* ── Face display wrapper ── */
.holo-face-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Photo frame ── */
.holo-face-frame {
  position: relative;
  width: 200px;
  height: 240px;
  overflow: hidden;
  /* Octagonal portrait clip */
  clip-path: polygon(
    20% 0%, 80% 0%,
    100% 20%, 100% 80%,
    80% 100%, 20% 100%,
    0% 80%, 0% 20%
  );
  border-radius: 4px;
  box-shadow:
    0 0 0 2px rgba(6,182,212,0.6),
    0 0 30px rgba(6,182,212,0.4),
    0 0 70px rgba(6,182,212,0.15),
    0 0 120px rgba(124,58,237,0.1);
}

/* ── Base photo ── */
.holo-face-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Slightly desaturated + contrast boost to look hologram-ready */
  filter: brightness(0.88) contrast(1.15) saturate(0.65);
}

/* ── Cyan holographic tint ── */
.hf-cyan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 182, 212, 0.22);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ── Scan lines ── */
.hf-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent            0px,
    transparent            2px,
    rgba(6,182,212,0.045) 2px,
    rgba(6,182,212,0.045) 3px
  );
  pointer-events: none;
  z-index: 2;
  animation: hf-scanlines-move 8s linear infinite;
}

@keyframes hf-scanlines-move {
  0%   { background-position: 0 0; }
  100% { background-position: 0 150px; }
}

/* ── Moving scan beam ── */
.hf-scanbeam {
  position: absolute;
  left: 0; right: 0;
  height: 52px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(6,182,212,0.09) 30%,
    rgba(6,182,212,0.22) 50%,
    rgba(6,182,212,0.09) 70%,
    transparent 100%
  );
  animation: hf-beam 2.8s ease-in-out infinite;
  top: 0;
}

@keyframes hf-beam {
  0%   { top: -52px; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% + 52px); opacity: 0; }
}

/* ── Chromatic aberration (red ghost, offset right) ── */
.hf-chroma-r {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  animation: hf-chroma-r-anim 9s step-end infinite;
}

.hf-chroma-r img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.6) saturate(0) sepia(1) hue-rotate(-50deg) saturate(4);
  transform: translateX(4px);
}

.hf-chroma-b {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  animation: hf-chroma-b-anim 9s step-end infinite;
}

.hf-chroma-b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.4) saturate(0) sepia(1) hue-rotate(165deg) saturate(5);
  transform: translateX(-4px);
}

@keyframes hf-chroma-r-anim {
  0%, 85%, 90%, 100% { opacity: 0; }
  86% { opacity: 0.6; }
  87% { opacity: 0; }
  88% { opacity: 0.45; }
  89% { opacity: 0; }
}

@keyframes hf-chroma-b-anim {
  0%, 85%, 90%, 100% { opacity: 0; }
  86% { opacity: 0.5; }
  87% { opacity: 0; }
  88% { opacity: 0.35; }
  89% { opacity: 0; }
}

/* ── Glitch stripe ── */
.hf-glitch {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  animation: hf-glitch-anim 7s step-end infinite;
}

@keyframes hf-glitch-anim {
  0%, 88%, 96%, 100% { opacity: 0; background: none; transform: none; }
  89% {
    opacity: 1;
    transform: translate(-5px, 0);
    clip-path: polygon(0 28%, 100% 28%, 100% 33%, 0 33%);
    background: rgba(6,182,212,0.35);
  }
  90% {
    opacity: 1;
    transform: translate(4px, 0);
    clip-path: polygon(0 55%, 100% 55%, 100% 58%, 0 58%);
    background: rgba(236,72,153,0.25);
  }
  91% { opacity: 0; }
  93% {
    opacity: 1;
    transform: translate(-3px, 0);
    clip-path: polygon(0 72%, 100% 72%, 100% 74%, 0 74%);
    background: rgba(6,182,212,0.4);
  }
  94% { opacity: 0; }
  95% {
    opacity: 1;
    transform: translate(6px, 0);
    clip-path: polygon(0 12%, 100% 12%, 100% 14%, 0 14%);
    background: rgba(255,255,255,0.15);
  }
}

/* ── Edge dissolve (radial fade at rim) ── */
.hf-edge-dissolve {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    transparent 55%,
    rgba(2,6,23,0.5) 80%,
    rgba(2,6,23,0.95) 100%
  );
}

/* ── Holographic shimmer sweep ── */
.hf-shimmer {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 30%,
    rgba(255,255,255,0.04) 45%,
    rgba(6,182,212,0.08) 50%,
    rgba(255,255,255,0.04) 55%,
    transparent 70%
  );
  animation: hf-shimmer-sweep 4s ease-in-out infinite;
}

@keyframes hf-shimmer-sweep {
  0%   { transform: translateX(-120%) rotate(0deg); }
  100% { transform: translateX(120%) rotate(0deg); }
}

/* ── Corner biometric data readouts ── */
.hf-corner-data {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.hf-corner-data.tl { top: -48px; left: -12px; align-items: flex-start; }
.hf-corner-data.tr { top: -48px; right: -12px; align-items: flex-end; }
.hf-corner-data.bl { bottom: -48px; left: -12px; align-items: flex-start; }
.hf-corner-data.br { bottom: -48px; right: -12px; align-items: flex-end; }

.hf-cd-line {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(6,182,212,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hf-cd-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(6,182,212,0.95);
  letter-spacing: 0.5px;
  animation: hf-data-pulse 2.5s ease-in-out infinite;
}

@keyframes hf-data-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.65; }
}

/* ── Side measurement lines ── */
.hf-side-line {
  position: absolute;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(6,182,212,0.5) 20%,
    rgba(6,182,212,0.7) 50%,
    rgba(6,182,212,0.5) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.hf-side-left  { left: -18px; }
.hf-side-right { right: -18px; }

.hf-side-line::before,
.hf-side-line::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 1px;
  background: rgba(6,182,212,0.7);
}

.hf-side-line::before { top: 0; }
.hf-side-line::after  { bottom: 0; }

/* Whole stage flicker */
.holo-stage::after {
  z-index: 9;
}

/* Responsive hologram */

@media (max-width: 1100px) {
  .holo-wrapper {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .left-panel  { order: 2; }
  .holo-stage  { order: 1; }
  .right-panel { order: 3; }
}

/* ===== FOOTER ===== */

.footer {
  padding: 40px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 6, 23, 0.8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-text strong {
  color: var(--accent-cyan);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-cyan), var(--accent-purple));
  border-radius: 3px;
}

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

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

  .hero-visual {
    width: 340px;
    height: 380px;
  }

  .profile-showcase {
    transform: scale(0.85);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(2, 6, 23, 0.97); padding: 20px; gap: 4px; z-index: 999; border-bottom: 1px solid var(--glass-border); }
  .hamburger { display: flex; }
  .btn-hire { display: none; }

  .hero-content {
    flex-direction: column-reverse;
    padding: 100px 24px 60px;
    text-align: center;
    gap: 40px;
  }

  .hero-info, .hero-actions, .social-links {
    justify-content: center;
  }

  .hero-visual {
    width: 320px;
    height: 340px;
    margin: 0 auto;
  }

  .profile-showcase {
    transform: scale(0.75);
    transform-origin: center center;
  }

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

  .stat-card:not(:last-child) {
    border-right: none;
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid var(--glass-border);
  }

  .stat-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--glass-border);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 24px;
  }

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

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .edu-card {
    flex-direction: column;
    text-align: center;
  }

  .edu-badge-large {
    margin-left: 0;
  }

  .ai-card {
    flex-direction: column;
  }

  .container {
    padding: 0 24px;
  }
}

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Add slight delays based on order for staggered reveals */
.reveal[style*="delay"] {
  transition-delay: var(--delay, 0s);
}