
/* ================================================================
   ASAD NOOR PORTFOLIO v2.0 — Complete Design System
   Assistant Manager – Data Center | Cybersecurity Engineer
================================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0e17;
  color: #c9d1d9;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #3b82f6; text-decoration: none; transition: color .2s; }
a:hover { color: #60a5fa; }
img { max-width: 100%; height: auto; }

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --bg:        #0a0e17;
  --bg-card:   #0f1624;
  --bg-hover:  #141e30;
  --border:    rgba(59,130,246,.15);
  --accent:    #3b82f6;
  --accent2:   #06b6d4;
  --accent3:   #10b981;
  --accent4:   #f59e0b;
  --text:      #c9d1d9;
  --text-muted:#8b949e;
  --text-dim:  #6e7681;
  --white:     #f0f6fc;
  --red:       #ef4444;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.6);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --container: 1200px;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { color: var(--white); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
code, .mono {
  font-family: var(--font-mono);
  background: rgba(59,130,246,.1);
  color: var(--accent2);
  padding: .15em .4em;
  border-radius: 4px;
  font-size: .88em;
}
pre {
  background: #060a12;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
pre code {
  background: none;
  padding: 0;
  color: #e2e8f0;
  font-size: .9rem;
  line-height: 1.7;
}
.text-accent  { color: var(--accent); }
.text-accent2 { color: var(--accent2); }
.text-accent3 { color: var(--accent3); }
.text-muted   { color: var(--text-muted); }
.text-dim     { color: var(--text-dim); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
.section-tag {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .5rem;
  display: block;
}
.section-title {
  font-size: clamp(1.6rem,3vw,2.2rem);
  color: var(--white);
  margin-bottom: .75rem;
}
.section-title span { color: var(--accent); }
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 3rem;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: rgba(59,130,246,.1);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(139,148,158,.3);
}
.btn--ghost:hover {
  color: var(--white);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.btn--sm { padding: .45rem 1rem; font-size: .83rem; }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }

/* ── BADGE / CHIP ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(59,130,246,.1);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 999px;
  padding: .25rem .8rem;
  font-size: .78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  white-space: nowrap;
}
.badge--green  { background: rgba(16,185,129,.1); color: var(--accent3); border-color: rgba(16,185,129,.25); }
.badge--cyan   { background: rgba(6,182,212,.1);  color: var(--accent2); border-color: rgba(6,182,212,.25); }
.badge--amber  { background: rgba(245,158,11,.1); color: var(--accent4); border-color: rgba(245,158,11,.25); }
.badge--red    { background: rgba(239,68,68,.1);  color: var(--red);     border-color: rgba(239,68,68,.25); }
.badge--avail  { background: rgba(16,185,129,.15); color: #34d399; border-color: rgba(16,185,129,.4); animation: pulse-green 2s infinite; }

@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(59,130,246,.35);
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.card__title {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-weight: 600;
}
.card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(10,14,23,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: .65rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
}
.nav__logo .dot { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav__links a {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,.05);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}
.hero__glow {
  position: absolute;
  top: 20%; left: 55%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--accent3);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.terminal-prefix { color: var(--accent); opacity: .7; }
.hero__title {
  font-size: clamp(2.8rem,6vw,5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.hero__role {
  font-size: clamp(1rem,2.5vw,1.4rem);
  color: var(--text-muted);
  margin-bottom: .25rem;
  font-weight: 500;
}
.hero__role strong { color: var(--accent); }
.hero__tagline {
  font-size: clamp(.9rem,1.8vw,1.1rem);
  color: var(--accent2);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero__desc {
  font-size: clamp(.95rem,1.5vw,1.08rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero__available {
  background: var(--bg-card);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}
.hero__available-title {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .75rem;
}
.hero__available-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.avail-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--text);
}
.avail-item::before {
  content: "✓";
  color: var(--accent3);
  font-weight: 700;
  font-size: .9rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.stat__num {
  font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
}
.stat__label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item__icon { font-size: 1.3rem; }
.trust-item__val { color: var(--white); font-weight: 700; font-family: var(--font-mono); }

/* ── ABOUT ───────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.about__photo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--text-dim);
  font-size: .85rem;
  text-align: center;
  padding: 2rem;
}
.about__photo-icon { font-size: 3rem; }
.about__text h2 { margin-bottom: 1rem; }
.about__text p { color: var(--text-muted); margin-bottom: 1rem; }
.about__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.5rem;
}
.highlight {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text);
}
.highlight::before { content: "▹"; color: var(--accent); flex-shrink: 0; }

/* ── EXPERIENCE ──────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.45rem; top: .35rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(59,130,246,.3);
}
.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .4rem;
}
.timeline__title { font-size: 1.1rem; color: var(--white); font-weight: 600; }
.timeline__company { color: var(--accent); font-weight: 600; }
.timeline__date {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-dim);
  background: rgba(59,130,246,.08);
  padding: .25rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.timeline__list {
  list-style: none;
  margin-top: .75rem;
}
.timeline__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .4rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.timeline__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent2);
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.2);
  padding: .2rem .55rem;
  border-radius: 4px;
}

/* ── SKILLS ──────────────────────────────────────────────── */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition);
}
.skill-cat:hover { border-color: rgba(59,130,246,.35); }
.skill-cat__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.skill-cat__icon { font-size: 1.4rem; }
.skill-cat__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.skill-bar {
  margin-bottom: .85rem;
}
.skill-bar__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: .3rem;
  font-size: .8rem;
}
.skill-bar__name { color: var(--text); }
.skill-bar__pct  { color: var(--accent); font-family: var(--font-mono); }
.skill-bar__track {
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1) .3s;
}

/* ── PROJECTS ────────────────────────────────────────────── */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-mono);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  cursor: pointer;
}
.project-card:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.project-card--featured {
  grid-column: span 2;
  border-color: rgba(59,130,246,.3);
  background: linear-gradient(135deg, #0f1624 0%, #0a1525 100%);
}
.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.project-card__icon { font-size: 1.75rem; }
.project-card__links { display: flex; gap: .5rem; }
.project-card__links a {
  color: var(--text-dim);
  font-size: 1rem;
  padding: .25rem;
  transition: color var(--transition);
}
.project-card__links a:hover { color: var(--accent); }
.project-card__title {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .5rem;
  font-weight: 600;
}
.project-card__desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.project-card__metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.metric {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent3);
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: auto;
}

/* ── CERTIFICATIONS ──────────────────────────────────────── */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.cert-card:hover {
  border-color: rgba(59,130,246,.35);
  transform: translateY(-3px);
}
.cert-card__icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.cert-card__name { font-size: .85rem; color: var(--white); font-weight: 600; margin-bottom: .25rem; }
.cert-card__issuer { font-size: .75rem; color: var(--text-dim); }
.cert-card__status {
  display: inline-block;
  margin-top: .5rem;
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}
.cert-card__status--active { background: rgba(16,185,129,.1); color: var(--accent3); border: 1px solid rgba(16,185,129,.25); }
.cert-card__status--progress { background: rgba(245,158,11,.1); color: var(--accent4); border: 1px solid rgba(245,158,11,.25); }

/* ── TECH LOGOS ──────────────────────────────────────────── */
.tech-logos {
  padding: 3rem 0;
  background: rgba(255,255,255,.012);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-logos__title {
  text-align: center;
  font-size: .8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
}
.tech-logos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
}
.tech-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem 1rem;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition);
}
.tech-pill:hover {
  border-color: rgba(59,130,246,.4);
  color: var(--white);
  transform: translateY(-2px);
}
.tech-pill__icon { font-size: 1.2rem; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact__info h3 { margin-bottom: 1rem; }
.contact__info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact__channels { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.contact__channel {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-muted);
  font-size: .9rem;
  transition: color var(--transition);
}
.contact__channel:hover { color: var(--white); }
.contact__channel-icon { font-size: 1.2rem; width: 2rem; text-align: center; }
.contact__social { display: flex; gap: .75rem; }
.social-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.social-btn:hover {
  color: var(--white);
  border-color: rgba(59,130,246,.4);
  transform: translateY(-2px);
}
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form__group { margin-bottom: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__label {
  display: block;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
  font-weight: 500;
}
.form__input, .form__textarea, .form__select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: var(--white);
  padding: .7rem 1rem;
  font-size: .92rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
  outline: none;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__select option { background: #0f1624; }
.form__status {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  display: none;
}
.form__status--success { background: rgba(16,185,129,.1); color: var(--accent3); border: 1px solid rgba(16,185,129,.25); display: block; }
.form__status--error   { background: rgba(239,68,68,.1);  color: var(--red); border: 1px solid rgba(239,68,68,.25); display: block; }

/* ── COOKIE NOTICE ───────────────────────────────────────── */
.cookie-notice {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  max-width: 600px;
  width: calc(100% - 3rem);
  box-shadow: var(--shadow-lg);
  animation: slideUp .4s ease;
}
.cookie-notice.hidden { display: none; }
.cookie-notice p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.cookie-notice a { color: var(--accent); }
.cookie-notice__btns { display: flex; gap: .5rem; flex-shrink: 0; }
@keyframes slideUp { from { transform: translateX(-50%) translateY(20px); opacity:0; } }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.01);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__left .footer__logo {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}
.footer__copy {
  font-size: .8rem;
  color: var(--text-dim);
  margin-top: .25rem;
}
.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__socials { display: flex; gap: .75rem; }
.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer__socials a:hover {
  color: var(--accent);
  border-color: rgba(59,130,246,.4);
}

/* ── BLOG ────────────────────────────────────────────────── */
.blog-hero {
  padding: 7rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(59,130,246,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0c1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}
.blog-card__title {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.blog-card__excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: auto;
}
.read-time { color: var(--accent2); }

/* ── ARTICLE PAGE ────────────────────────────────────────── */
.article-hero {
  padding: 7rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 1rem 0 1.5rem;
  font-size: .82rem;
  color: var(--text-dim);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}
.article-content h2 { color: var(--accent2); margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.article-content h3 { color: var(--white); margin: 2rem 0 .75rem; font-size: 1.15rem; }
.article-content p  { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.1rem; }
.article-content ul, .article-content ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
  line-height: 1.8;
}
.article-content li { margin-bottom: .35rem; }
.article-content strong { color: var(--white); }
.article-content a { color: var(--accent); }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-style: italic;
}
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}
.toc__title {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}
.toc__list { list-style: none; }
.toc__list li { margin-bottom: .4rem; }
.toc__list a {
  font-size: .83rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: block;
  padding: .2rem 0;
}
.toc__list a:hover { color: var(--accent); }
.toc__list .toc__h3 { padding-left: .75rem; font-size: .78rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: .85rem;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.related-card:hover { border-color: rgba(59,130,246,.35); color: var(--white); transform: translateY(-2px); }
.related-card strong { color: var(--white); font-size: .9rem; display: block; }
.mitre-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .85rem; }
.mitre-table th {
  background: rgba(59,130,246,.1);
  color: var(--white);
  padding: .6rem 1rem;
  text-align: left;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mitre-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.mitre-table tr:hover td { background: rgba(255,255,255,.02); color: var(--text); }
.img-placeholder {
  background: linear-gradient(135deg, #111827 0%, #1e3a5f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--text-dim);
  font-size: .85rem;
  margin: 1.5rem 0;
}
.img-placeholder__icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }

/* ── CASE STUDY ──────────────────────────────────────────── */
.case-study {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}
.cs-header { padding: 7rem 0 2rem; }
.cs-tag {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: .75rem;
  display: block;
}
.cs-title { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 1rem; }
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .1rem;
  margin-bottom: 1.5rem;
}
.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.cs-metric {
  text-align: center;
  padding: .75rem;
  border-right: 1px solid var(--border);
}
.cs-metric:last-child { border-right: none; }
.cs-metric__val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: .25rem;
}
.cs-metric__label { font-size: .75rem; color: var(--text-dim); }
.cs-section { margin: 2.5rem 0; }
.cs-section h2 {
  font-size: 1.3rem;
  color: var(--accent2);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.cs-section h3 { font-size: 1.05rem; color: var(--white); margin: 1.25rem 0 .6rem; }
.cs-section p  { color: var(--text-muted); line-height: 1.8; }
.cs-section ul {
  list-style: none;
  color: var(--text-muted);
  padding-left: 1rem;
}
.cs-section ul li {
  padding-left: 1rem;
  margin-bottom: .4rem;
  position: relative;
  line-height: 1.7;
  font-size: .92rem;
}
.cs-section ul li::before { content: "›"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

/* ── PAGE HEADER (inner pages) ───────────────────────────── */
.page-header {
  padding: 7rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,.06), transparent);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.typing-cursor {
  display: inline-block;
  background: var(--accent);
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .skills__grid     { grid-template-columns: repeat(2, 1fr); }
  .projects__grid   { grid-template-columns: repeat(2, 1fr); }
  .project-card--featured { grid-column: span 1; }
  .certs__grid      { grid-template-columns: repeat(3, 1fr); }
  .about__grid      { grid-template-columns: 1fr 1.5fr; }
  .article-layout   { grid-template-columns: 1fr; }
  .toc              { position: static; }
  .cs-metrics       { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,14,23,.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; z-index: 1001; position: relative; }
  .hero__stats      { gap: 1rem; }
  .hero__available  { width: 100%; }
  .hero__available-list { flex-direction: column; }
  .about__grid      { grid-template-columns: 1fr; }
  .about__photo     { max-width: 240px; }
  .skills__grid     { grid-template-columns: 1fr; }
  .projects__grid   { grid-template-columns: 1fr; }
  .certs__grid      { grid-template-columns: repeat(2, 1fr); }
  .contact__grid    { grid-template-columns: 1fr; }
  .form__row        { grid-template-columns: 1fr; }
  .footer__inner    { flex-direction: column; text-align: center; }
  .footer__links    { flex-wrap: wrap; justify-content: center; }
  .blog-grid        { grid-template-columns: 1fr; }
  .related-grid     { grid-template-columns: 1fr; }
  .cs-metrics       { grid-template-columns: repeat(2, 1fr); }
  .article-layout   { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 1rem 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__cta        { flex-direction: column; }
  .hero__cta .btn   { width: 100%; justify-content: center; }
  .certs__grid      { grid-template-columns: 1fr 1fr; }
  .hero__stats      { justify-content: flex-start; }
  .cookie-notice    { flex-direction: column; text-align: center; }
  .cookie-notice__btns { justify-content: center; }
}

/* ── PRINT STYLES ────────────────────────────────────────── */
@media print {
  .nav, .footer, .cookie-notice, .hero__grid-bg, .hero__glow { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #1d4ed8; }
  .card, .project-card, .cert-card { border: 1px solid #ccc; }
}

/* =====================================================
   V3 NEW SECTION STYLES
===================================================== */

/* Achievements grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.ach-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}
.ach-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.4); }
.ach-card:hover::before { opacity: 1; }
.ach-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.ach-val { font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1.1; margin-bottom: .25rem; }
.ach-label { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.ach-desc { font-size: .82rem; color: var(--text-dim); line-height: 1.6; }

/* TryHackMe / Learning section */
.learning-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 860px) { .learning-layout { grid-template-columns: 1fr; } }

.thm-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
  border: 1px solid rgba(59,130,246,.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.thm-card__header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.thm-logo { font-size: 2.5rem; }
.thm-card__title { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: .2rem; }
.thm-card__link { font-size: .8rem; color: var(--accent); text-decoration: none; }
.thm-card__link:hover { text-decoration: underline; }

.thm-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (max-width: 600px) { .thm-stats { grid-template-columns: repeat(3, 1fr); } }
.thm-stat { }
.thm-stat__val { font-size: 1.3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.thm-stat__label { font-size: .65rem; color: var(--text-dim); margin-top: .25rem; text-transform: uppercase; letter-spacing: .06em; }

.thm-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.thm-badge {
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 20px;
  padding: .25rem .6rem;
  font-size: .72rem;
  color: var(--accent);
  font-weight: 600;
}
.thm-progress { margin-top: 1rem; }
.thm-progress__label { font-size: .78rem; color: var(--text-dim); margin-bottom: .4rem; }
.thm-progress__track { height: 8px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; }
.thm-progress__fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 8px; transition: width 1.5s ease; }

.learning-extra h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); }
.learning-items { display: flex; flex-direction: column; gap: .875rem; }
.learning-item { display: flex; gap: .75rem; align-items: flex-start; }
.learning-item__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.learning-item strong { display: block; font-size: .88rem; color: var(--white); margin-bottom: .2rem; }
.learning-item p { font-size: .8rem; color: var(--text-dim); line-height: 1.5; margin: 0; }

.certs-verified { display: flex; flex-direction: column; gap: .75rem; margin-top: .75rem; }
.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
}
.cert-card--verified { border-color: rgba(16,185,129,.3); }
.cert-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.cert-card__name { font-size: .88rem; font-weight: 700; color: var(--white); }
.cert-card__issuer { font-size: .75rem; color: var(--text-dim); margin-top: .15rem; }
.cert-card__status { font-size: .72rem; margin-top: .25rem; }
.cert-card__status--verified { color: var(--accent3); }
.cert-card__status--verified a { color: var(--accent3); }
.cert-note { font-size: .78rem; color: var(--text-dim); margin-top: 1rem; }

/* Security Research section */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: all var(--transition);
}
.research-card:hover { border-color: rgba(59,130,246,.35); transform: translateY(-3px); }
.research-card__icon { font-size: 1.75rem; }
.research-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0; }
.research-card p { font-size: .83rem; color: var(--text-dim); line-height: 1.6; margin: 0; }
.code-preview {
  background: #0a0e17;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .7rem;
  overflow-x: auto;
  flex: 1;
}
.code-preview pre { margin: 0; }
.code-preview code { font-family: var(--font-mono); color: var(--text-dim); }
.research-link { font-size: .8rem; color: var(--accent); text-decoration: none; font-weight: 600; margin-top: auto; }
.research-link:hover { text-decoration: underline; }
.research-stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.research-stats span { font-size: .75rem; color: var(--text-dim); background: rgba(255,255,255,.05); border-radius: 4px; padding: .2rem .5rem; }

/* Architecture diagram styles */
.arch-diagram {
  background: #050810;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}
.arch-diagram pre {
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
  white-space: pre;
}
.arch-layer {
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.arch-layer__title {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  margin-bottom: .75rem;
}
.arch-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.arch-node {
  background: rgba(30,41,59,.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .8rem;
  font-size: .78rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.arch-node--splunk { border-color: rgba(239,120,24,.4); color: #f59e0b; }
.arch-node--wazuh { border-color: rgba(6,182,212,.4); color: var(--accent2); }
.arch-node--elastic { border-color: rgba(16,185,129,.4); color: var(--accent3); }
.arch-node--seconion { border-color: rgba(168,85,247,.4); color: #a78bfa; }
.arch-node--proxmox { border-color: rgba(249,115,22,.4); color: #fb923c; }
.arch-node--docker { border-color: rgba(59,130,246,.4); color: var(--accent); }

/* Lab VLAN diagram */
.vlan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.vlan-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  font-size: .82rem;
}
.vlan-card__id { font-family: var(--font-mono); font-size: .7rem; color: var(--text-dim); margin-bottom: .4rem; }
.vlan-card__name { font-weight: 700; color: var(--white); margin-bottom: .5rem; font-size: .88rem; }
.vlan-card ul { padding-left: 1rem; color: var(--text-dim); line-height: 1.8; margin: 0; font-size: .8rem; }
.vlan-10 { border-color: rgba(239,68,68,.3); }
.vlan-20 { border-color: rgba(245,158,11,.3); }
.vlan-30 { border-color: rgba(16,185,129,.3); }
.vlan-40 { border-color: rgba(59,130,246,.3); }
.vlan-99 { border-color: rgba(168,85,247,.3); }
.vlan-50 { border-color: rgba(6,182,212,.3); }

/* Hero social link */
.hero__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: .75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all var(--transition);
}
.hero__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.hero__social { display: flex; gap: .5rem; margin-top: 1.25rem; }

/* About links */
.about-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }

/* Timeline highlight */
.timeline__highlight {
  background: rgba(59,130,246,.08);
  border-left: 3px solid var(--accent);
  padding: .75rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: .85rem;
  color: var(--text);
  margin: .75rem 0;
  line-height: 1.6;
}

/* Project card metrics */
.project-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0;
}
.project-card__metrics span {
  font-size: .72rem;
  color: var(--text-dim);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .15rem .5rem;
}

/* Contact availability */
.contact-availability {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 10px;
  font-size: .85rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Resume skill grid */
.resume-skill-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.resume-skill-item {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 20px;
  padding: .3rem .75rem;
  font-size: .78rem;
  color: var(--text);
}
.resume-highlight { background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.4); color: var(--accent); font-weight: 600; }
.resume-job { margin-bottom: 2rem; }
.resume-job h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.org-date { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-dim); margin-bottom: .75rem; flex-wrap: wrap; gap: .25rem; }
.resume-job ul { padding-left: 1.25rem; color: var(--text-dim); line-height: 1.9; font-size: .88rem; }
.resume-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.resume-section:last-child { border-bottom: none; }
.resume-header-block { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.resume-page { max-width: 860px; margin: 0 auto; padding: 7rem 1.5rem 5rem; }
.resume-download-bar { background: rgba(59,130,246,.08); border-bottom: 1px solid rgba(59,130,246,.2); padding: .6rem 1.5rem; font-size: .82rem; color: var(--text-dim); display: flex; align-items: center; gap: .75rem; position: sticky; top: 64px; z-index: 90; backdrop-filter: blur(10px); flex-wrap: wrap; }
.resume-download-bar a { color: var(--accent); text-decoration: none; }
.print-btn { background: transparent; border: 1px solid var(--border); border-radius: 6px; color: var(--text); padding: .25rem .6rem; font-size: .78rem; cursor: pointer; }
.print-btn:hover { border-color: var(--accent); color: var(--accent); }
.cert-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.cert-chip { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); border-radius: 20px; padding: .3rem .75rem; font-size: .78rem; color: var(--accent3); }
@media print { .nav,.footer,#cookie-notice,.resume-download-bar,.print-btn { display: none!important; } .resume-page { padding: 1rem; } body { background: white; color: #111; } }

/* Metrics strip v3 */
.metrics-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; }
.metrics-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.metric-item { text-align: center; padding: 1rem 2.5rem; border-right: 1px solid var(--border); }
.metric-item:last-child { border-right: none; }
.metric-val { font-size: 2rem; font-weight: 900; color: var(--accent); font-family: var(--font-mono); line-height: 1; }
.metric-label { font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }
@media (max-width: 640px) { .metric-item { border-right: none; padding: .75rem 1.5rem; width: 50%; border-bottom: 1px solid var(--border); } }

/* Page header for inner pages */
.page-header { padding: 7rem 0 2rem; }

/* ============================================================
   V4 ADDITIONS - New components & fixes
   Appended to css/style.css
============================================================ */

/* -- Available-For Banner -- */
.available-for {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: rgba(59,130,246,.07);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 10px;
}
.available-for__title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .6rem;
}
.available-for__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.available-for__tags span {
  font-size: .76rem;
  color: var(--accent3);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 20px;
  padding: .25rem .65rem;
  white-space: nowrap;
}

/* -- SVG Social Icons (Hero) -- */
.hero__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(59,130,246,.08);
  transform: translateY(-2px);
}
.social-icon--thm:hover { border-color: #00bcd4; color: #00bcd4; }
.social-icon--resume:hover { border-color: var(--accent3); color: var(--accent3); }

/* -- Footer Social Icons -- */
.footer__socials {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all .2s;
}
.footer__social-icon:hover {
  background: rgba(59,130,246,.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* -- Tech Stack Cards -- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stack-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.stack-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.stack-card__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.stack-card__icon { font-size: 1.4rem; }
.stack-card__header h3 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin: 0;
}
.stack-tools {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
}
.stack-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: .75rem .5rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  transition: all .2s;
  cursor: default;
}
.stack-tool:hover {
  background: rgba(59,130,246,.06);
  border-color: rgba(59,130,246,.2);
  transform: translateY(-2px);
}
.stack-tool span {
  font-size: .72rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}
.tool-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* -- Experience Timeline -- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(59,130,246,.1));
}
.timeline__item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.timeline__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -2.45rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(59,130,246,.4);
  transition: border-color .2s;
}
.timeline__item--current .timeline__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}
.timeline__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.timeline__role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .2rem;
}
.timeline__sep { color: var(--accent); margin: 0 .3rem; }
.timeline__org { font-size: .85rem; color: var(--text-dim); }
.timeline__date {
  font-size: .78rem;
  color: var(--accent);
  white-space: nowrap;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 20px;
  padding: .2rem .7rem;
  flex-shrink: 0;
}
.timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.timeline__tags span {
  font-size: .7rem;
  font-family: var(--font-mono);
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.12);
  border-radius: 4px;
  padding: .15rem .5rem;
  color: var(--accent);
}
.timeline__bullets {
  padding-left: 1.1rem;
  margin: 0;
}
.timeline__bullets li {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: .4rem;
}
.timeline__bullets strong { color: var(--text); }

/* -- PROJECT TAGS FIX (flex-wrap, no overflow) -- */
.project-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .35rem !important;
  margin: .75rem 0 !important;
}
.project-tags span {
  display: inline-block !important;
  white-space: nowrap !important;
  font-size: .7rem;
  font-family: var(--font-mono);
  background: rgba(59,130,246,.07);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 4px;
  padding: .2rem .55rem;
  color: var(--accent2);
}

/* -- Learning Platform Cards -- */
.learning-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.learn-platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}
.learn-platform-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.learn-platform-card--thm { border-left: 3px solid #00bcd4; }
.learn-platform-card--psw { border-left: 3px solid #ff6633; }
.lpc__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lpc__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.lpc__name { font-size: .95rem; font-weight: 700; color: var(--text); }
.lpc__sub { font-size: .75rem; color: var(--text-dim); margin-top: .1rem; }
.lpc__link {
  font-size: .78rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 6px;
  padding: .25rem .6rem;
  transition: all .2s;
  flex-shrink: 0;
}
.lpc__link:hover { background: rgba(59,130,246,.1); }
.lpc__stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255,255,255,.02);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lpc__stat { text-align: center; }
.lpc__stat-val { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.lpc__stat-label { font-size: .65rem; color: var(--text-dim); margin-top: .15rem; text-transform: uppercase; letter-spacing: .05em; }
.lpc__paths {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.lpc__path {
  font-size: .74rem;
  color: #00bcd4;
  background: rgba(0,188,212,.07);
  border: 1px solid rgba(0,188,212,.18);
  border-radius: 20px;
  padding: .2rem .65rem;
}
.lpc__desc { font-size: .84rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1rem; }
.lpc__topics {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .4rem;
}
.lpc__topic {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--text-dim);
}
.lpc__topic-icon { font-size: .75rem; color: #ff6633; }

/* -- Security Research -- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.research-card {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.research-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.research-card__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem .6rem;
}
.research-card__type {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.2);
  color: var(--accent);
  border-radius: 4px;
  padding: .15rem .5rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.research-card__header h3 { font-size: .88rem; font-weight: 600; margin: 0; color: var(--text); }
.research-card__desc { font-size: .8rem; color: var(--text-dim); padding: 0 1.25rem .5rem; line-height: 1.6; }
.research-card__code {
  margin: 0;
  padding: .75rem 1rem;
  background: rgba(0,0,0,.4);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow-x: auto;
}
.research-card__code code {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: #a5f3fc;
  line-height: 1.55;
  white-space: pre;
}
.research-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .75rem 1.25rem;
}
.research-card__tags span {
  font-size: .67rem;
  font-family: var(--font-mono);
  color: var(--accent2);
  background: rgba(6,182,212,.07);
  border: 1px solid rgba(6,182,212,.15);
  border-radius: 4px;
  padding: .15rem .45rem;
}

/* -- Certifications Grid -- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.cert-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.cert-group:hover { border-color: rgba(255,255,255,.15); }
.cert-group__header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
}
.cert-group__header--cisco { background: rgba(27,160,215,.06); color: #1ba0d7; }
.cert-group__header--palo  { background: rgba(250,70,22,.06);  color: #fa4616; }
.cert-group__header--thm   { background: rgba(0,188,212,.06);  color: #00bcd4; }
.cert-group__header--ec    { background: rgba(0,51,153,.06);   color: #6699ff; }
.cert-items { padding: .75rem 1.25rem; }
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.cert-item:last-child { border-bottom: none; }
.cert-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.cert-item__dot--blue   { background: #1ba0d7; }
.cert-item__dot--orange { background: #fa4616; }
.cert-item__dot--cyan   { background: #00bcd4; }
.cert-item__dot--purple { background: #6699ff; }
.cert-item div { display: flex; flex-direction: column; gap: .15rem; }
.cert-item strong { font-size: .82rem; color: var(--text); font-weight: 600; }
.cert-item span { font-size: .74rem; color: var(--text-dim); line-height: 1.4; }

/* -- About Grid -- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; font-size: .9rem; }
.about-text strong { color: var(--text); }
.about-highlights { display: flex; flex-direction: column; gap: .75rem; }
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s;
}
.highlight-card:hover { border-color: var(--accent); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-card strong { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.highlight-card span { font-size: .78rem; color: var(--text-dim); line-height: 1.5; }

/* -- Cookie Notice FIXED -- */
.cookie-notice {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  z-index: 9999;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s;
  opacity: 0;
}
.cookie-notice.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-notice p { font-size: .8rem; color: var(--text-dim); margin: 0; flex: 1; min-width: 200px; }
.cookie-notice a { color: var(--accent); }
.cookie-notice__btns { display: flex; gap: .5rem; flex-shrink: 0; }

/* -- Contact Layout -- */
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: .75rem; }
.contact-info__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .86rem;
  color: var(--text-dim);
}
.contact-info__item svg { color: var(--accent); flex-shrink: 0; }
.contact-info__item a { color: var(--text-dim); text-decoration: none; transition: color .2s; }
.contact-info__item a:hover { color: var(--accent); }
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-dim); margin-bottom: .4rem; }
.form-group label span { color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .65rem .9rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .86rem;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(59,130,246,.04);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form__status {
  margin-top: .75rem;
  padding: .6rem .9rem;
  border-radius: 6px;
  font-size: .82rem;
  display: block;
  min-height: 1rem;
}
.form__status--success { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); color: #10b981; }
.form__status--error   { background: rgba(239,68,68,.08);  border: 1px solid rgba(239,68,68,.2);  color: #ef4444; }
.btn--full { width: 100%; text-align: center; }

/* -- Metrics Strip fix for stat-num display -- */
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}
.metric-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dim);
  margin-top: .3rem;
}

/* -- Section subtitle -- */
.section-subtitle {
  color: var(--text-dim);
  font-size: .9rem;
  max-width: 600px;
  margin: -.5rem 0 1rem;
  line-height: 1.7;
}

/* -- Footer tagline -- */
.footer__tagline { font-size: .78rem; color: var(--text-dim); margin: .25rem 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer__left { flex: 1; min-width: 180px; }

/* -- Responsive fixes -- */
@media (max-width: 768px) {
  .stack-grid { grid-template-columns: 1fr; }
  .learning-layout { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .lpc__stats { grid-template-columns: repeat(2,1fr); }
  .hero__socials { gap: .45rem; }
  .social-icon { padding: .4rem .7rem; font-size: .75rem; }
  .timeline { padding-left: 1.5rem; }
  .timeline__dot { left: -1.95rem; }
  .stack-tools { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 480px) {
  .available-for__tags span { font-size: .7rem; }
  .lpc__topics { grid-template-columns: 1fr; }
  .timeline__header { flex-direction: column; }
}
