:root{
  --bg:#0b1220;
  --panel:#0f1b33;
  --text:#eaf0ff;
  --muted:#b8c3e6;
  --line:#223252;
  --accent:#5b8cff;
  --accent2:#2dd4bf;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: radial-gradient(1000px 500px at 20% 0%, rgba(91,140,255,.25), transparent 60%), var(--bg); color:var(--text); }
a{ color:inherit; text-decoration:none; }

.container{ width:min(1100px, 92%); margin:0 auto; }

.site-header{
  position: sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{ display:flex; gap:12px; align-items:center; }
.avatar{
  width:44px;
  height:44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
}

.brand-title{ margin:0; font-size: 18px; }
.brand-subtitle{ margin:2px 0 0; font-size: 12px; color: var(--muted); }

.nav{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.nav a{ color: var(--muted); font-weight:600; }
.nav a:hover{ color: var(--text); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:700;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow); border-color: rgba(91,140,255,.35); }
.btn.primary{ background: linear-gradient(135deg, rgba(91,140,255,.95), rgba(45,212,191,.85)); color:#071024; border-color: transparent; }

.hero{ padding: 44px 0 26px; }
.hero-grid{ display:grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero-title{ font-size: 34px; margin: 0 0 10px; line-height: 1.15; }
.hero-text{ color: var(--muted); font-size: 15px; line-height: 1.6; margin:0 0 18px; max-width: 60ch; }

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 18px; }

.quick-stats{ display:flex; gap:10px; flex-wrap:wrap; }
.stat{
  flex: 0 0 auto;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.stat-number{ font-weight:900; font-size: 18px; }
.stat-label{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero-card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card-title{ margin:0 0 10px; font-size: 16px; }

.section{ padding: 34px 0; }
.section.alt{ background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.section-title{ margin:0 0 10px; font-size: 22px; }
.section-text{ margin:0 0 18px; color: var(--muted); line-height:1.7; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .grid{ grid-template-columns: 1fr; } }

.card{
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.card h4{ margin: 0 0 6px; }
.card p{ margin: 0 0 10px; color: var(--muted); line-height: 1.6; }
.badges{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom: 10px; }
.badge{
  font-size: 12px; font-weight:800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(91,140,255,.16);
  border: 1px solid rgba(91,140,255,.25);
}
.card-links{ display:flex; gap:10px; flex-wrap:wrap; }
.card-links a{ color: var(--text); opacity:.95; font-weight:800; }
.card-links a:hover{ text-decoration: underline; }

.content-list{ display:flex; flex-direction:column; gap:10px; }
.content-item{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.content-item .small{ font-size: 12px; color: var(--muted); margin-top: 4px; }

.input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}
.input:focus{ border-color: rgba(91,140,255,.45); }

.projects-top{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap; }
.filters{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.filters .input{ width: min(280px, 88vw); }

.contact-card{
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}

.footer{
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
}
.footer-row{ display:flex; justify-content:space-between; gap: 10px; align-items:center; flex-wrap:wrap; }
.footer-note{ color: var(--muted); font-size: 13px; }
.footer-link{ color: var(--muted); font-weight:700; }
.footer-link:hover{ color: var(--text); }
