@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --b-bg: #0c0c0c;
  --b-bg-2: #161514;
  --b-panel: rgba(240,232,216,.04);
  --b-panel-2: rgba(240,232,216,.08);
  --b-line: rgba(240,232,216,.1);
  --b-line-strong: rgba(240,232,216,.18);
  --b-blue: #c41521;
  --b-blue2: #2B0D10;
  --b-blue-dark: #9f101a;
  --b-cyan: #e0a52c;
  --b-text: #f1ece0;
  --b-text-dim: #8c8478;
  --b-text-faint: #665f56;
  --b-text-strong: #fffaf0;
  --b-ok: #48bb78;
  --b-danger: #c41521;
  --b-warn: #e0a52c;
  --b-blue-rgb: 196,21,33;
  --b-cyan-rgb: 31,184,196;
  --b-warn-rgb: 224,165,44;
  --b-ok-rgb: 72,187,120;
  --b-radius: 10px;
  --b-radius-sm: 7px;
  --b-shadow: 0 18px 50px -28px rgba(0,0,0,.7);
  --b-font-display: 'Poppins',sans-serif;
  --b-font-head: 'Poppins',sans-serif;
  --b-font-body: 'Poppins',sans-serif;
  --b-topbar-height: 70px;
  --b-sidebar-width: 260px;
}

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

html,
body {
  min-height: 100%;
  background: var(--b-bg);
}

body {
  overflow-x: hidden;
}

::selection {
  color: #1a0000;
  background: var(--b-blue);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 1px 6px;
  color: var(--b-cyan);
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size: .88em;
  background: rgba(255,255,255,.06);
  border-radius: 5px;
}

.b-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--b-text);
  font-family: var(--b-font-body);
  line-height: 1.55;
  background:
    radial-gradient(900px 500px at 80% -10%,rgba(var(--b-blue-rgb),.04),transparent 60%),
    radial-gradient(700px 500px at -10% 20%,rgba(var(--b-blue-rgb),.03),transparent 60%),
    linear-gradient(180deg,var(--b-bg) 0%,var(--b-bg-2) 100%);
}

.b-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%,#000 30%,transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%,#000 30%,transparent 80%);
}

.b-link {
  color: var(--b-cyan);
  text-decoration: underline;
}

.b-mono {
  color: var(--b-text-dim);
  font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size: .88em;
}

.b-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--b-topbar-height);
  background: rgba(8,8,8,.96);
  border-bottom: 1px solid var(--b-line);
  backdrop-filter: blur(14px) saturate(160%);
}

.b-topbar-inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--b-topbar-height);
  padding: 0 24px;
  gap: 14px;
}

.b-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.b-brand-mark {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(var(--b-blue-rgb),.18);
}

.b-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b-brand-mark-sm {
  width: 24px;
  height: 24px;
}

.b-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.b-brand-name {
  overflow: hidden;
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.b-brand-name-sm {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: .82rem;
  font-weight: 700;
}

.b-brand-sub {
  margin-top: 2px;
  color: var(--b-cyan);
  font-family: var(--b-font-head);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.b-user {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.b-user-email {
  color: var(--b-text-dim);
  font-size: .86rem;
}

.b-logout-form {
  margin: 0;
}

.b-sidebar-toggle {
  display: none;
  flex: 0 0 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  color: var(--b-text-strong);
  cursor: pointer;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--b-line);
  border-radius: var(--b-radius-sm);
  gap: 4px;
}

.b-sidebar-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease,opacity .2s ease;
}

.b-sidebar-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.b-sidebar-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.b-sidebar-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.b-shell {
  display: flex;
  flex: 1 0 auto;
  width: 100%;
  min-height: 100vh;
  padding-top: var(--b-topbar-height);
  position: relative;
  z-index: 2;
}

.b-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - var(--b-topbar-height));
  margin: 0;
  padding: 32px 36px 48px;
  overflow-x: hidden;
  position: relative;
  z-index: 2;
}

.b-main-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--b-topbar-height));
  margin: 0;
  padding: 40px 24px;
  padding-top: 40px !important;
  position: relative;
  z-index: 2;
}

.b-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  gap: 24px;
}

.b-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--b-line);
  gap: 18px;
}

.b-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--b-warn);
  font-family: var(--b-font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.b-page-head h1 {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: clamp(1.5rem,2.4vw,2rem);
  font-weight: 800;
  line-height: 1.1;
}

.b-page-meta {
  margin-top: 5px;
  color: var(--b-text-dim);
  font-size: .92rem;
}

.b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: var(--b-font-head);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--b-radius-sm);
  gap: 8px;
  transition: .18s;
}

.b-btn-primary {
  color: var(--b-text-strong);
  background: var(--b-blue);
  box-shadow: 0 6px 20px -8px rgba(var(--b-blue-rgb),.28);
}

.b-btn-primary:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(var(--b-blue-rgb),.34);
}

.b-btn-ghost {
  color: var(--b-text);
  background: rgba(255,255,255,.03);
  border-color: var(--b-line);
}

.b-btn-ghost:hover {
  color: var(--b-text-strong);
  background: rgba(255,255,255,.06);
  border-color: var(--b-line-strong);
}

.b-btn-block {
  justify-content: center;
  width: 100%;
}

.b-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--b-panel);
  border: 1px solid var(--b-line);
  border-radius: var(--b-radius);
  gap: 16px;
}

.b-card h2 {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.b-card h3 {
  color: var(--b-text);
  font-family: var(--b-font-head);
  font-size: 1rem;
  font-weight: 600;
}

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

.b-stat {
  padding: 18px;
  background: var(--b-panel);
  border: 1px solid var(--b-line);
  border-radius: var(--b-radius-sm);
}

.b-stat-label {
  margin-bottom: 8px;
  color: var(--b-text-faint);
  font-family: var(--b-font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.b-stat-value {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.b-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: var(--b-font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  border-radius: 100px;
}

.b-pill-active,
.b-pill-ok {
  color: var(--b-ok);
  background: rgba(var(--b-ok-rgb),.1);
  border: 1px solid rgba(var(--b-ok-rgb),.25);
}

.b-badge-app {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  color: var(--b-cyan);
  font-family: var(--b-font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
  background: rgba(var(--b-cyan-rgb),.1);
  border: 1px solid rgba(var(--b-cyan-rgb),.25);
  border-radius: 100px;
  gap: 4px;
}

.b-badge-app svg {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
}

.b-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 24px;
  text-align: center;
  gap: 16px;
}

.b-empty h1 {
  margin-bottom: 0;
  color: var(--b-line-strong);
  font-family: var(--b-font-display);
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}

.b-empty p {
  max-width: 340px;
  color: var(--b-text-dim);
  font-size: 1rem;
  line-height: 1.65;
}

.b-footer {
  width: 100%;
  padding: 22px 36px;
  border-top: 1px solid var(--b-line);
  position: relative;
  z-index: 2;
}

.b-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  gap: 14px;
  color: var(--b-text-faint);
  font-size: .82rem;
}

.b-footer-links {
  display: flex;
  gap: 18px;
}

.b-footer-links a {
  color: var(--b-text-faint);
  transition: color .15s ease;
}

.b-footer-links a:hover {
  color: var(--b-text-dim);
}

.b-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 16px 40px;
  gap: 18px;
}

.b-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.b-hero h1 {
  max-width: 780px;
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: clamp(2rem,5vw,3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.b-hero h1 span {
  color: var(--b-cyan);
}

.b-hero p {
  max-width: 620px;
  color: var(--b-text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  gap: 12px;
}

.b-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 16px;
  gap: 32px;
}

.b-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  gap: 10px;
}

.b-section-head h2 {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: clamp(1.4rem,3vw,2rem);
  font-weight: 800;
}

.b-section-head p {
  color: var(--b-text-dim);
  font-size: .98rem;
  line-height: 1.6;
}

.b-features {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.b-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--b-blue);
  background: var(--b-blue2);
  border: 1px solid rgba(var(--b-blue-rgb),.3);
  border-radius: var(--b-radius-sm);
}

.b-network-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
}

.b-network-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  width: 100%;
  max-width: 900px;
  gap: 16px;
}

.b-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 24px;
  text-align: center;
  background: linear-gradient(160deg,rgba(var(--b-blue-rgb),.1),rgba(255,255,255,.02));
  border: 1px solid var(--b-line-strong);
  border-radius: var(--b-radius);
  gap: 16px;
}

.b-cta h2 {
  color: var(--b-text-strong);
  font-family: var(--b-font-display);
  font-size: clamp(1.4rem,3vw,2rem);
  font-weight: 800;
}

.b-cta p {
  max-width: 480px;
  color: var(--b-text-dim);
  font-size: 1rem;
}

@media (max-width: 940px) {
  :root {
    --b-topbar-height: 70px;
  }

  .b-topbar-inner {
    padding: 0 14px;
  }

  .b-main {
    min-height: calc(100vh - var(--b-topbar-height));
    padding: 24px 16px 36px;
  }

  .b-main-centered {
    min-height: calc(100vh - var(--b-topbar-height));
    padding: 28px 16px;
    padding-top: 28px !important;
  }

  .b-footer {
    padding: 18px 16px;
  }

  .b-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .b-stats,
  .b-features,
  .b-network-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 520px) {
  .b-brand-name {
    font-size: .82rem;
  }

  .b-stats,
  .b-features,
  .b-network-stats {
    grid-template-columns: minmax(0,1fr);
  }

  .b-empty h1 {
    font-size: 3.6rem;
  }
}