/* ═══════════════════════════════════════════════
   JGA PORTFOLIO — PREMIUM PARALLAX REDESIGN 2025
   ═══════════════════════════════════════════════ */

/* RESET & ROOT */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 80, 255, .4) rgba(255, 255, 255, .05)
}

:root {
  /* Core Palette */
  --bg: #020208;
  --bg2: #06060f;
  --bg3: #0a0a1a;
  --glass: rgba(255, 255, 255, .04);
  --glass2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .08);
  --border2: rgba(255, 255, 255, .14);

  /* Accents */
  --purple: #8250ff;
  --purple2: #b094ff;
  --cyan: #00f5d4;
  --cyan2: #7ffff4;
  --pink: #ff4eb8;
  --gold: #ffd449;

  /* Text */
  --t: #f0f0ff;
  --t2: #a0a0c0;
  --dim: rgba(255, 255, 255, .15);

  /* Gradients */
  --grad: linear-gradient(135deg, var(--purple), var(--cyan));
  --grad2: linear-gradient(135deg, var(--pink), var(--purple));
  --glow-purple: 0 0 40px rgba(130, 80, 255, .4);
  --glow-cyan: 0 0 40px rgba(0, 245, 212, .3);

  /* Typography */
  --ff: 'Space Grotesk', sans-serif;
  --fi: 'Outfit', sans-serif;
  --fm: 'JetBrains Mono', monospace;

  /* Timing */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

body {
  font-family: var(--fi);
  background: var(--bg);
  color: var(--t);
  overflow-x: hidden;
  min-height: 100vh
}

::selection {
  background: var(--purple);
  color: #fff
}

a {
  text-decoration: none;
  color: inherit
}

img {
  display: block
}

button {
  font-family: inherit
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .03)
}

::-webkit-scrollbar-thumb {
  background: rgba(130, 80, 255, .4);
  border-radius: 3px
}

/* CONTAINER */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2
}

/* NOISE OVERLAY */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

/* ────────── SCROLL PROGRESS ────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad);
  z-index: 600;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 14px rgba(0,245,212,.8);
}

/* ────────── SPARKLES ────────── */
.sparkle {
  position: fixed;
  width: 5px; height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%,-50%);
  opacity: 1;
  transition: transform 0.85s cubic-bezier(.1,.8,.3,1), opacity 0.85s ease;
}

/* ────────── AURORA BACKGROUND ────────── */
.aurora {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.aurora::before, .aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: auroraFloat 12s ease-in-out infinite;
}
.aurora::before {
  width: 600px; height: 400px;
  background: linear-gradient(135deg, rgba(130,80,255,.35), rgba(0,245,212,.2));
  top: -10%; left: 20%;
}
.aurora::after {
  width: 500px; height: 380px;
  background: linear-gradient(135deg, rgba(255,78,184,.28), rgba(130,80,255,.22));
  bottom: -5%; right: 15%;
  animation-delay: 6s;
}
@keyframes auroraFloat {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  30%  { opacity: 1; }
  70%  { opacity: .85; }
  100% { opacity: 0; transform: translateY(-60px) scale(1.15); }
}

/* ────────── CURSOR TRAIL ────────── */
.trail-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity .4s ease;
}

/* ────────── BACK TO TOP BUTTON ────────── */
.btn-top {
  position: fixed;
  bottom: 2.2rem; right: 2.2rem;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              var(--grad) border-box;
  border: 1px solid transparent;
  color: var(--t);
  display: flex; align-items: center; justify-content: center;
  z-index: 490;
  opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .25s;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.btn-top.show {
  opacity: 1; transform: translateY(0) scale(1);
}
.btn-top:hover {
  box-shadow: 0 0 28px rgba(130,80,255,.5), 0 8px 32px rgba(0,0,0,.5);
  transform: translateY(-3px) scale(1.05);
}

/* ────────── SKILL LEARNING NOTE ────────── */
.sk-learning-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(130, 80, 255, 0.08);
  border: 1px dashed rgba(130, 80, 255, 0.3);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  color: var(--t2);
  font-size: 0.85rem;
  line-height: 1.4;
}
.sk-learning-note i {
  color: var(--cyan);
  flex-shrink: 0;
}

/* ────────── CIRCULAR SKILL RINGS ────────── */
.skc {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.skc::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.skc:hover { border-color: rgba(130,80,255,.4); transform: translateY(-7px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.skc:hover::after { opacity: .05; }
.ring-wrap {
  position: relative;
  width: 72px; height: 72px;
  flex-shrink: 0;
}
.ring-wrap img {
  position: absolute;
  width: 30px; height: 30px;
  object-fit: contain;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
}
.ring-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.07);
  stroke-width: 4;
}
.ring-fg {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 163.4; /* 2π×26 */
  stroke-dashoffset: 163.4;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1) .3s;
}
.skc.animated .ring-fg {
  stroke-dashoffset: var(--dash-offset, 163.4);
}
.skc span {
  font-weight: 700; font-size: .86rem;
  position: relative; z-index: 1;
}
.skc-pct {
  font-family: var(--fm);
  font-size: .7rem !important;
  color: var(--t2) !important;
  font-weight: 500 !important;
}

/* ────────── SCRAMBLE GLITCH KEYFRAME ────────── */
@keyframes glitch {
  0%,100% { clip-path: inset(0 0 100% 0); }
  20%      { clip-path: inset(30% 0 50% 0); transform: translate(-2px); }
  40%      { clip-path: inset(60% 0 10% 0); transform: translate(2px); }
  60%      { clip-path: inset(10% 0 70% 0); transform: translate(-1px); }
  80%      { clip-path: inset(80% 0 0 0);   transform: translate(1px); }
}

/* ────────── CUSTOM CURSOR ────────── */
.cur {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width .18s, height .18s, background .2s, opacity .2s;
  mix-blend-mode: difference
}

.cur-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(130, 80, 255, .5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, opacity .3s
}

.cur.big {
  width: 16px;
  height: 16px;
  background: var(--purple)
}

.cur-ring.big {
  width: 48px;
  height: 48px;
  border-color: rgba(130, 80, 255, .8)
}

.cur.hidden,
.cur-ring.hidden {
  opacity: 0
}

/* ────────── NAVIGATION ────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0;
  transition: all .4s var(--ease)
}

.nav.scroll {
  background: rgba(2, 2, 8, .85);
  backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--border)
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem
}

.logo {
  font-family: var(--ff);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  letter-spacing: -.02em
}

.logo i {
  color: var(--purple)
}

.nmenu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto
}

.nmenu a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--t2);
  transition: color .2s;
  position: relative;
  font-family: var(--fi)
}

.nmenu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--grad);
  transition: width .3s var(--ease)
}

.nmenu a:hover,
.nmenu a.active {
  color: var(--t)
}

.nmenu a:hover::after,
.nmenu a.active::after {
  width: 100%
}

.nhire {
  background: var(--glass2);
  color: var(--t) !important;
  border: 1px solid var(--border2);
  padding: .52rem 1.3rem;
  border-radius: 10px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: .82rem;
  transition: all .25s;
  position: relative;
  overflow: hidden
}

.nhire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s
}

.nhire:hover::before {
  opacity: 1
}

.nhire span {
  position: relative;
  z-index: 1
}

.nburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  margin-left: auto;
  padding: .5rem
}

.nburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--t);
  border-radius: 2px;
  transition: all .3s
}

/* ────────── COMMON SECTION LABELS ────────── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--fm);
  font-size: .7rem;
  color: var(--purple2);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  background: rgba(130, 80, 255, .1);
  border: 1px solid rgba(130, 80, 255, .22);
  padding: .28rem .85rem;
  border-radius: 999px
}

.sec-h2 {
  font-family: var(--ff);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: .85rem
}

.sec-sub {
  color: var(--t2);
  font-size: .97rem;
  margin-bottom: 2.8rem;
  line-height: 1.7
}

.center {
  text-align: center
}

/* ────────── BUTTONS ────────── */
.cta-main {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--grad);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 12px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 32px rgba(130, 80, 255, .4);
  transition: all .3s;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap
}

.cta-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity .3s
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(130, 80, 255, .55)
}

.cta-main:hover::before {
  opacity: 1
}

.cta-main>* {
  position: relative;
  z-index: 1
}

.cta-main.full {
  width: 100%;
  justify-content: center
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1.5px solid var(--border2);
  color: var(--t);
  padding: .9rem 2.2rem;
  border-radius: 12px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s;
  background: var(--glass)
}

.cta-ghost:hover {
  border-color: var(--purple);
  background: rgba(130, 80, 255, .1);
  box-shadow: 0 0 30px rgba(130, 80, 255, .15)
}

/* ────────── SECTION DIVIDERS ────────── */
.diag-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 90px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1
}

.diag-bottom.d-bg2 {
  background: var(--bg2)
}

.diag-bottom.d-bg {
  background: var(--bg)
}

.diag-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 90px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 1
}

.diag-top.d-bg {
  background: var(--bg)
}

.diag-top.d-bg2 {
  background: var(--bg2)
}

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

/* Nebula background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  animation: nebPulse 8s ease-in-out infinite
}

.neb1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(130, 80, 255, .25), transparent 70%);
  top: -30%;
  left: -20%;
  animation-delay: 0s
}

.neb2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 245, 212, .2), transparent 70%);
  bottom: -20%;
  right: -15%;
  animation-delay: 3s
}

.neb3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 78, 184, .18), transparent 70%);
  top: 30%;
  left: 55%;
  animation-delay: 5s
}

@keyframes nebPulse {

  0%,
  100% {
    opacity: .8;
    transform: scale(1)
  }

  50% {
    opacity: 1;
    transform: scale(1.08)
  }
}

/* Grid overlay */
.hb-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(130, 80, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 80, 255, .04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent)
}

/* Stars canvas */
#starsCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

/* Hero content */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 960px;
  animation: heroIn .9s var(--ease)
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(50px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: .5rem 1.4rem;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--t2);
  margin-bottom: 2.2rem;
  backdrop-filter: blur(10px)
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dpulse 2.2s ease-in-out infinite
}

@keyframes dpulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 245, 212, .7)
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 245, 212, 0)
  }
}

.hero-name {
  font-family: var(--ff);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.0;
  margin-bottom: 1.4rem
}

.hn-top {
  display: block;
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  color: var(--t)
}

.hn-bot {
  display: block;
  font-size: clamp(4rem, 10vw, 8rem);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hn-dot {
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan)
}

.hero-sub-line {
  font-family: var(--fm);
  font-size: 1.1rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-bottom: 1.6rem;
  min-height: 2.2rem
}

.mono-caret {
  color: rgba(130, 80, 255, .6)
}

.blink {
  animation: blink .65s steps(1) infinite;
  color: var(--purple2)
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--t2);
  max-width: 580px;
  margin: 0 auto 2.8rem;
  line-height: 1.9
}

.hero-desc em {
  color: var(--t);
  font-style: normal;
  font-weight: 600
}

.hero-ctas {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2
}

.hs-item {
  text-align: center
}

.hs-n {
  display: block;
  font-family: var(--ff);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.04em
}

.hs-l {
  font-size: .68rem;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: .1rem;
  display: block
}

.hs-sep {
  width: 1px;
  height: 40px;
  background: var(--border2)
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--t2);
  font-size: .65rem;
  font-family: var(--fm);
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: floatY 2.5s ease-in-out infinite;
  z-index: 2
}

@keyframes floatY {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--purple), transparent)
}

/* ════════════════════════════
   ABOUT
   ════════════════════════════ */
.s-about {
  position: relative;
  background: var(--bg2);
  padding: 10rem 0;
  overflow: hidden
}

.about-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(130, 80, 255, .07), transparent 70%);
  top: -20%;
  right: -20%;
  pointer-events: none
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 6rem;
  align-items: center
}

/* Avatar */
.avatar-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto
}

.av-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--pink), var(--purple));
  animation: spinRing 7s linear infinite;
  opacity: .7
}

@keyframes spinRing {
  to {
    transform: rotate(360deg)
  }
}

.av-ring-mask {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple), var(--cyan), var(--pink), var(--purple));
  animation: spinRing 7s linear infinite;
  opacity: .7;
  filter: blur(4px)
}

.av-box {
  position: absolute;
  inset: 12px;
  background: var(--bg2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  overflow: hidden
}

.av-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.av-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(6, 6, 15, .95);
  border: 1px solid var(--border2);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--purple2);
  white-space: nowrap;
  backdrop-filter: blur(12px)
}

.t1 {
  top: -12px;
  right: -30px;
  animation: tagF 3.5s ease-in-out infinite
}

.t2 {
  bottom: 15px;
  right: -45px;
  animation: tagF 3.5s ease-in-out infinite 1.2s
}

.t3 {
  bottom: -12px;
  left: -20px;
  animation: tagF 3.5s ease-in-out infinite 2.4s
}

@keyframes tagF {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.about-right {}

.ab-lead {
  font-family: var(--ff);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1.1rem
}

.ab-p {
  color: var(--t2);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: .9rem
}

.ab-p strong {
  color: var(--t);
  font-weight: 600
}

.ab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.8rem
}

.ab-chips span {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(130, 80, 255, .07);
  border: 1px solid rgba(130, 80, 255, .2);
  color: var(--purple2);
  padding: .42rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  transition: all .25s
}

.ab-chips span:hover {
  background: rgba(130, 80, 255, .15);
  border-color: var(--purple);
  transform: translateY(-2px)
}

/* ════════════════════════════
   SKILLS
   ════════════════════════════ */
.s-skills {
  background: var(--bg);
  padding: 9rem 0;
  position: relative;
  overflow: hidden
}

.skill-tabs {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap
}

.stab {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--t2);
  padding: .58rem 1.5rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  font-family: var(--fi);
  transition: all .25s;
  position: relative;
  overflow: hidden
}

.stab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s
}

.stab>* {
  position: relative;
  z-index: 1
}

.stab:hover {
  color: var(--t);
  border-color: var(--border2)
}

.stab.on {
  border-color: var(--purple);
  color: var(--t)
}

.stab.on::before {
  opacity: .15
}

.sk-panel {
  display: none;
  animation: tabIn .4s var(--ease)
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.sk-panel.on {
  display: block
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.4rem;
}

/* ════════════════════════════
   EDUCATION
   ════════════════════════════ */
.s-edu {
  position: relative;
  background: var(--bg2);
  padding: 10rem 0;
  overflow: hidden
}

.edu-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(130, 80, 255, .2), rgba(0, 245, 212, .15), transparent);
  transform: translateX(-50%)
}

.edu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 1.5rem;
  align-items: start;
}

/* Card base */
.edu-card {
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              radial-gradient(140px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(130, 80, 255, 0.35), rgba(0, 245, 212, 0.2), transparent 75%) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .4s var(--ease), background .35s;
  position: relative;
  cursor: pointer;
}

.edu-card:hover {
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              radial-gradient(160px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), var(--purple), var(--cyan), transparent 60%) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), var(--glow-purple)
}

.edu-card.expanded {
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
              var(--grad) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(130, 80, 255, .2)
}

/* Accent bar */
.ecard-accent {
  height: 3px;
  width: 100%
}

.binus-accent {
  background: linear-gradient(90deg, #ff6b00, #ffaa00, #ff6b00);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite
}

.smk-accent {
  background: linear-gradient(90deg, #0066ff, #00aaff, #0066ff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite
}

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

  100% {
    background-position: -200% 0
  }
}

/* Card body */
.ecard-body {
  padding: 2rem
}

.ecard-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(0, 245, 212, .1);
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .75rem;
  border-radius: 6px;
  margin-bottom: .8rem;
  font-family: var(--fm);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 245, 212, .2)
}

.ecard-period {
  font-family: var(--fm);
  font-size: .75rem;
  color: var(--t2);
  margin-bottom: 1.1rem;
  letter-spacing: .05em
}

.ecard-inst {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem
}

.inst-logo {
  height: 54px;
  min-width: 54px;
  max-width: 140px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 5px 12px
}

.inst-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain
}

.logo-fb {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--ff);
  font-weight: 900;
  text-align: center;
  line-height: 1.2
}

.binus-fb {
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  color: #fff;
  font-size: .6rem
}

.smk-fb {
  background: linear-gradient(135deg, #0055ff, #00aaff);
  color: #fff;
  font-size: .56rem
}

.ecard-inst h3 {
  font-family: var(--ff);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .2rem;
  letter-spacing: -.02em
}

.inst-major {
  color: var(--purple2);
  font-size: .8rem
}

.ecard-desc {
  color: var(--t2);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 1rem
}

.ecard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1.1rem
}

.ecard-tags span {
  background: rgba(130, 80, 255, .08);
  color: var(--purple2);
  padding: .2rem .65rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  border: 1px solid rgba(130, 80, 255, .15)
}

/* ── Toggle Button ── */
.ecard-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, rgba(130, 80, 255, .08), rgba(0, 245, 212, .05));
  border: 1px solid rgba(130, 80, 255, .25);
  border-radius: 999px;
  padding: .52rem 1.2rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--purple2);
  font-family: var(--ff);
  transition: all .3s var(--ease);
  width: fit-content;
}

.tgl-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dpulse 2.2s ease-in-out infinite;
  display: inline-block
}

.tgl-text {
  white-space: nowrap
}

.ecard-toggle i {
  transition: transform .4s var(--ease);
  flex-shrink: 0;
  color: var(--purple)
}

.ecard-toggle:hover {
  background: linear-gradient(135deg, rgba(130, 80, 255, .16), rgba(0, 245, 212, .1));
  border-color: var(--purple);
  color: var(--t);
  box-shadow: 0 0 24px rgba(130, 80, 255, .2)
}

.edu-card.expanded .ecard-toggle {
  background: linear-gradient(135deg, rgba(130, 80, 255, .2), rgba(0, 245, 212, .12));
  border-color: var(--purple);
  color: var(--t)
}

.edu-card.expanded .tgl-dot {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple)
}

.edu-card.expanded .ecard-toggle i {
  transform: rotate(180deg)
}

/* ── Expandable Details (grid-based smooth animation) ── */
.ecard-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}

.edu-card.expanded .ecard-details {
  grid-template-rows: 1fr
}

.ecard-details-inner {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s ease .1s, transform .4s ease .1s;
}

.edu-card.expanded .ecard-details-inner {
  opacity: 1;
  transform: none
}

/* ── Details Glass Panel ── */
.ed-panel {
  background: linear-gradient(145deg, rgba(130, 80, 255, .06), rgba(0, 245, 212, .03));
  border-top: 1px solid rgba(130, 80, 255, .15);
  padding: 1.6rem 2rem 2rem;
  position: relative;
}

.ed-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 80, 255, .5), rgba(0, 245, 212, .4), transparent);
}

.ed-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0
}

.ed-sep {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .09), transparent);
  margin: 0 1.6rem
}

.ed-col-head {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.1rem
}

.ed-col-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: .05rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.ic-a {
  background: rgba(0, 245, 212, .1);
  border: 1px solid rgba(0, 245, 212, .25);
  color: var(--cyan)
}

.ic-p {
  background: rgba(130, 80, 255, .1);
  border: 1px solid rgba(130, 80, 255, .25);
  color: var(--purple)
}

.ed-col-head h4 {
  font-family: var(--ff);
  font-size: .9rem;
  font-weight: 800;
  color: var(--t);
  margin: 0;
  line-height: 1.3;
  flex: 1;
  letter-spacing: -.01em
}

.ed-col-head h4 small {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--t2);
  font-family: var(--fm);
  margin-top: .15rem;
  line-height: 1.3;
  letter-spacing: 0
}

.ed-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.ed-col li {
  font-size: .79rem;
  color: var(--t2);
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: .55rem
}

.li-chip {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: .08rem;
  background: rgba(130, 80, 255, .1);
  border: 1px solid rgba(130, 80, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  font-weight: 900;
  color: var(--purple2);
  font-family: var(--fm)
}

.ed-col.alt .li-chip {
  background: rgba(0, 245, 212, .08);
  border-color: rgba(0, 245, 212, .22);
  color: var(--cyan)
}

/* ════════════════════════════
   PROJECTS
   ════════════════════════════ */
.s-projects {
  position: relative;
  background: var(--bg);
  padding: 9rem 0 10rem;
  overflow: hidden
}

.proj-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 245, 212, .06), transparent 70%);
  bottom: -30%;
  right: -20%;
  pointer-events: none
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem
}

.pj {
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              radial-gradient(140px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(130, 80, 255, 0.35), rgba(0, 245, 212, 0.2), transparent 75%) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
  transform-style: preserve-3d
}

/* Mouse-glow spot */
.pj .card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 80, 255, .18), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s
}

.pj:hover .card-glow {
  opacity: 1
}

.pj:hover {
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              radial-gradient(160px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), var(--purple), var(--cyan), transparent 60%) border-box;
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4)
}

.pj.pj-feat {
  background: rgba(18, 16, 35, 0.85);
  border: 1px solid rgba(130, 80, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(130, 80, 255, 0.15);
}

.pj.pj-feat h3 {
  color: #ffffff;
}

.pj.pj-feat p {
  color: #e2e8f0;
}

.pj.pj-feat .pj-num {
  color: #a78bfa;
}

.pj.pj-feat .pj-badge {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(130, 80, 255, 0.4);
}

.pj.pj-feat .pj-tags span {
  background: rgba(130, 80, 255, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(130, 80, 255, 0.35);
}

/* subtle top shimmer line only */
.pj.pj-feat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(130,80,255,.8) 30%, rgba(0,245,212,.7) 70%, transparent 100%);
}

.pj-num {
  font-family: var(--fm);
  font-size: .67rem;
  color: var(--dim);
  letter-spacing: .18em;
  margin-bottom: 1.2rem;
  text-transform: uppercase
}

.pj-ico {
  width: 54px;
  height: 54px;
  background: rgba(130, 80, 255, .1);
  border: 1px solid rgba(130, 80, 255, .22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 1.1rem;
  transition: all .3s
}

.pj:hover .pj-ico {
  background: rgba(130, 80, 255, .18);
  box-shadow: 0 8px 24px rgba(130, 80, 255, .25)
}

.pj-badge {
  display: inline-flex;
  background: var(--grad);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  padding: .2rem .6rem;
  border-radius: 6px;
  margin-bottom: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.pj h3 {
  font-family: var(--ff);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .65rem;
  letter-spacing: -.02em
}

.pj p {
  color: var(--t2);
  font-size: .85rem;
  line-height: 1.8;
  margin-bottom: 1.3rem
}

.pj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: 1.3rem
}

.pj-tags span {
  background: rgba(0, 245, 212, .07);
  color: var(--cyan);
  border: 1px solid rgba(0, 245, 212, .18);
  padding: .2rem .65rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600
}

.pj-links {
  display: flex;
  gap: .4rem
}

.pj-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--t2);
  transition: all .22s
}

.pj-links a:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(130, 80, 255, .1);
  box-shadow: 0 0 16px rgba(130, 80, 255, .2)
}

/* ════════════════════════════
   CONTACT
   ════════════════════════════ */
.s-contact {
  background: var(--bg2);
  padding: 10rem 0;
  position: relative;
  overflow: hidden
}

.contact-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(130, 80, 255, .07), transparent 70%);
  top: -20%;
  left: -10%;
  pointer-events: none
}

.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start
}

.ct-info {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.ct-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  transition: all .3s
}

.ct-row:hover {
  border-color: rgba(130, 80, 255, .3);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3)
}

.ct-row i {
  color: var(--purple);
  flex-shrink: 0
}

.ct-row span {
  font-size: .68rem;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: .12em;
  display: block;
  margin-bottom: .15rem
}

.ct-row strong {
  font-size: .88rem;
  color: var(--t);
  font-weight: 600
}

.ct-avail {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(0, 245, 212, .06);
  border: 1px solid rgba(0, 245, 212, .18);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  color: var(--cyan);
  font-size: .83rem;
  font-weight: 600;
  margin-top: .4rem
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: dpulse 2.2s ease-in-out infinite;
  flex-shrink: 0
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.fg {
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.fg label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: .05em
}

.fg input,
.fg textarea {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: .82rem 1.1rem;
  color: var(--t);
  font-family: var(--fi);
  font-size: .9rem;
  outline: none;
  transition: all .25s;
  width: 100%;
  resize: vertical
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(255, 255, 255, .2)
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(130, 80, 255, .1), var(--glow-purple)
}

.form-success {
  display: none;
  align-items: center;
  gap: .55rem;
  background: rgba(0, 245, 212, .06);
  border: 1px solid rgba(0, 245, 212, .22);
  color: var(--cyan);
  border-radius: 11px;
  padding: .9rem 1.1rem;
  font-weight: 600;
  font-size: .88rem
}

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

.ft-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center
}

.ft-inner p {
  color: var(--t2);
  font-size: .82rem
}

.ft-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .25) !important;
  font-size: .74rem !important
}

/* ────────── SCROLL REVEAL ────────── */
.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease), transform .75s var(--ease)
}

.rv.in {
  opacity: 1;
  transform: none
}

.rv2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.rv2.in {
  opacity: 1;
  transform: none
}

/* ────────── RESPONSIVE ────────── */
@media(max-width:960px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 4rem
  }

  .about-left {
    margin-bottom: 2rem
  }

  .edu-cards,
  .proj-grid,
  .ct-layout {
    grid-template-columns: 1fr
  }

  .hero-stats {
    gap: 2rem
  }
}

@media(max-width:640px) {
  .nmenu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(2, 2, 8, .97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1.8rem 2rem;
    gap: 1.8rem;
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    border-bottom: 1px solid var(--border);
    z-index: 499
  }

  .nmenu.open {
    transform: translateY(0)
  }

  .nhire {
    display: none
  }

  .nburger {
    display: flex
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center
  }

  .hero-stats {
    display: none
  }

  .t1,
  .t2,
  .t3 {
    display: none
  }

  .fg-row {
    grid-template-columns: 1fr
  }

  .ed-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem
  }

  .ed-sep {
    display: none
  }

  .ed-panel {
    padding: 1.3rem
  }

  .ecard-toggle {
    padding: .38rem .85rem;
    font-size: .68rem;
    gap: .45rem
  }

  .tgl-dot {
    width: 6px;
    height: 6px
  }
}

/* Hide custom cursor on mobile / tablet screens */
@media(max-width: 1024px) {
  .cur,
  .cur-ring,
  .trail-container,
  .trail-dot {
    display: none !important;
  }
}