:root {
  --bg: #0f1115;
  --panel: #171b22;
  --panel-2: #1d2330;
  --text: #e8ecf3;
  --muted: #aab4c3;
  --accent: #7db3ff;
  --border: rgba(255,255,255,.08);
  --shadow: 0 16px 40px rgba(0,0,0,.28);
  --radius: 18px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(125,179,255,.14), transparent 30%),
    linear-gradient(180deg, #0c0f14 0%, #0f1115 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(125,179,255,.95), rgba(125,179,255,.25));
  box-shadow: 0 10px 24px rgba(125,179,255,.18);
  display: grid;
  place-items: center;
  color: #09111f;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover { color: var(--text); }

.hero { padding: 64px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 20px;
  align-items: stretch;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125,179,255,.18), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0 0 10px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
  margin: 0 0 22px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(125,179,255,.95), rgba(125,179,255,.65));
  color: #08111f;
  border: none;
}

.hero-side {
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.stat {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.section { padding: 20px 0 54px; }
.section h2 { font-size: 26px; margin: 0 0 16px; }

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

.post {
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 180px;
}

.post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(125,179,255,.1);
  border: 1px solid rgba(125,179,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
}

.post h3 { margin: 0 0 8px; font-size: 18px; }
.post p { margin: 0; color: var(--muted); font-size: 15px; }

.article {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.article img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  margin: 20px 0;
}

.article h1 { font-size: clamp(32px, 4vw, 48px); }
.article h2 { margin-top: 34px; font-size: 24px; }
.article p, .article li { color: var(--muted); font-size: 17px; }

.footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid, .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
}
