/* Novic design tokens — single source of truth */
:root {
  --nt-ink:   #131922; /* primary dark */
  --nt-slate: #49505C; /* secondary text */
  --nt-mist:  #E4E4E4; /* separators / subtle borders */
  --nt-white: #FFFFFF; /* surfaces */
  --bg-nt-white: #FFFFFF; /* background surfaces */
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: 'Montserrat', var(--font-body);
  --nt-accent: #4C6488; /* brighter accent for subtle glows/links */
  --nt-blue: #0067FF; /* Primary action blue for promo cards / newsletter */
}

/* Typography defaults */
html, body { font-family: var(--font-body); }
.font-display { font-family: var(--font-display); }

/* optional: smooth icon rotation */
.nav-rotate { transition: transform 150ms ease; }

/* ===== NAV / BUTTON UX UTILITIES ===== */

/* Sticky header blur when scrolled */
.header-blur {
  background: rgba(255,255,255,0.75);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--nt-mist);
}

/* Consistent interactive hover (cards, rows, links) */
.hover-raise {
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.hover-raise:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(19, 25, 34, 0.10);
}

/* --- Rectangular hover for menu rows (no bounce) --- */
.hover-surface {
  border-radius: 12px;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}
.hover-surface:hover {
  background: var(--nt-white);
  box-shadow: 0 8px 22px rgba(19,25,34,0.08);
}

/* Buttons (keep simple and reusable) */
.btn { 
  display: inline-flex; align-items:center; justify-content:center; 
  border-radius: 9999px; font-weight: 600; line-height: 1; 
  padding: 0.625rem 1rem; transition: opacity 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.btn-primary { background: var(--nt-ink); color: var(--nt-white); }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { border: 1px solid var(--nt-mist); color: var(--nt-ink); background: transparent; }
.btn-ghost:hover { background: rgba(0,0,0,0.02); }

/* Smaller button variant for tight CTAs */
.btn-sm { padding: 0.5rem 0.75rem; font-size: 0.875rem; }

/* Light outline button for dark panels (e.g., Solutions CTA) */
.btn-outline-light {
  background: transparent; color: var(--nt-white);
  border: 1px solid rgba(255,255,255,0.65);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.9); }

/* Square icon chip for menu items */
.icon-chip {
  width: 40px; height: 40px;  /* was 44x44 */
  border-radius: 12px;
  display:inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(160deg, #0f1b2b 0%, #162436 100%);
  color: #fff;
}

/* Arrow-only chip (for rows that end with > ) */
.arrow-chip {
  display:inline-flex; align-items:center; justify-content:center;
  width: 28px; height: 28px; border-radius: 9999px; 
  border:1px solid var(--nt-mist); color: var(--nt-ink);
}

/* Dropdown panel animation baseline */
.menu-panel {
  transform-origin: top center;
  transition: opacity 140ms ease, transform 140ms ease;
  opacity: 0; transform: scale(0.98);
}
.menu-panel.open { opacity: 1; transform: scale(1); }

/* Right CTA column gradient (full height of panel) */
.menu-cta {
  background: linear-gradient(180deg, #0f1b2b 0%, #162436 100%);
  color: var(--nt-white);
}

/* Utility for chevron rotation */
.rotate-180 { transform: rotate(180deg); }

/* Underlined link CTA with animated arrow push */
.link-cta {
  display:inline-flex; gap:6px; align-items:center;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-cta i { transition: transform 140ms ease; }
.link-cta:hover i { transform: translateX(2px); }

/* Force solid white bg for mobile drawer (overrides any tailwind bg class) */
.mobile-menu-bg {
  background-color: var(--nt-white) !important;
}

/* Mobile drawer: slide-down + fade */
.drawer {
  opacity: 0;
  transform: translateY(-8px);
  transition: transform 180ms ease, opacity 180ms ease;
  will-change: transform, opacity;
  pointer-events: none;
  visibility: hidden;
}
.drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none !important; }
}

/* ===== Hero helpers (subtle gradient blobs) ===== */
.hero-blob {
  position: relative;
  left: calc(50% - 10rem);
  width: 40rem; height: 24rem;
  transform: translateX(-50%) rotate(30deg);
  background: radial-gradient(60% 60% at 50% 50%, rgba(144,137,252,.7) 0%, rgba(255,128,181,.4) 70%, transparent 100%);
  opacity: .30;
  clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 72.5% 32.5%, 60.2% 62.4%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 76.1% 97.7%);
}
.hero-blob.second {
  left: calc(50% + 12rem);
  background: radial-gradient(60% 60% at 50% 50%, rgba(144,137,252,.65) 0%, rgba(255,128,181,.35) 70%, transparent 100%);
}

/* Single decorative glow for hero (top-left) */
.hero-glow-tl{
  position:absolute; inset:0 auto auto 0;
  width:26rem; height:18rem;
  translate: -20% -25%;
  filter: blur(32px);
  pointer-events:none; z-index:-1; opacity:.55;
  background: radial-gradient(60% 60% at 40% 40%,
    color-mix(in oklab, var(--nt-accent) 72%, white 28%) 0%,
    color-mix(in oklab, var(--nt-ink) 22%, white 78%) 55%,
    transparent 100%);
}

/* Color shortcuts using our tokens */
.ink { color: var(--nt-ink); }
.slate { color: var(--nt-slate); }

/* optional: keep our color utilities explicit */
.bg-white-hard { background: var(--bg-nt-white) !important; }

.strip-bleed {
  inline-size: 99.5vw;   
  margin-inline: calc(50% - 50vw); 
  overflow: hidden;
}

/* Background image that center-crops (no squeezing) */
.bg-cover-center {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;      /* trims edges instead of squeezing */
}

/* Deter casual saving/drag */
.no-save {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;        /* decorative only */
}

/* Natural crop fades for the product strip */
.fade-sides-top { position: relative; }
.fade-sides-top::before,
.fade-sides-top::after{
  content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none;
  width: min(12vw, 120px); z-index: 1;
}
.fade-sides-top::before{
  left: 0;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255,255,255,0) 60%);
}
.fade-sides-top::after{
  right: 0;
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255,255,255,0) 60%);
}
.fade-top{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255,255,255,0) 100%);
}

@media (max-width: 900px) {
  .product-strip-img {
    width: 100vw !important;
    height: 40vw !important;
    min-height: 180px;
    max-height: 420px;
    background-size: cover !important;
  }
}