:root {
  --accent: #0ea5e9;
  --text: #1e293b;
  --subtle: #64748b;
  --bg: #ffffff;
  --light: #f8fafc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
header { position: sticky; top: 0; background: rgba(255,255,255,0.9); border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(10px); z-index: 1000; }
header nav { max-width: 1200px; margin: auto; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
header nav a { margin-left: 1.5rem; text-decoration: none; color: var(--text); font-size: .9rem; }
header nav a:hover { color: var(--accent); }
.hero { text-align: center; padding: 4rem 1rem; background: linear-gradient(to bottom, var(--light), #fff); }
.hero h1 { font-size: 2.5rem; font-weight: 600; }
.hero p { max-width: 600px; margin: 1rem auto; color: var(--subtle); }
.btn { display: inline-block; margin: .5rem; padding: .75rem 1.5rem; border-radius: 9999px; text-decoration: none; font-size: .9rem; }
.btn-primary { background: var(--text); color: #fff; }
.btn-outline { border: 1px solid #e2e8f0; color: var(--text); background: #fff; }
section { max-width: 1200px; margin: auto; padding: 4rem 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.grid { display: grid; gap: 1.5rem; }
@media(min-width:768px){
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.5rem; background: #fff; }
.portfolio img { width: 100%; height: auto; border-radius: .75rem; }
footer { background: var(--light); padding: 2rem 1rem; text-align: center; font-size: .8rem; color: var(--subtle); border-top: 1px solid #e2e8f0; }
input, textarea { width: 100%; padding: .75rem; border: 1px solid #cbd5e1; border-radius: .75rem; font-size: .9rem; margin-bottom: 1rem; }
button { background: var(--text); color: #fff; padding: .75rem 1.5rem; border: none; border-radius: 9999px; cursor: pointer; }
button:hover { background: var(--accent); }