/* ===== Base ===== */
:root{
  --bg:#050507;
  --panel: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.16);
  --text:#e5e7eb;
  --muted:#9ca3af;
  --muted2:#cbd5e1;
  --accent:#a78bfa; /* violet */
  --accent2:#f472b6; /* pink */
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --r-xl: 22px;
  --r-lg: 16px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); }

/* Fixed cinematic background (keeps your current idea, but cleaner) */
.fixed-bg{
  position: fixed;
  inset: 0;
  z-index: -10;
  background: url("assets/background/153550.jpg") center / cover no-repeat;
  transform: translateZ(0);
}
.fixed-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 600px at 50% 15%, rgba(167,139,250,.18), transparent 55%),
    radial-gradient(900px 600px at 80% 40%, rgba(244,114,182,.10), transparent 60%),
    radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,.90));
}

/* Glass + card */
.glass{
  background: var(--panel);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}
.cardx{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cardx:hover{
  transform: translateY(-6px);
  border-color: rgba(167,139,250,.45);
  box-shadow: 0 26px 90px rgba(167,139,250,.12);
}

/* Buttons */
.btnx{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-weight: 600;
  border: 1px solid var(--stroke2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btnx:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.btnx-primary{
  border: none;
  color: #0b0b0b;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.btnx-ghost{
  background: rgba(0,0,0,.25);
}

/* Media cards (image/video) */
.media{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}

/* Gallery grid cards */
.gcard{
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gcard:hover{
  transform: translateY(-6px);
  border-color: rgba(167,139,250,.35);
  box-shadow: 0 30px 110px rgba(167,139,250,.14);
}

/* Header scroll state */
.site-header.scrolled{
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,.16);
}

/* Reveal */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active{ opacity:1; transform: translateY(0); }

/* Accessibility */
:focus-visible{ outline: 2px solid rgba(167,139,250,.8); outline-offset: 3px; }
/* Skills UI helpers */
.skill-tile{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.skill-tile:hover{
  transform: translateY(-4px);
  border-color: rgba(167,139,250,.35);
  box-shadow: 0 22px 70px rgba(167,139,250,.12);
}
.skill-ico{ width: 40px; height: 40px; object-fit: contain; }
.skill-name{ margin-top: 10px; font-weight: 700; color: #fff; font-size: 14px; }
.skill-note{ margin-top: 2px; font-size: 12px; color: rgba(203,213,225,.85); }

.skill-block{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 14px;
}
.skill-block-title{ font-weight: 800; color:#fff; font-size: 14px; }
.skill-block-text{ margin-top: 6px; font-size: 13px; color: rgba(203,213,225,.9); line-height: 1.5; }
/* KPI infographic */
.kpi-top{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.kpi-label{ font-size:12px; color: rgba(203,213,225,.75); letter-spacing:.06em; text-transform: uppercase; }
.kpi-value{
  font-size:34px; font-weight:900; line-height:1;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.kpi-sub{ margin-top:10px; font-size:13px; color: rgba(203,213,225,.85); }
.kpi-bar{ height:10px; border-radius:999px; background: rgba(255,255,255,.08); overflow:hidden; border:1px solid rgba(255,255,255,.10); }
.kpi-bar span{
  display:block; height:100%;
  background: linear-gradient(90deg, rgba(167,139,250,.9), rgba(244,114,182,.8));
  border-radius:999px;
}

/* Radar */
.radar-wrap{ display:grid; grid-template-columns: 1fr; gap:18px; }
@media (min-width: 640px){ .radar-wrap{ grid-template-columns: 1fr 1fr; align-items:center; } }
.radar{ width:100%; max-width:420px; margin:auto; }
.radar-legend{ display:flex; flex-direction:column; gap:12px; }
.legend-item{ display:flex; gap:10px; align-items:flex-start; }
.dot{
  width:10px; height:10px; border-radius:999px; margin-top:5px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(167,139,250,.12);
}
.legend-title{ font-weight:800; color:#fff; font-size:13px; }
.legend-sub{ color: rgba(203,213,225,.85); font-size:12px; margin-top:2px; }

/* Workflow */
.flow{ display:flex; flex-direction:column; gap:14px; }
.flow-step{
  display:flex; gap:14px; align-items:flex-start;
  padding:14px; border-radius:18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.flow-ico{
  width:44px; height:44px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900; color:#0b0b0b;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.flow-title{ font-weight:900; color:#fff; font-size:14px; }
.flow-sub{ margin-top:4px; font-size:13px; color: rgba(203,213,225,.88); line-height:1.5; }