:root{
  --bg0:#060910;
  --bg1:#0b1020;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.66);
  --line:rgba(255,255,255,.10);
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.09);
  --accent:#7c5cff;
  --accent2:#19c37d;
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --r:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:linear-gradient(180deg,var(--bg0),var(--bg1));
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.wrap{width:min(1120px,calc(100% - 44px));margin:0 auto}

.bg{
  position:fixed; inset:0; pointer-events:none; z-index:0;
}
.gridlines{
  position:absolute; inset:0;
  background:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:80px 80px;
  opacity:.08;
  mask-image:radial-gradient(circle at 50% 20%, black 20%, transparent 62%);
}
.orb{
  position:absolute;
  width:600px; height:600px;
  border-radius:999px;
  filter:blur(40px);
  opacity:.22;
  animation: float 9s ease-in-out infinite;
}
.o1{left:-120px; top:-140px; background:rgba(124,92,255,.85)}
.o2{right:-160px; top:-120px; background:rgba(25,195,125,.75); animation-delay: -3s}
.o3{left:25%; bottom:-240px; width:720px; height:720px; background:rgba(255,255,255,.22); animation-delay: -6s}
@keyframes float{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,18px,0) scale(1.04)}
}

.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(8,12,20,.55);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding:14px 0;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
}

.brand-mark{
  width:14px;
  height:14px;
  border-radius:6px;
  background:linear-gradient(135deg, rgba(124,92,255,.9), rgba(25,195,125,.85));
  box-shadow:0 0 0 3px rgba(124,92,255,.12);
}

.brand-text{
  font-size:14px;
}

.nav{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.nav a{
  color:rgba(255,255,255,.72);
  font-size:13px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav a:hover{
  color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
  transform:translateY(-1px);
}

.nav a:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(124,92,255,.22);
}

.nav-cta{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  font-weight:800;
  border:1px solid rgba(124,92,255,.50);
  background:rgba(124,92,255,.16);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover{
  transform:translateY(-1px);
  background:rgba(124,92,255,.24);
}

main{position:relative; z-index:1}

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  padding:46px 0 10px;
  align-items:start;
}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  margin:0 0 14px;
}
.pill-dot{
  width:10px; height:10px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.18));
  box-shadow:0 0 0 3px rgba(124,92,255,.16);
}

h1{
  margin:0 0 10px;
  font-size:clamp(34px,4.2vw,56px);
  line-height:1.03;
  letter-spacing:-.5px;
}
.sub{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.75;
  max-width:62ch;
}

.cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(124,92,255,.55);
  background:rgba(124,92,255,.18);
  box-shadow:0 12px 28px rgba(124,92,255,.16);
  transition:transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover{transform:translateY(-1px); background:rgba(124,92,255,.25)}
.btn.ghost{
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  box-shadow:none;
}
.btn.ghost:hover{background:rgba(255,255,255,.06)}

.chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.78);
  font-size:12px;
}

.hero-right{display:grid; gap:14px; align-content:start}

/* Profile card with animated glow behind the photo */
.profile{
  position:relative;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:14px;
  display:grid;
  gap:12px;
  overflow:hidden;
}

.profile-glow{
  position:absolute;
  inset:-40px;
  z-index:0;
  background:
    radial-gradient(260px 220px at 30% 25%, rgba(124,92,255,.45), transparent 60%),
    radial-gradient(260px 220px at 70% 35%, rgba(25,195,125,.28), transparent 60%),
    radial-gradient(380px 280px at 50% 85%, rgba(255,255,255,.12), transparent 65%);
  filter: blur(22px);
  opacity: .75;
  transform: translate3d(0,0,0);
  animation: glowShift 7.5s ease-in-out infinite;
}

@keyframes glowShift{
  0%,100%{
    transform: translate3d(0,0,0) scale(1);
    opacity:.70;
  }
  50%{
    transform: translate3d(0,10px,0) scale(1.06);
    opacity:.90;
  }
}

.profile-frame{
  position:relative;
  z-index:1;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}

.profile-frame::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.20), transparent 45%);
  opacity:.55;
  pointer-events:none;
}

.profile-frame img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  transform:scale(1);
  transition:transform 420ms ease;
}

.profile:hover .profile-frame img{
  transform:scale(1.04);
}

.profile-meta{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.profile-name{
  font-weight:900;
  font-size:16px;
}

.profile-tag{
  color:var(--muted);
  font-size:13px;
}

.feature{
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:16px;
}

.feature-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.feature-title{font-weight:850}
.feature-badge{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(25,195,125,.35);
  background:rgba(25,195,125,.12);
  color:rgba(255,255,255,.88);
  font-size:12px;
}

.feature-body{margin-top:12px; display:grid; gap:10px}
.feature-line{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
}
.k{color:var(--muted); font-size:12px}
.v{margin-top:6px; font-weight:700; font-size:14px; line-height:1.35}

.feature-footer{
  margin-top:14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:12px;
}
.mini-k{color:var(--muted); font-size:12px}
.mini-v{font-weight:750; margin-top:6px}
.mini-link{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  transition:transform 180ms ease, background 180ms ease;
}
.mini-link:hover{transform:translateY(-1px); background:rgba(255,255,255,.06)}

.stats{
  margin-top:0;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.stat{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:var(--r);
  padding:14px;
  transition:transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.stat:hover{transform:translateY(-2px); border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.04)}
.stat-k{font-weight:850}
.stat-v{margin-top:6px; color:var(--muted); font-size:13px; line-height:1.35}

.section{padding:56px 0 10px}
.section-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:18px;
}
h2{margin:0; font-size:26px; letter-spacing:-.2px}
.section-head p{margin:0; color:var(--muted); max-width:70ch; line-height:1.7}

.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.cards.small{grid-template-columns:repeat(3, 1fr)}

.card{
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:18px;
  transition:transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}
.card-top{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.card-title{font-weight:900; font-size:18px}
.card-text{margin:10px 0 12px; color:var(--muted); line-height:1.7}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.80);
}

.about-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.panel{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  border-radius:var(--r);
  padding:18px;
}
.panel h3{margin:0 0 8px}
.panel p{margin:0; color:var(--muted); line-height:1.75}

.link{display:block}
.muted{color:var(--muted); margin-top:8px}

.footer{
  margin-top:44px;
  padding:34px 0 50px;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.08);
}

.reveal{
  opacity:0;
  transform:translateY(14px);
  filter:blur(6px);
  transition:
    opacity 650ms ease,
    transform 650ms ease,
    filter 650ms ease;
  transition-delay: var(--d, 0ms);
  will-change:opacity, transform, filter;
}
.reveal.in{
  opacity:1;
  transform:translateY(0);
  filter:blur(0);
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .orb{animation:none}
  .profile-glow{animation:none}
  .reveal{opacity:1; transform:none; filter:none; transition:none}
  .btn,.nav a,.card,.stat,.mini-link,.nav-cta,.profile-frame img{transition:none}
}

@media (max-width: 980px){
  .header-inner{
    grid-template-columns: 1fr auto;
    gap:10px;
  }
  .nav-cta{display:none}
  .hero{grid-template-columns:1fr; padding-top:34px}
  .stats{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .cards.small{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .section-head{flex-direction:column; align-items:flex-start}
  .profile{max-width:360px; margin:0 auto}
}