/* ─── PANKAJ.AI INDEX STYLES ─── */
:root {
  --void: #010309;
  --deep: #040d1a;
  --panel: rgba(4, 20, 40, 0.85);
  --border: rgba(0, 255, 200, 0.15);
  --cyan: #00ffc8;
  --blue: #0af;
  --red: #ff3355;
  --amber: #ffcc00;
  --dim: rgba(0, 255, 200, 0.4);
  --muted: rgba(0, 255, 200, 0.25);
  --ghost: rgba(0, 255, 200, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ─── CUSTOM CURSOR ─── */
#cur {
  width: 16px; height: 16px;
  border: 1.5px solid var(--cyan);
  position: fixed; pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
}
#cur::before {
  content: ''; position: absolute; inset: 3px;
  background: var(--cyan); border-radius: 0;
  animation: cur-pulse 1.5s ease-in-out infinite;
}
#cur-trail {
  width: 40px; height: 40px;
  border: 1px solid var(--muted);
  position: fixed; pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: left .08s ease, top .08s ease;
}
@keyframes cur-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
body:hover #cur { opacity: 1; }

/* ─── SCANLINES ─── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9001; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  animation: scanline-drift 6s linear infinite;
}
@keyframes scanline-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

/* ─── GLOBAL SIGNAL NOISE ─── */
.signal-interference {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background: white; opacity: 0;
}
.signal-pulse { animation: signal-flash 8s infinite; }
@keyframes signal-flash {
  0%, 94%, 98%, 100% { opacity: 0; }
  95% { opacity: 0.03; }
  97% { opacity: 0.01; }
}

/* ─── NOISE ─── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ─── NEURAL CANVAS ─── */
#neural { position: fixed; inset: 0; z-index: 0; opacity: 0.4; }

/* ─── HUD CORNERS ─── */
.hud-corner {
  position: fixed; z-index: 200; pointer-events: none;
  width: 60px; height: 60px;
}
.hud-corner::before, .hud-corner::after {
  content: ''; position: absolute;
  background: var(--cyan);
}
.hud-corner::before { width: 20px; height: 1.5px; }
.hud-corner::after { width: 1.5px; height: 20px; }
.hc-tl { top: 16px; left: 16px; }
.hc-tl::before { top: 0; left: 0; }
.hc-tl::after { top: 0; left: 0; }
.hc-tr { top: 16px; right: 16px; }
.hc-tr::before { top: 0; right: 0; }
.hc-tr::after { top: 0; right: 0; }
.hc-bl { bottom: 16px; left: 16px; }
.hc-bl::before { bottom: 0; left: 0; }
.hc-bl::after { bottom: 0; left: 0; }
.hc-br { bottom: 16px; right: 16px; }
.hc-br::before { bottom: 0; right: 0; }
.hc-br::after { bottom: 0; right: 0; }

/* ─── STATUS BAR ─── */
#statusbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 44px;
  background: linear-gradient(180deg, rgba(1, 3, 9, 0.98), rgba(1, 3, 9, 0.8));
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(0, 255, 200, 0.1);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}
.hide-mob { display: none !important; }
@media(min-width:768px) {
  .hide-mob { display: inline-block !important; }
}
.sb-left { display: flex; align-items: center; gap: 12px; }
.sb-logo {
  font-family: 'Orbitron', monospace;
  font-size: 13px; font-weight: 900; letter-spacing: 0.15em;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sb-sep { color: var(--muted); font-size: 10px; }
.sb-status {
  font-size: 10px; letter-spacing: 0.15em; color: var(--dim);
  display: flex; align-items: center; gap: 6px;
}
.online-dot {
  width: 6px; height: 6px; background: #0f0; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #0f0;
  animation: blink-dot 2s ease-in-out infinite;
}
@keyframes blink-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.sb-right {
  display: flex; align-items: center; gap: 20px;
  font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
}
#live-clock { color: var(--cyan); }
.sb-hire {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--void); background: var(--cyan);
  padding: 5px 14px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 0 15px rgba(0, 255, 200, 0.3);
}
.sb-hire:hover { box-shadow: 0 0 30px rgba(0, 255, 200, 0.6); transform: translateY(-1px); }

@media(max-width:767px) {
  #statusbar { padding: 0 16px; height: 40px; }
  .sb-logo { font-size: 11px; }
  .sb-hire { padding: 4px 10px; font-size: 9px; }
  .sb-right { gap: 10px; }
}

/* ─── HERO ─── */
#hero {
  min-height: 100svh;
  position: relative; z-index: 10;
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  padding-top: 44px;
}
.photo-zone {
  position: absolute;
  bottom: 0; right: 0;
  width: 100%;
  height: 65%;
  overflow: hidden;
  z-index: 1;
}
.photo-zone img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(30%) contrast(1.1) brightness(0.9);
  opacity: 0.55;
}
.photo-zone::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    var(--void) 0%,
    rgba(1, 3, 9, 0.95) 5%,
    rgba(1, 3, 9, 0.6) 25%,
    rgba(1, 3, 9, 0.15) 60%,
    rgba(1, 3, 9, 0.4) 85%,
    var(--void) 100%
  );
}
.photo-zone::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 3px,
    rgba(0, 255, 200, 0.025) 3px, rgba(0, 255, 200, 0.025) 4px
  );
}
.scan-ring {
  position: absolute;
  width: 200px; height: 200px;
  bottom: 30%; right: 50%;
  transform: translate(50%, 50%);
  z-index: 4; pointer-events: none;
  animation: scan-appear 1s 2s ease both;
  opacity: 0;
}
@keyframes scan-appear { to { opacity: 1; } }
.scan-ring svg {
  width: 100%; height: 100%;
  animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.scan-label {
  position: absolute;
  top: -22px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.2em; color: var(--cyan);
  white-space: nowrap; animation: type-in 1s steps(20) 2.5s both;
  width: 0; overflow: hidden;
}
@keyframes type-in { to { width: 200px; } }
.hero-text {
  position: relative; z-index: 5;
  padding: 20px 20px 0;
  display: flex; flex-direction: column;
  gap: 0;
}
.hero-tag {
  font-size: 10px; letter-spacing: 0.25em; color: var(--dim);
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  animation: fade-up .6s .4s ease both; opacity: 0;
}
.hero-tag::before { content: '> '; color: var(--cyan); }
.hero-name {
  font-family: 'Orbitron', monospace;
  font-size: clamp(44px, 13vw, 100px);
  font-weight: 900; line-height: 0.85;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.hn-1 {
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 255, 200, 0.5), 0 0 60px rgba(0, 255, 200, 0.2);
  animation: glitch-in .8s .5s ease both; opacity: 0;
}
.hn-2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue);
  text-shadow: none;
  animation: glitch-in .8s .7s ease both; opacity: 0;
  position: relative;
}
.hn-2::after {
  content: attr(data-t);
  position: absolute; left: 0; top: 0;
  -webkit-text-stroke: 0;
  color: var(--blue);
  text-shadow: 0 0 40px rgba(0, 170, 255, 0.6);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: fill-slide 1.2s 1.2s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes fill-slide { to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes glitch-in {
  0% { opacity: 0; transform: translateX(-8px); filter: blur(4px); }
  60% { opacity: 1; transform: translateX(2px); filter: blur(0); }
  80% { transform: translateX(-1px); }
  100% { opacity: 1; transform: translateX(0); }
}
.hero-sub {
  font-size: 12px; letter-spacing: 0.1em; color: var(--dim);
  margin-bottom: 20px;
  animation: fade-up .6s .9s ease both; opacity: 0;
  line-height: 1.6;
}
.hero-sub span { color: var(--cyan); }
.hero-stats-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  animation: fade-up .6s 1.1s ease both; opacity: 0;
  margin-bottom: 20px;
}
.hs { display: flex; flex-direction: column; }
@media(max-width:767px) {
  .hero-stats-row { gap: 12px; }
  .hs-n { font-size: 22px; }
  .hs-l { font-size: 8px; }
  .hs-div { display: none; }
}
.hs-n {
  font-family: 'Orbitron', monospace;
  font-size: 28px; font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 255, 200, 0.4);
  line-height: 1;
}
.hs-l { font-size: 9px; letter-spacing: 0.15em; color: var(--muted); margin-top: 3px; }
.hs-div { width: 1px; background: var(--border); align-self: stretch; margin: 0 4px; }
.hero-ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
  animation: fade-up .6s 1.3s ease both; opacity: 0;
}
.btn-a {
  flex: 1; min-width: 120px;
  padding: 13px 20px;
  background: var(--cyan); color: var(--void);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .3s;
  position: relative; overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.3);
}
.btn-a::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform .4s;
}
.btn-a:hover::before { transform: translateX(100%); }
.btn-a:hover { box-shadow: 0 0 50px rgba(0, 255, 200, 0.6); transform: translateY(-2px); }
.btn-b {
  flex: 1; min-width: 100px;
  padding: 13px 20px;
  border: 1px solid var(--border);
  color: var(--cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .3s;
  background: var(--ghost);
}
.btn-b:hover { border-color: var(--cyan); background: rgba(0, 255, 200, 0.1); }

/* ─── TERMINAL BOT CHAT ─── */
#terminal {
  position: relative; z-index: 10;
  padding: 0 20px 60px;
  background: var(--void);
}
.term-header {
  background: rgba(0, 255, 200, 0.05);
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-title { font-size: 11px; letter-spacing: 0.15em; color: var(--dim); margin-left: 8px; }
.term-body {
  background: rgba(0, 8, 16, 0.95);
  border: 1px solid var(--border);
  padding: 20px 16px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.term-body::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0, 255, 200, 0.03) 19px, rgba(0, 255, 200, 0.03) 20px);
  pointer-events: none;
}
.msg {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s;
}
.msg.show { opacity: 1; transform: none; }
.msg-bot-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--void);
  font-family: 'Orbitron', monospace;
}
.msg-user-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--dim);
}
.msg-text {
  font-size: 12px; line-height: 1.7; padding: 8px 12px;
  flex: 1;
}
.msg.bot .msg-text {
  background: rgba(0, 255, 200, 0.05);
  border-left: 2px solid var(--cyan);
  color: var(--cyan);
}
.msg.user .msg-text {
  background: rgba(0, 170, 255, 0.05);
  border-left: 2px solid var(--blue);
  color: rgba(0, 170, 255, 0.8);
}
.msg.user { flex-direction: row-reverse; }
.msg.user .msg-text { border-left: none; border-right: 2px solid var(--blue); }
.typing-indicator {
  display: flex; gap: 5px; align-items: center;
  padding: 8px 12px;
  background: rgba(0, 255, 200, 0.03);
  border-left: 2px solid var(--cyan);
  width: 60px;
}
.typing-indicator span {
  width: 5px; height: 5px; background: var(--cyan); border-radius: 50%;
  animation: typing-bounce .8s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: .15s; }
.typing-indicator span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.term-input-row {
  background: rgba(0, 8, 16, 0.95);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(0, 255, 200, 0.08);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.term-prompt { font-size: 12px; color: var(--cyan); flex-shrink: 0; }
.term-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: 'Share Tech Mono', monospace; font-size: 12px;
  color: var(--blue); letter-spacing: 0.05em;
}
.term-send {
  background: var(--cyan); color: var(--void);
  border: none; padding: 6px 14px;
  font-family: 'Share Tech Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; cursor: pointer;
  font-weight: 700; transition: all .2s;
}
.term-send:hover { box-shadow: 0 0 15px rgba(0, 255, 200, 0.5); }

/* ─── SECTION BASE ─── */
.section { position: relative; z-index: 10; padding: 60px 20px; }
.s-tag {
  font-size: 10px; letter-spacing: 0.25em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transition: all .5s; transform: translateX(-10px);
}
.s-tag::before { content: '[ '; color: var(--cyan); }
.s-tag::after { content: ' ]'; color: var(--cyan); }
.s-head {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 900; line-height: 0.9;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  color: var(--cyan);
  opacity: 0; transition: all .6s .1s; transform: translateY(15px);
  text-shadow: 0 0 40px rgba(0, 255, 200, 0.2);
}
.s-tag.v, .s-head.v { opacity: 1; transform: none; }

/* ─── CAPABILITIES ─── */
#cap { background: linear-gradient(180deg, var(--void), var(--deep)); }
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.cap-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px 20px;
  position: relative; overflow: hidden;
  cursor: default;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s, border-color .3s, background .3s;
}
.cap-card.v { opacity: 1; transform: none; }
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.cap-card:hover { border-color: rgba(0, 255, 200, 0.35); background: rgba(4, 20, 40, 0.95); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-n { font-size: 9px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 12px; display: block; }
.cap-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.cap-name {
  font-family: 'Orbitron', monospace; font-size: 13px;
  font-weight: 700; letter-spacing: 0.06em; margin-bottom: 8px;
  color: var(--cyan);
}
.cap-desc { font-size: 11px; color: rgba(0, 255, 200, 0.5); line-height: 1.7; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.ct {
  font-size: 9px; letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid rgba(0, 170, 255, 0.2);
  background: rgba(0, 170, 255, 0.04);
  padding: 2px 8px;
}

/* ─── METRICS ─── */
#metrics { background: var(--deep); padding: 60px 20px; }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.met {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px 16px; text-align: center;
  position: relative; overflow: hidden;
  opacity: 0; transform: scale(0.9);
  transition: opacity .5s, transform .5s;
}
.met.v { opacity: 1; transform: none; }
.met::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: met-glow 3s ease-in-out infinite;
}
@keyframes met-glow { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.met-num {
  font-family: 'Orbitron', monospace;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 900; line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 255, 200, 0.4);
  display: block;
  margin-bottom: 6px;
}
.met-label {
  font-size: 9px; letter-spacing: 0.18em; color: var(--muted);
  text-transform: uppercase; line-height: 1.5;
}

/* ─── WORK LOG ─── */
#work { background: var(--void); }
.log-list { display: flex; flex-direction: column; gap: 1px; }
.log {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(-15px);
  transition: opacity .5s, transform .5s, border-color .3s;
  position: relative; overflow: hidden;
}
.log.v { opacity: 1; transform: none; }
.log:hover { border-left-color: var(--cyan); background: rgba(0, 255, 200, 0.03); }
.log:hover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent, rgba(0, 255, 200, 0.05), transparent);
  height: 20px; animation: gh-scan 1s infinite linear;
  pointer-events: none;
}
.log-id { font-size: 9px; letter-spacing: 0.2em; color: var(--muted); }
.log-name {
  font-family: 'Orbitron', monospace;
  font-size: 16px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cyan); line-height: 1;
}
.log-tagline {
  font-size: 11px; letter-spacing: 0.08em; color: var(--dim);
  font-style: italic; line-height: 1.4; margin-top: 4px;
}
.log-description {
  font-size: 12px; color: rgba(0, 255, 200, 0.6); line-height: 1.5;
  margin-top: 6px; font-family: 'Exo 2', sans-serif; font-weight: 300;
}
.log-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lchip {
  font-size: 10px; letter-spacing: 0.05em;
  color: var(--amber);
  background: rgba(255, 204, 0, 0.06);
  border: 1px solid rgba(255, 204, 0, 0.2);
  padding: 3px 10px;
}

/* ─── PROOF ─── */
#proof { background: var(--deep); }
.proof-list { display: flex; flex-direction: column; gap: 12px; }
.pf {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px 20px;
  position: relative;
  opacity: 0; transform: translateY(15px);
  transition: opacity .5s, transform .5s;
}
.pf.v { opacity: 1; transform: none; }
.pf::before {
  content: '"';
  position: absolute; top: 12px; left: 16px;
  font-size: 48px; color: rgba(0, 255, 200, 0.1);
  font-family: Georgia, serif; line-height: 1;
}
.pf-stars { color: var(--amber); font-size: 12px; letter-spacing: 3px; margin-bottom: 10px; }
.pf-text {
  font-size: 13px; line-height: 1.8; color: rgba(0, 255, 200, 0.7);
  font-style: italic; margin-bottom: 16px; padding-left: 4px;
}
.pf-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.pf-who { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }
.pf-badge {
  font-size: 9px; letter-spacing: 0.12em;
  color: #00ff66; background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.2);
  padding: 3px 10px;
}

/* ─── STACK ─── */
#stack { background: var(--void); }
.stack-groups { display: flex; flex-direction: column; gap: 24px; }
.sg {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s, transform .5s;
}
.sg.v { opacity: 1; transform: none; }
.sg-label {
  font-size: 9px; letter-spacing: 0.25em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.sg-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sg-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: 11px; letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--ghost);
  color: rgba(0, 255, 200, 0.6);
  transition: all .2s; cursor: default;
}
.pill:hover, .pill.hot { border-color: rgba(0, 255, 200, 0.4); color: var(--cyan); background: rgba(0, 255, 200, 0.06); }
.pill.warm { border-color: rgba(0, 170, 255, 0.3); color: rgba(0, 170, 255, 0.8); background: rgba(0, 170, 255, 0.04); }

/* ─── CONTACT ─── */
#contact {
  background: var(--deep);
  padding: 60px 20px;
  text-align: center;
}
.ct-inner { max-width: 500px; margin: 0 auto; }
.ct-avail {
  font-size: 10px; letter-spacing: 0.2em; color: #00ff66;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 20px;
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.15);
  padding: 8px 16px; width: fit-content; margin-left: auto; margin-right: auto;
}
.ct-head {
  font-family: 'Orbitron', monospace;
  font-size: clamp(36px, 11vw, 72px);
  font-weight: 900; line-height: 0.85;
  letter-spacing: 0.05em; margin-bottom: 14px;
  text-shadow: 0 0 50px rgba(0, 255, 200, 0.2);
}
.ct-h1 { display: block; color: var(--cyan); }
.ct-h2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue);
}
.ct-sub {
  font-size: 12px; color: var(--muted); line-height: 1.8;
  margin-bottom: 32px; letter-spacing: 0.04em;
}
.channels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 28px;
}
.ch {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 12px;
  border: 1px solid var(--border);
  background: var(--ghost);
  text-decoration: none;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.ch::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  transform: scaleX(0); transition: transform .3s;
  transform-origin: left;
}
.ch:hover { transform: translateY(-3px); }
.ch:hover::before { transform: scaleX(1); }
.ch-icon { font-size: 22px; }
.ch-label { font-size: 10px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; }
.ch-desc { font-size: 9px; letter-spacing: 0.08em; opacity: 0.6; }
.ch-email { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.2); }
.ch-email::before { background: #ff6b6b; }
.ch-email:hover { border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.05); }
.ch-discord { color: #7289da; border-color: rgba(114, 137, 218, 0.2); }
.ch-discord::before { background: #7289da; }
.ch-discord:hover { border-color: rgba(114, 137, 218, 0.5); background: rgba(114, 137, 218, 0.05); }
.ch-upwork { color: #14b043; border-color: rgba(20, 176, 67, 0.2); }
.ch-upwork::before { background: #14b043; }
.ch-upwork:hover { border-color: rgba(20, 176, 67, 0.5); background: rgba(20, 176, 67, 0.05); }
.ch-github { color: #aaa; border-color: rgba(170, 170, 170, 0.2); }
.ch-github::before { background: #aaa; }
.ch-github:hover { border-color: rgba(170, 170, 170, 0.5); background: rgba(170, 170, 170, 0.05); }

.ct-footer {
  font-size: 9px; letter-spacing: 0.15em; color: var(--muted);
  padding-top: 24px; border-top: 1px solid var(--border);
  line-height: 2;
}

/* ─── GITHUB INTELLIGENCE ─── */
#github { background: linear-gradient(180deg, var(--deep), var(--void)); position: relative; overflow: hidden; }
.gh-glitch-stripe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 200, 0.05), transparent);
  transform: skewX(-45deg) translateX(-100%);
  animation: gh-stripe 8s infinite cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes gh-stripe { 0% { transform: skewX(-45deg) translateX(-100%); } 10%, 100% { transform: skewX(-45deg) translateX(200%); } }

.github-container {
  display: flex; flex-direction: column; gap: 16px;
  position: relative; z-index: 2;
}
.gh-stats-card {
  background: var(--panel); border: 1px solid var(--border);
  padding: 30px 20px; display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.gh-card-hud-tl, .gh-card-hud-br {
  position: absolute; width: 15px; height: 15px; border: 1.5px solid var(--cyan);
}
.gh-card-hud-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gh-card-hud-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.gh-profile { display: flex; align-items: center; gap: 24px; position: relative; }
.gh-avatar-clip {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--cyan); position: relative;
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.15);
  background: var(--void);
}
.gh-avatar-clip::after {
  content: ''; position: absolute; inset: 0;
  border: 4px solid rgba(0, 255, 200, 0.1);
  border-radius: 50%; pointer-events: none;
}
.gh-avatar-clip img { width: 100%; height: 100%; object-fit: cover; filter: sepia(100%) hue-rotate(130deg) brightness(1.1) contrast(1.2); }
.gh-avatar-scan {
  position: absolute; inset: -20px 0;
  background: linear-gradient(transparent, rgba(0, 255, 200, 0.5), transparent);
  height: 20px; opacity: 0.8;
  animation: gh-scan 4s linear infinite;
  z-index: 2;
  box-shadow: 0 0 15px var(--cyan);
}
.gh-avatar-hud {
  position: absolute; width: 130px; height: 130px;
  top: 50px; left: 50px; transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.gh-avatar-hud svg { width: 100%; height: 100%; animation: spin-slow 12s linear infinite reverse; opacity: 0.4; color: var(--blue); }

@keyframes gh-scan {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(120px); }
}
.gh-info { display: flex; flex-direction: column; gap: 2px; }
.gh-name { font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 900; color: var(--cyan); letter-spacing: 0.05em; }
.gh-user { font-size: 11px; color: var(--blue); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.gh-bio { margin-top: 8px; width: 100%; }
.gh-bio-text { font-size: 11px; color: rgba(0, 255, 200, 0.6); line-height: 1.6; margin-bottom: 8px; }
.gh-meta-grid { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: var(--muted); }
.gh-lang-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.gh-lp {
  padding: 2px 8px; background: rgba(0, 170, 255, 0.08);
  border: 1px solid rgba(0, 170, 255, 0.2); color: var(--blue);
  border-radius: 2px; font-size: 9px; letter-spacing: 0.05em;
}

.gh-met-item {
  background: rgba(1, 3, 9, 0.4); border: 1px solid var(--border);
  padding: 20px 10px; text-align: center; position: relative;
  transition: all 0.3s; cursor: default;
  overflow: hidden;
}
.gh-met-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 100%;
  background: var(--cyan); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gh-met-item:hover { border-color: rgba(0, 255, 200, 0.4); background: rgba(0, 255, 200, 0.05); transform: translateY(-2px); }
.gh-met-item:hover::before { transform: scaleY(1); }
.gh-met-val { font-family: 'Orbitron', monospace; font-size: 22px; font-weight: 900; color: var(--cyan); text-shadow: 0 0 15px rgba(0, 255, 200, 0.3); }
.gh-met-lab { font-size: 8px; letter-spacing: 0.15em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }

.gh-activity-panel {
  background: var(--panel); border: 1px solid var(--border); padding: 0;
  display: flex; flex-direction: column; overflow: hidden;
  position: relative;
}
.gh-header-meta { display: flex; align-items: center; gap: 10px; }
.gh-status-text { font-size: 8px; color: #0f0; letter-spacing: 0.1em; opacity: 0.7; }
.gh-status-dot { width: 6px; height: 6px; background: #0f0; border-radius: 50%; box-shadow: 0 0 8px #0f0; animation: blink-dot 1.5s infinite; }
.gh-feed { min-height: 180px; max-height: 320px; overflow-y: auto; padding: 0; scrollbar-width: none; }
.gh-feed::-webkit-scrollbar { display: none; }

.gh-panel-footer {
  background: rgba(0, 0, 0, 0.4); border-top: 1px solid var(--border);
  padding: 8px 16px; display: flex; justify-content: space-between; align-items: center;
}
.gh-f-code { font-size: 8px; color: var(--muted); font-family: 'Share Tech Mono', monospace; }
.gh-f-status { font-size: 8px; color: var(--dim); }

.gh-event {
  padding: 14px 16px; border-bottom: 1px solid rgba(0, 255, 200, 0.05);
  display: flex; align-items: flex-start; gap: 12px;
  position: relative;
}
.gh-event:hover { background: rgba(0, 255, 200, 0.03); }
.gh-event::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--cyan); opacity: 0; transition: opacity 0.3s;
}
.gh-event:hover::before { opacity: 1; }
.gh-ev-icon { font-size: 14px; opacity: 0.8; }
.gh-ev-title { font-size: 11px; color: var(--cyan); font-weight: 700; }
.gh-ev-repo { font-size: 10px; color: var(--blue); opacity: 0.8; }
.gh-ev-time { font-size: 9px; color: var(--muted); margin-top: 4px; font-family: 'Share Tech Mono'; }

.gh-contribution-card { 
  background: var(--panel); border: 1px solid var(--border); margin-top: 4px; 
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 255, 200, 0.05);
}
.gh-contribution-card:hover {
  border-color: rgba(0, 255, 200, 0.3);
  box-shadow: inset 0 0 50px rgba(0, 255, 200, 0.08);
}
.gh-contribution-card::before {
  content: 'ENCRYPTED_CONTRIBUTION_DATA'; position: absolute; top: 10px; right: 16px;
  font-size: 8px; color: var(--muted); opacity: 0.4;
  letter-spacing: 0.1em;
}
.gh-graph-wrap {
  padding: 35px 25px; position: relative; overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.gh-graph-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 255, 200, 0.05) 45%, rgba(0, 255, 200, 0.1) 50%, rgba(0, 255, 200, 0.05) 55%, transparent 60%);
  background-size: 200% 200%;
  animation: holo-shimmer 6s infinite linear;
  pointer-events: none;
  z-index: 2;
}
@keyframes holo-shimmer {
  0% { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}
@keyframes graph-glitch {
  0%, 88% { filter: saturate(2) contrast(1.3) brightness(1.1); transform: none; }
  90% { filter: saturate(4) contrast(1.5) hue-rotate(45deg); transform: translateX(2px); }
  92% { filter: saturate(2) contrast(1.3) brightness(1.1); transform: translateX(-2px); }
  94% { filter: saturate(5) hue-rotate(-45deg); transform: scale(1.01); }
  100% { filter: saturate(2) contrast(1.3) brightness(1.1); transform: none; }
}
.gh-graph-wrap img { 
  width: 100%; height: auto; display: block; 
  filter: saturate(2) contrast(1.3) brightness(1.1) drop-shadow(0 0 15px rgba(0, 255, 200, 0.2)); 
  position: relative; z-index: 1;
  animation: graph-glitch 10s infinite;
}
.gh-graph-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--panel) 0%, transparent 15%, transparent 85%, var(--panel) 100%);
}
.gh-graph-decor {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: 
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 30px 30px;
}
.gh-graph-scanner {
  position: absolute; top: 0; bottom: 0; width: 3px;
  background: var(--cyan); box-shadow: 0 0 20px var(--cyan);
  opacity: 0.8;
  animation: graph-scan 6s linear infinite;
  z-index: 5;
}
@keyframes graph-scan { 0% { left: 0%; opacity: 0; } 5%, 95% { opacity: 0.8; } 100% { left: 100%; opacity: 0; } }


/* ─── MARQUEE ─── */
.mq {
  padding: 12px 0; overflow: hidden;
  background: rgba(0, 255, 200, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 10;
}
.mq-inner {
  display: flex; gap: 40px;
  animation: mq-run 30s linear infinite;
  width: max-content;
}
.mq-inner span {
  font-size: 10px; letter-spacing: 0.2em; color: var(--muted);
  white-space: nowrap; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.mq-inner span::after { content: '◆'; color: var(--cyan); font-size: 6px; }
@keyframes mq-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── ANIMATIONS ─── */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── GLITCH FLICKER on name ─── */
.glitch-wrap { position: relative; display: inline-block; }
.glitch-wrap::before, .glitch-wrap::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  font-family: 'Orbitron', monospace; font-weight: 900;
  font-size: inherit; letter-spacing: inherit; line-height: inherit;
  pointer-events: none;
}
.glitch-wrap::before {
  color: var(--red);
  clip-path: polygon(0 35%, 100% 35%, 100% 45%, 0 45%);
  transform: translateX(-3px);
  animation: glitch-a 4s 2s infinite;
}
.glitch-wrap::after {
  color: var(--blue);
  clip-path: polygon(0 65%, 100% 65%, 100% 75%, 0 75%);
  transform: translateX(3px);
  animation: glitch-b 4s 2.1s infinite;
}
@keyframes glitch-a {
  0%, 90%, 100% { opacity: 0; transform: translateX(0); }
  92% { opacity: 1; transform: translateX(-4px); }
  94% { opacity: 0; transform: translateX(2px); }
  96% { opacity: 1; transform: translateX(-2px); }
  98% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 90%, 100% { opacity: 0; transform: translateX(0); }
  93% { opacity: 1; transform: translateX(4px); }
  95% { opacity: 0; transform: translateX(-3px); }
  97% { opacity: 1; transform: translateX(2px); }
  99% { opacity: 0; }
}

/* ─── HUD DATA OVERLAYS ─── */
.hud-data {
  position: absolute; z-index: 4;
  font-size: 9px; letter-spacing: 0.1em; color: var(--muted);
  pointer-events: none;
}
.hd-tl { bottom: 52%; left: 10px; }
.hd-br { bottom: 2%; right: 10px; text-align: right; }
.hd-line { margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.hd-line::before { content: '▸'; color: var(--cyan); font-size: 7px; }

/* ─── DESKTOP ─── */
@media(min-width:768px) {
  #statusbar { padding: 0 40px; }

  #hero { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .photo-zone {
    position: absolute;
    right: 0; top: 44px; bottom: 0;
    width: 48%; height: auto;
  }
  .photo-zone img {
    object-position: center 10%;
    opacity: 0.7;
  }
  .photo-zone::before {
    background: linear-gradient(
      to right,
      var(--void) 0%,
      rgba(1, 3, 9, 0.9) 15%,
      rgba(1, 3, 9, 0.3) 60%,
      rgba(1, 3, 9, 0.1) 100%
    ),
    linear-gradient(
      to bottom,
      var(--void) 0%,
      transparent 10%,
      transparent 80%,
      var(--void) 100%
    );
  }
  .scan-ring {
    bottom: 50%; right: 50%;
    transform: translate(70%, 50%);
    width: 240px; height: 240px;
  }
  .hero-text {
    padding: 60px 40px;
    justify-content: center;
    max-width: 55%;
  }
  .hero-name { font-size: clamp(60px, 8vw, 110px); }

  .section { padding: 100px 60px; }
  .cap-grid { grid-template-columns: repeat(4, 1fr); }
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }

  .log { flex-direction: row; align-items: center; padding: 28px 32px; }
  .log-id { width: 130px; flex-shrink: 0; }
  .log-name { flex: 1; font-size: 20px; }
  .log-chips { justify-content: flex-end; }

  .proof-list {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }

  .channels { grid-template-columns: repeat(4, 1fr); }
  #terminal { padding: 0 60px 80px; }

  .github-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .gh-stats-card { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
  .gh-activity-panel { grid-column: 2; height: 380px; }
  .gh-contribution-card { grid-column: 2; margin-top: 0; }
  .gh-contribution-card:hover .gh-graph-scanner { animation-duration: 3s; }
}

@media(max-width:767px) {
  .github-container { gap: 10px; }
  .gh-metrics { grid-template-columns: 1fr; }
  .gh-stats-card { padding: 20px 15px; }
  .gh-avatar-hud { display: none; }
  .gh-name { font-size: 16px; }
  .gh-graph-wrap { padding: 20px 10px; }
}

/* ─── NEXT-GEN INTERACTION POLISH ─── */
@media (hover: none) {
  /* Mobile Touch Feedback */
  .log:active, .arch-card:active, .cap-card:active, .btn-a:active, .btn-b:active, .btn-more:active {
    background: rgba(0, 255, 200, 0.1) !important;
    transform: scale(0.98);
    transition: transform 0.1s;
  }
}

/* ─── MORE MISSIONS BUTTON ─── */
.more-missions { display: flex; justify-content: center; margin-top: 40px; padding-bottom: 20px; }
.btn-more {
  display: flex; align-items: center; gap: 16px; padding: 20px 40px;
  background: var(--ghost); border: 1px solid var(--border);
  color: var(--cyan); text-decoration: none; font-family: 'Orbitron', sans-serif;
  font-size: 11px; letter-spacing: .2em; font-weight: 700;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  z-index: 1;
}
.btn-more::before { content: ''; position: absolute; inset: 0; background: var(--cyan); opacity: 0; transition: opacity .4s; z-index: -1; }
.btn-more:hover { border-color: var(--cyan); color: var(--void); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,255,200,0.2); }
.btn-more:hover::before { opacity: 1; }
.btn-more:hover .btn-icon { transform: translateX(8px); }
.btn-icon { transition: transform .4s; font-size: 14px; }

/* ─── SMOOTH SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  z-index: 1000; transition: width 0.1s;
}

