@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --accent: #83f5d2;
  --secondary: #a78bfa;
  --bg: #080d19;
  --panel: #111b2b;
  --panel2: #142034;
  --line: rgba(190, 211, 243, 0.1);
  --text: #edf4ff;
  --muted: #91a0b7;
}

.flash-message {
  margin-bottom: 20px;
  padding: 13px 17px;
  border: 1px solid rgba(131, 245, 210, 0.25);
  border-radius: 10px;
  background: rgba(131, 245, 210, 0.08);
  color: #ccffec;
  font-size: 13px;
}

.flash-message.error {
  border-color: rgba(255, 147, 154, 0.3);
  background: rgba(255, 147, 154, 0.08);
  color: #ffb9c0;
}

.empty-state {
  margin: 29px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.account-link,
.logout-button {
  color: #a9bed0;
  font-size: 11px;
}

.account-link:hover,
.logout-button:hover {
  color: var(--accent);
}

.logout-button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 260px;
  min-width: 260px;
  height: 100vh;
  padding: 23px 17px 18px;
  background: #0d1523;
  border-right: 1px solid var(--line);
}
.sidebar-navigation {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: #314259 transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 9px 23px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.brand-name {
  font:
    700 25px/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -1.6px;
}
.brand-name::first-letter {
  color: var(--accent);
}
.brand-name small {
  display: block;
  margin-top: 5px;
  color: #6c7c96;
  font:
    700 8px/1 "DM Sans",
    sans-serif;
  letter-spacing: 2px;
}
.workspace-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 61px;
  margin-bottom: 21px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #152032;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 9px;
  background: white;
  color: #172131;
  font-weight: 700;
}
.workspace-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.workspace-pill strong,
.workspace-pill small {
  display: block;
  white-space: nowrap;
}
.workspace-pill strong {
  font-size: 12px;
}
.workspace-pill small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.chevron {
  margin-left: auto;
  color: var(--muted);
}
.nav-label {
  margin: 0 12px 12px;
  color: #61718b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}
.secondary-label {
  margin-top: 29px;
}
.sidebar nav {
  display: grid;
  gap: 3px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: #9aa9bf;
  font-size: 12px;
  font-weight: 600;
  transition: 0.2s;
}
.nav-item:hover,
.nav-item:focus-visible {
  background: #18263a;
  color: white;
}
.nav-item.active {
  background: linear-gradient(
    90deg,
    rgba(131, 245, 210, 0.13),
    rgba(131, 245, 210, 0.02)
  );
  color: var(--accent);
}
.nav-icon {
  display: grid;
  place-items: center;
  width: 19px;
  color: #7486a1;
  font-size: 19px;
  font-weight: 400;
}
.active .nav-icon {
  color: var(--accent);
}
.nav-indicator {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.new-badge,
.nav-count {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(167, 139, 250, 0.14);
  color: #baa5fa;
  font-size: 9px;
  font-weight: 700;
}
.nav-count {
  background: #1e2a3e;
  color: #8fa3bc;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-top: 14px;
  padding: 14px 10px 0;
  border-top: 1px solid var(--line);
}
.sidebar-bottom strong {
  display: block;
  font: 600 12px/1.2 "Space Grotesk", sans-serif;
}
.sidebar-bottom small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-bottom-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(131, 245, 210, 0.1);
  color: var(--accent);
  font-size: 16px;
}
.main-content {
  min-width: 0;
  flex: 1;
  background:
    radial-gradient(circle at 57% 5%, rgba(34, 55, 81, 0.25), transparent 27%),
    #080d19;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  color: #71819b;
  font-size: 12px;
}
.breadcrumb span {
  padding: 0 10px;
  color: #53637c;
}
.breadcrumb strong {
  color: #e9f1fd;
  font-weight: 600;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.demo-live {
  color: #9dabbd;
  font-size: 11px;
}
.demo-live i,
.demo-dot,
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 50%;
  background: #382e56;
  color: #d6c8ff;
  font-size: 10px;
  font-weight: 700;
}
.content-wrap {
  max-width: 1400px;
  margin: auto;
  padding: 28px 38px 15px;
}
.demo-banner {
  padding: 11px 15px;
  margin-bottom: 21px;
  border: 1px solid rgba(131, 245, 210, 0.17);
  border-radius: 9px;
  background: rgba(131, 245, 210, 0.045);
  color: #9fb3bb;
  font-size: 11px;
}
.demo-banner strong {
  margin-right: 4px;
  color: #d5fff3;
}
.demo-dot {
  width: 6px;
  height: 6px;
}
.hero {
  position: relative;
  display: flex;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(131, 245, 210, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 77% 50%,
      rgba(70, 138, 140, 0.25),
      transparent 28%
    ),
    linear-gradient(110deg, #132338, #17283d 55%, #0d1b2d);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(174, 218, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 218, 231, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent 38%, black);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 58%;
  padding: 40px 42px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}
.eyebrow span {
  width: 15px;
  height: 1px;
  background: var(--accent);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}
h1 {
  margin: 18px 0 11px;
  font-size: clamp(34px, 3.5vw, 55px);
  line-height: 1.04;
  letter-spacing: -2.4px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  max-width: 480px;
  color: #b3c1cf;
  font-size: 12px;
  line-height: 1.65;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 13px;
  padding: 11px 14px;
  border: 1px solid rgba(131, 245, 210, 0.4);
  border-radius: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.hero-link:hover {
  background: rgba(131, 245, 210, 0.1);
}
.hero-link span {
  font-size: 17px;
}
.hero-art {
  position: absolute;
  right: 7%;
  top: -17px;
  width: 330px;
  height: 330px;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(131, 245, 210, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 170px;
  height: 170px;
}
.orbit-two {
  width: 250px;
  height: 250px;
}
.orbit-three {
  width: 315px;
  height: 315px;
}
.eye-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  border: 1px solid rgba(131, 245, 210, 0.75);
  border-radius: 50%;
  background: radial-gradient(circle, #123349 15%, #152c43 60%, #092439);
  box-shadow:
    0 0 50px rgba(131, 245, 210, 0.23),
    inset 0 0 30px rgba(131, 245, 210, 0.1);
  transform: translate(-50%, -50%);
}
.eye-core::before {
  position: absolute;
  width: 78px;
  height: 40px;
  border: 3px solid var(--accent);
  border-radius: 70% 15%;
  content: "";
  transform: rotate(45deg);
}
.eye-inner {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 15px var(--accent),
    0 0 35px rgba(131, 245, 210, 0.7);
}
.orbit-point {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}
.point-one {
  left: 20%;
  top: 20%;
}
.point-two {
  right: 8%;
  top: 41%;
  background: var(--secondary);
}
.point-three {
  left: 18%;
  bottom: 14%;
}
.orbit-label {
  position: absolute;
  padding: 6px 8px;
  border: 1px solid rgba(131, 245, 210, 0.2);
  border-radius: 5px;
  background: rgba(9, 25, 42, 0.85);
  color: #a9d6d7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.label-one {
  left: 9%;
  top: 23%;
}
.label-two {
  right: -4%;
  top: 35%;
}
.label-three {
  left: 0;
  bottom: 16%;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 31px 0 16px;
}
.section-kicker {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.section-heading h2,
.panel-heading h2 {
  margin: 5px 0 0;
  font-size: 21px;
  letter-spacing: -0.7px;
}
.period-pill,
.section-subnote,
.panel-count {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #99a9bf;
  font-size: 10px;
}
.period-pill span {
  padding-left: 9px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.metric-card,
.panel,
.module-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.metric-card {
  min-height: 132px;
  padding: 17px 18px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a5b3c5;
  font-size: 11px;
}
.metric-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: rgba(131, 245, 210, 0.1);
  color: var(--accent);
  font-size: 17px;
}
.metric-card strong {
  display: block;
  margin: 13px 0 3px;
  font:
    600 27px/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -1px;
}
.metric-change {
  color: var(--accent);
  font-size: 10px;
}
.metric-change.attention {
  color: #ffbd8b;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 14px;
  margin-top: 15px;
}
.panel {
  min-width: 0;
  padding: 21px;
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.sparkle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.14);
  color: #cbb8ff;
  font-size: 19px;
}
.insight-lead {
  margin: 12px 0 16px;
  color: #96a8bc;
  font-size: 11px;
  line-height: 1.6;
}
.insight-feature {
  position: relative;
  overflow: hidden;
  padding: 18px 19px 12px;
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 12px;
  background: linear-gradient(130deg, #242446, #18243b 60%, #1a3141);
}
.insight-glow {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.12);
  filter: blur(30px);
}
.insight-feature-label {
  position: relative;
  color: #c9baff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: #c6a8ff;
  box-shadow: 0 0 10px #c6a8ff;
}
.insight-feature p {
  position: relative;
  margin: 16px 0;
  color: #e4e9f5;
  font:
    500 14px/1.6 "Space Grotesk",
    sans-serif;
}
.insight-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #aeb8d0;
  font-size: 10px;
}
.insight-foot span:last-child {
  font-size: 16px;
}
.insight-note {
  margin-top: 13px;
  color: #788da5;
  font-size: 10px;
}
.alerts {
  margin-top: 11px;
}
.alert-row {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.alert-row:last-child {
  border: 0;
}
.alert-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
}
.critical {
  background: rgba(255, 125, 132, 0.12);
  color: #ff939a;
}
.warning {
  background: rgba(255, 192, 125, 0.12);
  color: #ffbf83;
}
.info {
  background: rgba(131, 245, 210, 0.11);
  color: var(--accent);
}
.alert-row strong {
  font-size: 11px;
}
.alert-row p {
  margin: 4px 0 5px;
  color: #8395a9;
  font-size: 10px;
  line-height: 1.35;
}
.alert-row small {
  color: #9cacc0;
  font-size: 9px;
}
.alert-arrow {
  margin-left: auto;
  color: #778aa3;
  font-size: 14px;
}
.modules-section {
  padding-top: 1px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.module-card {
  min-height: 172px;
  padding: 18px;
}
.module-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 19px;
}
.mint {
  background: rgba(131, 245, 210, 0.12);
  color: var(--accent);
}
.lilac {
  background: rgba(167, 139, 250, 0.15);
  color: #c8b5ff;
}
.peach {
  background: rgba(255, 179, 142, 0.13);
  color: #ffb38e;
}
.sky {
  background: rgba(123, 199, 255, 0.12);
  color: #8bcaff;
}
.module-card h3 {
  margin: 14px 0 5px;
  font-size: 14px;
}
.module-card p {
  min-height: 43px;
  margin: 0;
  color: #8c9eb3;
  font-size: 10px;
  line-height: 1.5;
}
.module-card > span:last-child {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  color: #678077;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.module-card b {
  color: var(--accent);
  font-size: 13px;
  font-weight: 400;
}
.integration-panel {
  margin-top: 27px;
}
.integration-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.integration-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #142136;
}
.integration-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  font:
    700 15px "Space Grotesk",
    sans-serif;
}
.green {
  background: #224232;
  color: #9de3b7;
}
.blue {
  background: #243a60;
  color: #a1c5ff;
}
.purple {
  background: #3d335d;
  color: #cbb8ff;
}
.orange {
  background: #4b392f;
  color: #ffc59a;
}
.integration-item strong,
.integration-item small {
  display: block;
  white-space: nowrap;
}
.integration-item strong {
  font-size: 10px;
}
.integration-item small {
  margin-top: 3px;
  color: #8799ac;
  font-size: 8px;
}
.integration-item em {
  margin-left: auto;
  color: #8193a8;
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}
footer {
  display: flex;
  gap: 7px;
  padding: 25px 0 8px;
  color: #667991;
  font-size: 10px;
}
footer span {
  color: var(--accent);
}
footer small {
  margin-left: auto;
  font-size: 10px;
}
@media (max-width: 1250px) {
  .sidebar {
    width: 225px;
    min-width: 225px;
  }
  .content-wrap {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .hero-copy {
    width: 63%;
    padding: 38px 30px;
  }
  .hero-art {
    right: 0;
  }
  .integration-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .integration-item em {
    margin-left: auto;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 74px;
    min-width: 74px;
    padding: 25px 12px;
  }
  .brand {
    margin: 0 0 30px;
    justify-content: center;
  }
  .brand-name,
  .workspace-pill,
  .nav-label,
  .nav-item:not(.active),
  .sidebar-bottom {
    display: none;
  }
  .nav-item.active {
    justify-content: center;
    padding: 0;
    font-size: 0;
  }
  .nav-item.active .nav-icon {
    font-size: 21px;
  }
  .nav-indicator {
    display: none;
  }
  .hero-art {
    right: -90px;
    opacity: 0.55;
  }
  .hero-copy {
    width: 75%;
  }
  .metrics,
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    padding: 14px 18px;
  }
  .brand {
    justify-content: start;
    margin: 0;
  }
  .brand-name {
    display: block;
    font-size: 20px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .sidebar nav,
  .sidebar .workspace-pill,
  .sidebar .nav-label,
  .sidebar-navigation {
    display: none;
  }
  .main-content {
    width: 100%;
  }
  .topbar {
    height: 54px;
    padding: 0 18px;
  }
  .content-wrap {
    padding: 17px;
  }
  .demo-live {
    font-size: 0;
  }
  .demo-live i {
    margin-right: 0;
  }
  .hero {
    min-height: 270px;
  }
  .hero-copy {
    width: 100%;
    padding: 31px 22px;
  }
  .hero-art {
    right: -165px;
    opacity: 0.25;
  }
  h1 {
    font-size: 36px;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .integration-list {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: start;
  }
  .period-pill,
  .section-subnote {
    display: none;
  }
}
@media (max-width: 480px) {
  .metrics,
  .module-grid,
  .integration-list {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card {
    padding: 14px;
  }
  .metric-card strong {
    font-size: 23px;
  }
  .module-card {
    padding: 14px;
  }
  .integration-item {
    flex-wrap: wrap;
  }
  .integration-item em {
    width: 100%;
    margin-left: 40px;
  }
  .hero p {
    max-width: 250px;
  }
  .demo-banner {
    line-height: 1.5;
  }
}
[data-magic-alert][hidden] { display: none !important; }
