:root {
  --bg: #0b0f17;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #a7b0bf;
  --line: rgba(255, 255, 255, 0.10);
  --brand: #6ee7ff;
  --brand2: #a78bfa;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 10% 10%, rgba(110,231,255,0.12), transparent 60%),
              radial-gradient(900px 500px at 80% 30%, rgba(167,139,250,0.10), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 23, 0.7);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

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

.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 18px;
}
.logo span { color: var(--brand); }

.nav { display: flex; gap: 14px; }
.nav-link {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-link:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-link.active { color: var(--text); border: 1px solid var(--line); }

.hero { padding: 64px 0 28px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; }
.hero p { margin: 0 0 18px; color: var(--muted); max-width: 58ch; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  font-weight: 600;
}
.btn.primary {
  background: linear-gradient(90deg, rgba(110,231,255,0.22), rgba(167,139,250,0.20));
  border-color: rgba(255,255,255,0.18);
}
.btn.ghost { background: transparent; }
.btn:hover { filter: brightness(1.06); }

.mini-points {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  flex-wrap: wrap;
}
.mini-points li {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.hero-card .card { padding: 18px; }
.card {
  border: 1px solid var(--line);
  background: rgba(17,24,39,0.72);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.card-tag { color: var(--brand); margin: 0 0 8px; font-weight: 700; }
.card-title { margin: 0 0 8px; }
.card-text { margin: 0 0 12px; color: var(--muted); }
.card-link { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.section { padding: 32px 0; }
.section.alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.post {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17,24,39,0.60);
  padding: 16px;
}
.post-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pill {
  display: inline-block;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.post h3 { margin: 0 0 8px; }
.link { text-decoration: underline; text-underline-offset: 4px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.note {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  padding: 16px;
}
.note h3 { margin-top: 0; }

.page { padding: 36px 0; }

.pad { padding: 18px; }

.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(110,231,255,0.45); }

.site-footer {
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-links { display: flex; gap: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
