:root {
  --bg: #eaf4ff;
  --panel: rgba(247, 251, 255, 0.92);
  --panel-strong: #ffffff;
  --panel-soft: rgba(233, 244, 255, 0.76);
  --ink: #0d1e34;
  --muted: #60758f;
  --line: rgba(72, 115, 164, 0.2);
  --blue: #138ee1;
  --blue-strong: #1266c7;
  --gold: #f7ba31;
  --gold-strong: #eea51f;
  --green: #29b77a;
  --red: #e05252;
  --shadow: 0 28px 70px rgba(34, 62, 95, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(19, 142, 225, 0.16), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(41, 183, 122, 0.14), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  color: inherit;
}

button,
a,
input,
select,
textarea,
[role="button"],
label {
  touch-action: manipulation;
}

@media (max-width: 820px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

.login-topbar {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  width: min(1320px, calc(100% - 24px));
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(85, 129, 179, 0.22);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.82);
  box-shadow: 0 18px 42px rgba(34, 62, 95, 0.12);
  backdrop-filter: blur(18px);
  padding: 8px;
}

.login-topbar-brand,
.login-capabilities-tab,
.login-terms-link,
.login-contact-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  text-decoration: none;
}

.login-topbar-brand {
  gap: 10px;
  padding: 7px 13px 7px 8px;
  color: var(--ink);
}

.login-topbar-brand .login-brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(230, 164, 24, 0.5);
  background: #fff;
  box-shadow: 0 6px 16px rgba(238, 165, 31, 0.18);
}

.login-topbar-brand .login-brand-mark img,
.brand-dot img {
  width: 186%;
  height: auto;
  max-width: none;
  display: block;
  transform: translate(-23%, -10%);
}

.login-topbar-brand strong {
  font-size: 15px;
  line-height: 1;
}

.login-topbar-brand small {
  margin-left: -4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.login-topbar-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.login-capabilities-tab,
.login-terms-link {
  border: 1px solid rgba(19, 142, 225, 0.28);
  background: linear-gradient(135deg, #f9fcff, #dff1ff);
  color: #0d3153;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(19, 103, 188, 0.12);
  cursor: pointer;
}

.login-terms-link {
  border-color: rgba(72, 115, 164, 0.22);
  background: rgba(255, 255, 255, 0.64);
  color: #29435f;
  box-shadow: none;
}

.login-contact-link {
  border: 1px solid rgba(238, 165, 31, 0.36);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #111827;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(238, 165, 31, 0.2);
  white-space: nowrap;
  cursor: pointer;
}

.login-capabilities-tab[aria-expanded="true"] {
  background: linear-gradient(135deg, #41c8dc, #1267d8);
  border-color: rgba(18, 103, 216, 0.52);
  color: #ffffff;
}

.login-capabilities-tab[data-active="true"] {
  background: linear-gradient(135deg, #41c8dc, #1267d8);
  border-color: rgba(18, 103, 216, 0.52);
  color: #ffffff;
}

.system-capabilities[hidden] {
  display: none !important;
}

.system-capabilities {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  overflow: auto;
  padding: 92px clamp(12px, 3vw, 42px) 28px;
}

.capabilities-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 31, 0.54);
  backdrop-filter: blur(8px);
}

.capabilities-panel {
  position: relative;
  width: min(1140px, 100%);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(88, 150, 211, 0.25);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(235, 246, 255, 0.96));
  box-shadow: 0 34px 86px rgba(7, 17, 31, 0.28);
  padding: clamp(18px, 3vw, 28px);
}

.capabilities-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.capabilities-head span {
  display: inline-block;
  margin-bottom: 7px;
  color: #0f82d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capabilities-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.capabilities-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #526a86;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.5;
}

.capabilities-close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(69, 109, 157, 0.2);
  border-radius: 14px;
  background: #ffffff;
  color: #12243c;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.capabilities-panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(76, 117, 166, 0.16);
  border-radius: 17px;
  background: rgba(19, 142, 225, 0.06);
  padding: 7px;
}

.capabilities-panel-tabs button {
  min-height: 42px;
  flex: 1 1 150px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #55708e;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.capabilities-panel-tabs button[data-active="true"] {
  background: linear-gradient(135deg, #41c8dc, #1267d8);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 103, 216, 0.18);
}

.capability-live {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(120px, 0.3fr));
  gap: 10px;
}

.capability-origin {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 12px;
}

.origin-card {
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.9));
  box-shadow: 0 16px 34px rgba(34, 62, 95, 0.08);
  padding: 18px;
}

.origin-card.is-main {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(13, 32, 56, 0.98), rgba(18, 63, 103, 0.96));
  color: #ffffff;
}

.origin-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: #0f82d0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.origin-card.is-main span {
  color: #ffdf7d;
}

.origin-card strong {
  display: block;
  color: #0d1e34;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.08;
}

.origin-card.is-main strong {
  color: #ffffff;
}

.origin-card p {
  margin: 12px 0 0;
  color: #526a86;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.52;
}

.origin-card.is-main p {
  color: rgba(230, 242, 255, 0.84);
}

.origin-stack {
  display: grid;
  gap: 12px;
}

.showroom-note {
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.showroom-note strong {
  display: block;
  color: #0d1e34;
  font-size: 20px;
  line-height: 1.15;
}

.showroom-note p {
  margin: 8px 0 0;
  color: #526a86;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.product-showroom {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(300px, 0.95fr);
  gap: 12px;
}

.showroom-map-preview {
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(235, 246, 255, 0.78));
  padding: 16px;
  overflow: hidden;
}

.map-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-preview-head span,
.showroom-ops-list span,
.showroom-system-strip span {
  color: #0f82d0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-preview-head strong {
  color: #0d1e34;
  font-size: 18px;
  line-height: 1.1;
}

.map-preview-stage {
  position: relative;
  min-height: 220px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(rgba(76, 117, 166, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 117, 166, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 24% 28%, rgba(41, 183, 122, 0.3), transparent 23%),
    radial-gradient(circle at 76% 68%, rgba(19, 142, 225, 0.18), transparent 26%),
    #e9f5ec;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  overflow: hidden;
}

.map-road {
  position: absolute;
  height: 14px;
  border-radius: 999px;
  background: rgba(242, 169, 30, 0.48);
  transform-origin: center;
}

.map-road-a {
  left: -10%;
  top: 47%;
  width: 120%;
  transform: rotate(-7deg);
}

.map-road-b {
  left: 28%;
  top: -10%;
  width: 15px;
  height: 130%;
  transform: rotate(18deg);
  background: rgba(77, 130, 181, 0.34);
}

.map-road-c {
  right: -16%;
  bottom: 18%;
  width: 76%;
  transform: rotate(22deg);
  background: rgba(41, 183, 122, 0.3);
}

.map-car {
  position: absolute;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #29b77a, #169f64);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(13, 32, 56, 0.22);
}

.map-car-two {
  left: 62%;
  top: 36%;
  background: linear-gradient(135deg, #42c7dc, #1266dc);
}

.map-car-one {
  left: 37%;
  top: 55%;
}

.map-car-three {
  left: 20%;
  top: 24%;
  background: linear-gradient(135deg, #f7ba31, #eea51f);
  color: #111827;
}

.map-zone {
  position: absolute;
  left: 18px;
  bottom: 16px;
  border: 1px solid rgba(13, 32, 56, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #314966;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
}

.map-zone-right {
  left: auto;
  right: 18px;
  top: 16px;
  bottom: auto;
}

.showroom-map-preview p {
  margin: 0;
  color: #526a86;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
}

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

.showroom-ops-list article {
  min-height: 100px;
  display: grid;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 15px;
}

.showroom-ops-list strong {
  color: #0d1e34;
  font-size: 18px;
  line-height: 1.15;
}

.showroom-ops-list p {
  margin: 0;
  color: #526a86;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.42;
}

.showroom-stats {
  display: grid;
  gap: 12px;
}

.showroom-demo-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(247, 186, 49, 0.28);
  border-radius: 999px;
  background: rgba(247, 186, 49, 0.12);
  padding: 8px 12px;
}

.showroom-demo-label span {
  color: #9c6a00;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showroom-demo-label strong {
  color: #0d1e34;
  font-size: 13px;
  line-height: 1.2;
}

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

.showroom-product-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 10px;
}

.showroom-mini-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.showroom-system-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.showroom-system-strip article {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.76);
  padding: 14px;
}

.showroom-system-strip strong {
  color: #0d1e34;
  font-size: 18px;
  line-height: 1.1;
}

.showroom-metric {
  min-height: 108px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
  padding: 15px;
}

.showroom-metric span {
  color: #61758f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showroom-metric strong {
  color: #0d1e34;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.showroom-metric small {
  color: #60758f;
  font-weight: 780;
}

.showroom-week {
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.showroom-stats.compact .showroom-metric {
  min-height: 88px;
  padding: 13px;
}

.showroom-stats.compact .showroom-metric strong {
  font-size: clamp(24px, 2.3vw, 32px);
}

.showroom-week.compact .showroom-week-bars {
  min-height: 128px;
}

.showroom-week.compact {
  padding: 14px;
}

.showroom-week-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.showroom-week-head strong {
  color: #0d1e34;
  font-size: 20px;
}

.showroom-week-head span {
  color: #60758f;
  font-size: 13px;
  font-weight: 850;
}

.showroom-week-bars {
  min-height: 190px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.showroom-week-day {
  display: grid;
  gap: 8px;
  align-items: end;
}

.showroom-week-fill {
  min-height: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #70df9b, #28ac68);
  box-shadow: 0 14px 30px rgba(40, 172, 104, 0.18);
}

.showroom-week-day strong {
  color: #0d1e34;
  font-size: 13px;
}

.showroom-week-day small {
  color: #60758f;
  font-size: 12px;
  font-weight: 850;
}

.showroom-company-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(140px, 0.3fr));
  gap: 10px;
}

.showroom-company-strip article {
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 17px;
  background: linear-gradient(135deg, #0d2038, #123f67);
  color: #ffffff;
  padding: 15px;
}

.showroom-company-strip article:not(:first-child) {
  background: rgba(255, 255, 255, 0.72);
  color: #0d1e34;
}

.showroom-company-strip span {
  display: block;
  color: rgba(229, 242, 255, 0.74);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showroom-company-strip article:not(:first-child) span {
  color: #61758f;
}

.showroom-company-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  line-height: 1;
}

.pricing-showroom {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) repeat(3, minmax(220px, 0.75fr));
  gap: 12px;
}

.pricing-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.76);
  padding: 22px;
  box-shadow: 0 18px 36px rgba(34, 62, 95, 0.08);
}

.pricing-card.is-main {
  background:
    linear-gradient(135deg, rgba(13, 32, 56, 0.98), rgba(18, 63, 103, 0.96));
  color: #ffffff;
  align-content: space-between;
}

.pricing-card span {
  color: #0f82d0;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card.is-main span {
  color: #ffdf7d;
}

.pricing-card strong {
  color: #0d1e34;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  text-wrap: balance;
}

.pricing-card.is-main strong {
  color: #ffffff;
  max-width: 8ch;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.94;
}

.pricing-card em {
  margin-top: -4px;
  color: #60758f;
  font-size: 15px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.25;
}

.pricing-card.is-main em {
  color: #ffdf7d;
}

.pricing-card p {
  margin: 0;
  color: #526a86;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.5;
}

.pricing-card.is-main p {
  color: rgba(230, 242, 255, 0.84);
}

.pricing-card.is-web {
  border-color: rgba(238, 174, 43, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 199, 56, 0.18), rgba(255, 255, 255, 0.84));
}

.pricing-card.is-web span,
.pricing-card.is-web em {
  color: #8a5208;
}

.pricing-card a,
.pricing-card .pricing-cta {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #111827;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(238, 165, 31, 0.22);
  cursor: pointer;
}

.capability-live-card {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.capability-live-card.is-company {
  background: linear-gradient(135deg, #0d2038, #123f67);
  color: #ffffff;
}

.capability-live-card span {
  color: #61758f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capability-live-card.is-company span {
  color: rgba(229, 242, 255, 0.72);
}

.capability-live-card strong {
  color: #0d1e34;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.capability-live-card.is-company strong {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 28px);
}

.capability-live-card small {
  color: #60758f;
  font-weight: 780;
}

.capability-live-card.is-company small {
  color: rgba(229, 242, 255, 0.76);
}

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

.capability-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(76, 117, 166, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 248, 255, 0.86));
  padding: 16px;
  box-shadow: 0 16px 32px rgba(34, 62, 95, 0.08);
}

.capability-card b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #42c7dc, #1266dc);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.capability-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.capability-card p {
  margin: 0;
  color: #526a86;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  padding: clamp(92px, 8vw, 112px) clamp(18px, 4vw, 54px) clamp(18px, 4vw, 54px);
}

.login-page .login-visual {
  position: relative;
  min-height: min(690px, calc(100vh - 108px));
  display: grid;
  align-content: end;
  gap: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(74, 158, 223, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(5, 16, 28, 0.04) 0%, rgba(5, 16, 28, 0.56) 48%, rgba(5, 16, 28, 0.93) 100%),
    radial-gradient(circle at 80% 38%, rgba(72, 194, 255, 0.18), transparent 32%),
    url("assets/login-taxibrain-hero-v2.png") center 52% / cover !important;
  padding: clamp(24px, 4.7vw, 60px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-page .login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 22, 0.96) 0%, rgba(4, 12, 22, 0.68) 39%, rgba(4, 12, 22, 0.22) 68%, rgba(4, 12, 22, 0.36) 100%),
    linear-gradient(180deg, rgba(4, 12, 22, 0.1) 0%, rgba(4, 12, 22, 0.5) 54%, rgba(4, 12, 22, 0.9) 100%);
  pointer-events: none;
}

.login-page .login-visual::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 202, 77, 0.72), rgba(78, 198, 255, 0.68), transparent);
  pointer-events: none;
}

.sales-copy,
.sales-proof,
.hero-dispatch-badge,
.login-page .login-visual > * {
  position: relative;
  z-index: 1;
}

.sales-copy {
  max-width: 660px;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.login-page .login-visual .hero-brand-lockup span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #101827 !important;
  -webkit-text-fill-color: #101827;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: 0 18px 34px rgba(247, 186, 49, 0.24);
}

.hero-brand-lockup strong {
  color: #f8fbff;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.visual-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 202, 77, 0.52);
  border-radius: 999px;
  background: rgba(9, 19, 33, 0.78);
  color: #ffdf7d !important;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

.login-page .login-visual h1 {
  max-width: 850px;
  margin: 18px 0 12px;
  color: #fffdf6;
  font-size: clamp(50px, 6.8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.54);
}

.login-page .login-visual p {
  max-width: 660px;
  margin: 0;
  color: #f4f9ff;
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.44;
  font-weight: 850;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.hero-primary,
.hero-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.hero-primary {
  background: linear-gradient(135deg, #ffce4f, #f2a91e);
  color: #10192a;
  box-shadow: 0 18px 34px rgba(238, 165, 31, 0.28);
}

.hero-secondary {
  border: 1px solid rgba(238, 247, 255, 0.34);
  background: rgba(7, 17, 31, 0.58);
  color: #f4f9ff;
  letter-spacing: 0 !important;
}

.sales-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
}

.sales-proof article {
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(238, 247, 255, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.14), rgba(238, 247, 255, 0.07)),
    rgba(5, 14, 27, 0.78);
  padding: 15px;
  backdrop-filter: blur(10px);
}

.proof-icon {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border: 2px solid rgba(247, 186, 49, 0.74);
  border-radius: 999px;
  color: #ffdf7d !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.sales-proof strong {
  color: #fffdf7;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}

.login-page .sales-proof span {
  color: #dceeff !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.hero-dispatch-badge {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid rgba(247, 186, 49, 0.9);
  border-radius: 999px;
  background: rgba(6, 16, 30, 0.82);
  padding: 10px 16px;
  box-shadow:
    0 0 0 6px rgba(18, 102, 220, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.22);
}

.hero-dispatch-badge strong {
  color: #ffcf4f;
  font-size: 24px;
  line-height: 1;
}

.hero-dispatch-badge span {
  color: #f6f9ff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-page .login-box {
  width: 100%;
  border: 1px solid rgba(85, 129, 179, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(234, 245, 255, 0.92)) !important;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.brand-dot {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(230, 164, 24, 0.5);
  background: #fff;
  box-shadow: 0 16px 32px rgba(238, 165, 31, 0.26);
}

body.auth-only-page .brand-dot {
  overflow: hidden;
  border: 1px solid rgba(230, 164, 24, 0.5);
  background: #fff;
}

.brand-line strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.brand-line span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.login-value-strip {
  display: none !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.login-value-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(19, 142, 225, 0.16);
  border-radius: 999px;
  background: rgba(19, 142, 225, 0.08);
  color: #1f5a89;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.theme-switch {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  margin: 0 0 16px;
  border: 1px solid rgba(75, 121, 176, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(229, 244, 255, 0.86));
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(34, 100, 163, 0.12);
}

.company-choice {
  margin-bottom: 16px;
}

.company-choice small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(19, 142, 225, 0.16);
  border-radius: 17px;
  background: rgba(19, 142, 225, 0.07);
  padding: 7px;
}

.tab,
.login-form button {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #5f7590;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #101827;
  box-shadow: 0 16px 32px rgba(238, 165, 31, 0.22);
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form.hidden {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(69, 109, 157, 0.2);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 11px 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(19, 142, 225, 0.66);
  box-shadow: 0 0 0 4px rgba(19, 142, 225, 0.14);
}

.login-form button {
  min-height: 52px;
  margin-top: 2px;
  background: linear-gradient(135deg, #42c7dc, #1266dc);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(18, 102, 220, 0.22);
}

.message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--red);
  font-weight: 900;
}

.login-mini-proof {
  display: none !important;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(76, 117, 166, 0.16);
}

.login-mini-proof span {
  position: relative;
  display: block;
  color: #385879;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  padding-left: 18px;
}

.login-mini-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(41, 183, 122, 0.13);
}

.login-owner-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(76, 117, 166, 0.14);
  color: rgba(87, 108, 133, 0.7);
  font-size: 12px;
  line-height: 1.5;
}

.login-owner-note a {
  color: #0f78c9;
  font-weight: 850;
  text-decoration: none;
}

.text-link-button {
  border: 0;
  background: transparent;
  color: #0f78c9;
  padding: 0;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.sales-lead-dialog[hidden] {
  display: none !important;
}

body.sales-lead-open {
  overflow: hidden;
}

.sales-lead-dialog {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
  overflow: auto;
}

.sales-lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(10px);
}

.sales-lead-form {
  position: relative;
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  border: 1px solid rgba(88, 150, 211, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 246, 255, 0.97));
  box-shadow: 0 34px 90px rgba(7, 17, 31, 0.34);
  padding: clamp(18px, 3vw, 28px);
}

.sales-lead-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.sales-lead-head span {
  color: #0f82d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sales-lead-head h2 {
  margin: 6px 0 8px;
  color: #0d1e34;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.sales-lead-head p {
  margin: 0;
  color: #526a86;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.5;
}

.sales-lead-close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(69, 109, 157, 0.22);
  border-radius: 14px;
  background: #ffffff;
  color: #12243c;
  font: inherit;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

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

.sales-lead-grid label {
  display: grid;
  gap: 7px;
  color: #38516d;
  font-size: 13px;
  font-weight: 950;
}

.sales-lead-grid input,
.sales-lead-grid textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(76, 117, 166, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #0d1e34;
  padding: 13px 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.sales-lead-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.sales-lead-grid input:focus,
.sales-lead-grid textarea:focus {
  border-color: rgba(19, 142, 225, 0.72);
  box-shadow: 0 0 0 4px rgba(19, 142, 225, 0.13);
}

.sales-lead-wide {
  grid-column: 1 / -1;
}

.sales-lead-message {
  min-height: 22px;
  margin: 0;
  color: #526a86;
  font-size: 14px;
  font-weight: 850;
}

.sales-lead-message[data-tone="success"] {
  color: #087a4c;
}

.sales-lead-message[data-tone="error"] {
  color: #b42336;
}

.sales-lead-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.sales-lead-secondary,
.sales-lead-submit {
  min-height: 52px;
  border: 1px solid rgba(76, 117, 166, 0.22);
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.sales-lead-secondary {
  background: #ffffff;
  color: #12243c;
}

.sales-lead-submit {
  border-color: rgba(238, 165, 31, 0.4);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #111827;
  box-shadow: 0 18px 34px rgba(238, 165, 31, 0.22);
}

.sales-lead-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.terms-dialog[hidden] {
  display: none !important;
}

body.terms-open {
  overflow: hidden;
}

.terms-dialog {
  position: fixed;
  inset: 0;
  z-index: 108;
  display: grid;
  place-items: start center;
  padding: 92px clamp(12px, 3vw, 42px) 28px;
  overflow: auto;
}

.terms-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(10px);
}

.terms-panel {
  position: relative;
  width: min(1080px, 100%);
  display: grid;
  gap: 18px;
  border: 1px solid rgba(88, 150, 211, 0.25);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 246, 255, 0.97));
  box-shadow: 0 34px 86px rgba(7, 17, 31, 0.3);
  padding: clamp(18px, 3vw, 28px);
}

.terms-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.terms-head span {
  display: inline-block;
  margin-bottom: 7px;
  color: #0f82d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.terms-head h2 {
  margin: 0;
  color: #0d1e34;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.terms-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #526a86;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.5;
}

.terms-close {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(69, 109, 157, 0.2);
  border-radius: 14px;
  background: #ffffff;
  color: #12243c;
  font: inherit;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

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

.terms-grid section {
  min-height: 150px;
  border: 1px solid rgba(76, 117, 166, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.terms-grid h3 {
  margin: 0 0 9px;
  color: #0d1e34;
  font-size: 17px;
  line-height: 1.2;
}

.terms-grid p,
.terms-footnote {
  margin: 0;
  color: #526a86;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.5;
}

.terms-footnote {
  border: 1px solid rgba(247, 186, 49, 0.24);
  border-radius: 16px;
  background: rgba(247, 186, 49, 0.12);
  color: #5d4520;
  padding: 14px 16px;
}

html[data-theme="night"] body {
  --bg: #07111f;
  --panel: rgba(11, 22, 37, 0.95);
  --panel-strong: #0f1b2d;
  --panel-soft: rgba(23, 39, 62, 0.82);
  --ink: #f6f9ff;
  --muted: rgba(213, 229, 249, 0.74);
  --line: rgba(112, 158, 213, 0.22);
  background:
    linear-gradient(120deg, rgba(19, 142, 225, 0.16), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(41, 183, 122, 0.12), transparent 30%),
    #07111f;
}

html[data-theme="night"] .login-page .login-box {
  border-color: rgba(112, 158, 213, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 28, 47, 0.96), rgba(9, 18, 32, 0.94)) !important;
}

html[data-theme="night"] .brand-line strong,
html[data-theme="night"] label,
html[data-theme="night"] .tab.active {
  color: #f6f9ff;
}

html[data-theme="night"] .brand-line span,
html[data-theme="night"] .company-choice small {
  color: rgba(213, 229, 249, 0.72);
}

html[data-theme="night"] .login-value-strip span {
  border-color: rgba(81, 185, 255, 0.2);
  background: rgba(81, 185, 255, 0.1);
  color: rgba(223, 241, 255, 0.82);
}

html[data-theme="night"] .theme-switch,
html[data-theme="night"] input,
html[data-theme="night"] select,
html[data-theme="night"] .tabs {
  border-color: rgba(112, 158, 213, 0.22);
  background: rgba(12, 23, 40, 0.78);
  color: #f6f9ff;
}

html[data-theme="night"] .tab {
  color: rgba(213, 229, 249, 0.72);
}

html[data-theme="night"] .tab.active {
  background: linear-gradient(135deg, #259de8, #155fd0);
  box-shadow: 0 16px 32px rgba(21, 95, 208, 0.32);
}

html[data-theme="night"] .login-mini-proof,
html[data-theme="night"] .login-owner-note {
  border-color: rgba(112, 158, 213, 0.18);
}

html[data-theme="night"] .login-mini-proof span {
  color: rgba(223, 241, 255, 0.78);
}

html[data-theme="night"] .login-owner-note {
  color: rgba(213, 229, 249, 0.58);
}

html[data-theme="night"] .login-owner-note a {
  color: #77caff;
}

html[data-theme="night"] .text-link-button {
  color: #77caff;
}

html[data-theme="night"] .sales-lead-form {
  border-color: rgba(110, 168, 235, 0.26);
  background:
    linear-gradient(180deg, rgba(12, 24, 40, 0.98), rgba(7, 17, 31, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

html[data-theme="night"] .sales-lead-head h2 {
  color: #f7fbff;
}

html[data-theme="night"] .sales-lead-head p,
html[data-theme="night"] .sales-lead-grid label,
html[data-theme="night"] .sales-lead-message {
  color: rgba(218, 234, 255, 0.78);
}

html[data-theme="night"] .sales-lead-grid input,
html[data-theme="night"] .sales-lead-grid textarea {
  border-color: rgba(119, 166, 223, 0.22);
  background: rgba(11, 23, 39, 0.9);
  color: #f7fbff;
}

html[data-theme="night"] .sales-lead-close,
html[data-theme="night"] .sales-lead-secondary {
  border-color: rgba(119, 166, 223, 0.24);
  background: rgba(15, 29, 47, 0.95);
  color: #f7fbff;
}

html[data-theme="night"] .sales-lead-message[data-tone="success"] {
  color: #7df2bf;
}

html[data-theme="night"] .sales-lead-message[data-tone="error"] {
  color: #ff9aa6;
}

html[data-theme="night"] .terms-panel {
  border-color: rgba(112, 158, 213, 0.22);
  background: linear-gradient(180deg, rgba(15, 28, 47, 0.98), rgba(9, 18, 32, 0.97));
}

html[data-theme="night"] .terms-head h2,
html[data-theme="night"] .terms-grid h3 {
  color: #f6f9ff;
}

html[data-theme="night"] .terms-head p,
html[data-theme="night"] .terms-grid p {
  color: rgba(213, 229, 249, 0.76);
}

html[data-theme="night"] .terms-grid section {
  border-color: rgba(112, 158, 213, 0.18);
  background: rgba(12, 23, 40, 0.82);
}

html[data-theme="night"] .terms-close {
  border-color: rgba(112, 158, 213, 0.18);
  background: rgba(12, 23, 40, 0.88);
  color: #f6f9ff;
}

html[data-theme="night"] .terms-footnote {
  border-color: rgba(247, 186, 49, 0.26);
  background: rgba(247, 186, 49, 0.12);
  color: rgba(255, 231, 174, 0.86);
}

html[data-theme="night"] .login-topbar {
  border-color: rgba(112, 158, 213, 0.22);
  background: rgba(8, 17, 31, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

html[data-theme="night"] .login-topbar-brand {
  color: #f6f9ff;
}

html[data-theme="night"] .login-topbar-brand small {
  color: rgba(213, 229, 249, 0.72);
}

html[data-theme="night"] .login-capabilities-tab {
  border-color: rgba(112, 158, 213, 0.24);
  background: rgba(16, 31, 52, 0.9);
  color: rgba(233, 244, 255, 0.9);
}

html[data-theme="night"] .login-terms-link {
  border-color: rgba(112, 158, 213, 0.22);
  background: rgba(16, 31, 52, 0.72);
  color: rgba(233, 244, 255, 0.84);
}

html[data-theme="night"] .login-contact-link {
  border-color: rgba(247, 186, 49, 0.34);
  background: linear-gradient(135deg, #f7ba31, #eea51f);
  color: #111827;
}

html[data-theme="night"] .login-capabilities-tab[aria-expanded="true"] {
  background: linear-gradient(135deg, #259de8, #155fd0);
  color: #ffffff;
}

html[data-theme="night"] .login-capabilities-tab[data-active="true"] {
  background: linear-gradient(135deg, #259de8, #155fd0);
  color: #ffffff;
}

html[data-theme="night"] .capabilities-panel {
  border-color: rgba(112, 158, 213, 0.22);
  background: linear-gradient(180deg, rgba(15, 28, 47, 0.98), rgba(9, 18, 32, 0.97));
}

html[data-theme="night"] .capabilities-head h2,
html[data-theme="night"] .capability-card strong,
html[data-theme="night"] .capability-live-card strong,
html[data-theme="night"] .origin-card strong,
html[data-theme="night"] .showroom-note strong,
html[data-theme="night"] .map-preview-head strong,
html[data-theme="night"] .showroom-ops-list strong,
html[data-theme="night"] .showroom-system-strip strong,
html[data-theme="night"] .showroom-demo-label strong,
html[data-theme="night"] .showroom-metric strong,
html[data-theme="night"] .showroom-week-head strong,
html[data-theme="night"] .showroom-week-day strong,
html[data-theme="night"] .showroom-company-strip article:not(:first-child) strong,
html[data-theme="night"] .pricing-card strong {
  color: #f6f9ff;
}

html[data-theme="night"] .capabilities-head p,
html[data-theme="night"] .capability-card p,
html[data-theme="night"] .capability-live-card small,
html[data-theme="night"] .origin-card p,
html[data-theme="night"] .showroom-note p,
html[data-theme="night"] .showroom-map-preview p,
html[data-theme="night"] .showroom-ops-list p,
html[data-theme="night"] .showroom-metric small,
html[data-theme="night"] .showroom-week-head span,
html[data-theme="night"] .showroom-week-day small,
html[data-theme="night"] .pricing-card p {
  color: rgba(213, 229, 249, 0.76);
}

html[data-theme="night"] .capabilities-close,
html[data-theme="night"] .capabilities-panel-tabs,
html[data-theme="night"] .capability-card,
html[data-theme="night"] .capability-live-card,
html[data-theme="night"] .origin-card,
html[data-theme="night"] .showroom-note,
html[data-theme="night"] .showroom-map-preview,
html[data-theme="night"] .showroom-ops-list article,
html[data-theme="night"] .showroom-system-strip article,
html[data-theme="night"] .showroom-demo-label,
html[data-theme="night"] .showroom-metric,
html[data-theme="night"] .showroom-week,
html[data-theme="night"] .showroom-company-strip article:not(:first-child),
html[data-theme="night"] .pricing-card {
  border-color: rgba(112, 158, 213, 0.18);
  background: rgba(12, 23, 40, 0.82);
  color: #f6f9ff;
}

html[data-theme="night"] .capability-live-card.is-company,
html[data-theme="night"] .origin-card.is-main,
html[data-theme="night"] .showroom-company-strip article:first-child,
html[data-theme="night"] .pricing-card.is-main {
  background: linear-gradient(135deg, #0d3f67, #0d2038);
}

html[data-theme="night"] .capability-live-card span,
html[data-theme="night"] .origin-card span,
html[data-theme="night"] .map-preview-head span,
html[data-theme="night"] .showroom-ops-list span,
html[data-theme="night"] .showroom-system-strip span,
html[data-theme="night"] .showroom-demo-label span,
html[data-theme="night"] .showroom-metric span,
html[data-theme="night"] .showroom-company-strip span,
html[data-theme="night"] .showroom-company-strip article:not(:first-child) span,
html[data-theme="night"] .pricing-card span {
  color: rgba(141, 207, 255, 0.88);
}

html[data-theme="night"] .map-preview-stage {
  border-color: rgba(112, 158, 213, 0.18);
  background:
    linear-gradient(rgba(112, 158, 213, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 158, 213, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 24% 28%, rgba(41, 183, 122, 0.2), transparent 23%),
    radial-gradient(circle at 76% 68%, rgba(19, 142, 225, 0.16), transparent 26%),
    #0b1728;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

html[data-theme="night"] .map-zone {
  border-color: rgba(112, 158, 213, 0.18);
  background: rgba(12, 23, 40, 0.84);
  color: rgba(233, 244, 255, 0.88);
}

html[data-theme="night"] .capabilities-panel-tabs button {
  color: rgba(213, 229, 249, 0.72);
}

html[data-theme="night"] .capabilities-panel-tabs button[data-active="true"] {
  background: linear-gradient(135deg, #259de8, #155fd0);
  color: #ffffff;
}

@media (max-width: 980px) {
  .login-page {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .login-page .login-visual {
    min-height: 520px;
  }

  .login-page .login-box {
    max-width: 620px;
    margin: 0 auto;
  }

  .capability-live,
  .capabilities-grid,
  .showroom-metrics,
  .showroom-company-strip,
  .pricing-showroom,
  .product-showroom,
  .showroom-product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-origin {
    grid-template-columns: 1fr;
  }

  .showroom-map-preview {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .login-topbar {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 16px;
  }

  .login-topbar-brand small {
    display: none;
  }

  .login-topbar-tabs {
    flex: 1 1 auto;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .login-capabilities-tab,
  .login-terms-link,
  .login-contact-link {
    flex: 0 0 auto;
    padding-inline: 12px;
    font-size: 13px;
  }

  .system-capabilities,
  .terms-dialog {
    padding: 78px 10px 18px;
  }

  .capabilities-panel,
  .terms-panel {
    border-radius: 22px;
    padding: 16px;
  }

  .capabilities-head,
  .terms-head {
    grid-template-columns: 1fr auto;
  }

  .capabilities-head h2,
  .terms-head h2 {
    font-size: 30px;
  }

  .capabilities-head p,
  .terms-head p {
    font-size: 14px;
  }

  .capabilities-panel-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .capabilities-panel-tabs button {
    flex: 0 0 auto;
    min-width: 138px;
  }

  .capability-live,
  .capabilities-grid,
  .terms-grid,
  .showroom-metrics,
  .showroom-company-strip,
  .pricing-showroom,
  .product-showroom,
  .showroom-product-row,
  .showroom-system-strip {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .origin-card.is-main {
    min-height: auto;
  }

  .showroom-week-bars {
    min-height: 150px;
    gap: 7px;
  }

  .showroom-week-fill {
    min-height: 16px;
  }

  .login-page {
    gap: 16px;
    padding: 12px;
    padding-top: 78px;
  }

  .login-page .login-visual {
    min-height: auto;
    border-radius: 24px;
    padding: 22px;
  }

  .login-page .login-visual h1 {
    margin-top: 12px;
    font-size: clamp(34px, 10vw, 50px);
  }

  .login-page .login-visual p {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
  }

  .sales-proof {
    grid-template-columns: 1fr;
  }

  .sales-proof article {
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    min-height: auto;
    padding: 10px 12px;
    gap: 8px;
  }

  .login-page .sales-proof span {
    font-size: 12px;
  }

  .login-page .login-box {
    border-radius: 24px;
    padding: 18px;
  }

  .login-value-strip {
    grid-template-columns: 1fr;
  }

  .sales-lead-dialog {
    align-items: end;
    padding: 10px;
  }

  .sales-lead-form {
    border-radius: 22px;
    padding: 18px;
  }

  .sales-lead-grid,
  .sales-lead-actions {
    grid-template-columns: 1fr;
  }

  .sales-lead-close {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .login-page .login-visual {
    min-height: 390px;
    background-position: 58% 50% !important;
  }

  .visual-kicker {
    max-width: 100%;
    font-size: 11px;
  }

  .brand-dot {
    width: 46px;
    height: 46px;
  }
}

.login-public-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  text-decoration: none;
  border: 1px solid rgba(238, 165, 31, 0.36);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #111827;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(238, 165, 31, 0.2);
  white-space: nowrap;
}

body.auth-only-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(6, 14, 27, 0.96), rgba(6, 14, 27, 0.7)),
    url("assets/login-taxibrain-hero-v2.png") center / cover fixed,
    #07111f;
}

body.auth-only-page .auth-topbar {
  width: min(820px, calc(100% - 24px));
  background: rgba(7, 17, 31, 0.82);
  border-color: rgba(146, 180, 222, 0.22);
  color: #f8fbff;
}

body.auth-only-page .login-topbar-brand {
  color: #f8fbff;
}

body.auth-only-page .login-topbar-brand small {
  color: rgba(232, 240, 249, 0.72);
}

body.auth-only-page .login-terms-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.9);
  border-color: rgba(146, 180, 222, 0.24);
}

body.auth-only-page .auth-login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 104px 16px 34px;
}

body.auth-only-page .auth-login-box {
  width: min(520px, 100%);
  margin: 0 auto;
  background: rgba(248, 252, 255, 0.92);
  backdrop-filter: blur(20px);
}

body.auth-only-page .login-owner-note {
  color: #0d1e34 !important;
  opacity: 1 !important;
  font-size: 13px;
  font-weight: 760;
}

body.auth-only-page .login-owner-note a,
body.auth-only-page .login-owner-note .text-link-button {
  color: #1266c7 !important;
  opacity: 1 !important;
}

html[data-theme="night"] body.auth-only-page .auth-login-box {
  background: rgba(10, 20, 35, 0.92);
}

html[data-theme="night"] body.auth-only-page .login-owner-note {
  color: rgba(233, 244, 255, 0.84) !important;
}

html[data-theme="night"] body.auth-only-page .login-owner-note a,
html[data-theme="night"] body.auth-only-page .login-owner-note .text-link-button {
  color: #8dcfff !important;
}

@media (max-width: 720px) {
  body.auth-only-page .auth-topbar {
    width: 100%;
    top: 0;
    border-radius: 0;
  }

  body.auth-only-page .auth-login-page {
    padding-top: 112px;
  }

  .login-public-link,
  body.auth-only-page .login-terms-link {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body.auth-only-page .login-topbar-tabs {
    flex: 0 0 auto;
    justify-content: flex-end;
    overflow: visible;
    padding-bottom: 0;
  }

  body.auth-only-page .login-topbar-tabs .login-terms-link {
    display: none;
  }
}
