:root{
  --bg:#0b0c10;
  --card:#12141b;
  --text:#e9ecf1;
  --muted:#a7afbd;
  --border:rgba(255,255,255,.09);
  --accent:#6ee7ff;
  --accent2:#a78bfa;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 10% 0%, rgba(167,139,250,.18), transparent 60%),
              radial-gradient(900px 600px at 85% 10%, rgba(110,231,255,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.45;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; display:block}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header{
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.65);
  border-bottom:1px solid var(--border);
  z-index:20;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo{
  width:38px;height:38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 26px rgba(110,231,255,.15);
}
.brand-title{
  display:flex; flex-direction:column;
}
.brand-title strong{font-size:15px; letter-spacing:.2px}
.brand-title span{font-size:12px; color:var(--muted)}

.navlinks{
  display:flex;
  align-items:center;
  gap:12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 13px;
}
.pill:hover{border-color:rgba(255,255,255,.18)}
.pill.primary{
  border-color: rgba(110,231,255,.35);
  background: rgba(110,231,255,.10);
}

.hero{
  padding: 56px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 880px){
  .hero-grid{grid-template-columns:1fr}
}

.card{
  background: rgba(18,20,27,.78);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:22px}
.card.soft{background: rgba(18,20,27,.55)}

.h1{
  font-size: 44px;
  line-height:1.05;
  margin:0 0 10px;
  letter-spacing:-.6px;
}
@media (max-width: 520px){
  .h1{font-size: 36px}
}
.sub{
  margin:0;
  color:var(--muted);
  font-size: 15px;
}

.kpis{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:12px;
  margin-top:16px;
}
@media (max-width: 520px){
  .kpis{grid-template-columns:1fr}
}
.kpi{
  padding:14px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.kpi strong{display:block; font-size:18px}
.kpi span{display:block; color:var(--muted); font-size:12px; margin-top:4px}

.section{
  padding: 18px 0 56px;
}
.section h2{
  margin:0 0 12px;
  font-size: 18px;
  letter-spacing:.2px;
}
.section p{color:var(--muted); margin:0}

.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;}
}

.project{
  overflow:hidden;
}
.thumb{
  aspect-ratio: 16/9;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.project-body{
  padding:14px 14px 16px;
}
.project-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.project-title strong{
  font-size: 15px;
}
.project-title .cat{
  font-size: 11px;
  color: var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding:5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.project-desc{
  color: var(--muted);
  font-size: 13px;
  margin:0 0 10px;
}
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag{
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  padding:14px;
}
.input, select{
  background: rgba(255,255,255,.03);
  border:1px solid var(--border);
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  outline:none;
  font-size: 13px;
}
.input::placeholder{color:rgba(167,175,189,.75)}
select{appearance:none}
.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding:10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  cursor:pointer;
}
.btn:hover{border-color: rgba(255,255,255,.18)}
.count{
  margin-left:auto;
  color: var(--muted);
  font-size: 13px;
}

.footer{
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 12px;
  border-top:1px solid var(--border);
}
.footer a{color: var(--text)}
.notice{
  padding:12px 14px;
  border-radius: 14px;
  border:1px dashed rgba(255,255,255,.22);
  color: var(--muted);
  background: rgba(255,255,255,.03);
  font-size: 13px;
}
