/* ══════════════════════════════════════
   PORTFOLIO CYBERSEC — style.css
   Lais Mendes | IAM Specialist
   ══════════════════════════════════════ */

:root {
  --neon: #00e5ff;
  --neon-dim: #0097a7;
  --mint: #00ffab;
  --rose: #ff2d75;
  --violet: #c385ff;
  --amber: #f0c040;
  --bg0: #060810;
  --bg2: #10141e;
  --bg3: #161b28;
  --tx1: #e4e8f1;
  --tx2: #8892a4;
  --tx3: #4a5268;
  --brd: rgba(0,229,255,.07);
  --brd2: rgba(0,229,255,.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  background: var(--bg0);
  color: var(--tx1);
  line-height: 1.65;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,229,255,.006) 2px, rgba(0,229,255,.006) 4px);
  pointer-events: none;
  z-index: 9999;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--neon-dim); border-radius: 3px; }
a { color: var(--neon); text-decoration: none; transition: .3s; }
a:hover { color: var(--mint); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: .9rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(6,8,16,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--brd);
}
.logo {
  font-family: 'Azeret Mono', monospace;
  font-size: .92rem; font-weight: 600; color: var(--neon);
  display: flex; align-items: center; gap: .4rem;
}
.logo .dim { color: var(--tx3); }
.logo .blink {
  display: inline-block; width: 2px; height: 15px;
  background: var(--neon); animation: blink 1s step-end infinite; margin-left: 1px;
}
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a {
  color: var(--tx2); font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
.nav-links a::before { content: '>'; margin-right: .35rem; color: var(--tx3); transition: .3s; }
.nav-links a:hover { color: var(--neon); }
.nav-links a:hover::before { color: var(--neon); }
.menu-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: 0; border: 0; padding: 4px;
}
.menu-btn span { width: 22px; height: 1.5px; background: var(--neon); transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 3rem 4rem; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -15%; right: -8%; width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(0,229,255,.05), transparent 65%);
  filter: blur(50px); pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -10%; left: -8%; width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,255,171,.03), transparent 60%);
  filter: blur(50px); pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,229,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.018) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem;
  align-items: center; position: relative; z-index: 1;
}
.hero-text { animation: fadeUp .8s ease-out; }
.tag-line {
  font-family: 'IBM Plex Mono', monospace; font-size: .7rem; color: var(--mint);
  letter-spacing: .06em; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
}
.tag-line .dash { width: 18px; height: 1px; background: var(--mint); }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.025em; margin-bottom: .3rem;
}
.hero h1 .glow { color: var(--neon); text-shadow: 0 0 28px rgba(0,229,255,.28); }
.hero h1 .sub {
  display: block; font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 300; color: var(--tx2); margin-top: .3rem;
}
.hero-desc { font-size: .97rem; color: var(--tx2); max-width: 480px; margin: 1.4rem 0 2rem; font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  padding: .72rem 1.7rem; border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace; font-size: .78rem; font-weight: 500;
  cursor: pointer; transition: .35s; display: inline-flex; align-items: center;
  gap: .5rem; letter-spacing: .02em;
}
.btn-primary {
  background: var(--neon); color: var(--bg0); border: 1px solid var(--neon);
  box-shadow: 0 0 18px rgba(0,229,255,.14);
}
.btn-primary:hover { background: transparent; color: var(--neon); box-shadow: 0 0 28px rgba(0,229,255,.22); }
.btn-ghost { background: 0; color: var(--tx2); border: 1px solid rgba(255,255,255,.08); }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

/* ── TERMINAL CARD ── */
.term-card {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 14px;
  overflow: hidden; animation: fadeUp .8s ease-out .25s both;
  box-shadow: 0 18px 50px rgba(0,0,0,.4), 0 0 35px rgba(0,229,255,.025);
}
.term-bar {
  display: flex; align-items: center; gap: .45rem; padding: .7rem 1.1rem;
  background: rgba(255,255,255,.015); border-bottom: 1px solid var(--brd);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.term-title { font-family: 'IBM Plex Mono', monospace; font-size: .64rem; color: var(--tx3); margin-left: .4rem; }
.term-body { padding: 1.3rem 1.4rem; font-family: 'IBM Plex Mono', monospace; font-size: .75rem; line-height: 1.85; }
.tp { color: var(--mint); }
.tc { color: var(--tx1); }
.tk { color: var(--violet); }
.tv { color: var(--neon); }
.ts { color: var(--mint); }
.tb { color: var(--tx3); }
.tl { display: block; padding-left: 1rem; }
.tcur {
  display: inline-block; width: 7px; height: 13px; background: var(--neon);
  animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 2px;
}

/* ── SECTIONS ── */
section { padding: 5.5rem 3rem; max-width: 1200px; margin: 0 auto; }
.sec-hdr { margin-bottom: 2.8rem; }
.sec-label {
  font-family: 'IBM Plex Mono', monospace; font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--neon);
  margin-bottom: .55rem; display: flex; align-items: center; gap: .5rem;
}
.sec-label::before { content: '//'; color: var(--tx3); }
.sec-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; line-height: 1.15; }
.sec-desc { color: var(--tx2); font-weight: 300; margin-top: .55rem; font-size: .93rem; max-width: 620px; }
.divider { max-width: 1200px; margin: 0 auto; height: 1px; background: var(--brd); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text p { color: var(--tx2); font-weight: 300; margin-bottom: 1.1rem; font-size: .93rem; }
.about-text strong { color: var(--tx1); font-weight: 500; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.8rem; }
.stat-box {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 11px;
  padding: 1.2rem; text-align: center; transition: .35s;
}
.stat-box:hover { border-color: var(--brd2); box-shadow: 0 0 16px rgba(0,229,255,.04); }
.stat-num { font-family: 'Azeret Mono', monospace; font-size: 1.7rem; font-weight: 700; color: var(--neon); }
.stat-lbl { font-size: .68rem; color: var(--tx3); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

.badges-col { display: flex; flex-direction: column; gap: .9rem; }
.badge {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 13px;
  padding: 1.3rem 1.4rem; display: flex; align-items: flex-start; gap: 1.1rem; transition: .35s;
}
.badge:hover { border-color: var(--brd2); background: var(--bg3); transform: translateX(4px); }
.badge-ico {
  width: 42px; height: 42px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.ico-c { background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.14); }
.ico-m { background: rgba(0,255,171,.07); border: 1px solid rgba(0,255,171,.14); }
.ico-r { background: rgba(255,45,117,.07); border: 1px solid rgba(255,45,117,.14); }
.ico-v { background: rgba(195,133,255,.07); border: 1px solid rgba(195,133,255,.14); }
.ico-a { background: rgba(240,192,64,.07); border: 1px solid rgba(240,192,64,.14); }
.badge-t { font-weight: 600; font-size: .92rem; margin-bottom: .15rem; }
.badge-d { font-size: .8rem; color: var(--tx2); font-weight: 300; }

/* ── SKILLS ── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: .9rem; }
.sk {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 11px;
  padding: 1.3rem 1rem; text-align: center; transition: .35s; position: relative; overflow: hidden;
}
.sk::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: 0; transition: .35s;
}
.sk:hover { border-color: var(--brd2); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,229,255,.05); }
.sk:hover::before { opacity: 1; }
.sk-ico { font-size: 1.7rem; margin-bottom: .7rem; display: block; }
.sk-name { font-weight: 600; font-size: .84rem; margin-bottom: .35rem; }
.sk-dots { display: flex; gap: 3px; justify-content: center; }
.sk-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.06); }
.sk-dot.on { background: var(--neon); box-shadow: 0 0 5px rgba(0,229,255,.4); }

/* SECRET SKILL */
.sk-secret { cursor: pointer; border-color: rgba(195,133,255,.15); animation: secretPulse 3s ease-in-out infinite; }
.sk-secret:hover { border-color: rgba(195,133,255,.4); box-shadow: 0 6px 24px rgba(195,133,255,.12); transform: translateY(-3px) scale(1.03); }
.sk-secret::before { background: linear-gradient(90deg, transparent, var(--violet), transparent) !important; }
@keyframes secretPulse { 0%,100% { box-shadow: 0 0 0 rgba(195,133,255,0); } 50% { box-shadow: 0 0 18px rgba(195,133,255,.08); } }

/* ── PROJECTS ── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.4rem; }
.proj {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 15px;
  overflow: hidden; transition: .4s; cursor: pointer;
}
.proj:hover { border-color: var(--brd2); transform: translateY(-4px); box-shadow: 0 10px 35px rgba(0,0,0,.3), 0 0 25px rgba(0,229,255,.03); }
.proj-banner { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; }
.proj-tag {
  position: absolute; top: .8rem; right: .8rem;
  font-family: 'IBM Plex Mono', monospace; font-size: .62rem; padding: .25rem .6rem;
  border-radius: 5px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  color: var(--neon); border: 1px solid rgba(0,229,255,.18); z-index: 1;
}
.proj-emoji { font-size: 2.8rem; z-index: 1; filter: drop-shadow(0 4px 16px rgba(0,0,0,.3)); }
.proj-body { padding: 1.4rem; }
.proj-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.proj-desc {
  font-size: .82rem; color: var(--tx2); font-weight: 300; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.proj-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.proj-tags span {
  font-family: 'IBM Plex Mono', monospace; font-size: .62rem; padding: .22rem .55rem;
  border-radius: 4px; background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.1); color: var(--neon);
}
.proj-links { display: flex; gap: .8rem; }
.proj-link {
  font-family: 'IBM Plex Mono', monospace; font-size: .72rem; color: var(--tx3);
  display: flex; align-items: center; gap: .25rem; transition: .3s;
}
.proj-link:hover { color: var(--neon); }

/* ── CERTS / FORMACAO ── */
.certs-list { display: flex; flex-direction: column; gap: .9rem; }
.cert {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 13px;
  padding: 1.3rem 1.6rem; display: flex; align-items: center; justify-content: space-between; transition: .35s;
}
.cert:hover { border-color: var(--brd2); background: var(--bg3); }
.cert-l { display: flex; align-items: center; gap: 1.1rem; }
.cert-ico {
  width: 46px; height: 46px; border-radius: 11px; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.1);
}
.cert-name { font-weight: 600; font-size: .92rem; }
.cert-org { font-size: .76rem; color: var(--tx2); }
.cert-yr { font-family: 'IBM Plex Mono', monospace; font-size: .76rem; color: var(--tx3); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-info h3 { font-size: 1.2rem; margin-bottom: .8rem; font-weight: 600; }
.contact-info > p { color: var(--tx2); font-weight: 300; margin-bottom: 1.8rem; font-size: .93rem; }
.c-links { display: flex; flex-direction: column; gap: .7rem; }
.c-link {
  display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem;
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 11px;
  color: var(--tx2); transition: .35s; font-size: .88rem;
}
.c-link:hover { border-color: var(--brd2); color: var(--neon); background: var(--bg3); }
.c-link-ico {
  width: 34px; height: 34px; border-radius: 8px; background: rgba(0,229,255,.05);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.c-form { background: var(--bg2); border: 1px solid var(--brd); border-radius: 15px; padding: 1.8rem; }
.fg { margin-bottom: 1.1rem; }
.fg label {
  display: block; font-family: 'IBM Plex Mono', monospace; font-size: .68rem;
  color: var(--tx3); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .05em;
}
.fg input, .fg textarea {
  width: 100%; padding: .8rem .95rem; background: rgba(255,255,255,.018);
  border: 1px solid var(--brd); border-radius: 9px; color: var(--tx1);
  font-family: 'Sora', sans-serif; font-size: .88rem; transition: .3s; outline: 0;
}
.fg input:focus, .fg textarea:focus { border-color: var(--neon); box-shadow: 0 0 12px rgba(0,229,255,.07); }
.fg textarea { resize: vertical; min-height: 95px; }
.btn-send {
  width: 100%; padding: .85rem; background: var(--neon); color: var(--bg0);
  border: 1px solid var(--neon); border-radius: 9px;
  font-family: 'IBM Plex Mono', monospace; font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: .35s;
}
.btn-send:hover { background: transparent; color: var(--neon); box-shadow: 0 0 22px rgba(0,229,255,.14); }

/* ── FOOTER ── */
footer { text-align: center; padding: 2.5rem; border-top: 1px solid var(--brd); }
.ft { font-family: 'IBM Plex Mono', monospace; font-size: .7rem; color: var(--tx3); }
.ft .h { color: var(--rose); }

/* ══════════════════════════════════════
   NEW SECTIONS
   ══════════════════════════════════════ */

/* ── MODAL / OVERLAY ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,8,16,.92); backdrop-filter: blur(12px);
  align-items: flex-start; justify-content: center;
  padding: 5rem 1.5rem 2rem; overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 18px;
  max-width: 900px; width: 100%; padding: 2.5rem; position: relative;
  animation: fadeUp .4s ease-out;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: 0; border: 0; color: var(--tx3); font-size: 1.4rem;
  cursor: pointer; transition: .3s; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.modal-close:hover { color: var(--neon); background: rgba(0,229,255,.05); }
.modal-title {
  font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem;
}
.modal-subtitle {
  font-size: .82rem; color: var(--tx2); font-weight: 300; margin-bottom: 1.5rem;
}
.modal-body h3 {
  font-size: 1.05rem; color: var(--neon); margin: 1.5rem 0 .6rem; font-weight: 600;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p {
  font-size: .88rem; color: var(--tx2); font-weight: 300; margin-bottom: .8rem; line-height: 1.7;
}
.modal-body strong { color: var(--tx1); font-weight: 500; }
.modal-body ul {
  list-style: none; padding: 0; margin-bottom: 1rem;
}
.modal-body ul li {
  font-size: .84rem; color: var(--tx2); padding: .35rem 0 .35rem 1.2rem;
  position: relative; line-height: 1.6;
}
.modal-body ul li::before {
  content: '▸'; position: absolute; left: 0; color: var(--neon); font-size: .7rem;
}

/* ── KNOWLEDGE CARDS ── */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.kb-card {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 14px;
  padding: 1.6rem; transition: .35s; cursor: pointer; position: relative; overflow: hidden;
}
.kb-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent); opacity: 0; transition: .35s;
}
.kb-card:hover { border-color: var(--brd2); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.kb-card:hover::before { opacity: 1; }
.kb-ico { font-size: 2rem; margin-bottom: .8rem; display: block; }
.kb-title { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.kb-desc { font-size: .8rem; color: var(--tx2); font-weight: 300; line-height: 1.5; margin-bottom: .8rem; }
.kb-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.kb-tags span {
  font-family: 'IBM Plex Mono', monospace; font-size: .58rem; padding: .2rem .5rem;
  border-radius: 4px; background: rgba(0,229,255,.05); border: 1px solid rgba(0,229,255,.1); color: var(--neon);
}
.kb-tags span.tag-amber { background: rgba(240,192,64,.05); border-color: rgba(240,192,64,.15); color: var(--amber); }
.kb-tags span.tag-violet { background: rgba(195,133,255,.05); border-color: rgba(195,133,255,.15); color: var(--violet); }
.kb-tags span.tag-rose { background: rgba(255,45,117,.05); border-color: rgba(255,45,117,.15); color: var(--rose); }
.kb-tags span.tag-mint { background: rgba(0,255,171,.05); border-color: rgba(0,255,171,.15); color: var(--mint); }

/* ── MIND MAP EMBED ── */
.mindmap-container {
  border: 1px solid var(--brd); border-radius: 14px; overflow: hidden;
  height: 500px; position: relative; margin-top: 1.5rem;
}
.mindmap-container iframe {
  width: 100%; height: 100%; border: 0;
}
.mindmap-label {
  position: absolute; bottom: .8rem; right: .8rem;
  font-family: 'IBM Plex Mono', monospace; font-size: .6rem;
  padding: .25rem .6rem; border-radius: 5px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  color: var(--neon); border: 1px solid rgba(0,229,255,.18); z-index: 5;
}

/* ── PASSWORD GATE ── */
.pwd-overlay {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(6,8,16,.96); backdrop-filter: blur(18px);
  align-items: center; justify-content: center;
}
.pwd-overlay.active { display: flex; }
.pwd-box {
  background: var(--bg2); border: 1px solid rgba(195,133,255,.2);
  border-radius: 18px; padding: 2.5rem; text-align: center; max-width: 380px; width: 90%;
  animation: fadeUp .4s ease-out;
  box-shadow: 0 0 60px rgba(195,133,255,.06);
}
.pwd-box h3 {
  font-size: 1.1rem; margin-bottom: .3rem; color: var(--violet);
}
.pwd-box p { font-size: .82rem; color: var(--tx2); margin-bottom: 1.2rem; }
.pwd-input {
  width: 100%; padding: .8rem 1rem; background: rgba(255,255,255,.02);
  border: 1px solid rgba(195,133,255,.15); border-radius: 9px;
  color: var(--tx1); font-family: 'Sora', sans-serif; font-size: .9rem;
  text-align: center; outline: 0; transition: .3s; margin-bottom: .8rem;
}
.pwd-input:focus { border-color: var(--violet); box-shadow: 0 0 12px rgba(195,133,255,.1); }
.pwd-input.error { border-color: var(--rose); animation: shake .4s ease; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pwd-submit {
  width: 100%; padding: .75rem; background: linear-gradient(135deg, var(--violet), #9b59b6);
  color: #fff; border: 0; border-radius: 9px; font-family: 'IBM Plex Mono', monospace;
  font-size: .82rem; font-weight: 600; cursor: pointer; transition: .3s;
}
.pwd-submit:hover { box-shadow: 0 0 20px rgba(195,133,255,.2); }
.pwd-cancel {
  background: 0; border: 0; color: var(--tx3); font-size: .76rem;
  cursor: pointer; margin-top: .8rem; transition: .3s;
  font-family: 'IBM Plex Mono', monospace;
}
.pwd-cancel:hover { color: var(--tx2); }

/* ── NOTE BANNER ── */
.note-banner {
  background: rgba(0,229,255,.03); border: 1px solid rgba(0,229,255,.1);
  border-radius: 11px; padding: 1rem 1.4rem; margin-bottom: 2rem;
  display: flex; align-items: flex-start; gap: .8rem;
}
.note-banner-ico { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.note-banner p { font-size: .82rem; color: var(--tx2); font-weight: 300; line-height: 1.6; }
.note-banner strong { color: var(--neon); }

/* ── HIGHLIGHT CARDS ── */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.hl-card {
  background: var(--bg2); border: 1px solid var(--brd); border-radius: 12px;
  padding: 1.2rem 1.3rem; transition: .35s;
}
.hl-card:hover { border-color: var(--brd2); background: var(--bg3); }
.hl-card-title {
  font-weight: 600; font-size: .9rem; margin-bottom: .3rem;
  display: flex; align-items: center; gap: .5rem;
}
.hl-card-desc { font-size: .78rem; color: var(--tx2); font-weight: 300; line-height: 1.5; }

/* ── ANIMATIONS ── */
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: all .65s cubic-bezier(.16,1,.3,1); }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: .9rem 1.4rem; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,8,16,.95); backdrop-filter: blur(18px); padding: 1.3rem;
    border-bottom: 1px solid var(--brd); gap: 1rem;
  }
  section { padding: 4rem 1.4rem; }
  .hero { padding: 6.5rem 1.4rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .modal-content { padding: 1.5rem; }
  .mindmap-container { height: 350px; }
}
@media (max-width: 550px) {
  .hero h1 { font-size: 2rem; }
  .stats-row { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .kb-grid { grid-template-columns: 1fr; }
}
