/* VERBATIM PORT of resources/css/marketing.css from the Laravel app.
   Tailwind directives stripped (we use Tailwind play CDN instead of the
   Vite/v4 build, so @import "tailwindcss" and @source are not needed). */

:root {
  --primary-blue: #0f172a;
  --accent-blue: #2563eb;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #020617;
  color: #94a3b8;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.2) !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent-blue) !important;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 35s linear infinite;
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.enterprise-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

/* new-logo-1.png includes a horizontal wordmark; crop to the left (shield) for compact UI. */
.guardeon-mark-crop {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.guardeon-mark-crop > img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: auto;
  min-width: 300%;
  max-width: none;
  object-fit: cover;
  object-position: 26% 50%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Mobile menu: native <details> + drawer position below header */
.marketing-nav-mobile > summary {
  list-style: none;
}
.marketing-nav-mobile > summary::-webkit-details-marker {
  display: none;
}
.marketing-nav-mobile .marketing-nav__icon-close {
  display: none;
}
.marketing-nav-mobile[open] > summary .marketing-nav__icon-open {
  display: none;
}
.marketing-nav-mobile[open] > summary .marketing-nav__icon-close {
  display: block;
}

.marketing-mobile-panel-drawer {
  top: calc(4rem + env(safe-area-inset-top, 0px));
  z-index: 120;
  max-height: min(
    calc(100dvh - 4rem - env(safe-area-inset-top, 0px)),
    calc(100svh - 4rem - env(safe-area-inset-top, 0px)),
    calc(100vh - 4rem - env(safe-area-inset-top, 0px))
  );
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
  .marketing-mobile-panel-drawer {
    top: calc(4.5rem + env(safe-area-inset-top, 0px));
    max-height: min(
      calc(100dvh - 4.5rem - env(safe-area-inset-top, 0px)),
      calc(100svh - 4.5rem - env(safe-area-inset-top, 0px)),
      calc(100vh - 4.5rem - env(safe-area-inset-top, 0px))
    );
  }
}

body:has(#marketing-nav-mobile[open]),
body.marketing-nav-menu-open {
  overflow: hidden;
}
