/* Basic reset + typography */
:root {
  --accent: #2b6df6;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --bg: #f5f7fb;
}

* { box-sizing: border-box; }
html,body { height: 100%; }
body{
  margin:0;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: #111827;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Container */
.container {
  width: min(1100px, 94%);
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: #0b1220;
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top:0;
  z-index: 40;
}
.topbar .container {
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
}
.brand { font-weight:700; font-size:18px; }
.nav { display:flex; gap:12px; align-items:center; }
.nav a { color: #cbd5e1; text-decoration:none; padding:8px 10px; border-radius:8px; font-weight:500; }
.nav a:hover { color:#fff; background: rgba(255,255,255,0.03); }
.nav a.active { color:#fff; background: rgba(255,255,255,0.05); }

.menu-toggle { display:none; background:transparent; border:0; color:#fff; font-size:20px; }

/* Hero */
.hero {
  padding:48px 0;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef4ff 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:28px;
  align-items:start;
}
.hero-left h1 { font-size:36px; margin:0 0 8px 0; }
.hero-left .accent { color: var(--accent); }
.lead { margin:8px 0 18px 0; color:var(--muted); font-weight:600; }

.hero-card {
  background: var(--card-bg);
  border-radius:12px;
  box-shadow: 0 6px 18px rgba(14,22,40,0.06);
  padding:18px;
  text-align:center;
}
.profile { width:120px; height:120px; border-radius:50%; object-fit:cover; margin-bottom:12px; background:#ddd; }

/* CTA buttons */
.btn {
  background: var(--accent);
  color: #fff;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  display:inline-block;
  font-weight:600;
}
.btn.ghost { background:transparent; color:var(--accent); border: 1px solid rgba(43,109,246,0.12); margin-left:8px; }
.btn.small { padding:8px 10px; font-size:14px; }

/* Features + Cards */
.features { display:flex; gap:20px; margin-top:32px; }
.feature { background:var(--card-bg); padding:18px; border-radius:10px; box-shadow: 0 6px 14px rgba(12,18,30,0.04); flex:1; }

.cards { display:flex; gap:18px; margin:40px 0; flex-wrap:wrap; }
.card { background:var(--card-bg); padding:20px; border-radius:12px; box-shadow: 0 10px 24px rgba(12,18,30,0.06); flex:1 1 280px; }

/* CV styles */
.cv h1 { margin-top:14px; }
.muted { color:var(--muted); }
.simple-list { list-style:none; padding:0; margin:0 0 18px 0; }
.skills-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:12px; margin-bottom:16px; }
.job { margin-bottom:22px; }

/* Blog posts */
.post { background:var(--card-bg); padding:16px; border-radius:10px; margin-bottom:12px; }

/* Footer */
.site-footer { background:#0b1220; color:#fff; padding:18px 0; margin-top:36px; }
.site-footer .muted { color: #9aa7c7; }

/* Responsive */
@media (max-width:900px){
  .hero-grid { grid-template-columns: 1fr; }
  .nav { display:none; }
  .menu-toggle { display:block; }
  .nav.open { display:flex; flex-direction:column; gap:6px; position:absolute; right:16px; top:56px; background:#0b1220; padding:10px; border-radius:8px; }
  .features { flex-direction:column; }
}
