/* ══════════════════════════════════════════════════════════
   h4rj1nd3r51ngh — Terminal Portfolio CSS
   Themes: matrix (default) | cyber | blood | ghost
   ══════════════════════════════════════════════════════════ */

:root {
  --bg:       #0a0e14;
  --bg2:      #0d1117;
  --bg3:      #111820;
  --panel:    #0f1923;
  --border:   #1e3040;
  --green:    #28c840;
  --green2:   #00ff41;
  --cyan:     #00d7ff;
  --yellow:   #febc2e;
  --red:      #ff5f57;
  --purple:   #a855f7;
  --white:    #e8f4e8;
  --dim:      #4a6670;
  --accent:   var(--green);
  --font:     'JetBrains Mono', 'Fira Code', monospace;
  --radius:   6px;
  --glow:     0 0 12px rgba(40,200,64,0.35);
  --glow2:    0 0 24px rgba(40,200,64,0.2);
}

[data-theme="cyber"] {
  --green:  #00d7ff;
  --green2: #00ffff;
  --accent: #00d7ff;
  --glow:   0 0 12px rgba(0,215,255,0.4);
  --glow2:  0 0 24px rgba(0,215,255,0.2);
}
[data-theme="blood"] {
  --bg:    #100808;
  --bg2:   #120a0a;
  --bg3:   #1a0e0e;
  --panel: #180c0c;
  --border:#3d1010;
  --green: #ff3333;
  --green2:#ff0000;
  --accent:#ff3333;
  --glow:  0 0 12px rgba(255,50,50,0.4);
}
[data-theme="ghost"] {
  --bg:    #080810;
  --bg2:   #0a0a18;
  --bg3:   #0f0f20;
  --panel: #0c0c1a;
  --border:#1a1a38;
  --green: #a855f7;
  --green2:#c084fc;
  --accent:#a855f7;
  --glow:  0 0 12px rgba(168,85,247,0.4);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-shadow: var(--glow); }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ── Scrollbar ──────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Utility colors ─────────────────────── */
.c-green  { color: var(--green); }
.c-cyan   { color: var(--cyan); }
.c-yellow { color: var(--yellow); }
.c-red    { color: var(--red); }
.c-purple { color: var(--purple); }
.c-dim    { color: var(--dim); }
.prompt-sym { color: var(--accent); font-weight: 700; }
.hidden { display: none !important; }

/* ── Buttons ────────────────────────────── */
.btn-terminal {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius);
}
.btn-terminal:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow);
}
.btn-outline {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-small {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--dim);
  background: transparent;
  font-family: var(--font);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}
.btn-small:hover { border-color: var(--accent); color: var(--accent); }
.full-width { width: 100%; text-align: center; }

/* ── Tags ───────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--dim);
  margin: 2px;
  transition: all 0.2s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag.red    { color: var(--red);    border-color: rgba(255,95,87,0.35); }
.tag.cyan   { color: var(--cyan);   border-color: rgba(0,215,255,0.35); }
.tag.yellow { color: var(--yellow); border-color: rgba(254,188,46,0.35); }
.tag.purple { color: var(--purple); border-color: rgba(168,85,247,0.35); }
.tag.green  { color: var(--green);  border-color: rgba(40,200,64,0.35); }

/* ── Blink cursor ───────────────────────── */
.blink-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ──────────────────────────────────────────
   MODALS
────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: min(480px, 94vw);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.6), var(--glow2);
  animation: fadeSlideIn 0.3s ease;
}
.modal-box.wide { width: min(640px, 94vw); }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.modal-dot { width: 12px; height: 12px; border-radius: 50%; }
.modal-dot.red    { background: #ff5f57; }
.modal-dot.yellow { background: #febc2e; }
.modal-dot.green  { background: #28c840; }
.modal-title { font-size: 0.8rem; color: var(--dim); margin-left: auto; padding-right: 10px; }
.modal-x {
  margin-left: auto;
  background: none; border: none;
  color: var(--dim); font-size: 1rem;
  cursor: pointer; padding: 0 4px;
  transition: color 0.2s;
}
.modal-x:hover { color: var(--red); }
.modal-body { padding: 24px; }
.modal-line { font-size: 0.95rem; margin-bottom: 16px; }
.modal-tips { padding-left: 8px; }
.modal-tips li { padding: 4px 0; color: var(--dim); font-size: 0.85rem; }
.modal-tips li kbd { background: var(--bg3); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; color: var(--white); font-size: 0.8rem; }
#modal-close { display: block; margin: 0 24px 20px; width: calc(100% - 48px); }

.shortcuts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.shortcuts-grid > div { display: flex; align-items: center; gap: 10px; }
.shortcuts-grid kbd { background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-family: var(--font); font-size: 0.75rem; white-space: nowrap; }
.shortcuts-grid span { color: var(--dim); font-size: 0.82rem; }

/* ──────────────────────────────────────────
   HACKER OVERLAY  
────────────────────────────────────────── */
.hacker-overlay {
  position: fixed; inset: 0;
  background: #000;
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
}
#matrix-canvas { position: absolute; inset: 0; opacity: 0.7; }
.hacker-center {
  position: relative; z-index: 1;
  text-align: center;
}
.hacker-text {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--green2);
  text-shadow: 0 0 20px var(--green), 0 0 40px var(--green);
  letter-spacing: 0.2em;
  animation: glitch 2s infinite;
}
@keyframes glitch {
  0%,100%  { text-shadow: 0 0 20px var(--green); transform: none; }
  92%      { transform: none; }
  93%      { transform: translate(3px,-2px); text-shadow: -2px 0 var(--cyan), 2px 0 var(--red); }
  94%      { transform: translate(-3px,2px); }
  95%      { transform: none; text-shadow: 0 0 20px var(--green); }
}
.hacker-sub { color: var(--dim); margin: 12px 0 28px; font-size: 1rem; letter-spacing: 0.15em; }

/* ──────────────────────────────────────────
   CLI OVERLAY
────────────────────────────────────────── */
.cli-overlay {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: min(420px, 80vh);
  background: rgba(10,14,20,0.97);
  border-top: 2px solid var(--accent);
  z-index: 9990;
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.8);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cli-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cli-title { font-size: 0.8rem; color: var(--accent); }
.cli-output {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  font-size: 0.82rem;
  line-height: 1.7;
}
.cli-output .cli-line-out { color: var(--dim); }
.cli-output .cli-line-cmd { color: var(--accent); }
.cli-output .cli-line-err { color: var(--red); }
.cli-output .cli-line-info { color: var(--cyan); }
.cli-input-row {
  display: flex; align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-shrink: 0;
}
.cli-prompt { color: var(--accent); white-space: nowrap; font-size: 0.82rem; }
.cli-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  caret-color: var(--accent);
}

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 54px;
  display: flex; align-items: center;
  padding: 0 24px;
  background: rgba(10,14,20,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 1000;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.95rem; font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.nav-name { color: var(--accent); }
.nav-links {
  display: flex; gap: 20px;
  flex: 1;
}
.nav-links a {
  font-size: 0.8rem;
  color: var(--dim);
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-btn {
  background: none; border: 1px solid var(--border);
  color: var(--dim); padding: 4px 10px;
  font-family: var(--font); font-size: 0.75rem;
  cursor: pointer; border-radius: 4px;
  transition: all 0.2s;
}
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-burger {
  display: none;
  background: none; border: none;
  color: var(--white); font-size: 1.2rem;
  cursor: pointer;
}

/* ── STATUS BAR ─────────────────────────── */
.status-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 24px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  z-index: 999;
}

/* ──────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────── */
.section-hero {
  min-height: 100vh;
  padding: 80px 24px 60px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(40,200,64,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,200,64,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1200px; }

/* Boot sequence */
.boot-sequence {
  font-size: 0.82rem;
  margin-bottom: 32px;
}
.boot-line {
  opacity: 0;
  transform: translateX(-10px);
  padding: 2px 0;
  animation: bootIn 0.4s ease forwards;
}
.boot-line:nth-child(1) { animation-delay: 0.2s; }
.boot-line:nth-child(2) { animation-delay: 0.7s; }
.boot-line:nth-child(3) { animation-delay: 1.2s; }
.boot-line:nth-child(4) { animation-delay: 1.7s; }
.boot-line:nth-child(5) { animation-delay: 2.2s; }
@keyframes bootIn { to { opacity: 1; transform: none; } }

.hero-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  transition: opacity 0.6s ease;
}

.hero-comment { color: var(--dim); font-size: 0.8rem; margin-bottom: 10px; }
.hero-name {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(40,200,64,0.2);
}
.hero-role {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; margin-bottom: 20px;
  min-height: 1.6em;
}
.typewriter { color: var(--cyan); }
.hero-bio { color: var(--dim); font-size: 0.85rem; margin-bottom: 24px; max-width: 520px; }
.hero-tags { margin-bottom: 24px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-socials {
  display: flex; gap: 12px;
}
.hero-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dim); font-size: 0.7rem; font-weight: 700;
  transition: all 0.2s;
}
.hero-socials a:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }

/* Neofetch card */
.neo-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.neo-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.neo-cmd { font-size: 0.78rem; color: var(--accent); margin-left: 8px; }
.neo-body { padding: 16px; }
.neo-row { display: flex; gap: 12px; padding: 3px 0; font-size: 0.8rem; }
.neo-key { color: var(--dim); min-width: 100px; }
.neo-val { color: var(--white); }
.neo-divider { height: 1px; background: var(--border); margin: 12px 0 10px; }
.neo-colors { display: flex; gap: 4px; }
.neo-colors span { width: 18px; height: 18px; border-radius: 3px; }

/* Live activity */
.live-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 0.78rem;
}
.live-header { color: var(--dim); margin-bottom: 10px; }
.live-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--dim); }
.live-badge {
  padding: 2px 6px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 700;
  white-space: nowrap;
}
.live-badge.critical { background: rgba(255,95,87,0.2); color: var(--red); }
.live-badge.info     { background: rgba(40,200,64,0.15); color: var(--green); }
.live-badge.warn     { background: rgba(254,188,46,0.15); color: var(--yellow); }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: var(--glow);
  line-height: 1.1;
}
.stat-lbl { font-size: 0.62rem; color: var(--dim); line-height: 1.3; white-space: pre-line; }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; color: var(--dim); letter-spacing: 0.3em;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* ──────────────────────────────────────────
   SECTIONS COMMON
────────────────────────────────────────── */
.section    { padding: 80px 24px; }
.section.alt { background: var(--bg2); }
.container  { max-width: 1100px; margin: 0 auto; }

.section-header { margin-bottom: 40px; }
.section-comment { display: block; color: var(--dim); font-size: 0.8rem; margin-bottom: 6px; }
.section-cmd {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.view-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.vtab {
  background: none; border: 1px solid var(--border);
  color: var(--dim); padding: 4px 12px;
  font-family: var(--font); font-size: 0.74rem;
  cursor: pointer; border-radius: 4px;
  transition: all 0.2s;
}
.vtab:hover, .vtab.active { border-color: var(--accent); color: var(--accent); }

.term-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  font-size: 0.84rem;
  line-height: 1.9;
}

.eof {
  text-align: center;
  color: var(--dim);
  font-size: 0.72rem;
  margin-top: 48px;
  opacity: 0.5;
}

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.radar-title { color: var(--dim); font-size: 0.78rem; margin-bottom: 12px; text-align: center; }
.radar-wrap { display: flex; justify-content: center; }
.radar-labels {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 10px;
}
.radar-labels span {
  font-size: 0.7rem; color: var(--dim);
  border: 1px solid var(--border); border-radius: 3px;
  padding: 2px 8px;
}

/* ──────────────────────────────────────────
   SKILLS
────────────────────────────────────────── */
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.skill-category {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.skill-cat-title { color: var(--accent); font-size: 0.82rem; margin-bottom: 16px; }
.skill-item { margin-bottom: 14px; }
.skill-name { display: block; font-size: 0.78rem; color: var(--white); margin-bottom: 5px; }
.skill-bar {
  display: inline-block;
  width: calc(100% - 42px);
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
  vertical-align: middle;
}
.skill-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--glow);
}
.skill-pct { font-size: 0.7rem; color: var(--dim); margin-left: 8px; }

/* ──────────────────────────────────────────
   TIMELINE
────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.tl-item {
  position: relative; margin-bottom: 40px;
}
.tl-dot {
  position: absolute; left: -24px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  transition: all 0.3s;
}
.tl-item.active .tl-dot {
  border-color: var(--accent);
  box-shadow: var(--glow);
}
.tl-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s;
}
.tl-content:hover { border-color: var(--accent); }
.tl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tl-badge {
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
}
.active-badge { background: rgba(40,200,64,0.15); color: var(--green); }
.govt-badge   { background: rgba(254,188,46,0.15); color: var(--yellow); }
.edu-badge    { background: rgba(0,215,255,0.15);  color: var(--cyan); }
.tl-date { color: var(--dim); font-size: 0.76rem; }
.tl-role { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.tl-company { color: var(--accent); font-size: 0.85rem; margin-bottom: 10px; }
.tl-desc { color: var(--dim); font-size: 0.82rem; margin-bottom: 12px; line-height: 1.7; }

/* ──────────────────────────────────────────
   PROJECTS
────────────────────────────────────────── */
.projects-grid.view-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.projects-grid.view-list {
  display: flex; flex-direction: column; gap: 14px;
}
.projects-grid.view-list .project-card {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 16px;
}
.projects-grid.view-compact {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.projects-grid.view-compact .project-desc { display: none; }
.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.25s;
  cursor: pointer;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow2); }
.project-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.project-icon { font-size: 1.4rem; }
.project-title { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.project-desc { font-size: 0.8rem; color: var(--dim); line-height: 1.7; margin-bottom: 12px; }
.project-tags { margin-bottom: 12px; }
.project-footer { display: flex; justify-content: space-between; align-items: center; }

/* ──────────────────────────────────────────
   CERTIFICATIONS
────────────────────────────────────────── */
.cert-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.cert-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: all 0.25s;
}
.cert-card:hover { border-color: var(--accent); }
.cert-card.wip { border-color: rgba(254,188,46,0.3); }
.cert-status {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.wip-badge  { background: rgba(254,188,46,0.15); color: var(--yellow); }
.done-badge { background: rgba(40,200,64,0.15);  color: var(--green); }
.cert-icon { font-size: 2rem; margin-bottom: 12px; }
.cert-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.cert-issuer { color: var(--accent); font-size: 0.82rem; margin-bottom: 10px; }
.cert-desc { color: var(--dim); font-size: 0.8rem; line-height: 1.7; margin-bottom: 14px; }
.cert-bar-wrap { display: flex; align-items: center; gap: 10px; }
.cert-bar {
  flex: 1; height: 5px;
  background: var(--bg3); border-radius: 3px; overflow: hidden;
}
.cert-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 3px;
  transition: width 1.5s ease;
}
.cert-pct { color: var(--yellow); font-size: 0.75rem; }

/* ──────────────────────────────────────────
   ARSENAL
────────────────────────────────────────── */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tool-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.tool-card:hover { border-color: var(--accent); box-shadow: var(--glow2); transform: translateY(-2px); }
.tool-card.hidden-filter { display: none; }
.tool-icon { font-size: 1.2rem; flex-shrink: 0; }
.tool-name { font-size: 0.78rem; color: var(--white); flex: 1; }
.tool-label {
  display: none;
  font-size: 0.62rem; padding: 1px 5px;
  border-radius: 3px;
}
.tool-card:hover .tool-label { display: block; }
.tool-label.offensive { background: rgba(255,95,87,0.15); color: var(--red); }
.tool-label.recon     { background: rgba(254,188,46,0.15); color: var(--yellow); }
.tool-label.exploit   { background: rgba(168,85,247,0.15); color: var(--purple); }
.tool-label.forensics { background: rgba(0,215,255,0.15);  color: var(--cyan); }
.tool-label.network   { background: rgba(40,200,64,0.15);  color: var(--green); }
.arsenal-count { color: var(--dim); font-size: 0.78rem; margin: 8px 0; }

/* ──────────────────────────────────────────
   CTF
────────────────────────────────────────── */
.ctf-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ctf-stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  text-align: center;
  flex: 1; min-width: 100px;
}
.ctf-stat .stat-num { font-size: 1.4rem; }
.ctf-stat span:last-child { display: block; color: var(--dim); font-size: 0.75rem; }
.ctf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.ctf-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  transition: all 0.25s;
}
.ctf-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ctf-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ctf-diff {
  margin-left: auto;
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 7px; border-radius: 3px;
}
.ctf-diff.hard   { background: rgba(255,95,87,0.15);  color: var(--red); }
.ctf-diff.medium { background: rgba(254,188,46,0.15); color: var(--yellow); }
.ctf-diff.easy   { background: rgba(40,200,64,0.15);  color: var(--green); }
.ctf-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.ctf-desc { color: var(--dim); font-size: 0.78rem; line-height: 1.7; margin-bottom: 10px; }
.ctf-tags { margin-bottom: 10px; }
.ctf-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: var(--dim); }

/* ──────────────────────────────────────────
   BLOG
────────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.blog-card.featured { grid-column: 1 / -1; }
.blog-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  transition: all 0.25s;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-date { margin-left: auto; color: var(--dim); font-size: 0.74rem; }
.blog-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 3px; }
.featured-badge { background: rgba(254,188,46,0.15); color: var(--yellow); }
.blog-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; }
.blog-excerpt { color: var(--dim); font-size: 0.8rem; line-height: 1.7; margin-bottom: 12px; }
.blog-tags { margin-bottom: 12px; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: var(--dim); }

/* ──────────────────────────────────────────
   TESTIMONIALS
────────────────────────────────────────── */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testi-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.testi-stars { color: var(--yellow); margin-bottom: 14px; font-size: 0.85rem; }
.testi-card blockquote {
  color: var(--dim); font-size: 0.82rem; line-height: 1.8;
  margin-bottom: 16px; 
  border-left: 2px solid var(--border);
  padding-left: 12px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); flex-shrink: 0;
}
.testi-name { font-size: 0.82rem; font-weight: 600; }
.testi-role { font-size: 0.74rem; }

/* ──────────────────────────────────────────
   CONTACT
────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.ci-comment { color: var(--dim); font-size: 0.78rem; margin-bottom: 8px; }
.ci-name { font-size: 1.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.ci-title { font-size: 0.9rem; margin-bottom: 4px; }
.ci-sub { font-size: 0.8rem; margin-bottom: 10px; }
.ci-location { color: var(--dim); font-size: 0.82rem; margin-bottom: 20px; }
.social-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.social-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dim); font-size: 0.82rem;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(40,200,64,0.05); }
.social-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border-radius: 4px;
  font-size: 0.68rem; font-weight: 700;
  color: var(--accent);
}
.sys-status {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.ss-row { display: flex; gap: 12px; padding: 3px 0; font-size: 0.78rem; }
.ss-key { color: var(--dim); min-width: 100px; }
.ss-val { }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8rem; color: var(--accent); }
.form-input {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--dim); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-status {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-align: center;
}
.form-status.success { background: rgba(40,200,64,0.15); color: var(--green); border: 1px solid rgba(40,200,64,0.3); }
.form-status.error   { background: rgba(255,95,87,0.15);  color: var(--red);   border: 1px solid rgba(255,95,87,0.3); }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 18px 24px 42px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: var(--dim);
}

/* ──────────────────────────────────────────
   SCROLL ANIMATIONS
────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-main  { grid-template-columns: 1fr; gap: 32px; }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .ctf-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 54px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
    z-index: 1000;
  }
  .nav-burger { display: block; }
  .about-grid  { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .cert-grid   { grid-template-columns: 1fr; }
  .ctf-grid    { grid-template-columns: 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .testi-grid  { grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .projects-grid.view-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .shortcuts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .ctf-stats { flex-direction: column; }
}
