:root {
  --brand: #075fd8 !important;
  --brand2: #1590ff !important;
  --dark: #061326 !important;
  --bg: #edf3fa !important;
  --panel: #ffffff !important;
  --line: #d5e0ec !important;
}

body {
  background:
    radial-gradient(circle at 88% 5%, rgba(21, 144, 255, .08), transparent 24%),
    var(--bg) !important;
}

.sidebar {
  background:
    radial-gradient(circle at 18% 8%, rgba(24, 126, 255, .2), transparent 24%),
    linear-gradient(180deg, #020817, #08172d 58%, #061326) !important;
  box-shadow: 14px 0 34px rgba(4, 16, 37, .14);
}

.brand {
  align-items: center !important;
  padding: 4px 7px 19px !important;
}

.brand h1 {
  font-size: 15px !important;
  line-height: 1.15;
}

.brand p {
  color: #8fb8e9 !important;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-btn {
  min-height: 44px;
  border: 1px solid transparent !important;
  font-weight: 730;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-btn:hover,
.nav-btn.active {
  border-color: rgba(75, 154, 255, .26) !important;
  background: linear-gradient(90deg, rgba(17, 105, 224, .28), rgba(26, 123, 255, .1)) !important;
}

.nav-btn:hover {
  transform: translateX(2px);
}

.topbar {
  height: auto !important;
  min-height: 72px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
}

.topbar h2 {
  color: #091a32;
  font-size: clamp(18px, 2vw, 22px) !important;
}

.pill {
  border: 1px solid #bcd6fa;
  background: #edf6ff !important;
  color: #0752b7 !important;
}

.btn {
  min-height: 40px;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .11);
}

.btn-primary {
  background: linear-gradient(135deg, #075fd8, #0c79e8) !important;
}

.btn-secondary {
  border-color: #cbd8e7 !important;
  background: #f7faff !important;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 13, 30, .94), rgba(4, 30, 68, .82)),
    url('/assets/acp-nexus-garage-logo.jpeg') center 41% / cover !important;
  border: 1px solid rgba(88, 165, 255, .25);
  box-shadow: 0 16px 38px rgba(4, 26, 58, .2) !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 52%, rgba(20, 132, 255, .16));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero p {
  color: #cde4ff !important;
  line-height: 1.55;
}

.hero-badge {
  min-width: 185px;
  border-color: rgba(132, 188, 255, .28) !important;
  background: rgba(7, 36, 78, .76) !important;
  backdrop-filter: blur(8px);
}

.card {
  border-radius: 13px !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .045) !important;
}

.garage-demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 10px 13px;
  border: 1px solid #efc04c;
  border-radius: 11px;
  background: #fff8dd;
  color: #714800;
  font-size: 12px;
  line-height: 1.45;
}

.garage-demo-banner b {
  letter-spacing: .055em;
}

.sidebar-footer strong {
  color: #dbeafe;
}

.garage-welcome {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 22% 15%, rgba(21, 128, 255, .2), transparent 28%),
    linear-gradient(135deg, rgba(1, 5, 15, .98), rgba(3, 16, 39, .98));
}

.garage-welcome[hidden] {
  display: none;
}

.garage-welcome-card {
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(340px, .92fr);
  width: min(1120px, 96vw);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(99, 168, 255, .27);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .42);
}

.garage-welcome-visual {
  position: relative;
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(0, 5, 18, .04), rgba(0, 6, 20, .52)),
    url('/assets/acp-nexus-garage-logo.jpeg') center / cover;
}

.garage-welcome-visual::after {
  content: "Interactive Demo · Sample Data";
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(1, 9, 24, .74);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.garage-welcome-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  color: #07172f;
}

.garage-welcome-kicker {
  color: #0967d8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.garage-welcome-copy h1 {
  margin: 10px 0 11px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: .98;
  letter-spacing: -.04em;
}

.garage-welcome-copy > p {
  margin: 0;
  color: #56667c;
  line-height: 1.65;
}

.garage-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 23px 0;
}

.garage-feature-list span {
  padding: 10px 11px;
  border: 1px solid #d9e5f3;
  border-radius: 9px;
  background: #f6faff;
  color: #173553;
  font-size: 12px;
  font-weight: 800;
}

.garage-launch {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #075fd8, #0b84ed);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(7, 95, 216, .24);
}

.garage-powered {
  margin-top: 18px !important;
  color: #718198 !important;
  font-size: 11px;
  text-align: center;
}

.garage-about-logo {
  display: block;
  width: min(420px, 100%);
  max-height: 220px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 14px;
  background: #020817;
}

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

.garage-about-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
}

.garage-about-grid b,
.garage-about-grid span {
  display: block;
}

.garage-about-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 880px) {
  .garage-welcome-card {
    grid-template-columns: 1fr;
  }

  .garage-welcome-visual {
    min-height: 270px;
  }

  .garage-welcome-copy {
    padding: 30px;
  }
}

@media (max-width: 760px) {
  .top-actions {
    gap: 6px !important;
  }

  .top-actions .btn {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .garage-demo-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .garage-welcome {
    padding: 10px;
  }

  .garage-welcome-card {
    width: 100%;
    border-radius: 17px;
  }

  .garage-welcome-visual {
    min-height: 230px;
  }
}

@media (max-width: 500px) {
  .garage-feature-list,
  .garage-about-grid {
    grid-template-columns: 1fr;
  }

  .garage-welcome-copy {
    padding: 24px 20px;
  }
}

@media print {
  .garage-welcome,
  .garage-demo-banner {
    display: none !important;
  }
}
