:root {
  --bg: #050d16;
  --panel: #0a1b2c;
  --line: rgba(116, 163, 201, 0.18);
  --line-strong: rgba(99, 186, 218, 0.32);
  --text: #edf7ff;
  --muted: #89a2b8;
  --cyan: #2bd3e4;
  --yellow: #f7c63d;
  --green: #36d99c;
  --red: #ff6471;
  --blue: #4ca8ff;
  --sidebar: 258px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button { cursor: pointer; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.public-demo {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 7%, rgba(35, 126, 191, 0.18), transparent 31%),
    radial-gradient(circle at 20% 78%, rgba(43, 211, 228, 0.075), transparent 30%),
    linear-gradient(rgba(69, 132, 178, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 132, 178, 0.048) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}

.demo-sidebar {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 21px 17px 18px;
  border-right: 1px solid rgba(72, 134, 180, 0.18);
  background:
    radial-gradient(circle at 20% 0%, rgba(43, 211, 228, 0.12), transparent 29%),
    linear-gradient(180deg, #071827 0%, #061522 70%, #040e18 100%);
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 61px;
  padding: 0 4px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(247, 198, 61, 0.45);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.demo-brand-mark img {
  width: 186%;
  max-width: none;
  transform: translate(-23%, -10%);
}

.demo-brand > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.demo-brand strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.demo-brand small {
  color: #859db2;
  font-size: 10px;
}

.demo-brand > button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 28px;
}

.demo-company {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 28px;
  padding: 13px;
  border: 1px solid rgba(81, 153, 206, 0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.demo-company > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffdb69, #efb821);
  color: #081522;
  font-size: 13px;
  font-weight: 1000;
}

.demo-company > div {
  display: grid;
  flex: 1;
  gap: 3px;
}

.demo-company strong { font-size: 12px; }
.demo-company small { color: #829aaf; font-size: 8px; }

.demo-company > b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(54, 217, 156, 0.12);
  color: var(--green);
  font-size: 11px;
}

.demo-nav-caption {
  margin: 0 10px 10px;
  color: #607a90;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.demo-nav {
  display: grid;
  gap: 6px;
}

.demo-nav button {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #91a8bc;
  text-align: left;
  font-size: 10px;
  font-weight: 850;
  transition: 160ms ease;
}

.demo-nav button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.demo-nav button.is-active {
  background: linear-gradient(135deg, #ffda67, #f1b927);
  color: #081522;
  box-shadow: 0 14px 34px rgba(244, 190, 44, 0.20);
}

.demo-nav svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.demo-nav button > b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 8px;
}

.demo-nav button:not(.is-active) > b {
  background: var(--red);
  color: #fff;
}

.demo-safe-card {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(43, 211, 228, 0.18);
  border-radius: 14px;
  background: rgba(23, 114, 134, 0.09);
}

.demo-safe-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 2px solid rgba(132, 255, 208, 0.50);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 17px rgba(54, 217, 156, 0.62);
}

.demo-safe-card div { display: grid; gap: 4px; }
.demo-safe-card strong { font-size: 9px; }
.demo-safe-card small { color: #7895a8; font-size: 7px; line-height: 1.5; }

.demo-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 218, 103, 0.50);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd75c, #f1b927);
  box-shadow: 0 16px 34px rgba(244, 190, 44, 0.18);
  color: #081522;
  font-size: 9px;
  font-weight: 950;
  text-decoration: none;
}

.demo-sidebar-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 17px 5px 0;
  color: #617d92;
}

.demo-sidebar-footer > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(54, 217, 156, 0.65);
}

.demo-sidebar-footer small { font-size: 6px; font-weight: 900; letter-spacing: 0.12em; }
.demo-sidebar-footer b { margin-left: auto; color: var(--green); font-size: 7px; }

.demo-main {
  min-height: 100vh;
  margin-left: var(--sidebar);
}

.demo-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(100, 155, 197, 0.16);
  background: rgba(5, 15, 26, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.demo-menu-open {
  display: none;
  width: 38px;
  padding: 7px;
  border: 0;
  background: transparent;
}

.demo-menu-open span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #eaf5ff;
}

.demo-breadcrumbs { display: flex; align-items: center; gap: 9px; font-size: 9px; }
.demo-breadcrumbs span { color: #7290a8; }
.demo-breadcrumbs b { color: var(--cyan); }

.demo-public-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid rgba(43, 211, 228, 0.24);
  border-radius: 999px;
  background: rgba(43, 211, 228, 0.08);
  color: #71e5ee;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.demo-public-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.demo-top-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd75c, #f1b927);
  box-shadow: 0 10px 28px rgba(244, 190, 44, 0.17);
  color: #081522;
  font-size: 8px;
  font-weight: 950;
  text-decoration: none;
}

.demo-page {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.demo-view[hidden] { display: none !important; }
.demo-view.is-active { animation: demo-view-enter 280ms ease both; }

.demo-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  min-height: 230px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: clamp(27px, 3.4vw, 46px);
  border: 1px solid rgba(78, 148, 201, 0.23);
  border-radius: 25px;
  background: linear-gradient(105deg, rgba(12, 40, 64, 0.98), rgba(8, 26, 43, 0.96) 60%, rgba(7, 21, 34, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.055);
}

.demo-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(circle at 87% 0%, rgba(43, 211, 228, 0.17), transparent 37%), linear-gradient(90deg, transparent 0 66%, rgba(247, 198, 61, 0.045));
}

.demo-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -55px;
  right: 7%;
  width: 390px;
  height: 340px;
  background: url("/assets/taxibrain-brand.jpg") center 12% / 135% auto no-repeat;
  opacity: 0.14;
  mix-blend-mode: multiply;
}

.demo-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
}

.demo-hero-copy > p,
.demo-panel-head small,
.demo-section-head p {
  margin: 0;
  color: #51d7e4;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.demo-hero h1 {
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.demo-hero h1 span { color: var(--yellow); }
.demo-hero-copy > strong { color: #d9e9f5; font-size: 13px; }
.demo-hero-copy > small { max-width: 650px; margin-top: 9px; color: #8fa9bf; font-size: 10px; line-height: 1.65; }

.demo-hero-live {
  align-self: center;
  min-width: 235px;
  padding: 19px;
  border: 1px solid rgba(54, 217, 156, 0.22);
  border-radius: 18px;
  background: rgba(5, 19, 30, 0.65);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.demo-hero-live > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7feabb;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.demo-hero-live > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px var(--green);
}

.demo-hero-live > strong { display: block; margin-top: 12px; color: #fff; font-size: 25px; }
.demo-hero-live > small { display: block; margin-top: 5px; color: #7896aa; font-size: 8px; }
.demo-hero-live > div { display: flex; margin-top: 17px; }

.demo-hero-live > div > * {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  margin-right: -5px;
  border: 2px solid #0a1c2d;
  border-radius: 50%;
  background: #1d79b3;
  color: #fff;
  font-size: 8px;
  font-style: normal;
}

.demo-hero-live > div b:nth-child(2) { background: #1aa77f; }
.demo-hero-live > div em { background: #1b3043; color: #91a7ba; }

.demo-signal-strip {
  display: grid;
  grid-template-columns: minmax(310px, 1.2fr) 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  margin-bottom: 12px;
  padding: 9px 15px;
  border: 1px solid rgba(54, 217, 156, 0.25);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(54, 217, 156, 0.10), rgba(8, 28, 42, 0.82));
}

.demo-signal-strip > div { display: flex; align-items: center; gap: 10px; }
.demo-signal-strip p { display: grid; gap: 3px; margin: 0; }
.demo-signal-strip strong { font-size: 9px; }
.demo-signal-strip small { color: #779a8d; font-size: 7px; }

.demo-live-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid rgba(123, 255, 204, 0.56);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(54, 217, 156, 0.10), 0 0 22px rgba(54, 217, 156, 0.50);
  animation: demo-pulse 1.8s ease-in-out infinite;
}

.demo-signal-strip > div:nth-child(2) {
  display: grid;
  gap: 3px;
  padding-left: 18px;
  border-left: 1px solid rgba(106, 161, 198, 0.14);
}

.demo-signal-strip > span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(54, 217, 156, 0.08);
  color: #83e6bf;
  font-size: 7px;
  font-weight: 900;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 12px;
}

.demo-metric {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 126px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(16, 42, 66, 0.96), rgba(8, 25, 41, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20), inset 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease;
}

.demo-metric::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.08;
  filter: blur(9px);
}

.demo-metric:hover { transform: translateY(-3px); border-color: var(--line-strong); }

.demo-metric-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, currentColor 12%, transparent);
  font-size: 10px;
  font-weight: 950;
}

.demo-metric-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.demo-metric > div { display: grid; gap: 5px; }
.demo-metric div small, .demo-metric p { color: #829bb0; font-size: 7px; }
.demo-metric div strong { color: #fff; font-size: 22px; letter-spacing: -0.05em; }
.demo-metric div strong i { color: #6f8da4; font-size: 13px; font-style: normal; }
.demo-metric p { margin: 0; }
.demo-metric > b { position: absolute; top: 13px; right: 13px; color: currentColor; font-size: 6px; letter-spacing: 0.10em; }
.metric-blue { color: var(--blue); }
.metric-amber { color: var(--yellow); }
.metric-red { color: var(--red); }
.metric-green { color: var(--green); }

.demo-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 12px;
  margin-bottom: 12px;
}

.demo-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(13, 34, 54, 0.98), rgba(7, 23, 38, 0.99));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.04);
}

.demo-map-panel {
  position: relative;
  isolation: isolate;
}

.demo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 73px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(102, 153, 193, 0.14);
}

.demo-panel-head h2,
.demo-section-head h1 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.demo-panel-head > span { display: flex; align-items: center; gap: 6px; color: #7490a7; font-size: 7px; }
.demo-panel-head > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.demo-live-map {
  height: 365px;
  background:
    radial-gradient(circle at 55% 45%, rgba(43, 211, 228, 0.12), transparent 48%),
    #081722;
}

.demo-live-map .leaflet-tile-pane {
  filter: brightness(0.67) saturate(0.82) contrast(1.12);
}

.demo-live-map .leaflet-control-zoom a {
  border-color: rgba(100, 155, 197, 0.18);
  background: rgba(6, 20, 33, 0.92);
  color: #d9edf9;
  backdrop-filter: blur(12px);
}

.demo-live-map .leaflet-control-attribution {
  background: rgba(5, 15, 25, 0.78);
  color: #6f899f;
  font-size: 7px;
}

.demo-live-map .leaflet-control-attribution a { color: #7cc9d6; }

.demo-map-marker {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 3px solid #dff9ff;
  border-radius: 50% 50% 50% 12px;
  background: var(--marker);
  color: #fff;
  font-size: 10px;
  font-weight: 1000;
  box-shadow: 0 9px 28px color-mix(in srgb, var(--marker) 42%, transparent), 0 0 0 5px rgba(255, 255, 255, 0.06);
  transform: rotate(-45deg);
}

.demo-map-marker span { transform: rotate(45deg); }
.demo-map-marker.marker-one { --marker: #6f52dc; }
.demo-map-marker.marker-two { --marker: #19aa80; }

.demo-map-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(4, 16, 27, 0.42);
}

.demo-map-list button {
  display: grid;
  grid-template-columns: 37px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-align: left;
}

.demo-map-list button + button { border-left: 1px solid rgba(99, 151, 191, 0.14); }

.driver-dot {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: #6f52dc;
  font-size: 9px;
  font-weight: 950;
}

.driver-dot.driver-two { background: #19aa80; }
.demo-map-list p { display: grid; gap: 4px; margin: 0; }
.demo-map-list strong { font-size: 9px; }
.demo-map-list small, .demo-map-list em { color: #7690a6; font-size: 7px; font-style: normal; }

.demo-attention .demo-panel-head > b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  box-shadow: 0 7px 20px rgba(255, 100, 113, 0.24);
}

.demo-attention-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  min-height: 128px;
  margin: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.024);
}

.demo-attention-card > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 1000;
}

.demo-attention-card > div { display: grid; gap: 4px; }
.demo-attention-card > div small { color: #6f8aa0; font-size: 6px; font-weight: 900; letter-spacing: 0.08em; }
.demo-attention-card > div strong { color: #fff; font-size: 10px; }
.demo-attention-card > div p { margin: 0; color: #849bae; font-size: 8px; line-height: 1.45; }

.demo-attention-card > button {
  grid-column: 2;
  justify-self: start;
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  font-size: 7px;
  font-weight: 950;
}

.demo-attention-card.is-urgent { border-color: rgba(255, 100, 113, 0.28); background: linear-gradient(105deg, rgba(255, 100, 113, 0.10), rgba(255, 255, 255, 0.018)); }
.demo-attention-card.is-urgent > span { background: rgba(255, 100, 113, 0.14); color: #ff8290; }
.demo-attention-card.is-urgent > button { background: var(--red); color: #fff; }
.demo-attention-card.is-warning { border-color: rgba(247, 198, 61, 0.22); background: linear-gradient(105deg, rgba(247, 198, 61, 0.08), rgba(255, 255, 255, 0.018)); }
.demo-attention-card.is-warning > span { background: rgba(247, 198, 61, 0.13); color: #ffd65c; }
.demo-attention-card.is-warning > button { background: var(--yellow); color: #0b1925; }

.demo-ai-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px;
  padding: 12px;
  border: 1px solid rgba(54, 217, 156, 0.15);
  border-radius: 12px;
  background: rgba(54, 217, 156, 0.06);
}

.demo-ai-note > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: rgba(54, 217, 156, 0.14); color: var(--green); font-size: 8px; font-weight: 1000; }
.demo-ai-note p { display: grid; gap: 3px; margin: 0; }
.demo-ai-note strong { font-size: 8px; }
.demo-ai-note small { color: #759387; font-size: 7px; }

.demo-orders-preview { margin-bottom: 20px; }
.demo-panel-head > button { border: 0; background: transparent; color: #7cdce5; font-size: 8px; font-weight: 900; }
.demo-order-table { padding: 4px 12px 12px; }

.demo-order-table article {
  display: grid;
  grid-template-columns: 65px minmax(220px, 2fr) 120px minmax(105px, 1fr) minmax(90px, 0.6fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 9px 7px;
  border-bottom: 1px solid rgba(99, 151, 191, 0.12);
}

.demo-order-table article:last-child { border-bottom: 0; }
.demo-order-table article > b { color: #87a1b7; font-size: 8px; }
.demo-order-table article > div, .demo-order-table article > p { display: grid; gap: 4px; margin: 0; }
.demo-order-table strong { font-size: 9px; }
.demo-order-table small { color: #6f899f; font-size: 7px; }

[class^="status-"],
[class*=" status-"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 6px 8px;
  border: 1px solid rgba(104, 161, 198, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #9eb4c6;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

[class^="status-"] i,
[class*=" status-"] i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.status-wait { color: #ffd65c; }
.status-pickup { color: #71c3ff; }
.status-ride { color: #61e3b2; }

.demo-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  min-height: 145px;
  margin-bottom: 14px;
  padding: 28px 31px;
  border: 1px solid rgba(78, 148, 201, 0.22);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(13, 39, 63, 0.98), rgba(7, 23, 38, 0.98));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.20);
}

.demo-section-head h1 { font-size: clamp(27px, 3.4vw, 46px); }
.demo-section-head span { display: block; margin-top: 9px; color: #829caf; font-size: 9px; }
.demo-section-head > strong { padding: 9px 12px; border: 1px solid rgba(43, 211, 228, 0.20); border-radius: 999px; background: rgba(43, 211, 228, 0.07); color: #6cdce6; font-size: 8px; }

.demo-filter-row {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(99, 151, 191, 0.13);
  overflow-x: auto;
}

.demo-filter-row button {
  min-height: 35px;
  padding: 0 13px;
  border: 1px solid rgba(106, 158, 198, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #859db1;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.demo-filter-row button.is-active { border-color: #4bd9e7; background: linear-gradient(135deg, #60e1ea, #2eb8d5); color: #071522; }
.demo-workspace-list { display: grid; gap: 9px; padding: 12px; }

.demo-workspace-order {
  display: grid;
  grid-template-columns: 70px minmax(260px, 2fr) 120px 120px auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(102, 153, 193, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
}

.demo-workspace-order.is-waiting { border-color: rgba(247, 198, 61, 0.25); background: linear-gradient(90deg, rgba(247, 198, 61, 0.07), rgba(255, 255, 255, 0.02)); }
.demo-workspace-order > span { color: #718ca3; font-size: 8px; font-weight: 900; }
.demo-workspace-order > div, .demo-workspace-order > p { display: grid; gap: 5px; margin: 0; }
.demo-workspace-order strong { font-size: 9px; }
.demo-workspace-order small { color: #718aa0; font-size: 7px; }

.demo-workspace-order > button,
.demo-driver-card button {
  min-height: 35px;
  padding: 0 11px;
  border: 1px solid rgba(106, 158, 198, 0.19);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #a9c0d2;
  font-size: 7px;
  font-weight: 900;
}

.demo-driver-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.demo-driver-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(16, 42, 66, 0.96), rgba(8, 25, 41, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.demo-driver-card > header { display: flex; align-items: center; gap: 10px; }
.demo-driver-card > header > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #167ab3, #244f82); font-size: 10px; font-weight: 950; }
.demo-driver-card > header > div { display: grid; flex: 1; gap: 4px; }
.demo-driver-card > header strong { font-size: 10px; }
.demo-driver-card > header small { color: #7891a7; font-size: 7px; }
.demo-driver-card > header b { display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 7px; }
.demo-driver-card > header b i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.demo-driver-card.is-offline { opacity: 0.67; }
.demo-driver-card.is-offline > header b { color: #8292a0; }

.demo-driver-card > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(100, 153, 193, 0.13);
  border-bottom: 1px solid rgba(100, 153, 193, 0.13);
}

.demo-driver-card p { display: grid; gap: 5px; margin: 0; }
.demo-driver-card p small { color: #6f899e; font-size: 6px; }
.demo-driver-card p strong { font-size: 8px; }
.demo-driver-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo-driver-card footer > span { color: #718ba1; font-size: 7px; }

.demo-results-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 12px; }

.demo-results-kpis article {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 42, 66, 0.96), rgba(8, 25, 41, 0.96));
}

.demo-results-kpis small { color: #7190a6; font-size: 7px; font-weight: 900; letter-spacing: 0.08em; }
.demo-results-kpis strong { color: #fff; font-size: 23px; }
.demo-results-kpis span { color: #64dcae; font-size: 7px; }
.demo-results-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr); gap: 12px; }
.demo-chart-card, .demo-call-card { padding: 18px; }
.demo-chart-card > header, .demo-call-card > header { display: flex; justify-content: space-between; align-items: flex-start; }
.demo-chart-card header small, .demo-call-card header small { color: #51d7e4; font-size: 7px; font-weight: 950; letter-spacing: 0.12em; }
.demo-chart-card h2, .demo-call-card h2 { margin: 5px 0 0; font-size: 17px; }
.demo-chart-card header > strong { font-size: 19px; }

.demo-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  height: 290px;
  margin-top: 18px;
  padding: 25px 5px 0;
  border-bottom: 1px solid rgba(101, 154, 195, 0.15);
  background: repeating-linear-gradient(transparent 0 62px, rgba(101, 154, 195, 0.09) 63px);
}

.demo-bars > span {
  position: relative;
  display: flex;
  height: var(--bar);
  min-height: 24px;
  align-items: flex-end;
  justify-content: center;
  border-radius: 7px 7px 1px 1px;
  background: linear-gradient(180deg, #ffe06e, #e6a916);
  box-shadow: 0 -9px 26px rgba(247, 198, 61, 0.11);
}

.demo-bars i { position: absolute; bottom: -22px; color: #71899e; font-size: 7px; font-style: normal; }
.demo-bars b { position: absolute; top: -17px; color: #91a8ba; font-size: 6px; white-space: nowrap; }
.demo-call-card > header { display: block; }

.demo-call-peak {
  display: grid;
  gap: 5px;
  margin: 22px 0 15px;
  padding: 16px;
  border: 1px solid rgba(247, 198, 61, 0.24);
  border-radius: 14px;
  background: rgba(247, 198, 61, 0.07);
}

.demo-call-peak small { color: #ae8b28; font-size: 6px; }
.demo-call-peak strong { color: #ffdd6b; font-size: 23px; }
.demo-call-peak span { color: #9d8f63; font-size: 7px; }
.demo-call-card > p { display: flex; justify-content: space-between; margin: 0; padding: 12px 2px; border-bottom: 1px solid rgba(100, 153, 193, 0.12); font-size: 8px; }
.demo-call-card > p span { color: #7892a7; }
.demo-call-card > p.is-alert strong { color: var(--red); }

.demo-mobile-nav,
.demo-backdrop { display: none; }

.demo-toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 44px 1fr 30px;
  align-items: center;
  gap: 11px;
  width: min(390px, calc(100% - 30px));
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(43, 211, 228, 0.25);
  border-radius: 16px;
  background: rgba(8, 27, 43, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.demo-toast[hidden] { display: none; }
.demo-toast > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(43, 211, 228, 0.12); color: var(--cyan); font-size: 8px; font-weight: 1000; }
.demo-toast p { display: grid; gap: 4px; margin: 0; }
.demo-toast strong { font-size: 9px; }
.demo-toast small { color: #829caf; font-size: 7px; line-height: 1.45; }
.demo-toast button { border: 0; background: transparent; color: #849db1; font-size: 20px; }

@keyframes demo-view-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes demo-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 1100px) {
  .demo-metrics { grid-template-columns: 1fr 1fr; }
  .demo-command-grid, .demo-results-grid { grid-template-columns: 1fr; }
  .demo-driver-grid { grid-template-columns: 1fr 1fr; }
  .demo-order-table article { grid-template-columns: 55px minmax(200px, 2fr) 110px minmax(95px, 1fr); }
  .demo-order-table article > p:last-child { display: none; }
}

@media (max-width: 820px) {
  .demo-sidebar { transform: translateX(-104%); transition: transform 200ms ease; }
  .demo-sidebar.is-open { transform: translateX(0); }
  .demo-brand > button, .demo-menu-open { display: block; }

  .demo-backdrop:not([hidden]) {
    position: fixed;
    z-index: 55;
    inset: 0;
    display: block;
    border: 0;
    background: rgba(1, 8, 14, 0.72);
    backdrop-filter: blur(3px);
  }

  .demo-main { margin-left: 0; }
  .demo-breadcrumbs { display: none; }

  .demo-topbar::before {
    content: "TaxiBrain  /  LIVE DEMO";
    max-width: 100px;
    color: #b8cfe0;
    font-size: 7px;
    font-weight: 950;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }

  .demo-topbar { padding: 0 14px; }
  .demo-public-chip { display: none; }
  .demo-top-cta { margin-left: auto; }
  .demo-page { padding: 18px 15px 92px; }
  .demo-hero { min-height: 220px; padding: 29px 23px; }
  .demo-hero-live { display: none; }
  .demo-hero-copy > small { max-width: 560px; }
  .demo-signal-strip { grid-template-columns: 1fr auto; }
  .demo-signal-strip > div:nth-child(2) { display: none; }

  .demo-mobile-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 69px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(102, 153, 193, 0.18);
    background: rgba(5, 15, 26, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.25);
  }

  .demo-mobile-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #6f8ba2;
  }

  .demo-mobile-nav button.is-active { background: rgba(247, 198, 61, 0.09); color: #ffdc69; box-shadow: inset 0 0 0 1px rgba(247, 198, 61, 0.13); }
  .demo-mobile-nav span { font-size: 17px; }
  .demo-mobile-nav small { font-size: 7px; font-weight: 900; }
  .demo-mobile-nav b { position: absolute; top: 2px; right: 23%; display: grid; width: 17px; height: 17px; place-items: center; border: 2px solid #071522; border-radius: 50%; background: var(--red); color: #fff; font-size: 6px; }
}

@media (max-width: 620px) {
  .demo-topbar { height: 64px; }
  .demo-top-cta { max-width: 148px; padding: 0 11px; text-align: center; font-size: 7px; line-height: 1.25; }
  .demo-hero { min-height: 232px; padding: 25px 19px; border-radius: 21px; }
  .demo-hero::after { top: 24px; right: -70px; width: 230px; height: 190px; opacity: 0.10; }
  .demo-hero h1 { max-width: 325px; font-size: 36px; line-height: 0.97; }
  .demo-hero-copy > strong { font-size: 10px; }
  .demo-hero-copy > small { max-width: 310px; font-size: 8px; }
  .demo-signal-strip { min-height: 56px; padding: 9px 11px; }
  .demo-signal-strip > span { display: none; }
  .demo-metrics { gap: 8px; }
  .demo-metric { flex-direction: column; gap: 8px; min-height: 142px; padding: 13px; }
  .demo-metric div strong { font-size: 19px; }
  .demo-metric > b { top: 14px; right: 11px; }
  .demo-panel { border-radius: 19px; }
  .demo-map-panel {
    border-color: rgba(71, 199, 215, 0.24);
    background: linear-gradient(155deg, rgba(10, 31, 49, 0.99), rgba(4, 16, 27, 0.99));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.05);
  }
  .demo-map-panel .demo-panel-head {
    min-height: 68px;
    padding: 13px 15px;
  }
  .demo-map-panel .demo-panel-head h2 { font-size: 20px; }
  .demo-map-panel .demo-panel-head > span {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid rgba(54, 217, 156, 0.20);
    border-radius: 999px;
    background: rgba(54, 217, 156, 0.08);
    color: #9dd6c1;
    font-size: 7px;
    font-weight: 850;
  }
  .demo-live-map { height: 286px; }
  .demo-live-map .leaflet-tile-pane {
    filter: brightness(0.72) saturate(0.86) contrast(1.10);
  }
  .demo-live-map .leaflet-control-zoom {
    margin-top: 14px;
    margin-left: 14px;
    overflow: hidden;
    border: 1px solid rgba(159, 214, 231, 0.16);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
  }
  .demo-live-map .leaflet-control-zoom a {
    width: 36px;
    height: 36px;
    border: 0;
    line-height: 36px;
  }
  .demo-live-map .leaflet-bottom { bottom: 72px; }
  .demo-map-marker {
    width: 40px;
    height: 40px;
    border-width: 2px;
    font-size: 9px;
  }
  .demo-map-list {
    position: absolute;
    z-index: 500;
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    border: 1px solid rgba(117, 178, 211, 0.18);
    border-radius: 16px;
    background: rgba(4, 17, 29, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  }
  .demo-map-list button {
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 8px;
    min-height: 56px;
    padding: 8px;
    border: 1px solid rgba(120, 177, 211, 0.13);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(20, 49, 72, 0.88), rgba(9, 28, 44, 0.88));
  }
  .demo-map-list button + button {
    border-top: 1px solid rgba(120, 177, 211, 0.13);
    border-left: 1px solid rgba(120, 177, 211, 0.13);
  }
  .demo-map-list .driver-dot {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    font-size: 8px;
    box-shadow: 0 8px 18px rgba(111, 82, 220, 0.24);
  }
  .demo-map-list .driver-two { box-shadow: 0 8px 18px rgba(25, 170, 128, 0.24); }
  .demo-map-list p { min-width: 0; gap: 3px; }
  .demo-map-list strong {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .demo-map-list small {
    overflow: hidden;
    font-size: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .demo-map-list em { display: none; }
  .demo-order-table { padding: 4px 8px 8px; }
  .demo-order-table article { grid-template-columns: 47px minmax(0, 1fr) auto; min-height: 92px; }
  .demo-order-table article > p { display: none; }
  .demo-order-table article > span { grid-column: 2; }
  .demo-section-head { min-height: 160px; align-items: flex-start; padding: 24px 20px; }
  .demo-section-head h1 { font-size: 29px; line-height: 1; }
  .demo-section-head > strong { display: none; }
  .demo-workspace-order { grid-template-columns: 48px 1fr; gap: 9px; padding: 13px; }
  .demo-workspace-order > b, .demo-workspace-order > p, .demo-workspace-order > button { grid-column: 2; }
  .demo-workspace-order > button { width: 100%; }
  .demo-driver-grid, .demo-results-kpis { grid-template-columns: 1fr; }
  .demo-driver-card { padding: 15px; }
  .demo-bars { gap: 6px; }
  .demo-bars b { display: none; }
  .demo-toast { right: 12px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
