/* Marketing-page photo heroes (root/home, pricing, features, about) and
the two "moving" heroes (login, contact) the user specifically asked for
-- modeled on a reference site's own full-bleed login background, but
built from real royalty-free photography (Wikimedia Commons, licenses
recorded in each template's own credit line) rather than reusing that
site's proprietary video. "Moving" is a slow CSS Ken Burns pan/zoom on a
still photo, not actual stock video footage -- deliberately: sourcing and
rights-clearing real video footage carries real licensing risk this
approach avoids entirely, while still delivering genuine motion.

.mkt-hero-band: a page's top banner (Home/Pricing/Features/About), fixed
height, sits above that page's normal content, static by default.
.mkt-hero-full: a full-viewport hero (Login/Contact), the "moving" pair
-- takes over the space below the nav entirely, content centered on top.
Both share the same image/overlay/credit anatomy; only sizing differs. */

.mkt-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
}
.mkt-hero-band {
  height: 320px;
  margin: -2rem -1rem 2rem;
}
@media (min-width: 640px) {
  .mkt-hero-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); height: 380px; }
}
.mkt-hero-full {
  /* Cancels base.html's <main class="py-8"> the same way Site Builder's
  own .sb-root already does (see workbench.css) -- a real, working
  precedent in this codebase for a full-bleed section inside the normal
  page shell. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -2rem;
  margin-bottom: -2rem;
  min-height: calc(100dvh - 4rem);
}

.mkt-hero-img {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.mkt-hero.is-moving .mkt-hero-img {
  animation: mkt-ken-burns 24s ease-in-out infinite alternate;
}
@keyframes mkt-ken-burns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .mkt-hero.is-moving .mkt-hero-img { animation: none; transform: scale(1.05); }
}

.mkt-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.55) 0%, rgba(30, 27, 75, 0.72) 100%);
}
.mkt-hero-full .mkt-hero-overlay {
  background: linear-gradient(160deg, rgba(30, 27, 75, 0.78) 0%, rgba(30, 27, 75, 0.55) 55%, rgba(30, 27, 75, 0.82) 100%);
}

.mkt-hero-content {
  position: relative;
  text-align: center;
  padding: 24px 20px;
  max-width: 640px;
}
.mkt-hero-content h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.mkt-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.mkt-hero-credit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.mkt-hero-credit:hover { color: rgba(255, 255, 255, 0.85); }

/* Login/Contact: the real page content (form card) sits centered on top
of the full hero, not inside .mkt-hero-content's own copy slot. */
.mkt-hero-full-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 16px;
}
.mkt-hero-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.mkt-hero-brand img { height: 32px; width: 32px; }
.mkt-hero-brand span { font-size: 20px; font-weight: 700; }
