/* ============================================================
   JULIUS MTAKI LAURENT — Portfolio
   Theme: Green & Dark Dev Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #05100a;
  --bg2:          #091510;
  --bg3:          #0d1f14;
  --card:         rgba(0,255,136,0.04);
  --card-hover:   rgba(0,255,136,0.09);
  --g1:           #00ff88;
  --g2:           #00cc6a;
  --g3:           #00804a;
  --g-glow:       0 0 30px rgba(0,255,136,0.25);
  --g-glow-sm:    0 0 12px rgba(0,255,136,0.18);
  --text:         #eef9f2;
  --text2:        #7dab90;
  --text3:        #3d5c49;
  --border:       rgba(0,255,136,0.10);
  --border2:      rgba(0,255,136,0.25);
  --font:         'Space Grotesk', sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --ease:         cubic-bezier(.4,0,.2,1);
  --r:            12px;
  --r2:           20px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--g3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--g2); }

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

/* ── Grid Pattern ──────────────────────────────────────────── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sec { padding: 7rem 0; position: relative; }
.sec-sm { padding: 4rem 0; position: relative; }
.g-text { color: var(--g1); }
.mono { font-family: var(--mono); }
.fw-800 { font-weight: 800; }

/* Section label */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--g1);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sec-label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--g1);
}

/* Section heading */
.sec-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* ── Glow Orb ──────────────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 500px; height: 500px; background: rgba(0,255,136,.06); top: -10%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: rgba(0,204,106,.05); bottom: 0; right: -5%; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-g {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: var(--g1);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--r);
  border: 2px solid var(--g1);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-g:hover {
  background: transparent;
  color: var(--g1);
  box-shadow: var(--g-glow);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--r);
  border: 1.5px solid var(--border2);
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--g1);
  color: var(--g1);
  box-shadow: var(--g-glow-sm);
  transform: translateY(-2px);
}

/* ── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all .3s var(--ease);
}
#navbar.scrolled {
  background: rgba(5,16,10,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--g1); }
.nav-logo sup {
  font-size: .55rem;
  color: var(--g2);
  vertical-align: super;
  font-family: var(--mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text2);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--g1);
  transition: width .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(5,16,10,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
}
.nav-mobile a {
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--g1); }
.nav-mobile.open { display: flex; }

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid { position: relative; z-index: 1; }

/* Big background name */
.hero-bg-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,255,136,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* Tags / badges */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text2);
  transition: all .25s var(--ease);
}
.hero-tag:hover {
  border-color: var(--g1);
  color: var(--g1);
  background: rgba(0,255,136,0.06);
}
.hero-tag i { font-size: .85rem; color: var(--g2); }

/* Hero heading */
.hero-greeting {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--g2);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-greeting::before {
  content: '>';
  color: var(--g1);
  font-weight: 700;
}
.cursor-blink {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--g1);
  margin-left: 2px;
  animation: blink .9s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-name {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: .4rem;
}
.hero-name .line1 { color: var(--text); }
.hero-name .line2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--g1);
}
.hero-subtitle {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--g2);
  margin-bottom: .5rem;
}
.hero-subtitle .sep { color: var(--text3); margin: 0 .4rem; }

.hero-bio {
  max-width: 480px;
  color: var(--text2);
  font-size: .95rem;
  margin-bottom: 2rem;
}

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

.hero-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text3);
  font-size: 1rem;
  transition: all .25s var(--ease);
}
.hero-social-link:hover {
  border-color: var(--g1);
  color: var(--g1);
  box-shadow: var(--g-glow-sm);
  transform: translateY(-2px);
}

/* Availability dot */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 100px;
  font-size: .78rem;
  color: var(--g2);
  font-family: var(--mono);
  margin-bottom: 1.5rem;
}
.avail-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--g1);
  box-shadow: 0 0 6px var(--g1);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--g1); }
  50% { box-shadow: 0 0 12px var(--g1), 0 0 20px rgba(0,255,136,.4); }
}

/* ── Terminal Window ───────────────────────────────────────── */
.terminal-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.terminal {
  background: #0a1a10;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.5), var(--g-glow);
  position: relative;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.25rem;
  background: rgba(0,255,136,0.04);
  border-bottom: 1px solid rgba(0,255,136,0.1);
}
.t-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.t-dot.red   { background: #ff5f57; }
.t-dot.yellow{ background: #febc2e; }
.t-dot.green { background: #28c840; }
.terminal-title {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text3);
}
.terminal-body {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.9;
  min-height: 320px;
}
.t-line { display: block; }
.t-prompt { color: var(--g2); }
.t-cmd    { color: var(--text); }
.t-comment{ color: var(--text3); }
.t-key    { color: #7dd3fc; }
.t-str    { color: #86efac; }
.t-fn     { color: #c4b5fd; }
.t-cls    { color: #fbbf24; }
.t-ret    { color: var(--g1); }
.t-cursor {
  display: inline-block;
  width: 8px; height: .9em;
  background: var(--g1);
  vertical-align: text-bottom;
  animation: blink .9s step-end infinite;
}

/* Floating badges around terminal */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  background: rgba(5,16,10,.95);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  white-space: nowrap;
  z-index: 5;
}
.float-badge i { font-size: 1rem; }
.fb-1 { top: -20px; right: 30px; animation: floaty 3s ease-in-out infinite; }
.fb-2 { bottom: 60px; left: -30px; animation: floaty 4s ease-in-out infinite .8s; }
.fb-3 { bottom: -20px; right: 50px; animation: floaty 3.5s ease-in-out infinite .4s; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-item {}
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--g1);
  line-height: 1;
  font-family: var(--mono);
}
.stat-num sup { font-size: .9rem; }
.stat-label {
  font-size: .78rem;
  color: var(--text3);
  margin-top: .2rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--text3);
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeup 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text3), transparent);
}
@keyframes fadeup {
  0%,100% { opacity: .4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(4px); }
}

/* ── About Section ─────────────────────────────────────────── */
#about { background: var(--bg2); }

.about-text p {
  color: var(--text2);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text p strong { color: var(--g1); font-weight: 600; }

.about-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .25s var(--ease);
}
.about-item:hover {
  border-color: var(--border2);
  background: var(--card-hover);
}
.about-item-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,255,136,0.08);
  border-radius: 8px;
  color: var(--g1);
  font-size: 1rem;
  flex-shrink: 0;
}
.about-item-text { font-size: .82rem; color: var(--text2); }
.about-item-text strong { display: block; color: var(--text); font-size: .88rem; margin-bottom: .1rem; }

/* Code snippet card */
.code-card {
  background: #091510;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.code-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  background: rgba(0,255,136,0.04);
  border-bottom: 1px solid var(--border);
}
.code-card-bar .dots { display: flex; gap: .4rem; }
.code-card-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.code-card-bar .filename {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text3);
}
.code-content {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.85;
}
.ln { color: var(--text3); user-select: none; margin-right: 1.2rem; display: inline-block; width: 1.5rem; text-align: right; }

/* ── Tech Stack Strip ──────────────────────────────────────── */
#stack {
  background: var(--bg);
  overflow: hidden;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stack-label {
  text-align: center;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text3);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.stack-track-wrap {
  overflow: hidden;
  position: relative;
}
.stack-track-wrap::before,
.stack-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.stack-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.stack-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.stack-track {
  display: flex;
  gap: 2.5rem;
  animation: scroll-x 30s linear infinite;
  width: max-content;
}
.stack-track:hover { animation-play-state: paused; }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  transition: all .25s var(--ease);
  cursor: default;
}
.tech-chip:hover {
  border-color: var(--border2);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.tech-chip i { font-size: 1.3rem; }
.tech-chip span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text2);
}

/* ── Projects ──────────────────────────────────────────────── */
#projects { background: var(--bg2); }
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  transition: all .35s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: rgba(0,255,136,.3);
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(0,255,136,.1);
}

.project-banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: .15;
}
.project-banner-icons {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  z-index: 1;
}
.project-banner-icons i {
  font-size: 2.8rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
  transition: transform .3s var(--ease);
}
.project-card:hover .project-banner-icons i { transform: scale(1.1); }

.project-num {
  position: absolute;
  top: 1rem; left: 1.25rem;
  font-family: var(--mono);
  font-size: .7rem;
  color: rgba(255,255,255,.2);
  font-weight: 700;
}
.project-top-right {
  position: absolute;
  top: 1rem; right: 1.25rem;
  display: flex;
  gap: .4rem;
}
.project-link-btn {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all .2s;
}
.project-link-btn:hover {
  background: var(--g1);
  color: var(--bg);
  transform: scale(1.1);
}

.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--g2);
  margin-bottom: .6rem;
}
.project-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--g1);
}
.project-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.project-desc {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.2rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
}
.project-tag {
  padding: .25rem .65rem;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.12);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--g2);
}

/* ── Featured / CTA banner ─────────────────────────────────── */
#feature-cta {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.feature-text {}
.feature-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.feature-title .line-g {
  color: var(--g1);
  display: block;
}
.feature-sub {
  color: var(--text2);
  max-width: 440px;
  font-size: .95rem;
}
.feature-visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.exp-circle {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card);
  box-shadow: 0 0 50px rgba(0,255,136,0.08);
  transition: all .3s var(--ease);
}
.exp-circle:hover { box-shadow: var(--g-glow); transform: scale(1.04); }
.exp-circle .num {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--g1);
  line-height: 1;
}
.exp-circle .lbl {
  font-size: .72rem;
  color: var(--text3);
  text-align: center;
  line-height: 1.3;
  margin-top: .2rem;
}

/* ── Skills ────────────────────────────────────────────────── */
#skills { background: var(--bg); }
.skill-category {
  margin-bottom: 3rem;
}
.skill-cat-title {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--g2);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.skill-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.skill-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .25s var(--ease);
  cursor: default;
}
.skill-card:hover {
  border-color: var(--border2);
  background: var(--card-hover);
  transform: translateX(4px);
}
.skill-card i { font-size: 1.6rem; flex-shrink: 0; }
.skill-info {}
.skill-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.skill-level {
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--text3);
  margin-top: .15rem;
}

/* Skill bar */
.skill-bar-wrap { margin-top: .35rem; }
.skill-bar-track {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g3), var(--g1));
  border-radius: 2px;
  width: 0;
  transition: width 1s var(--ease);
}

/* ── Contact ───────────────────────────────────────────────── */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }

.contact-info {}
.contact-info .sec-title { margin-bottom: 1rem; }
.contact-info p { color: var(--text2); margin-bottom: 2rem; font-size: .95rem; }

.contact-links { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2.5rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .25s var(--ease);
  color: var(--text2);
}
.contact-link:hover {
  border-color: var(--border2);
  color: var(--g1);
  background: var(--card-hover);
  transform: translateX(4px);
}
.contact-link-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,136,0.08);
  border-radius: 9px;
  color: var(--g1);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-link-text {}
.contact-link-label { font-size: .72rem; color: var(--text3); }
.contact-link-value { font-size: .9rem; font-weight: 500; color: inherit; }

/* Contact form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: .5rem;
  font-family: var(--mono);
}
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  background: rgba(0,255,136,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  transition: all .25s var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--g1);
  background: rgba(0,255,136,0.06);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.08);
}
.form-control::placeholder { color: var(--text3); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.footer-brand .logo span { color: var(--g1); }
.footer-brand p {
  font-size: .85rem;
  color: var(--text3);
  line-height: 1.7;
  max-width: 260px;
}
.footer-social { display: flex; gap: .65rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text3);
  font-size: .9rem;
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  border-color: var(--g1);
  color: var(--g1);
}
.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .85rem;
  color: var(--text3);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--g1); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--text3);
  font-family: var(--mono);
}
.footer-bottom p span { color: var(--g2); }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 120px 0 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-label {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--g2);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: .75rem;
}
.page-hero p {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 520px;
}

/* ── Filter Pills ──────────────────────────────────────────── */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.filter-pill {
  padding: .4rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-pill.active,
.filter-pill:hover {
  background: rgba(0,255,136,0.1);
  border-color: var(--g2);
  color: var(--g1);
}

/* ── Alert / Toast ─────────────────────────────────────────── */
.toast-g {
  position: fixed;
  bottom: 2rem; right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--bg3);
  border: 1px solid var(--g2);
  border-radius: var(--r);
  color: var(--g1);
  font-family: var(--mono);
  font-size: .85rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), var(--g-glow-sm);
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s var(--ease);
}
.toast-g.show { transform: translateY(0); opacity: 1; }

/* ── Reveal animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .nav-links, .nav-cta .btn-g { display: none; }
  .nav-toggle { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-highlight { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sec { padding: 5rem 0; }
  .hero-name { font-size: clamp(2.8rem, 10vw, 4.5rem); }
  .float-badge { display: none; }
  .hero-stats { gap: 1.5rem; }
  .feature-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
  .container { padding: 0 1.25rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-g, .hero-btns .btn-outline { width: 100%; justify-content: center; }
  .hero-name { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .terminal-body { min-height: 220px; font-size: .72rem; }
  .stat-item { flex: 1 1 40%; }
  .about-highlight { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-banner { height: 140px; }
  .project-banner-icons i { font-size: 2rem; }
}

/* ── Feature stats grid (CTA section) ─────────────────────── */
.feature-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fstat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  text-align: center;
  transition: all .3s var(--ease);
  min-width: 120px;
}
.fstat-card:hover {
  border-color: var(--border2);
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: var(--g-glow-sm);
}
.fstat-num {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--g1);
  line-height: 1;
}
.fstat-sup {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--g2);
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
}
.fstat-lbl {
  font-size: .72rem;
  color: var(--text3);
  margin-top: .45rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media (max-width: 576px) {
  .feature-stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .fstat-num { font-size: 2rem; }
  .fstat-card { padding: 1.1rem .85rem; min-width: 0; }
}

/* ── Roominos / Current Employer Badge ─────────────────────── */
.employer-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem;
  background: rgba(0,255,136,.06);
  border: 1px solid rgba(0,255,136,.18);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--text2);
  font-family: var(--mono);
  text-decoration: none;
  transition: all .25s var(--ease);
  margin-bottom: .75rem;
}
.employer-badge:hover {
  border-color: var(--g1);
  color: var(--g1);
  background: rgba(0,255,136,.1);
}
.employer-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--g1);
  box-shadow: 0 0 6px var(--g1);
  animation: pulse 2s ease-in-out infinite;
}
.employer-badge .co-name { color: var(--g1); font-weight: 700; }

/* ── Skill Rings (visual top skills) ──────────────────────── */
.skill-rings-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (max-width: 992px) { .skill-rings-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .skill-rings-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.skill-ring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  text-align: center;
  transition: all .3s var(--ease);
  cursor: default;
}
.skill-ring-card:hover {
  border-color: rgba(0,255,136,.25);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.ring-wrap {
  position: relative;
  width: 72px; height: 72px;
  flex-shrink: 0;
}
.ring-wrap svg {
  transform: rotate(-90deg);
  width: 72px; height: 72px;
}
.ring-bg  { fill: none; stroke: rgba(0,255,136,.08); stroke-width: 3; }
.ring-fill {
  fill: none;
  stroke: var(--g1);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.2s var(--ease);
}
.ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}
.ring-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.ring-pct {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--g2);
}

/* ── Special project card variants ────────────────────────── */
.project-banner.pkg-banner {
  flex-direction: column;
  gap: .75rem;
}
.pkg-label {
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--g2);
  background: rgba(0,255,136,.1);
  border: 1px solid rgba(0,255,136,.2);
  border-radius: 100px;
  padding: .2rem .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 1;
}
.project-code-line {
  font-family: var(--mono);
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  z-index: 1;
}

/* ── Current work card ─────────────────────────────────────── */
.roominos-card {
  background: linear-gradient(135deg, #050d1a, #0a1530);
  border-color: rgba(37,99,235,.3) !important;
}
.roominos-card:hover {
  border-color: rgba(37,99,235,.6) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(37,99,235,.15) !important;
}
.roominos-card .project-status { color: #60a5fa; }
.roominos-card .project-status::before { background: #3b82f6; }

/* ── Skills page category cards ───────────────────────────── */
.skill-cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: border-color .3s var(--ease);
}
.skill-cat-card:hover { border-color: var(--border2); }
.skill-cat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.skill-cat-header .cat-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,255,136,.08);
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--g1);
  flex-shrink: 0;
}
.skill-cat-header h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.skill-cat-header .cat-count {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--text3);
  background: var(--bg3);
  border-radius: 100px;
  padding: .15rem .55rem;
  margin-left: auto;
}
.skill-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}
@media (max-width: 576px) { .skill-grid-v2 { grid-template-columns: 1fr 1fr; } }
.skill-chip {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .85rem;
  background: rgba(0,255,136,.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .2s var(--ease);
  cursor: default;
}
.skill-chip:hover {
  border-color: rgba(0,255,136,.2);
  background: rgba(0,255,136,.06);
  transform: translateX(3px);
}
.skill-chip i { font-size: 1.3rem; flex-shrink: 0; }
.skill-chip .chip-info { min-width: 0; }
.skill-chip .chip-name { font-size: .82rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skill-chip .chip-lvl {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--text3);
  margin-top: .1rem;
}
.chip-lvl.expert  { color: var(--g2); }
.chip-lvl.advanced { color: #60a5fa; }
.chip-lvl.intermediate { color: #fbbf24; }

/* ── Project card "code snippet" banner ────────────────────── */
.code-banner {
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 1.7;
  color: rgba(255,255,255,.35);
  padding: 1rem 1.25rem;
  text-align: left;
  z-index: 1;
  position: relative;
  overflow: hidden;
}
.code-banner .cb-green { color: rgba(0,255,136,.7); }
.code-banner .cb-blue  { color: rgba(96,165,250,.7); }
.code-banner .cb-purple{ color: rgba(196,181,253,.7); }
.code-banner .cb-yellow{ color: rgba(251,191,36,.7); }

/* ── Improved responsive nav ───────────────────────────────── */
@media (max-width: 400px) {
  .nav-logo { font-size: .95rem; }
  .nav-inner { padding: 0 1rem; }
}

/* ── Improved card grid responsive ────────────────────────── */
@media (max-width: 767px) {
  .skill-rings-grid { gap: .85rem; }
  .skill-ring-card { padding: 1rem .75rem; }
  .ring-wrap { width: 60px; height: 60px; }
  .ring-wrap svg { width: 60px; height: 60px; }
  .ring-icon { font-size: 1.35rem; }
  .sec { padding: 4rem 0; }
  .page-hero { padding: 100px 0 50px; }
}

