/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #06080f;
  --bg-dark:   #030508;
  --bg-card:   rgba(255,255,255,0.03);
  --bg-card-h: rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(0,255,135,0.35);

  --green:     #00ff87;
  --green-dim: #00cc6a;
  --green-glow:rgba(0,255,135,0.12);
  --green-g2:  rgba(0,255,135,0.06);
  --blue:      #00c8ff;
  --blue-glow: rgba(0,200,255,0.12);

  --text:      #e2e8f0;
  --text-dim:  #94a3b8;
  --text-muted:#475569;

  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --sans: 'Inter', system-ui, sans-serif;

  --radius: 10px;
  --trans: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dim); border-radius: 99px; }

/* ── Nav ───────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(6,8,15,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--mono);
  font-size: 1rem; font-weight: 700;
  color: var(--green);
  text-decoration: none; margin-right: auto;
  letter-spacing: 0.05em;
}
.logo-bracket { opacity: 0.5; }

.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem; color: var(--text-dim);
  text-decoration: none; transition: color var(--trans);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--green); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: 1.5rem;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dim); border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Drawer ─────────────────────── */
.drawer {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  background: rgba(6,8,15,0.97);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem 2rem;
}
.drawer.open { display: flex; }
.drawer-link {
  padding: 0.8rem 0;
  font-size: 0.95rem; color: var(--text-dim);
  text-decoration: none; border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.drawer-link:last-child { border: none; }
.drawer-link:hover { color: var(--green); }

/* ── Orbs / Background ─────────────────── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,255,135,0.08) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: float1 12s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,255,0.08) 0%, transparent 70%);
  top: 200px; right: -50px;
  animation: float2 15s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation: float1 10s ease-in-out infinite reverse;
}
.orb-contact {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,135,0.07) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-40px) scale(1.05); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-20px,30px) scale(0.97); }
}
@keyframes pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}

/* grid noise texture */
.noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Hero ──────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 64px;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; width: 100%;
  padding: 5rem 2rem 4rem;
  display: flex; align-items: center; gap: 4rem;
}

.hero-left { flex: 1; min-width: 0; }

.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.25);
  border-radius: 99px;
  font-size: 0.78rem; color: var(--green);
  font-family: var(--mono);
  margin-bottom: 1.8rem;
}

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

h1 {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.08;
  margin-bottom: 1.2rem; letter-spacing: -0.03em;
}
.h1-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted); font-weight: 400;
  letter-spacing: 0;
}
.h1-accent { color: var(--green); }

.hero-role {
  font-family: var(--mono);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--blue);
  margin-bottom: 1.5rem; min-height: 1.8em;
}
.typed-prefix { opacity: 0.5; }
.caret {
  display: inline-block;
  animation: caret-blink 0.9s step-end infinite;
  color: var(--blue);
}
@keyframes caret-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  color: var(--text-dim); font-size: 1rem; max-width: 480px;
  line-height: 1.8; margin-bottom: 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-socials { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.8rem; color: var(--text-dim);
  text-decoration: none;
  transition: all var(--trans);
}
.social-pill:hover {
  border-color: var(--green-dim);
  color: var(--green); background: var(--green-g2);
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 0.85rem;
  padding: 11px 24px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--trans); letter-spacing: 0.04em;
  font-weight: 500;
}
.btn-primary {
  background: var(--green); color: #000; font-weight: 700;
  box-shadow: 0 0 0 rgba(0,255,135,0);
}
.btn-primary:hover {
  background: var(--green-dim);
  box-shadow: 0 0 28px rgba(0,255,135,0.3);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.btn-ghost:hover {
  border-color: var(--green-dim); color: var(--green);
  background: var(--green-g2); transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ── OPTION 1: CIRCULAR FRAME ────────────────────────────── */
.circular-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 
    0 0 40px rgba(0,255,135,0.25),
    0 20px 60px rgba(0,0,0,0.5);
  transition: all 0.35s ease;
  border: 2px solid rgba(0,255,135,0.3);
}

.circular-container:hover .circle-img {
  transform: scale(1.05);
  border-color: var(--green);
  box-shadow: 
    0 0 60px rgba(0,255,135,0.4),
    0 30px 80px rgba(0,0,0,0.6);
}

.circle-border {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--green), var(--blue)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 8s linear infinite;
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.circle-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,135,0.2), transparent);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ── OPTION 2: HEXAGON FRAME ────────────────────────────── */
.hexagon-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

.hexagon-container:hover .hex-img {
  filter: brightness(1.1);
}

.hexagon-border {
  position: absolute;
  inset: 0;
  stroke: rgba(0,255,135,0.5);
  animation: hexRotate 10s linear infinite;
}

@keyframes hexRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── OPTION 3: ORGANIC BLOB ────────────────────────────── */
.blob-container {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  display: block;
  border-radius: 45% 55% 50% 50% / 50% 50% 55% 45%;
  box-shadow: 
    0 0 50px rgba(0,255,135,0.3),
    0 25px 60px rgba(0,0,0,0.4);
  animation: blobWave 6s ease-in-out infinite;
  transition: all 0.35s ease;
}

.blob-container:hover .blob-img {
  box-shadow: 
    0 0 70px rgba(0,255,135,0.5),
    0 30px 80px rgba(0,0,0,0.5);
  transform: scale(1.08);
}

@keyframes blobWave {
  0%, 100% { border-radius: 45% 55% 50% 50% / 50% 50% 55% 45%; }
  25% { border-radius: 50% 45% 55% 50% / 50% 55% 45% 50%; }
  50% { border-radius: 55% 50% 45% 50% / 55% 45% 50% 50%; }
  75% { border-radius: 50% 55% 50% 45% / 45% 50% 50% 55%; }
}

.blob-shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── OPTION 4: FLOATING ELEMENTS ────────────────────────────── */
.floating-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 30%;
  box-shadow: 0 0 40px rgba(0,255,135,0.2);
  transition: all 0.35s ease;
  z-index: 5;
}

.floating-container:hover .floating-img {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(0,255,135,0.4);
}

.float-elem {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(0,255,135,0.4);
  border-radius: 50%;
  animation: floatAround 8s ease-in-out infinite;
}

.elem-1 {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.elem-2 {
  width: 60px;
  height: 60px;
  animation-delay: -2s;
  bottom: -10px;
  right: -20px;
}

.elem-3 {
  width: 70px;
  height: 70px;
  animation-delay: -4s;
  bottom: 20px;
  left: -30px;
}

.elem-4 {
  width: 50px;
  height: 50px;
  animation-delay: -6s;
  top: 30%;
  right: -15px;
}

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10px, -15px); }
  50% { transform: translate(0, 20px); }
  75% { transform: translate(-10px, -10px); }
}

/* ── OPTION 5: GLASSMORPHISM ────────────────────────────── */
.glass-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
}

.glass-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,135,0.15), rgba(0,200,255,0.1));
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 2px rgba(255,255,255,0.3),
    0 0 40px rgba(0,255,135,0.15);
  transition: all 0.35s ease;
}

.glass-container:hover .glass-overlay {
  background: linear-gradient(135deg, rgba(0,255,135,0.25), rgba(0,200,255,0.15));
  box-shadow: 
    0 15px 50px rgba(0,0,0,0.4),
    inset 0 1px 2px rgba(255,255,255,0.4),
    0 0 60px rgba(0,255,135,0.25);
  transform: scale(1.02);
}

/* ── OPTION 6: NEON GLOW CIRCLE ────────────────────────────── */
.neon-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neon-img {
  width: 85%;
  height: 85%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  z-index: 3;
  box-shadow: 0 0 20px rgba(0,255,135,0.1);
  transition: transform 0.35s ease;
}

.neon-container:hover .neon-img {
  transform: scale(1.08);
}

.neon-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 
    0 0 10px var(--green),
    0 0 20px rgba(0,255,135,0.5),
    inset 0 0 10px rgba(0,255,135,0.2);
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { 
    box-shadow: 
      0 0 10px var(--green),
      0 0 20px rgba(0,255,135,0.5),
      inset 0 0 10px rgba(0,255,135,0.2);
  }
  50% { 
    box-shadow: 
      0 0 20px var(--green),
      0 0 40px rgba(0,255,135,0.8),
      inset 0 0 15px rgba(0,255,135,0.4);
  }
}

/* ── Profile Frame Base ────────────────────────── */

/* ── Terminal ──────────────────────────── */
.hero-right { flex-shrink: 0; width: 420px; }

.terminal-window {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  background: #080c10;
  box-shadow: 0 0 60px rgba(0,255,135,0.05), 0 40px 80px rgba(0,0,0,0.6);
}

.tw-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: #0d1117; border-bottom: 1px solid var(--border);
}
.tw-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.tw-red    { background: #ff5f57; }
.tw-yellow { background: #febc2e; }
.tw-green  { background: #28c840; }
.tw-title {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-muted); margin-left: auto;
}

.tw-body {
  padding: 1.2rem 1.4rem;
  font-family: var(--mono); font-size: 0.76rem;
  line-height: 1.9; min-height: 260px;
  color: var(--text-dim); overflow-y: auto;
}
.tw-body::-webkit-scrollbar { width: 3px; }

.tp  { color: var(--green); }
.tc  { color: var(--text); }
.tk  { color: var(--blue); }
.tv  { color: #a8ff78; }
.tw  { color: #ffd700; }
.te  { color: #ff6b6b; }
.td  { color: var(--text-muted); }

/* ── Stats Strip ───────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,255,135,0.02);
}
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 2rem;
}
.stat {
  flex: 1; text-align: center; padding: 2rem 1rem;
}
.stat-num {
  font-family: var(--mono); font-size: 2.6rem; font-weight: 700;
  color: var(--green); letter-spacing: -0.04em;
}
.stat-unit {
  font-family: var(--mono); font-size: 1.2rem;
  color: var(--green-dim); margin-left: 2px;
}
.stat p {
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 4px; letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px; height: 60px; background: var(--border);
  flex-shrink: 0;
}

/* ── Sections ──────────────────────────── */
.section { padding: 7rem 0; }
.section-dark { background: var(--bg-dark); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

.section-head { margin-bottom: 3rem; }
.section-tag {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--green); letter-spacing: 0.15em;
  text-transform: uppercase; display: block; margin-bottom: 0.7rem;
}
.section-title {
  font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.03em;
}

/* ── Chips ─────────────────────────────── */
.chip {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 4px 12px; border-radius: 99px;
  flex-shrink: 0; white-space: nowrap;
}
.chip-green {
  background: rgba(0,255,135,0.1);
  border: 1px solid rgba(0,255,135,0.25);
  color: var(--green);
}
.chip-blue {
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.25);
  color: var(--blue);
}

/* ── Timeline ──────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 2rem; }

.tl-item { display: flex; gap: 1.5rem; }

.tl-marker {
  display: flex; flex-direction: column;
  align-items: center; flex-shrink: 0; padding-top: 1.6rem;
}
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-dim);
  flex-shrink: 0;
}
.tl-line {
  width: 1px; flex: 1;
  background: linear-gradient(to bottom, var(--green-dim), transparent);
  margin-top: 8px; min-height: 40px;
}

.tl-card {
  flex: 1; min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
.tl-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  box-shadow: 0 0 30px var(--green-glow);
}

.tl-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.tl-card-top h3 { font-size: 1.08rem; font-weight: 600; }
.part-time { font-weight: 400; font-size: 0.82rem; color: var(--text-muted); }
.tl-company { font-family: var(--mono); font-size: 0.85rem; color: var(--blue); margin-top: 4px; }
.tl-location { font-size: 0.78rem; color: var(--text-muted); font-family: var(--mono); margin: 4px 0 1.2rem; }
.tl-list { padding-left: 1.2rem; }
.tl-list li { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 0.4rem; }

/* ── Projects ──────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex; flex-direction: column;
  transition: all var(--trans);
  position: relative; overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-g2) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--trans);
}
.project-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 40px var(--green-glow);
  transform: translateY(-3px);
}
.project-card:hover::before { opacity: 1; }

.project-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.2rem; position: relative;
}
.project-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-g2);
  border: 1px solid rgba(0,255,135,0.15);
  border-radius: 8px;
  color: var(--green);
}
.project-links { display: flex; gap: 0.6rem; }
.icon-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-muted);
  text-decoration: none;
  transition: all var(--trans);
}
.icon-link:hover { border-color: var(--green-dim); color: var(--green); }

.project-name {
  font-size: 1.08rem; font-weight: 600; margin-bottom: 0.8rem;
  position: relative;
}
.project-desc {
  font-size: 0.88rem; color: var(--text-dim);
  line-height: 1.75; flex: 1; margin-bottom: 1.5rem;
  position: relative;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  position: relative;
}
.ptag {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 3px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.ptag-cat {
  background: var(--green-g2);
  border-color: rgba(0,255,135,0.2);
  color: var(--green-dim);
}

.projects-footer {
  text-align: center; margin-top: 2.5rem;
}

/* ── Skills ────────────────────────────── */
.skills-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.skill-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.skill-block:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 24px var(--green-glow);
}
.skill-block-title {
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--green); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 8px;
}
.skill-icon { font-size: 1rem; }

.stags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stag {
  font-family: var(--mono); font-size: 0.76rem;
  padding: 5px 11px; border-radius: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all var(--trans);
}
.stag:hover { border-color: var(--text-muted); color: var(--text); }
.stag-tool {
  background: rgba(0,200,255,0.05);
  border-color: rgba(0,200,255,0.18);
  color: var(--blue);
}
.stag-lab {
  background: rgba(139,92,246,0.05);
  border-color: rgba(139,92,246,0.2);
  color: #a78bfa;
}

/* ── Certs ─────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.cert-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: all var(--trans);
}
.cert-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 24px var(--green-glow);
  background: var(--bg-card-h);
}

.cert-badge-box {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-g2);
  border: 1px solid rgba(0,255,135,0.2);
  border-radius: 8px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  color: var(--green); flex-shrink: 0;
  letter-spacing: 0.05em;
}
.cert-blue {
  background: var(--blue-glow);
  border-color: rgba(0,200,255,0.2);
  color: var(--blue);
}

.cert-body { flex: 1; min-width: 0; }
.cert-body h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.cert-body p { font-family: var(--mono); font-size: 0.78rem; color: var(--blue); }
.cert-date { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); flex-shrink: 0; }

/* ── Achievements ──────────────────────── */
.ach-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: start;
}

.ach-sub {
  font-family: var(--mono); font-size: 0.8rem;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 1.2rem;
}

.ctf-list { display: flex; flex-direction: column; gap: 0.8rem; }
.ctf-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  transition: all var(--trans);
}
.ctf-item:hover {
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 0 20px rgba(255,215,0,0.05);
}
.ctf-trophy { font-size: 1.5rem; flex-shrink: 0; }
.ctf-info h4 { font-size: 0.92rem; font-weight: 600; }
.ctf-info p { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; font-family: var(--mono); }

.community-list { display: flex; flex-direction: column; gap: 1rem; }
.comm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: border-color var(--trans);
}
.comm-card:hover { border-color: var(--border-h); }
.comm-card-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 0.3rem;
}
.comm-card-top h4 { font-size: 0.95rem; font-weight: 600; }
.comm-org { font-family: var(--mono); font-size: 0.78rem; color: var(--blue); margin-bottom: 0.8rem; }
.comm-card ul { padding-left: 1.1rem; }
.comm-card ul li { font-size: 0.86rem; color: var(--text-dim); margin-bottom: 0.3rem; }

/* ── Education ─────────────────────────── */
.edu-card {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.edu-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 30px var(--green-glow);
}
.edu-left {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-g2);
  border: 1px solid rgba(0,255,135,0.15);
  border-radius: 12px; flex-shrink: 0;
  color: var(--green);
}
.edu-body { flex: 1; }
.edu-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.edu-school { font-family: var(--mono); font-size: 0.85rem; color: var(--blue); }
.edu-location { font-size: 0.8rem; color: var(--text-muted); font-family: var(--mono); margin-top: 3px; }

/* ── Contact ───────────────────────────── */
.contact-section { position: relative; overflow: hidden; }
.contact-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; }
.contact-inner .section-head { margin-bottom: 1rem; }
.contact-inner .section-tag, .contact-inner .section-title { display: block; }
.contact-desc {
  color: var(--text-dim); font-size: 1rem; margin-bottom: 3rem;
}

.contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  text-align: left;
}
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-decoration: none; color: var(--text);
  transition: all var(--trans);
}
.contact-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  box-shadow: 0 0 24px var(--green-glow);
  transform: translateY(-2px);
}
.contact-card svg { color: var(--green); flex-shrink: 0; }
.cc-label {
  display: block; font-family: var(--mono);
  font-size: 0.7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px;
}
.cc-val { font-size: 0.85rem; color: var(--text); font-weight: 500; }

/* ── Footer ────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
}
.footer-logo {
  font-family: var(--mono); font-size: 1rem;
  color: var(--green); font-weight: 700; letter-spacing: 0.05em;
}
.site-footer p { font-size: 0.82rem; color: var(--text-muted); }
.footer-copy { font-family: var(--mono); font-size: 0.72rem; }

/* ── Scroll animations ─────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.18s; }

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding-top: 4rem; }
  .hero-right { width: 100%; max-width: 500px; }
  .ach-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .stats-inner { flex-wrap: wrap; }
  .stat { min-width: 50%; }
  .stat-divider { display: none; }
  .tl-item { gap: 1rem; }
  .tl-marker { display: none; }
  .edu-card { flex-direction: column; }
  .contact-cards { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}
