/* ==========================================
   PORTFOLIO – 3D FUTURISM + LIQUID GLASS + NEUMORPHISM
   ========================================== */

/* ── Custom Cursor ── */
*, *::before, *::after { cursor: none !important; }

#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 109, 250, 0.7);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              height 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              border-color 0.35s,
              background 0.35s,
              opacity 0.2s;
  background: rgba(124, 109, 250, 0.04);
  will-change: transform;
  backdrop-filter: none;
}

.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(124, 109, 250, 0.35);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.15s;
}
#cursor-trail-2 { background: rgba(0, 212, 255, 0.25); width: 5px; height: 5px; }
#cursor-trail-3 { background: rgba(255, 107, 206, 0.18); width: 4px; height: 4px; }

/* Cursor hover states – applied via JS class on body */
body.cursor-hover #cursor-ring {
  width: 64px; height: 64px;
  border-color: rgba(124, 109, 250, 0.5);
  background: rgba(124, 109, 250, 0.08);
}
body.cursor-hover #cursor-dot {
  width: 4px; height: 4px;
  background: rgba(124, 109, 250, 0.9);
}

body.cursor-link #cursor-ring {
  width: 52px; height: 52px;
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.06);
}
body.cursor-link #cursor-dot {
  background: rgba(0, 212, 255, 0.9);
}

body.cursor-input #cursor-ring {
  width: 3px; height: 32px;
  border-radius: 2px;
  border-color: rgba(124, 109, 250, 0.7);
  background: rgba(124, 109, 250, 0.3);
}
body.cursor-input #cursor-dot {
  opacity: 0;
}

/* Touch devices – restore default cursor */
@media (hover: none) and (pointer: coarse) {
  *, *::before, *::after { cursor: auto !important; }
  #cursor-dot, #cursor-ring, .cursor-trail { display: none; }
}


:root {
  --bg:         #04050a;
  --bg-neu:     #070810;
  --surface:    rgba(255,255,255,0.04);
  --border:     rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.22);
  --text:       #f0f2ff;
  --text-muted: rgba(240,242,255,0.5);
  --accent1:    #7c6dfa;
  --accent2:    #00d4ff;
  --accent3:    #ff6bce;
  --grad: linear-gradient(135deg, #7c6dfa, #00d4ff);
  --grad2: linear-gradient(135deg, #7c6dfa, #ff6bce);
  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-sm: blur(12px) saturate(160%);
  --card-radius: 20px;
  --nav-h: 72px;
  --tween: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Dark Neumorphism */
  --neu-bg: #08090f;
  --neu-light: rgba(255,255,255,0.07);
  --neu-dark: rgba(0,0,0,0.55);
  --neu-shadow: 8px 8px 20px rgba(0,0,0,0.55), -4px -4px 12px rgba(255,255,255,0.035);
  --neu-inset: inset 4px 4px 10px rgba(0,0,0,0.5), inset -3px -3px 8px rgba(255,255,255,0.04);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; }
::selection { background: rgba(124,109,250,0.4); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(124,109,250,0.4); border-radius: 3px; }

/* ── Typography ── */
.gradient-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Glass ── */
.glass { background: var(--surface); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border); }
.glass-card { background: rgba(255,255,255,0.04); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border); border-radius: var(--card-radius); transition: border-color var(--tween), box-shadow var(--tween); }
.glass-card:hover { border-color: var(--border-hover); box-shadow: 0 20px 60px rgba(124,109,250,0.12); }
.glass-input { width: 100%; background: rgba(255,255,255,0.05); backdrop-filter: var(--glass-blur-sm); -webkit-backdrop-filter: var(--glass-blur-sm); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; padding: 12px 16px; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.glass-input:focus { border-color: var(--accent1); box-shadow: 0 0 0 3px rgba(124,109,250,0.2); }
.glass-input::placeholder { color: var(--text-muted); }
select.glass-input option { background: #0d0f1a; color: var(--text); }

/* ── Buttons ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); border: none; border-radius: 50px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; padding: 14px 28px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 24px rgba(124,109,250,0.35); text-decoration: none; white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,109,250,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary.small { padding: 10px 18px; font-size: 0.85rem; border-radius: 30px; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-glass { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); backdrop-filter: var(--glass-blur-sm); border: 1px solid var(--border); border-radius: 50px; color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 500; padding: 14px 28px; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s; text-decoration: none; white-space: nowrap; }
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: var(--border-hover); transform: translateY(-2px); }
.btn-glass.small-btn { padding: 9px 18px; font-size: 0.85rem; }
.btn-glass svg { width: 16px; height: 16px; }

.btn-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; color: var(--text); }
.btn-icon:hover { background: rgba(255,255,255,0.12); border-color: var(--border-hover); }
.btn-icon svg { width: 18px; height: 18px; }
.btn-icon.delete-btn:hover { background: rgba(255,80,80,0.15); border-color: rgba(255,80,80,0.4); color: #ff6060; }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: rgba(4,5,10,0.65); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; height: 100%; display: flex; align-items: center; padding: 0 2rem; gap: 1.5rem; }
.nav-logo { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--text); text-decoration: none; letter-spacing: -1px; margin-right: auto; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-logo span:first-child, .nav-logo > span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-badge { font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(124,109,250,0.2); border: 1px solid rgba(124,109,250,0.4); border-radius: 20px; padding: 3px 10px; -webkit-text-fill-color: var(--accent1); color: var(--accent1); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: 10px; transition: color 0.2s, background 0.2s; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--accent1); }
.nav-cta { background: var(--grad); border: none; border-radius: 50px; color: #fff; font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 600; padding: 9px 22px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 16px rgba(124,109,250,0.3); white-space: nowrap; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124,109,250,0.5); }
.inbox-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent3); color: #fff; font-size: 0.7rem; font-weight: 700; font-family: 'Outfit', sans-serif; -webkit-text-fill-color: #fff; }

/* ── Pages ── */
.page { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow-y: auto; overflow-x: hidden; opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.page.active { opacity: 1; pointer-events: all; }
.page-inner { max-width: 1280px; margin: 0 auto; padding: calc(var(--nav-h) + 3rem) 2rem 4rem; }

/* ── Orbs ── */
.orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1; }
.orb-1 { width: 500px; height: 500px; top: -100px; left: -100px; background: rgba(124,109,250,0.18); animation: floatOrb 14s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; bottom: 0; right: -80px; background: rgba(0,212,255,0.12); animation: floatOrb 18s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(255,107,206,0.10); animation: floatOrb 22s ease-in-out infinite 2s; }
.orb-4 { width: 450px; height: 450px; top: -80px; right: -80px; background: rgba(0,212,255,0.14); animation: floatOrb 16s ease-in-out infinite; }
.orb-5 { width: 350px; height: 350px; bottom: 50px; left: -50px; background: rgba(124,109,250,0.12); animation: floatOrb 20s ease-in-out infinite reverse; }
.orb-6 { width: 500px; height: 500px; top: 20%; right: -100px; background: rgba(255,107,206,0.10); animation: floatOrb 17s ease-in-out infinite; }
.orb-7 { width: 400px; height: 400px; top: -50px; left: -100px; background: rgba(124,109,250,0.14); animation: floatOrb 14s ease-in-out infinite; }
.orb-8 { width: 350px; height: 350px; bottom: 0; right: 10%; background: rgba(0,212,255,0.10); animation: floatOrb 19s ease-in-out infinite reverse; }
@keyframes floatOrb { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-40px) scale(1.05)} 66%{transform:translate(-20px,30px) scale(0.95)} }

/* ============================================
   HOME PAGE + NEUMORPHISM
   ============================================ */
.page-home { background: var(--bg); }

#hero-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.hero-content { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: calc(var(--nav-h) + 1rem) 2rem 6rem; gap: 1.2rem; }

/* ── Neumorphic Badge ── */
.neu-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; background: var(--neu-bg); box-shadow: var(--neu-shadow); border: 1px solid rgba(255,255,255,0.06); animation: fadeSlideUp 0.8s ease both; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{box-shadow: 0 0 8px #4ade80} 50%{box-shadow: 0 0 20px #4ade80, 0 0 40px #4ade8044} }

/* ── Hero Visual (3D Silhouette) ── */
.hero-visual-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; width: 100%; max-width: 900px;
  animation: fadeSlideUp 0.8s ease 0.1s both;
  position: relative;
}

/* Floating neumorphic info cards */
.hero-float-left, .hero-float-right { display: flex; flex-direction: column; gap: 1rem; }

.neu-card {
  background: var(--neu-bg);
  box-shadow: var(--neu-shadow);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 18px;
  padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: 12px;
  min-width: 160px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.neu-card:hover { transform: translateY(-4px); box-shadow: 12px 12px 28px rgba(0,0,0,0.6), -4px -4px 14px rgba(255,255,255,0.04); }

.float-card { animation: floatCard 6s ease-in-out infinite; }
.fc1 { animation-delay: 0s; }
.fc2 { animation-delay: 1.5s; }
.fc3 { animation-delay: 0.8s; }
.fc4 { animation-delay: 2.2s; }

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fc-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(124,109,250,0.15); border: 1px solid rgba(124,109,250,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-icon svg { width: 20px; height: 20px; stroke: var(--accent1); }
.fc-icon.accent2 { background: rgba(0,212,255,0.12); border-color: rgba(0,212,255,0.3); }
.fc-icon.accent2 svg { stroke: var(--accent2); }
.fc-icon.accent3 { background: rgba(255,107,206,0.12); border-color: rgba(255,107,206,0.3); }
.fc-icon.accent3 svg { stroke: var(--accent3); }

.fc-content { display: flex; flex-direction: column; gap: 2px; }
.fc-label { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fc-value { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }

/* ── 3D Silhouette ── */
.silhouette-3d-wrap { position: relative; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.silhouette-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 200px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(124,109,250,0.35) 0%, transparent 70%);
  filter: blur(30px); pointer-events: none; z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.7} 50%{opacity:1} }

/* Orbital rings */
.silhouette-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(124,109,250,0.2);
  pointer-events: none; z-index: 0;
}
.ring-1 { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg); animation: spinRing3D 12s linear infinite; border-color: rgba(124,109,250,0.25); }
.ring-2 { width: 260px; height: 260px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg) rotate(60deg); animation: spinRing3D 18s linear infinite reverse; border-color: rgba(0,212,255,0.2); }
.ring-3 { width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg) rotate(30deg); animation: spinRing3D 24s linear infinite; border-color: rgba(255,107,206,0.12); }
@keyframes spinRing3D { to { transform: translate(-50%,-50%) rotateX(70deg) rotate(360deg); } }

.silhouette-3d {
  position: relative; z-index: 1;
  width: 240px; height: 430px;
  display: flex; align-items: flex-start; justify-content: center;
  animation: silFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(124,109,250,0.5));
}
@keyframes silFloat { 0%,100%{transform: translateY(0) rotate(0deg)} 50%{transform: translateY(-12px) rotate(0.5deg)} }

.sil-svg { width: 200px; height: 360px; }

/* Geometric floating elements */
.geo { position: absolute; animation: geoFloat 5s ease-in-out infinite; pointer-events: none; }
.geo svg { display: block; }
.geo-1 { width: 40px; height: 40px; top: 10%; left: -20px; animation-delay: 0s; }
.geo-2 { width: 36px; height: 36px; top: 30%; right: -25px; animation-delay: 1.2s; }
.geo-3 { width: 28px; height: 28px; bottom: 20%; left: -15px; animation-delay: 2.4s; }
.geo-4 { width: 34px; height: 34px; bottom: 35%; right: -20px; animation-delay: 0.8s; }
@keyframes geoFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-12px) rotate(15deg)} }

/* Platform */
.silhouette-platform { margin-top: -10px; }
.platform-ellipse { width: 120px; height: 20px; background: radial-gradient(ellipse, rgba(124,109,250,0.4) 0%, transparent 70%); border-radius: 50%; filter: blur(6px); animation: glowPulse 4s ease-in-out infinite; }

/* ── Hero Title ── */
.hero-title { font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 5.5vw, 6rem); font-weight: 900; line-height: 1.05; letter-spacing: -2px; display: flex; flex-direction: column; gap: 0.08em; animation: fadeSlideUp 0.8s ease 0.4s both; }
.title-line { display: block; }
.sub-line { font-size: 0.55em; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }

.hero-subtitle { font-size: clamp(0.9rem, 1.8vw, 1.1rem); color: var(--text-muted); line-height: 1.7; max-width: 560px; animation: fadeSlideUp 0.8s ease 0.5s both; }

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: fadeSlideUp 0.8s ease 0.6s both; }

/* ── Neumorphic Stats Row ── */
.neu-stats-row {
  display: flex; align-items: center; gap: 0;
  background: var(--neu-bg);
  box-shadow: var(--neu-shadow);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 20px; padding: 1.2rem 2rem;
  animation: fadeSlideUp 0.8s ease 0.7s both;
}
.neu-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 2.5rem; }
.neu-stat-number { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.neu-stat-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.neu-stat-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent); }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; z-index: 2; }
.scroll-line { width: 1.5px; height: 60px; background: linear-gradient(to bottom, transparent, var(--accent1)); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%{height:0;opacity:0} 50%{height:60px;opacity:1} 100%{height:0;opacity:0} }

/* ── Section styles ── */
.section-container { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.section-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 500px; line-height: 1.6; }

/* ── About Grid (Neumorphic Cards) ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.5rem; align-items: center; }

.neu-about-card {
  padding: 2.5rem 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  background: var(--neu-bg);
  box-shadow: var(--neu-shadow);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.neu-about-card:hover { transform: translateY(-6px); box-shadow: 12px 12px 30px rgba(0,0,0,0.65), -4px -4px 14px rgba(255,255,255,0.04); }

.nac-icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(124,109,250,0.12); border: 1px solid rgba(124,109,250,0.25); display: flex; align-items: center; justify-content: center; box-shadow: var(--neu-inset); }
.nac-icon svg { width: 28px; height: 28px; stroke: var(--accent1); }
.nac-icon.accent2 { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.3); }
.nac-icon.accent2 svg { stroke: var(--accent2); }
.neu-about-card h3 { font-size: 1.3rem; font-weight: 700; }
.neu-about-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

.featured-card {
  background: rgba(124,109,250,0.07);
  border-color: rgba(124,109,250,0.3);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(124,109,250,0.15), inset 0 0 30px rgba(124,109,250,0.05), var(--neu-shadow);
  padding: 3rem 2rem;
}
.featured-card:hover { transform: scale(1.03) translateY(-6px); }

.about-avatar { position: relative; width: 100px; height: 100px; margin-bottom: 0.5rem; }
.avatar-ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid transparent; background: var(--grad) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; animation: spinRingAv 8s linear infinite; }
@keyframes spinRingAv { to{transform:rotate(360deg)} }
.avatar-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.avatar-inner img { width: 100%; height: 100%; object-fit: cover; }
.avatar-inner span { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; position: absolute; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { font-size: 0.78rem; font-weight: 600; background: rgba(124,109,250,0.15); color: var(--accent1); border: 1px solid rgba(124,109,250,0.3); border-radius: 20px; padding: 4px 12px; }

/* ============================================
   PORTFOLIO PAGE (PUBLIC – read only)
   ============================================ */
.page-portfolio, .page-contact { background: var(--bg); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.portfolio-empty { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 5rem 2rem; text-align: center; color: var(--text-muted); }
.portfolio-empty .empty-icon svg { width: 64px; height: 64px; stroke: rgba(255,255,255,0.15); }

.portfolio-card { background: rgba(255,255,255,0.04); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; display: flex; flex-direction: column; animation: fadeSlideUp 0.5s ease both; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(124,109,250,0.2); border-color: rgba(124,109,250,0.4); }
.card-thumb { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(124,109,250,0.2), rgba(0,212,255,0.2)); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); }
.card-thumb-placeholder svg { width: 40px; height: 40px; }
.card-thumb-placeholder span { font-size: 0.8rem; }
.card-category-badge { position: absolute; top: 12px; right: 12px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(4,5,10,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; color: var(--accent2); }
.card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.card-title { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; }
.card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.card-tech span { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25); color: var(--accent2); }
/* Admin card has delete button */
.admin-card-actions { display: flex; justify-content: flex-end; padding: 0 1.4rem 1.4rem; gap: 8px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 380px 1fr; gap: 2rem; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card h3 { font-size: 1.15rem; font-weight: 700; }
.contact-info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.contact-info-item:hover { background: rgba(255,255,255,0.04); border-color: var(--border); }
.ci-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: rgba(124,109,250,0.12); border: 1px solid rgba(124,109,250,0.25); display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 20px; height: 20px; stroke: var(--accent1); }
.ci-text { display: flex; flex-direction: column; gap: 2px; }
.ci-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ci-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-social { display: flex; gap: 10px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text-muted); text-decoration: none; transition: all 0.2s; }
.social-link:hover { background: rgba(124,109,250,0.15); border-color: rgba(124,109,250,0.4); color: var(--accent1); }
.social-link svg { width: 18px; height: 18px; }
.availability-card { display: flex; gap: 1rem; align-items: center; padding: 1.5rem 1.8rem; }
.avail-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: #4ade80; box-shadow: 0 0 12px #4ade80; animation: pulse 2s ease infinite; }
.availability-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.availability-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.contact-form-card { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-card h3 { font-size: 1.15rem; font-weight: 700; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-success { display: none; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; }
.form-success.show { display: flex; animation: slideIn 0.4s ease; }
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; }
.form-success p { font-size: 0.95rem; font-weight: 500; }

/* ============================================
   LOGIN PAGE
   ============================================ */
.page-login { background: var(--bg); }
#login-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.login-wrap { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }

.login-card {
  width: 100%; max-width: 440px;
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  text-align: center;
  background: rgba(8,9,16,0.85);
  backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(124,109,250,0.2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(124,109,250,0.08);
  animation: fadeSlideUp 0.8s ease both;
}

.login-logo { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; }
.login-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.login-card h2 { font-size: 1.5rem; font-weight: 700; }
.login-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

.pw-wrap { position: relative; }
.pw-wrap .glass-input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; transition: color 0.2s; }
.pw-toggle:hover { color: var(--text); }
.pw-toggle svg { width: 20px; height: 20px; display: block; }

.login-error { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px; background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.3); color: #ff8080; font-size: 0.88rem; font-weight: 500; }
.login-error svg { width: 18px; height: 18px; flex-shrink: 0; }

.back-to-public { display: block; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.back-to-public:hover { color: var(--text); }

/* ── Forms (shared) ── */
#loginForm { display: flex; flex-direction: column; gap: 1rem; text-align: left; }

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.page-admin { background: var(--bg); }

.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* ── Inbox ── */
.inbox-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.inbox-count-text { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.inbox-list { display: flex; flex-direction: column; gap: 10px; }
.inbox-empty { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 4rem 2rem; text-align: center; color: var(--text-muted); }
.inbox-empty svg { width: 52px; height: 52px; stroke: rgba(255,255,255,0.15); }

.inbox-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.03); backdrop-filter: var(--glass-blur); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.2rem 1.5rem; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.inbox-item:hover { background: rgba(255,255,255,0.06); border-color: var(--border-hover); transform: translateX(4px); }
.inbox-item.unread { border-left: 3px solid var(--accent1); }
.inbox-item.unread .inbox-sender { color: var(--text); }

.inbox-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent1); box-shadow: 0 0 8px var(--accent1); flex-shrink: 0; }
.inbox-unread-dot.read { background: transparent; box-shadow: none; }

.inbox-info { flex: 1; min-width: 0; }
.inbox-sender { font-weight: 700; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 3px; }
.inbox-subject { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-preview { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.7; }
.inbox-time { font-size: 0.78rem; color: var(--text-muted); flex-shrink: 0; }

/* Message modal */
.msg-meta { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 8px; }
.msg-meta-row { display: flex; gap: 8px; align-items: baseline; font-size: 0.88rem; }
.msg-meta-row span:first-child { color: var(--text-muted); min-width: 60px; }
.msg-meta-row a { color: var(--accent2); text-decoration: none; }
.msg-meta-row strong { color: var(--text); }
.msg-body-text { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); white-space: pre-wrap; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; }

/* ── Admin Portfolio ── */
.upload-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.filter-tab:hover { border-color: var(--border-hover); color: var(--text); }
.filter-tab.active { background: rgba(124,109,250,0.2); border-color: rgba(124,109,250,0.5); color: var(--accent1); }

/* ── Admin Profile Form ── */
.profile-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.profile-avatar-card { padding: 2.5rem 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.profile-avatar-wrapper { position: relative; width: 130px; height: 130px; margin-bottom: 0.5rem; }
.avatar-ring-lg { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid transparent; background: var(--grad2) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; animation: spinRingAv 10s linear infinite; }
.profile-avatar-img { width: 100%; height: 100%; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.profile-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-img span { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: #fff; position: absolute; }
.avatar-upload-btn { position: absolute; bottom: 0; right: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); cursor: pointer; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); transition: transform 0.2s; }
.avatar-upload-btn:hover { transform: scale(1.1); }
.avatar-upload-btn svg { width: 18px; height: 18px; stroke: #fff; }
.profile-avatar-card h3 { font-size: 1.4rem; font-weight: 700; }
.profile-avatar-card p { color: var(--text-muted); font-size: 0.9rem; }
.profile-social { display: flex; gap: 10px; margin-top: 0.5rem; flex-wrap: wrap; justify-content: center; }
.profile-form-card { padding: 2.5rem; }
.form-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.form-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.save-toast { display: none; align-items: center; gap: 10px; margin-top: 1rem; padding: 14px 20px; border-radius: 12px; background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; font-size: 0.9rem; font-weight: 500; }
.save-toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.save-toast.show { display: flex; animation: slideIn 0.3s ease; }
.skills-input-wrap { display: flex; flex-direction: column; gap: 1rem; }
.skills-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.skill-chip-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; padding: 6px 14px; background: rgba(124,109,250,0.15); color: var(--accent1); border: 1px solid rgba(124,109,250,0.3); border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.skill-chip-item:hover { background: rgba(255,80,80,0.1); border-color: rgba(255,80,80,0.3); color: #ff6060; }
.skills-add-row { display: flex; gap: 10px; }

/* ── Admin Settings ── */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.settings-card { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.settings-card h3 { font-size: 1.1rem; font-weight: 700; }
.settings-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.settings-form { display: flex; flex-direction: column; gap: 1rem; }
.pw-error { padding: 10px 14px; border-radius: 10px; background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.3); color: #ff8080; font-size: 0.88rem; }
.admin-info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.admin-info-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 0.88rem; }
.admin-info-row span { color: var(--text-muted); }
.admin-info-row code { font-family: 'Space Grotesk', monospace; color: var(--accent2); background: rgba(0,212,255,0.08); padding: 3px 8px; border-radius: 6px; font-size: 0.82rem; }
.info-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(255,200,0,0.07); border: 1px solid rgba(255,200,0,0.2); color: rgba(255,200,0,0.8); font-size: 0.85rem; line-height: 1.5; }
.info-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; stroke: rgba(255,200,0,0.8); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  pointer-events: none;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0.75rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); pointer-events: auto; }
.admin-link { font-size: 0.7rem; color: rgba(255,255,255,0.12); text-decoration: none; opacity: 0.3; transition: opacity 0.2s; pointer-events: auto; cursor: pointer; }
.admin-link:hover { opacity: 0.7; }

/* ============================================
   MODALS
   ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; transform: translateY(30px) scale(0.97); transition: transform 0.3s ease; background: rgba(8,9,16,0.92); backdrop-filter: blur(32px) saturate(200%); border: 1px solid rgba(124,109,250,0.2); border-radius: var(--card-radius); }
.modal.wide { max-width: 760px; }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.15rem; font-weight: 700; }
.modal-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; color: var(--text); }
.modal-close:hover { background: rgba(255,255,255,0.12); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.modal-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 1rem; }
.image-upload-zone { border: 2px dashed var(--border); border-radius: 16px; aspect-ratio: 16/9; cursor: pointer; overflow: hidden; transition: border-color 0.2s, background 0.2s; position: relative; }
.image-upload-zone:hover { border-color: var(--accent1); background: rgba(124,109,250,0.04); }
.image-upload-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-muted); }
.image-upload-placeholder svg { width: 40px; height: 40px; }
.image-preview { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.detail-image { width: 100%; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; }
.detail-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.detail-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-desc { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .featured-card { transform: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-avatar-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .hero-visual-wrap { gap: 1rem; }
  .hero-float-left, .hero-float-right { display: none; }
}
@media (max-width: 768px) {
  .nav-links .nav-link span:not(.inbox-badge):not(.admin-badge) { display: none; }
  .hero-title { font-size: 2.8rem; letter-spacing: -1.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 1rem; }
  .page-inner { padding: calc(var(--nav-h) + 1.5rem) 1rem 3rem; }
  .section-container { padding: 3rem 1rem; }
  .hero-content { padding: calc(var(--nav-h) + 1rem) 1rem 5rem; gap: 1rem; }
  .upload-toolbar { flex-direction: column; align-items: flex-start; }
  .neu-stats-row { padding: 1rem; }
  .neu-stat { padding: 0 1.2rem; }
  .silhouette-3d { width: 160px; height: 280px; }
  .sil-svg { width: 140px; height: 240px; }
}
