:root{
  --bg: #0b0f14;
  --sheet1: rgba(255,255,255,0.060);
  --sheet2: rgba(255,255,255,0.035);
  --panel: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.62);
  --accent: #7c3aed;
  --shadow: 0 28px 100px rgba(0,0,0,0.60);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  line-height: 1.55;

  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(124,58,237,0.16), transparent 55%),
    radial-gradient(900px 520px at 92% 10%, rgba(59,130,246,0.10), transparent 55%),
    var(--bg);
}

a{ color: inherit; text-decoration: none; }

/* ---------------- NAVBAR (matches your class names) ---------------- */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar.scrolled{
  background: rgba(11,15,20,0.78);
}

.nav-container{
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.nav-logo{
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.nav-menu{
  list-style: none;
  margin:0;
  padding:0;
  display:flex;
  gap: 8px;
  align-items:center;
}

.nav-item{ margin:0; padding:0; }

.nav-link{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav-link:hover{
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
}

.nav-link.active{
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.nav-toggle{
  display:none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
}

/* ---------------- CV WRAPPER + CONTAINER ---------------- */
.cv-wrapper{
  width: min(1040px, calc(100% - 32px));
  margin: 28px auto 70px;
}

.container{
  background: linear-gradient(180deg, var(--sheet1), var(--sheet2));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

/* ---------------- HERO ---------------- */
.hero{
  display:grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}

.greeting{
  display:inline-block;
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

h1{
  margin: 0 0 8px;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.name-highlight{ color: var(--text); }

.subtitle{
  margin: 0 0 10px;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
}

.description{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 75ch;
}

/* CTA buttons */
.contact-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.primary-btn, .ghost-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.primary-btn{
  border-color: rgba(124,58,237,0.45);
  background: linear-gradient(180deg, rgba(124,58,237,0.26), rgba(124,58,237,0.10));
}

.primary-btn:hover, .ghost-btn:hover{
  transform: translateY(-1px);
}

.pill-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.pill{
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.social-links{
  display:flex;
  gap: 12px;
  align-items:center;
}

.icon-link{
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px dotted rgba(255,255,255,0.25);
}

.icon-link:hover{
  border-bottom-color: rgba(124,58,237,0.75);
}

/* Social links: make them look like compact buttons */
.icon-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
}

.icon-link:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(124,58,237,0.45);
  transform: translateY(-1px);
}

.contact-grid-3{
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px){
  .contact-grid-3{ grid-template-columns: 1fr; }
}

.contact-status{
  margin: 0 0 14px;
  color: var(--muted);
}


/* Right hero card */
.hero-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  margin-bottom: 12px;
}

.hero-card-title{
  margin: 0 0 8px;
  font-weight: 800;
}

.mini-list{
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--muted);
}

/* ---------------- SECTIONS ---------------- */
.section{
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section:last-of-type{
  border-bottom: none;
}

.section-content h2,
.skills-section h2{
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.2px;
  display:flex;
  align-items:center;
  gap: 12px;
}

.section-content h2::after,
.skills-section h2::after{
  content:"";
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,0.10);
}

.about-text{
  margin: 0;
  color: var(--muted);
}

.muted{ color: var(--muted); }

/* ---------------- SKILLS ---------------- */
.skills-subtitle{
  margin: 0 0 12px;
  color: var(--muted);
}

.skills-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.skill-item{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.skill-icon{
  font-size: 18px;
  display:inline-block;
  margin-bottom: 8px;
}

.skill-name{
  font-weight: 800;
  margin-bottom: 6px;
}

.skill-description{
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.skill-level{
  display:flex;
  gap: 6px;
}

.level-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}

.level-dot.active{
  background: rgba(124,58,237,0.85);
  border-color: rgba(124,58,237,0.55);
}

/* ---------------- CV CARDS (experience/projects/contact) ---------------- */
.cv-card, .project-card, .contact-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.projects-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start; 
}

.cv-card-top{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
}

.bullets li{ margin: 8px 0; }

.projects-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.tag{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(124,58,237,0.35);
  background: rgba(124,58,237,0.12);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.meta{
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.contact-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.inline-link{
  color: rgba(255,255,255,0.88);
  border-bottom: 1px dotted rgba(255,255,255,0.25);
}

.inline-link:hover{
  border-bottom-color: rgba(124,58,237,0.75);
}

.footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .skills-grid{ grid-template-columns: 1fr; }
  .projects-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .container{ padding: 18px; }
  h1{ font-size: 38px; }

  .nav-toggle{ display:inline-flex; }

  .nav-menu{
    display:none;
    position:absolute;
    right: 16px;
    top: 62px;
    width: min(280px, calc(100% - 32px));
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(11,15,20,0.95);
    border: 1px solid rgba(255,255,255,0.10);
  }

  .nav-menu.active{ display:flex; }
}

html, body{
  background: #0b0f14;
}

body{
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(124,58,237,0.14), transparent 55%),
    radial-gradient(900px 520px at 92% 10%, rgba(59,130,246,0.10), transparent 55%),
    #0b0f14;
  background-attachment: fixed;
}


/* ---------------- HOW I WORK HIGHLIGHT ---------------- */
#how {
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.06),
    rgba(124,58,237,0.02)
  );
  border-radius: 16px;
  padding: 24px 18px;
  margin: 24px 0;
  border: 1px solid rgba(124,58,237,0.18);
}

#how h2 {
  color: rgba(255,255,255,0.95);
}

#how h2::after {
  background: linear-gradient(
    90deg,
    rgba(124,58,237,0.65),
    rgba(124,58,237,0.15),
    transparent
  );
}

#how .bullets li {
  margin: 10px 0;
  padding-left: 6px;
  color: rgba(255,255,255,0.85);
}

#how .bullets li::marker {
  color: rgba(124,58,237,0.75);
}

/* Quick context header with photo */
.quick-head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.quick-subtitle{
  margin: 2px 0 0;
  font-size: 13px;
}

/* Avatar with real photo */
.avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow:hidden;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.04);
}

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

