/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* NX marketing overrides */
.nx-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

/* The NX mark in green on the always-dark site; the source files (green, white, black) are in .local/marketing/logos. */
.nx-logo img,
#header-wrap #logo .nx-logo img {
  display: block;
  height: 36px;
  width: auto;
}

/* When the header shrinks on scroll, the theme sizes the logo to the full 60px bar (style.css, #header.sticky-header-shrink
   #logo img), which leaves no space above or below it. Keep it smaller than the bar so it has room. */
.is-expanded-menu #header.sticky-header-shrink #header-wrap #logo .nx-logo img {
  height: 32px;
}

.footer-nx-logo img {
  height: 32px;
}

/* The header stays black when it sticks or collapses for mobile */
#header.sticky-header #header-wrap,
#header.dark #header-wrap.sticky-header-shrink {
  background-color: #0a0a0a;
  border-bottom: 1px solid rgba(200, 255, 0, 0.15);
}

@media (max-width: 991.98px) {
  #header.dark #header-wrap,
  #header.dark .primary-menu {
    background-color: #0a0a0a;
  }
}

.hero-bg-img {
  background-position: center center;
}

.trainer-card-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: #111;
}

.nx-conversation-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #1d1d1d;
}

.trainer-chip {
  min-height: 230px;
  padding: 2rem;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
}

.trainer-chip img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--cnvs-themecolor);
}

.trainer-chip span {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.footer-nx-logo {
  margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
  .nx-conversation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .nx-conversation-strip {
    grid-template-columns: 1fr;
  }

  .trainer-chip {
    min-height: 190px;
  }
}


/* Footer "Start Training" call to action, shared by every page */
.footer-newsletter-copy {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
}

.footer-newsletter-note {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
}

.footer-newsletter-note a {
  color: #fff;
  text-decoration: underline;
}

#footer .footer-widgets-wrap a.footer-start-btn,
#footer .footer-widgets-wrap a.footer-start-btn:hover,
.dark #footer .footer-widgets-wrap a.footer-start-btn,
.dark #footer .footer-widgets-wrap a.footer-start-btn:hover {
  display: inline-block;
  color: #0a0a0a;
  font-size: 0.8rem;
  padding: 0.7rem 1.6rem;
}

.footer-copyright-note {
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
}

/* Wide Bootstrap gutters overhang the phone-width container and cause sideways scrolling. */
@media (max-width: 575.98px) {
  .row.g-5,
  .row.g-4 {
    --bs-gutter-x: 1.5rem;
  }
}

/* Hero: secondary sign-in link and offer note under the main call to action */
.hero-signin {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-signin:hover { color: #fff; }

.hero-offer-note {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
}

/* Product screenshots, shown as phone frames */
.app-shots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  align-items: flex-start;
}

.app-shot {
  margin: 0;
  overflow: hidden;
  border: 6px solid #1d1d1d;
  border-radius: 28px;
  background: #0d0d0d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-main { width: 58%; }
.app-shot-side { width: 42%; margin-top: 3rem; }

.benefit-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit .day-card-icon { flex-shrink: 0; margin-bottom: 0; }

/* Pricing */
.pricing-footnote {
  margin: 2rem 0 0;
  color: #777;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
}

/* Detailed features, lower on the page */
.feature-tile {
  height: 100%;
  padding: 1.75rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.feature-tile-title {
  margin-bottom: 0.6rem;
  color: #0d0d0d;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.feature-tile p {
  margin: 0;
  color: #555;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  background: var(--cnvs-themecolor);
  color: #0a0a0a;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (max-width: 575.98px) {
  .app-shot { border-width: 4px; border-radius: 20px; }
  .app-shot-side { margin-top: 2rem; }
}

/* The theme zeroes the hero container's side padding, which pushes the hero row past the screen edge on phones. */
#home .container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Trainer avatars keep their width so they never slide under the text beside them on phones. */
.spots-avatars {
  flex-shrink: 0;
  padding-right: 8px;
}
