/* =========
   Theme
=========== */
:root{
  --bg: #0b0f14;           /* deep charcoal */
  --bg2: #0a0d12;
  --card: rgba(255,255,255,.04);
  --card2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.55);

  --neon: #38bdf8;         /* minimal neon accent (cyan) */
  --neon2:#a78bfa;         /* subtle secondary (violet) */

  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1000px 600px at 20% -10%, rgba(56,189,248,.14), transparent 55%),
              radial-gradient(900px 520px at 95% 10%, rgba(167,139,250,.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
a:focus-visible, button:focus-visible{outline:2px solid var(--neon); outline-offset:3px;border-radius:10px}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.section{padding:86px 0}
.sectionHeader{margin-bottom:18px}
.sectionHeader h2{margin:0 0 6px; font-size:28px; letter-spacing:-.02em}
.sectionHeader p{margin:0; color:var(--muted)}

.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* subtle background grid */
.bg-grid{
  position:fixed; inset:0; pointer-events:none; opacity:.45;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(closest-side at 50% 0%, rgba(0,0,0,.70), transparent 85%);
}

/* =========
   Topbar / Nav
=========== */
.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(12px);
  background: rgba(10,13,18,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; height:68px}
.brand{display:flex; align-items:center; gap:10px}
.brand__dot{
  width:10px; height:10px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--neon));
  box-shadow: 0 0 0 6px rgba(56,189,248,.10), 0 0 28px rgba(56,189,248,.18);
}
.brand__text{font-weight:700; letter-spacing:-.02em}

.nav__toggle{display:none; background:transparent; border:0; color:var(--text); cursor:pointer; padding:10px}
.nav__toggleLines{
  display:block; width:22px; height:2px; background:var(--text); position:relative; border-radius:2px;
}
.nav__toggleLines::before, .nav__toggleLines::after{
  content:""; position:absolute; left:0; width:22px; height:2px; background:var(--text); border-radius:2px;
}
.nav__toggleLines::before{top:-7px}
.nav__toggleLines::after{top:7px}

.nav__menu{display:flex; align-items:center; gap:14px; list-style:none; margin:0; padding:0}
.nav__link{
  padding:10px 10px; border-radius:12px; color:var(--muted);
}
.nav__link:hover{color:var(--text); background:rgba(255,255,255,.06)}
.nav__cta{margin-left:6px}

/* =========
   Buttons / Chips
=========== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18)}
.btn--primary{
  background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(167,139,250,.12));
  border-color: rgba(56,189,248,.35);
}
.btn--primary:hover{border-color: rgba(56,189,248,.55)}
.btn--ghost{background: rgba(255,255,255,.03)}

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.chip:hover{color:var(--text); border-color: rgba(56,189,248,.35)}

/* =========
   Hero
=========== */
.hero{padding-top:46px}
.hero__grid{display:grid; grid-template-columns: 1.25fr .75fr; gap:22px; align-items:start}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  color:var(--muted); font-weight:600; letter-spacing:.02em;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  padding:8px 10px; border-radius:999px;
}
.hero__title{margin:14px 0 10px; font-size:42px; line-height:1.06; letter-spacing:-.04em}
.hero__subtitle{margin:0 0 18px; color:var(--muted); max-width:60ch}
.hero__buttons{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}

.stats{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; margin: 16px 0}
.stat{
  padding:12px; border-radius:16px; background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.stat__value{font-weight:800; letter-spacing:-.02em}
.stat__label{color:var(--muted2); font-size:12px; margin-top:4px}

.hero__links{display:flex; flex-wrap:wrap; gap:10px}

/* profile */
.profileCard{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.profileCard__imgWrap{
  position:relative;
  padding:18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: radial-gradient(450px 240px at 30% 0%, rgba(56,189,248,.22), transparent 60%);
}
.profileCard__img{
  width:100%; height:auto; border-radius: 18px; display:block;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}
.profileCard__meta{padding:16px 18px 18px}
.profileCard__name{font-weight:800; letter-spacing:-.02em; margin-bottom:6px}
.profileCard__loc{color:var(--muted); margin-bottom:10px}
.profileCard__tags{display:flex; flex-wrap:wrap; gap:8px}
.tag{
  font-size:12px; color: rgba(255,255,255,.78);
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

/* callout */
.callout{
  margin-top:14px;
  padding:14px 16px;
  border-radius: var(--radius);
  border:1px solid rgba(56,189,248,.22);
  background: radial-gradient(520px 220px at 15% 0%, rgba(56,189,248,.14), transparent 55%),
              rgba(255,255,255,.02);
}
.callout__title{font-weight:800; margin-bottom:6px}
.callout__body{color:var(--muted); line-height:1.55}

/* =========
   Cards / Layout
=========== */
.card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding:16px 16px;
}
.card h3{margin:0 0 10px; letter-spacing:-.02em}
.card h4{margin:14px 0 8px}
.divider{height:1px; background: rgba(255,255,255,.08); margin:14px 0}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:16px}

.bullets{margin:0; padding-left:18px; color:var(--muted); line-height:1.6}
.bullets li{margin:8px 0}

/* timeline */
.timeline{display:flex; flex-direction:column; gap:12px}
.tlItem{
  padding:14px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.tlItem__top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.tlItem__title{font-weight:750; letter-spacing:-.01em}
.tlItem__meta{color:var(--muted2); font-size:12px; margin-top:4px}
.tlItem__when{color:var(--muted2); font-size:12px; white-space:nowrap}
.tlItem__desc{margin-top:10px; color:var(--muted); line-height:1.6}
.timeline--wide .tlItem{padding:16px 16px}

/* cards grid */
.cardsGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.projectCard{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  padding:16px;
  display:flex; flex-direction:column; gap:10px;
  min-height: 190px;
}
.projectCard__title{font-weight:800; letter-spacing:-.02em; line-height:1.2}
.projectCard__desc{color:var(--muted); line-height:1.55; margin:0}
.projectCard__meta{display:flex; flex-wrap:wrap; gap:8px; margin-top:auto}
.pill{
  font-size:12px; color:var(--muted);
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.projectCard__links{display:flex; gap:10px; flex-wrap:wrap}
.link{
  color: rgba(255,255,255,.85);
  border-bottom: 1px dashed rgba(56,189,248,.35);
}
.link:hover{color:var(--text); border-bottom-color: rgba(56,189,248,.65)}

.list{display:flex; flex-direction:column; gap:10px}
.listItem{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.listItem__title{font-weight:750}
.listItem__meta{color:var(--muted2); font-size:12px; margin-top:4px}
.listItem__link{margin-top:8px; display:inline-block}

/* tabs */
.tabs{
  display:flex; gap:10px; flex-wrap:wrap;
  padding:10px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  margin-bottom:12px;
}
.tab{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  padding:10px 12px;
  border-radius: 14px;
  font-weight:700;
  cursor:pointer;
}
.tab.is-active{
  color:var(--text);
  border-color: rgba(56,189,248,.35);
  background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(167,139,250,.10));
}
.tabPanels{min-height: 220px}
.tabPanel{display:none}
.tabPanel.is-active{display:block}

.certGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}
.cert{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.cert__title{font-weight:750}
.cert__meta{color:var(--muted2); font-size:12px; margin-top:4px}

/* footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:26px 0;
  background: rgba(10,13,18,.35);
}
.footer__inner{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footer__brand{display:flex; align-items:center; gap:10px; font-weight:800}
.muted{color:var(--muted); margin:6px 0 0}
.mutedLink{color:var(--muted); padding:8px 10px; border-radius:12px}
.mutedLink:hover{color:var(--text); background: rgba(255,255,255,.05)}

/* =========
   Responsive
=========== */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; }
  .stats{grid-template-columns: repeat(3, minmax(0,1fr))}
  .cardsGrid{grid-template-columns: repeat(2, minmax(0,1fr))}
}
@media (max-width: 720px){
  .grid2{grid-template-columns:1fr}
  .cardsGrid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .certGrid{grid-template-columns:1fr}
  .nav__toggle{display:inline-flex}
  .nav__menu{
    display:none;
    position:absolute;
    right:20px; top:68px;
    width:min(360px, calc(100vw - 40px));
    flex-direction:column; align-items:stretch;
    padding:12px;
    border-radius: 18px;
    background: rgba(10,13,18,.92);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{display:flex}
  .nav__cta{margin-left:0}
}
