:root{
  --bg: #070a12;
  --fg: #e9eefc;
  --muted: rgba(233,238,252,.72);
  --glass: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);
  --accent: #7aa7ff;
  --accent2: #9dffcf;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  overflow-x:hidden;
}

/* Background */
#bg{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}
.bg-overlay{
  position: fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(122,167,255,.18), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(157,255,207,.12), transparent 60%),
    linear-gradient(to bottom, rgba(7,10,18,.35), rgba(7,10,18,.85));
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 18px;
  background: rgba(7,10,18,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width: 40px; height:40px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(122,167,255,.35), rgba(157,255,207,.18));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
}
.brand-name{ font-weight: 800; letter-spacing: .16em; font-size: 13px; }
.brand-tag{ font-size: 12px; color: var(--muted); margin-top:2px; }

.nav{ display:flex; gap:14px; align-items:center; }
.nav a{
  color: var(--muted);
  text-decoration:none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{ color: var(--fg); background: rgba(255,255,255,.06); }

.nav .cta{
  color: #0b0f1a;
  background: linear-gradient(135deg, rgba(122,167,255,.95), rgba(157,255,207,.9));
  font-weight: 700;
}

.nav-toggle{
  display:none;
  background: rgba(255,255,255,.06);
  color: var(--fg);
  border:1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

/* Layout */
.container{ max-width: 1100px; margin: 0 auto; padding: 22px 18px 60px; }
.hero{ padding: 44px 0 18px; }
.hero h1{
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.accent{ color: var(--accent); }
.sub{ color: var(--muted); font-size: 16px; max-width: 760px; }

.hero-cards{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.kicker{ font-size: 12px; color: var(--muted); }
.title{ font-weight: 800; margin-top: 6px; }
.card p{ margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.hero-actions{ margin-top: 18px; display:flex; gap: 10px; flex-wrap:wrap; }
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--fg);
  font-weight: 650;
}
.button.primary{
  color: #0b0f1a;
  background: linear-gradient(135deg, rgba(122,167,255,.95), rgba(157,255,207,.9));
  border: none;
}
.note{ margin-top: 14px; color: rgba(233,238,252,.55); font-size: 12px; }

.section{ padding: 34px 0 10px; scroll-margin-top: 90px; }
.section-head h2{ margin:0; font-size: 24px; letter-spacing: -0.01em; }
.section-head p{ margin: 8px 0 0; color: var(--muted); max-width: 820px; }

.grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.panel h3{ margin:0 0 10px; }
.panel ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.panel p{ margin:0; color: var(--muted); }

.pill-row{ margin-top: 10px; display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  font-size: 12px;
  color: rgba(233,238,252,.78);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
}

.list{ margin-top: 14px; display:flex; flex-direction:column; gap: 10px; }
.item{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px;
}
.item-title{ font-weight: 750; }
.item-meta{ margin-top: 6px; font-size: 12px; color: rgba(233,238,252,.62); }
.item.link{ text-decoration:none; color: inherit; display:block; }
.item.link:hover{ background: rgba(255,255,255,.06); }

.footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap: 10px;
  color: rgba(233,238,252,.65);
  font-size: 13px;
}
.muted{ color: rgba(233,238,252,.62); }

/* Mobile */
@media (max-width: 900px){
  .hero-cards{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .nav.open{
    display:flex;
    position:absolute;
    top: 62px;
    right: 12px;
    flex-direction:column;
    gap: 6px;
    padding: 10px;
    background: rgba(7,10,18,.85);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(10px);
  }
}
