:root{
  --bg: #0A1F44;       
  --gold: #D4AF37;     
  --light: #00ADEF;    
  --white: #FFFFFF;    
  --muted: #A0A0A0;    
  --page-pad: 28px;
  --card-bg: rgba(255,255,255,0.03);
  --max-width: 980px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 5% 10%, rgba(10,31,68,0.57), transparent 10%),
              linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%),
              var(--bg);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

.page{
  max-width:var(--max-width);
  margin:28px auto;
  padding:22px;
}

/* subtle repeating circuit background (using linear-gradients to mimic traces) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size:280px 280px;
  pointer-events:none;
  mix-blend-mode:overlay;
  opacity:0.6;
}

/* Header / hero */
.hero{
  position:relative;
  padding:28px;
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.04);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(4,10,20,0.6);
}

.hero-inner{
  display:flex;
  gap:22px;
  align-items:center;
}

.avatar{
  min-width:120px;
  width:120px;
  height:120px;
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.04);
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* fallback avatar svg style */
.avatar-svg{width:100%;height:100%;display:block}

/* name & title */
.name{
  margin:0;
  font-size:28px;
  letter-spacing:-0.6px;
  font-weight:800;
  color:var(--white);
}

.title{
  margin:6px 0 10px 0;
  color:var(--muted);
  max-width:62ch;
}

/* meta pills */
.key-meta{display:flex;gap:10px;flex-wrap:wrap}
.meta-pill{
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,0.02);
}

/* buttons */
.cta-row{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.btn{
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
}
.btn-primary{
  background: linear-gradient(90deg, var(--gold), #cfa833);
  color:#071732;
  box-shadow: 0 6px 18px rgba(212,175,55,0.12);
  border: none;
}
.btn-outline{
  background:transparent;
  color:var(--white);
  border:1px solid rgba(255,255,255,0.06);
}
.btn-ghost{
  background:transparent;
  color:var(--muted);
  border:1px dashed rgba(255,255,255,0.03);
}

/* header trace svg full width */
.header-trace{
  position:absolute;
  bottom:-2px;
  left:0;
  width:100%;
  height:80px;
  opacity:0.9;
  pointer-events:none;
}

/* Main content & cards */
.content{margin-top:18px;display:grid;grid-template-columns:1fr;gap:18px}
.card{
  background:var(--card-bg);
  border-radius:12px;
  padding:18px;
  border:1px solid rgba(255,255,255,0.03);
}

/* highlight card (PosiDelta) slightly emphasized */
.card.highlight{
  background: linear-gradient(180deg, rgba(10,31,68,0.45), rgba(255,255,255,0.01));
  border: 1px solid rgba(212,175,55,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* section title */
.section-title{
  margin:0 0 12px 0;
  color:var(--gold);
  font-size:18px;
  letter-spacing:0.6px;
  text-transform:uppercase;
  font-weight:700;
}

/* lead paragraph */
.lead{color:var(--white);font-size:15px;margin-bottom:12px}

/* services & skills layout */
.services ul{display:flex;gap:12px;flex-wrap:wrap;list-style:none;padding:0;margin:6px 0 0 0}
.services li{background:rgba(255,255,255,0.02);padding:8px 10px;border-radius:8px;border:1px solid rgba(255,255,255,0.02);color:var(--muted)}

.skills .skill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.skills .skill-list span{background:linear-gradient(90deg, rgba(255,255,255,0.01), transparent);padding:6px 8px;border-radius:8px;border:1px solid rgba(255,255,255,0.02);color:var(--muted);font-size:13px}

/* dashed list style for responsibilities */
.dashed-list{list-style:none;padding-left:0;margin:6px 0 12px 0}
.dashed-list li{
  padding-left:18px;
  position:relative;
  margin:8px 0;
  color:var(--muted);
}
.dashed-list li::before{
  content:"";
  width:10px;height:2px;background:var(--light);
  position:absolute;left:0;top:11px;border-radius:2px;
  box-shadow:0 0 8px rgba(0,173,239,0.08);
}

/* features */
.posidelta-features{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.feature{display:flex;gap:10px;align-items:flex-start;flex:1;min-width:220px}
.feature .icon{width:40px;height:40px;background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);border-radius:8px;padding:6px; color:var(--gold)}
.feature h4{margin:0 0 6px 0;font-size:15px}
.feature p{margin:0;color:var(--muted);font-size:14px}

/* pcb divider */
.pcb-divider{margin:14px 0; height:28px}
.pcb-divider svg{width:100%;height:100%}

/* projects & experiences */
.project, .experience{margin:12px 0;padding:10px;border-radius:8px;background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);border:1px solid rgba(255,255,255,0.02)}
.project h4{margin:0 0 6px 0;color:var(--white)}
.muted{color:var(--muted);font-size:13px;margin-bottom:8px}

/* education */
.edu-block p{color:var(--muted)}

/* contact card */
.contact-card .contact-list{list-style:none;padding:0;margin:8px 0}
.contact-list li{margin:6px 0;color:var(--muted)}
.contact-list a{color:var(--light);text-decoration:none;font-weight:600}

/* footer */
.site-footer{margin-top:18px;text-align:center;color:var(--muted);font-size:13px}

/* small screen tweaks */
@media (max-width:720px){
  .hero-inner{flex-direction:row;align-items:flex-start}
  .avatar{width:92px;height:92px}
  .name{font-size:20px}
  .posidelta-features{flex-direction:column}
  .page{padding:14px;margin:18px}
}

/* decorative micro details to evoke circuits */
.card::after{
  content:"";
  position:absolute;
  pointer-events:none;
}

