:root{
  --bg:#f6f8ff;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --border:rgba(15,23,42,.08);
  --shadow:0 10px 30px rgba(15,23,42,.06);

  --primary:#4f46e5;
  --primary2:#6366f1;
  --radius:14px;
}

html[data-theme="dark"]{
  --bg:#0b1220;
  --panel:rgba(255,255,255,.06);
  --text:#e5e7eb;
  --muted:#a1a1aa;
  --border:rgba(255,255,255,.10);
  --shadow:0 14px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit}

/* Header */
.topbar{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);
}
html[data-theme="dark"] .topbar{background:rgba(11,18,32,.65)}

.topbar__inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 18px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:12px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand__icon{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  font-weight:900;font-size:13px;
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:var(--shadow);
}
.brand__name{font-weight:900;letter-spacing:-.2px}

.topnav{
  display:inline-flex;
  justify-content:center;
  gap:26px;
}
.topnav__link{
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
  padding:8px 10px;
  border-radius:999px;
  transition:150ms ease;
}
.topnav__link:hover{
  color:var(--text);
  background:rgba(79,70,229,.08);
}

.topactions{
  display:inline-flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
}

.iconbtn{
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);
  display:grid;place-items:center;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
  cursor:pointer;
  transition:150ms ease;
}
.iconbtn:hover{transform:translateY(-1px)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
}

.btn-cv{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  box-shadow:0 10px 26px rgba(79,70,229,.25);
}

/* Page */
.page{
  max-width:1200px;
  margin:0 auto;
  padding:28px 18px 60px;
}

/* Hero */
.hero{
  min-height:calc(100vh - 92px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:70px 10px 40px;
  gap:14px;
}

.hero__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  color:var(--primary);
  background:rgba(79,70,229,.10);
  border:1px solid rgba(79,70,229,.18);
}

.hero__title{
  margin:0;
  font-weight:950;
  letter-spacing:-2px;
  line-height:1.02;
  font-size:clamp(52px, 6vw, 92px);
}

.hero__name--left{color:var(--text)}
.hero__name--right{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero__role{
  margin-top:6px;
  font-size:clamp(18px, 2vw, 34px);
  font-weight:900;
  color:color-mix(in srgb, var(--text) 80%, transparent);
}

.hero__desc{
  max-width:820px;
  margin:0;
  font-size:clamp(14px, 1.3vw, 20px);
  color:var(--muted);
  line-height:1.6;
}

.hero__cta{
  margin-top:8px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.btnx{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px;
  padding:14px 22px;
  font-weight:900;
  border:1px solid transparent;
  transition:160ms ease;
}

.btnx--primary{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  box-shadow:0 14px 30px rgba(79,70,229,.22);
}
.btnx--primary:hover{transform:translateY(-1px)}
.btnx--ghost{
  background:rgba(148,163,184,.18);
  color:var(--text);
  border-color:var(--border);
}
html[data-theme="dark"] .btnx--ghost{background:rgba(255,255,255,.06)}
.btnx__arrow{font-weight:900}

/* Stats */
.stats{
  margin-top:22px;
  width:100%;
  max-width:980px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}

.stat{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px 14px;
  box-shadow:var(--shadow);
}

.stat__val{
  font-weight:950;
  font-size:34px;
  letter-spacing:-.6px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.stat__val--teal{
  background:linear-gradient(135deg,#06b6d4,#22c55e);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.stat__lbl{
  margin-top:4px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.8px;
  color:var(--muted);
}

/* Sections */
.section{padding:70px 0 10px}
.section__head{margin-bottom:18px}
.section__title{margin:0;font-weight:950;letter-spacing:-.6px}
.section__sub{margin:6px 0 0;color:var(--muted)}

.cardx{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.cardx__title{margin:0 0 8px;font-weight:950}
.cardx__text{margin:0;color:var(--muted);line-height:1.6}

.grid2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}
.grid3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}

.listx{margin:0;padding-left:18px;color:var(--muted)}
.listx li{margin:6px 0}

.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(79,70,229,.06);
  color:var(--text);
  font-weight:800;
  font-size:13px;
}

.tagrow{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.tag{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.16);
  color:var(--muted);
}

/* Timeline */
.timeline{display:flex;flex-direction:column;gap:14px}
.titem{display:flex;gap:12px;align-items:flex-start}
.titem__dot{
  margin-top:6px;
  width:12px;height:12px;border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 10px 20px rgba(79,70,229,.25);
  flex:0 0 auto;
}
.titem__content{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  width:100%;
  box-shadow:var(--shadow);
}
.titem__title{font-weight:950}
.titem__meta{color:var(--muted);font-weight:900;margin-top:4px;font-size:13px}
.titem__text{color:var(--muted);margin-top:8px}

/* Contact */
.formx{display:flex;flex-direction:column;gap:10px}
.inputx{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  color:var(--text);
  outline:none;
}
html[data-theme="dark"] .inputx{background:rgba(255,255,255,.06)}
.note{margin-top:10px;color:var(--muted);font-size:12px}

.inf{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.inf__row{
  display:flex;justify-content:space-between;gap:10px;
  padding:10px 12px;border-radius:12px;border:1px solid var(--border);
}
.inf__k{color:var(--muted);font-weight:900}
.inf__v{font-weight:900}

.social{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.sbtn{
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(79,70,229,.06);
  font-weight:900;
}

/* Footer */
.foot{padding:30px 0 0}
.foot__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:16px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
}
.foot__link{text-decoration:none;font-weight:900}

/* Responsive */
@media (max-width: 992px){
  .topbar__inner{
    grid-template-columns:1fr auto;
    grid-template-areas:"brand actions" "nav nav";
  }
  .brand{grid-area:brand}
  .topactions{grid-area:actions}
  .topnav{grid-area:nav;justify-content:flex-start;gap:14px;overflow-x:auto;padding-bottom:6px}
  .stats{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid2{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
}

@media (max-width: 480px){
  .btn-cv{display:none}
  .btnx{width:100%}
  .stats{grid-template-columns:1fr}
}
