:root {
  --bg: #0b1020;
  --panel: #121937;
  --ink: #e9edf8;
  --muted: #a6b0d4;
  --brand: #6aa7ff;
  --accent: #a88bff;
  --ok: #2dd4bf;
  --ring: #223066;
}

* { 
  box-sizing: border-box; 
 }
html, body 
{ 
  margin: 0; 
}
body 
{
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #1e2756 0, rgba(30, 39, 86, 0) 60%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a 
{ 
  color: var(--brand); text-decoration: none; 
}
a:hover 
{ 
  text-decoration: underline;
}

.container
{ 
  max-width: 1080px; margin: 0 auto; padding: 24px; 
}

header 
{
  position: sticky; top: 0;
  background: linear-gradient(180deg, rgba(11,16,32,.95), rgba(11,16,32,.6));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1b2555;
  z-index: 20;
}
.nav 
{ 
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; 
}
.brand 
{ 
  display: flex; align-items: center; gap: 12px; font-weight: 800; 
}
.brand .dot 
{
  width: 10px; height: 10px; border-radius: 10px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  box-shadow: 0 0 24px var(--brand);
}
.nav a 
{ 
  padding: 8px 12px; border-radius: 10px; display: inline-block;
}
.nav a:hover 
{ 
  background: #141b3d; 
}

.hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 28px; align-items: center; padding: 48px 0;
}
.badge {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(106,167,255,.12); border: 1px solid rgba(106,167,255,.35);
  padding: 6px 10px; border-radius: 999px; font-size: 12px; color: #cfe1ff;
}
.h1 
{ 
  font-size: clamp(28px,4vw,44px); font-weight: 800; margin: 14px 0 10px; 
}
.lead 
{ 
  color: var(--muted); font-size: clamp(14px,2.2vw,18px); 
}
.cta 
{ 
  display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; 
}
.btn {
  padding: 12px 16px; border-radius: 14px; cursor: pointer;
  background: #16204a; border: 1px solid #26336c; color: #eaf0ff; font-weight: 600;
}
.btn:hover 
{ 
  background: #1b2658; 
}
.btn.primary 
{
  background: linear-gradient(120deg, var(--brand), var(--accent));
  border: none; color: #071023;
  box-shadow: 0 8px 24px rgba(106,167,255,.35);
}
.btn.ghost 
{ 
  background: transparent; border: 1px solid #2a3877;
}

.card {
  background: linear-gradient(180deg, #101736, #0d1430);
  border: 1px solid #1b2555; border-radius: 18px; padding: 18px;
}

.kpis {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-top: 16px;
}
.kpis .item 
{ 
  background: #0b1330; border: 1px solid #1b2555; border-radius: 16px; padding: 14px; text-align: center; 
}
.kpis .big 
{ 
  font-size: 22px; font-weight: 800; 
}

section 
{ 
  padding: 28px 0; 
}
.section-title 
{ 
  font-size: 22px; font-weight: 800; margin: 0 0 16px 0; 
}

.skills 
{ 
  display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; 
}
.chip {
  display: inline-block; background: #0b1330; border: 1px solid #20307a; color: #c7d2ff;
  padding: 8px 10px; border-radius: 12px; margin: 6px 6px 0 0; font-size: 13px;
}

.grid 
{ 
  display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; 
}
.col-6 
{ 
  grid-column: span 6; 
}

.project {
  padding: 16px; border-radius: 16px; border: 1px solid #1b2555;
  background: linear-gradient(180deg,#0f1734,#0b1330);
}
.project h3 
{ 
  margin: 0; font-size: 18px; 
}
.tag {
  font-size: 12px; background: rgba(45,212,191,.14);
  border: 1px solid rgba(45,212,191,.35);
  color: #b8fff4; padding: 3px 8px; border-radius: 999px; margin-left: 8px;
}
.project ul 
{ 
  margin: 8px 0 0 16px; 
}

.timeline 
{ 
  border-left: 2px dashed #2a3877; padding-left: 16px; 
}
.timeline .t 
{ 
  margin: 14px 0; 
}
.timeline .where 
{ 
  font-weight: 700; 
}
.timeline .small 
{ 
  color: var(--muted); font-size: 13px; 
}

.contact 
{ 
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; 
}
.input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #2a3877; background: #0b1330; color: #dfe7ff;
}
textarea.input 
{ 
  min-height: 120px; resize: vertical;
}

footer 
{ 
  padding: 28px 0 40px; color: #9aa6d8; 
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(6,1fr); }
  .col-6 { grid-column: span 6; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav a { width: 100%; text-align: left; }
  .h1 { font-size: 24px; }
  .lead { font-size: 14px; }
  .cta { flex-direction: column; width: 100%; }
  .btn { width: 100%; text-align: center; }
  .kpis { grid-template-columns: 1fr; }
  .skills, .grid, .contact { grid-template-columns: 1fr; }
  footer .card { flex-direction: column; text-align: center; gap: 12px; }
}

[data-pop] { animation: pop 0.5s ease-out both; }
@keyframes pop {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to { opacity: 1; transform: none; }
}
