/* ============================================================
   Luminous Themes — unified theme-page hero (2026 redesign)
   Loaded only on /themes-3/<theme> marketing pages.
   Tokens from the Luminous design system:
     royal blue #0854a5 · ink #121217 · body #494949 · warm grays
   ============================================================ */

:root {
  --lum-hero-bg: #e9e7e3;
  --lum-hero-bg-deep: #e4e2df;
  --lum-ink: #121217;
  --lum-body: #494949;
  --lum-muted: #5c5c63;
  --lum-blue: #0854a5;
}

/* ---------- Section ---------- */
.lum-hero {
  background-color: var(--lum-hero-bg);
  padding: 170px 5% 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.lum-hero__inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 100px;
  align-items: center;
}

/* ---------- Right column: content ---------- */
.lum-hero__content { min-width: 0; }

.lum-hero__eyebrow {
  color: var(--lum-muted);
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1.lum-hero__title {
  color: var(--lum-ink);
  font-family: Poppins, sans-serif;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: capitalize;
  margin: 0 0 16px;
}

.lum-hero__rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 22px;
}
.lum-hero__rating svg {
  width: 17px;
  height: 17px;
  fill: var(--lum-ink);
  flex: none;
}
.lum-hero__rating-count {
  color: var(--lum-muted);
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-left: 7px;
  letter-spacing: 0.5px;
}

.lum-hero__desc {
  color: var(--lum-body);
  font-family: Poppins, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 26px;
}

/* ---------- Minimal icon feature list ---------- */
.lum-hero__features {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 28px;
}
.lum-hero__features.two-col { grid-template-columns: 1fr 1fr; }
.lum-hero__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lum-ink);
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.lum-hero__features svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--lum-ink);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- CTAs (brand buttons, .button-4) ---------- */
.lum-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.lum-hero__actions .w-button { margin: 0; }

/* ---------- Left column: browser-mockup screenshot ---------- */
.lum-hero__media { min-width: 0; }

.lum-hero__frame {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 18, 23, 0.09);
  box-shadow:
    0 1px 2px rgba(18, 18, 23, 0.06),
    0 24px 48px -12px rgba(18, 18, 23, 0.22);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lum-hero__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 2px rgba(18, 18, 23, 0.06),
    0 34px 64px -12px rgba(18, 18, 23, 0.28);
}

.lum-hero__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f7f6f4;
  border-bottom: 1px solid rgba(18, 18, 23, 0.07);
  position: relative;
}
.lum-hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}
.lum-hero__dot.r { background: #e5807a; }
.lum-hero__dot.y { background: #eec26e; }
.lum-hero__dot.g { background: #96c291; }
.lum-hero__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #edecea;
  color: var(--lum-muted);
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Screenshot window: shows the top of a tall full-page capture, auto-scrolls
   through the page on hover. --shot-ar is set per page by
   migration/build-theme-heroes.py for themes whose window must match exactly
   one 100vh hero screen of the capture (capture viewport 1600×900 → 1600/900);
   themes without it keep the 5:4 window. The image is width-100%, so window
   and slice scale together — the crop holds at every rendered size. */
.lum-hero__shot {
  aspect-ratio: var(--shot-ar, 5 / 4);
  overflow: hidden;
  background: #fff;
  position: relative;
}
.lum-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 9s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: transform;
}
.lum-hero__frame:hover .lum-hero__shot img {
  /* --scroll-dist / --scroll-dur are set per page from the real image aspect ratio */
  transform: translateY(var(--scroll-dist, -70%));
  transition-duration: var(--scroll-dur, 14s);
}
@media (prefers-reduced-motion: reduce) {
  .lum-hero__shot img,
  .lum-hero__frame:hover .lum-hero__shot img {
    transition: none;
    transform: none;
  }
}

/* ---------- Optional sub-feature strip (Cascade) ---------- */
.lum-hero__subgrid {
  width: 100%;
  max-width: 1560px;
  margin: 74px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding-top: 54px;
  border-top: 1px solid rgba(18, 18, 23, 0.1);
}
.lum-hero__subcell svg {
  width: 26px;
  height: 26px;
  stroke: var(--lum-ink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.lum-hero__subcell h4 {
  color: var(--lum-ink);
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.4;
  margin: 0 0 8px;
}
.lum-hero__subcell p {
  color: var(--lum-body);
  font-family: Poppins, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   Navbar on the gray hero: dark links + black logo while
   transparent; the Webflow "Navigation White on Scroll" (IX2)
   animation still fades in the white background & shrinks the
   bar — we only pin the foreground colors to the dark variant.
   ============================================================ */
.navbar.transparent { border-bottom-color: rgba(18, 18, 23, 0.08); }

/* black logo always, white logo never (IX2 animates inline opacity,
   hence the !important pins) */
.navbar.transparent .brand-logo { opacity: 0 !important; }
.navbar.transparent .brand-logo-v2 { opacity: 1 !important; }

.navbar.transparent .nav-link.white-version,
.navbar.transparent .nav-link.white-version.w-dropdown-toggle {
  color: var(--lum-ink) !important;
  border-bottom-color: transparent;
}
.navbar.transparent .nav-link.white-version:hover { opacity: 0.6; }

.navbar.transparent .phone-number.white { color: var(--lum-ink) !important; }
.navbar.transparent .line-divider-nav.second-style {
  background-color: rgba(18, 18, 23, 0.18) !important;
}

/* scroll-progress hairline: white is invisible on gray — use brand blue */
.navbar.transparent .scrollbar.white { background-color: var(--lum-blue) !important; }

/* mobile hamburger: white icon → ink */
.navbar.transparent .menu-button-2 {
  color: var(--lum-ink);
  background-color: rgba(18, 18, 23, 0.06);
}
.navbar.transparent .menu-button-2.w--open {
  background-color: rgba(18, 18, 23, 0.12);
}

/* mobile nav menu panel opens over the gray hero: the site's overlay menu is
   dark (#212127, made for white links) — on these dark-text-on-light pages
   flip it to a white panel with ink links */
.navbar.transparent .w-nav-overlay .nav-menu.second {
  background-color: #fff;
  border-bottom: 1px solid rgba(18, 18, 23, 0.08);
}
.navbar.transparent .w-nav-overlay .nav-link.white-version {
  color: var(--lum-ink) !important;
}
.navbar.transparent .w-nav-overlay .dropdown-link,
.navbar.transparent .w-nav-overlay .phone-number.white {
  color: var(--lum-ink) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .lum-hero__inner { gap: 60px; }
}

@media (max-width: 991px) {
  .lum-hero { padding: 150px 6% 70px; min-height: 0; }
  .lum-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .lum-hero__media { order: 2; }
  .lum-hero__content { order: 1; }
  h1.lum-hero__title { font-size: 38px; }
  .lum-hero__subgrid { grid-template-columns: 1fr 1fr; margin-top: 56px; }
}

@media (max-width: 599px) {
  .lum-hero { padding: 130px 5% 56px; }
  h1.lum-hero__title { font-size: 31px; }
  .lum-hero__features.two-col { grid-template-columns: 1fr; }
  .lum-hero__desc { font-size: 14px; }
  .lum-hero__actions { flex-direction: column; align-items: stretch; }
  .lum-hero__actions .w-button { text-align: center; }
  .lum-hero__subgrid { grid-template-columns: 1fr; gap: 26px; }
  .lum-hero__url { display: none; }
}
