:root{
  --bg: #070A12;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --border: rgba(255,255,255,.12);
  --shadow: 0 20px 70px rgba(0,0,0,.35);
  --accent: #7C5CFF;
  --accent2:#00D2FF;
  --good: #23d18b;
}
[data-theme="light"]{
  --bg: #f7f8ff;
  --panel: rgba(10,20,40,.06);
  --panel2: rgba(10,20,40,.08);
  --text: rgba(10,20,40,.92);
  --muted: rgba(10,20,40,.66);
  --border: rgba(10,20,40,.12);
  --shadow: 0 18px 50px rgba(10,20,40,.12);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,92,255,.30), transparent 60%),
              radial-gradient(900px 700px at 90% 0%, rgba(0,210,255,.22), transparent 55%),
              radial-gradient(900px 900px at 60% 120%, rgba(35,209,139,.12), transparent 60%),
              var(--bg);
  color: var(--text);
  overflow-x:hidden;
}
.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}
.bg-orb{
  position:fixed;
  filter: blur(50px);
  opacity:.55;
  z-index:-1;
}
.orb1{ width:420px;height:420px; left:-120px; top:160px; background: rgba(124,92,255,.55); border-radius:50%;}
.orb2{ width:520px;height:520px; right:-180px; top:240px; background: rgba(0,210,255,.32); border-radius:50%;}
.orb3{ width:520px;height:520px; left:40%; bottom:-240px; background: rgba(35,209,139,.20); border-radius:50%;}
.topbar{
  position:sticky;
  top:0;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.05));
  border-bottom:1px solid var(--border);
  z-index:20;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700;
}
.brand-dot{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(124,92,255,.15);
}
.topbar-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.ghost{
  appearance:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color: var(--text);
  padding:10px 12px;
  border-radius: 999px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.ghost:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.18);}
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  color: var(--text);
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,92,255,.28), rgba(0,210,255,.18));
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.hero{ padding:26px 0 6px; }
.hero-card{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  padding:20px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,.02));
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-left{ display:flex; gap:16px; align-items:center; }
.avatar-wrap{
  width:108px; height:108px; padding:3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.avatar{
  width:100%; height:100%;
  border-radius:999px;
  object-fit:cover;
  background: rgba(0,0,0,.15);
}
.hero-meta h1{ margin:0; font-size: 34px; letter-spacing:-0.02em; }
.tagline{ margin:6px 0 10px; color: var(--muted); font-weight:500; }
.quick{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 13px;
  text-decoration:none;
}
.chip.link:hover{ border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.hero-right{ display:flex; flex-direction:column; gap:12px; }
.kpi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.kpi{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:12px 12px;
}
.kpi-num{ font-weight:800; font-size:22px; letter-spacing:-0.02em; }
.kpi-label{ color: var(--muted); font-size: 12.5px; margin-top:2px; }
.hero-summary{ margin:0; color: var(--muted); line-height:1.55; }
.cta-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:2px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-decoration:none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.20);}
.btn.primary{
  border-color: rgba(124,92,255,.35);
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(0,210,255,.18));
}
.section{ padding: 30px 0 6px; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; margin-bottom:14px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-0.01em;
}
.section-head p{ margin:0; color: var(--muted); }
.card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,.02));
  border-radius: 22px;
  padding:16px;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}
.cards{ display:grid; gap:12px; }
.cards.two{ grid-template-columns: repeat(2, 1fr); }
.cards.three{ grid-template-columns: repeat(3, 1fr); }
.chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 14px;
}
.pillchip{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 13px;
  color: var(--text);
}
.bullets{ margin:10px 0 0; padding-left: 18px; color: var(--muted); line-height:1.55;}
.bullets li{ margin: 6px 0; }
.timeline{ display:flex; flex-direction:column; gap:14px; }
.timeline-block{
  display:grid;
  grid-template-columns: 26px 1fr;
  gap:12px;
  align-items:stretch;
}
.timeline-pin{
  margin-top: 20px;
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 8px rgba(124,92,255,.12);
  position:relative;
}
.timeline-pin::after{
  content:"";
  position:absolute;
  top:14px; left:50%;
  transform: translateX(-50%);
  width:2px; height: calc(100% + 40px);
  background: linear-gradient(180deg, rgba(255,255,255,.16), transparent);
}
.timeline-block:last-child .timeline-pin::after{ display:none; }
.company-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.company{ margin:0; font-size: 16px; letter-spacing:-0.01em; }
.muted{ color: var(--muted); line-height:1.55; margin:8px 0 0; }
.role-stack{ margin-top: 10px; display:flex; flex-direction:column; gap:12px; }
.role{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  padding:12px;
}
.role-title{ font-weight:700; margin:0; }
.edu{ color: var(--muted); line-height:1.6; }
.linkcard{
  text-decoration:none;
  color: var(--text);
  display:flex;
  gap:12px;
  align-items:center;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.linkcard:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.icon{ font-size: 22px; }
.label{ color: var(--muted); font-size: 12px; }
.value{ font-weight:600; }
.footer{
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 12.5px;
}
@media (max-width: 980px){
  .hero-card{ grid-template-columns: 1fr; }
  .cards.two{ grid-template-columns: 1fr; }
  .cards.three{ grid-template-columns: 1fr; }
}
@media print{
  .topbar, .bg-orb, .cta-row, #copyLink, #themeToggle { display:none !important; }
  body{ background:#fff; color:#111; }
  .card, .hero-card{ box-shadow:none; }
}
