:root {
  --demo-bg: #eef5fb;
  --demo-ink: #071426;
  --demo-muted: #617287;
  --demo-line: rgba(34, 60, 88, 0.14);
  --demo-card: rgba(255, 255, 255, 0.9);
  --demo-navy: #071426;
  --demo-navy-2: #0d2947;
  --demo-cyan: #32d3ef;
  --demo-blue: #207bf2;
  --demo-gold: #ffd84d;
  --demo-green: #34d399;
  --demo-red: #fb7185;
  --demo-radius: 28px;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--demo-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(50, 211, 239, 0.14), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(255, 216, 77, 0.16), transparent 30%),
    var(--demo-bg);
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

.demo-page {
  min-height: 100vh;
  overflow-x: clip;
}

.demo-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.demo-topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  margin: 12px auto 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(15, 35, 60, 0.14);
  backdrop-filter: blur(24px) saturate(150%);
}

.demo-brand,
.demo-nav,
.demo-login,
.demo-button {
  text-decoration: none;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.demo-brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(15, 35, 60, 0.16);
}

.demo-brand span {
  display: grid;
  line-height: 1.05;
}

.demo-brand strong {
  font-size: 18px;
  font-weight: 1000;
}

.demo-brand small {
  color: var(--demo-muted);
  font-size: 11px;
  font-weight: 900;
}

.demo-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.demo-nav a {
  padding: 11px 13px;
  border-radius: 999px;
  color: #314a63;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.demo-nav a:hover {
  background: rgba(13, 41, 71, 0.07);
}

.demo-login {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f4be2c;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe270, #f4be2c);
  color: #071321;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(244, 190, 44, 0.25);
}

.demo-hero {
  position: relative;
  margin-top: -86px;
  padding: 190px 0 96px;
  overflow: clip;
  color: #fff;
  background:
    radial-gradient(circle at 22% 12%, rgba(50, 211, 239, 0.24), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 216, 77, 0.2), transparent 32%),
    linear-gradient(145deg, #07111f 0%, #102e4d 54%, #07111f 100%);
}

.demo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(238, 245, 251, 0.98));
  pointer-events: none;
}

.demo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.demo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #b7ecff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-eyebrow.dark {
  color: #167eb6;
}

.demo-eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--demo-green);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.16);
}

.demo-hero h1,
.demo-section-head h2,
.demo-contact-card h2 {
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.demo-hero p:not(.demo-eyebrow),
.demo-section-head p,
.demo-contact-card p {
  max-width: 720px;
  color: rgba(240, 248, 255, 0.82);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.demo-hero-actions,
.demo-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.demo-button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--demo-gold), #fff1a8 48%, var(--demo-cyan));
  color: #06111f;
  font-size: 14px;
  font-weight: 1000;
  box-shadow: 0 22px 44px rgba(255, 216, 77, 0.22);
}

.demo-button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.demo-button-ghost.dark {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.demo-proof-card {
  padding: 20px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.demo-proof-card div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-proof-card strong {
  display: block;
  font-size: 34px;
  font-weight: 1000;
}

.demo-proof-card span {
  color: rgba(240, 248, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
}

.demo-shell-section,
.demo-features,
.demo-contact {
  padding: 52px 0;
}

.demo-section-head {
  margin-bottom: 24px;
}

.demo-section-head h2,
.demo-contact-card h2 {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--demo-ink);
}

.demo-section-head p {
  color: var(--demo-muted);
}

.owner-demo {
  min-height: 760px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.98), rgba(13, 41, 71, 0.98));
  box-shadow: 0 30px 90px rgba(13, 35, 58, 0.26);
}

.owner-sidebar {
  min-width: 0;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(50, 211, 239, 0.16), transparent 34%),
    #071426;
}

.owner-company {
  padding: 14px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.owner-company > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffe270, #f4be2c);
  color: #071426;
  font-weight: 1000;
}

.owner-company strong,
.owner-company small {
  display: block;
}

.owner-company small,
.owner-side-note span {
  color: rgba(234, 244, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.owner-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.owner-menu button {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 250, 255, 0.72);
  font-size: 14px;
  font-weight: 1000;
  text-align: left;
  cursor: pointer;
}

.owner-menu button.active {
  border-color: rgba(255, 216, 77, 0.48);
  background: linear-gradient(135deg, #ffe270, #f4be2c);
  color: #071426;
}

.owner-side-note {
  padding: 16px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(50, 211, 239, 0.2);
  border-radius: 20px;
  background: rgba(50, 211, 239, 0.08);
}

.owner-main {
  min-width: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 2%, rgba(255, 216, 77, 0.14), transparent 26%),
    #f4f8fc;
}

.owner-main-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.owner-main-top span,
.card-head span,
.billing-card span,
.metric-grid span {
  display: block;
  color: #60758b;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-main-top strong {
  display: block;
  color: #071426;
  font-size: 26px;
  font-weight: 1000;
}

.owner-main-actions {
  display: flex;
  gap: 8px;
}

.owner-main-actions button,
.card-head button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(33, 97, 150, 0.16);
  border-radius: 14px;
  background: #fff;
  color: #173554;
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.owner-main-actions button:first-child {
  background: linear-gradient(135deg, var(--demo-cyan), var(--demo-blue));
  color: #fff;
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

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

.metric-grid article,
.owner-map-card,
.attention-card,
.table-card,
.driver-card-grid article,
.billing-card,
.owner-checklist,
.feature-grid article {
  border: 1px solid rgba(34, 60, 88, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 35, 60, 0.1);
}

.metric-grid article {
  min-height: 126px;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 29px;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.metric-grid small {
  color: #7b8da1;
  font-weight: 800;
}

.owner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

.owner-map-card,
.attention-card,
.table-card {
  padding: 18px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.card-head strong {
  display: block;
  color: #071426;
  font-size: 22px;
  font-weight: 1000;
}

.card-head b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--demo-red);
  color: #fff;
  font-size: 20px;
}

.demo-map {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 24px;
  background: #dbeeda;
}

.demo-map img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(1.06);
}

.car-pin {
  position: absolute;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 18px 18px 18px 6px;
  color: #fff;
  font-weight: 1000;
  transform: rotate(-45deg);
  box-shadow: 0 16px 32px rgba(15, 35, 60, 0.24);
}

.car-pin::after {
  content: attr(class);
  display: none;
}

.car-pin {
  line-height: 1;
}

.car-pin.pin-one {
  left: 28%;
  top: 48%;
  background: #6d5df6;
}

.car-pin.pin-two {
  left: 60%;
  top: 56%;
  background: #21b78c;
}

.car-pin.pin-three {
  left: 48%;
  top: 30%;
  background: #287df3;
}

.car-pin {
  text-indent: 0;
}

.car-pin {
  font-size: 15px;
}

.car-pin {
  transform: rotate(-45deg);
}

.car-pin::before {
  content: "";
}

.car-pin {
  writing-mode: horizontal-tb;
}

.car-pin {
  text-align: center;
}

.car-pin {
  text-transform: uppercase;
}

.car-pin {
  transform-origin: center;
}

.car-pin {
  rotate: 0deg;
}

.car-pin {
  display: grid;
}

.car-pin {
  place-items: center;
}

.car-pin {
  font-family: inherit;
}

.car-pin {
  color: transparent;
}

.car-pin::before {
  color: #fff;
  transform: rotate(45deg);
}

.pin-one::before {
  content: "D1";
}

.pin-two::before {
  content: "D2";
}

.pin-three::before {
  content: "D3";
}

.driver-mini-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.driver-mini-list span {
  min-height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  background: #f4f8fc;
  color: #435b74;
  font-size: 13px;
  font-weight: 900;
}

.driver-mini-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--demo-green);
}

.attention-list {
  display: grid;
  gap: 10px;
}

.attention-list button {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(34, 60, 88, 0.08);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.attention-list span,
.attention-list small,
.owner-checklist strong {
  display: block;
}

.attention-list span {
  color: #071426;
  font-weight: 1000;
}

.attention-list small {
  margin-top: 5px;
  color: #6a7e93;
  font-weight: 800;
}

.demo-table {
  overflow: hidden;
  border: 1px solid rgba(34, 60, 88, 0.1);
  border-radius: 18px;
}

.demo-table > div {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.8fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(34, 60, 88, 0.08);
  background: #fff;
  color: #243e58;
  font-size: 13px;
  font-weight: 850;
}

.demo-table > div:last-child {
  border-bottom: 0;
}

.demo-table-head {
  background: #eef5fb !important;
  color: #60758b !important;
  font-size: 11px !important;
  font-weight: 1000 !important;
  text-transform: uppercase;
}

.demo-table b {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.demo-table .ok {
  background: rgba(52, 211, 153, 0.16);
  color: #047857;
}

.demo-table .wait {
  background: rgba(251, 113, 133, 0.14);
  color: #be123c;
}

.demo-table .plan {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.demo-table .ride {
  background: rgba(255, 216, 77, 0.24);
  color: #925f00;
}

.driver-card-grid,
.billing-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.driver-card-grid article,
.billing-card,
.feature-grid article {
  min-height: 180px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.driver-card-grid article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--demo-cyan), var(--demo-blue));
  color: #fff;
  font-weight: 1000;
}

.driver-card-grid article.offline > span {
  background: #9aa7b6;
}

.driver-card-grid strong,
.billing-card strong,
.feature-grid strong {
  color: #071426;
  font-size: 19px;
  font-weight: 1000;
}

.driver-card-grid small,
.billing-card small,
.feature-grid span {
  color: #6a7e93;
  font-weight: 800;
  line-height: 1.45;
}

.driver-card-grid b {
  margin-top: auto;
  color: #0f5132;
}

.billing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.billing-card strong {
  font-size: 34px;
  letter-spacing: -0.05em;
}

.owner-checklist {
  margin-top: 14px;
  padding: 20px;
}

.owner-checklist ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #425a73;
  font-weight: 850;
  line-height: 1.7;
}

.feature-grid article b {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(50, 211, 239, 0.14);
  color: #167eb6;
}

.demo-contact-card {
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 0 0, rgba(50, 211, 239, 0.2), transparent 32%),
    linear-gradient(135deg, #071426, #102e4d);
  box-shadow: 0 30px 90px rgba(13, 35, 58, 0.22);
}

.demo-contact-card h2 {
  color: #fff;
}

.demo-contact-card p {
  color: rgba(240, 248, 255, 0.78);
}

.demo-contact-actions {
  justify-content: flex-end;
}

.owner-demo.demo-flash {
  animation: demoFlash 720ms ease-out;
}

@keyframes demoFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 211, 239, 0.45), 0 30px 90px rgba(13, 35, 58, 0.26);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(50, 211, 239, 0), 0 30px 90px rgba(13, 35, 58, 0.26);
  }
}

@media (max-width: 980px) {
  .demo-topbar {
    flex-wrap: wrap;
  }

  .demo-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .demo-hero-grid,
  .owner-demo,
  .owner-layout,
  .demo-contact-card {
    grid-template-columns: 1fr;
  }

  .owner-sidebar {
    grid-template-rows: auto;
  }

  .owner-menu {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    overflow-x: auto;
  }

  .metric-grid,
  .driver-card-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .demo-container {
    width: min(100% - 20px, 1180px);
  }

  .demo-topbar {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 20px;
  }

  .demo-brand small,
  .demo-login {
    display: none;
  }

  .demo-hero {
    padding-top: 162px;
  }

  .demo-hero h1,
  .demo-section-head h2,
  .demo-contact-card h2 {
    letter-spacing: -0.055em;
  }

  .demo-proof-card,
  .metric-grid,
  .driver-card-grid,
  .billing-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .owner-main {
    padding: 12px;
  }

  .owner-main-top,
  .owner-main-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-table {
    overflow-x: auto;
  }

  .demo-table > div {
    min-width: 760px;
  }

  .demo-map {
    min-height: 260px;
  }

  .demo-map img {
    height: 280px;
  }
}
