:root{
  --bg:#0f1724;
  --panel:#0b1220;
  --muted:#9aa4b2;
  --accent:#6ee7b7;
  --accent-2:#60a5fa;
  --glass: rgba(255,255,255,0.04);
  --max-width:1100px;
  --radius:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  background:linear-gradient(180deg,var(--bg),#071021 120%);
  color:#e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding:48px 20px;
  display:flex;
  justify-content:center;
}
.wrap{width:100%;max-width:var(--max-width)}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:40px;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.logo{
  width:48px;height:48px;border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;align-items:center;justify-content:center;
  font-weight:800;color:#063047;
  box-shadow:0 6px 20px rgba(0,0,0,0.5)
}
nav{display:flex;gap:18px;align-items:center}
nav a{color:var(--muted);text-decoration:none;font-weight:600;padding:8px 10px;border-radius:8px}
nav a:hover{color:var(--accent);background:var(--glass)}
.cta{background:var(--accent);color:#052224;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700}

.hero{
  background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);
  border-radius:var(--radius);
  padding:36px;
  display:grid;
  grid-template-columns:1fr 360px;
  gap:28px;
  align-items:center;
  box-shadow:0 10px 30px rgba(2,6,23,0.6);
}
.hero h1{font-size:32px;margin:0 0 10px;line-height:1.03}
.accent{color:var(--accent)}
.lead{color:var(--muted);margin:0 0 20px}
.card{
  background:rgba(255,255,255,0.02);
  border-radius:12px;padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.02)
}

.services{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:28px}
.service{padding:18px;border-radius:12px;background:linear-gradient(180deg,rgba(255,255,255,0.01),transparent)}
.service h3{margin:0 0 8px}
.service p{color:var(--muted);margin:0}

.tagline{text-align:center;margin:44px 0 22px}
.tagline h2{margin:0;font-size:22px}
.tagline p{color:var(--muted);margin-top:8px}

.portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.thumb{
  height:140px;border-radius:10px;
  background:linear-gradient(135deg,rgba(96,165,250,0.12),rgba(110,231,183,0.08));
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);font-weight:700
}

.contact{display:flex;flex-direction:column;gap:12px}
input,textarea{
  width:100%;padding:12px;border-radius:10px;
  border:1px solid rgba(255,255,255,0.04);
  background:transparent;color:inherit
}
button[type=submit]{padding:12px;border:0;border-radius:10px;background:var(--accent);color:#052224;font-weight:700}

footer{margin-top:34px;color:var(--muted);text-align:center;font-size:14px}

.muted{color:var(--muted)}
.small{font-size:13px}
.subheading{margin:6px 0 12px}
.accent-link{color:var(--accent)}
.aside-buttons{margin-top:14px;display:flex;gap:10px}
.btn{padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700}
.btn-outline{border:1px solid rgba(255,255,255,0.06);color:var(--accent-2)}

@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .portfolio{grid-template-columns:repeat(2,1fr)}
  .services{grid-template-columns:1fr}
}
@media(max-width:520px){
  body{padding:22px}
  .portfolio{grid-template-columns:1fr}
  header{flex-direction:column;align-items:flex-start;gap:12px}
}
