/* Global enhancements for a more professional look */
:root{
  --brand-bg: #0f172a; /* slate-900 */
  --surface: #ffffff;
  --page-bg: #f8fafc; /* slate-50 */
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(14,165,233,.08), transparent 50%),
    radial-gradient(900px 500px at -10% 10%, rgba(99,102,241,.06), transparent 60%),
    linear-gradient(var(--page-bg), var(--page-bg));
}

/* Sticky header with subtle glass effect and shadow on scroll */
.header-blur{
  background-color: rgba(15,23,42,.9);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-shadow{
  box-shadow:
    0 1px 0 0 rgba(148,163,184,.18),
    0 8px 20px -8px rgba(15,23,42,.45);
}

/* Navigation link affordances */
.nav-link{
  text-underline-offset: 4px;
  transition: color .15s ease, opacity .15s ease, text-decoration-color .15s ease;
}
.nav-link:hover{
  text-decoration: underline;
}
.nav-link[aria-current="page"]{
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.9);
}

/* Card hover polish (used alongside Tailwind utilities) */
.card-hover{
  transition: box-shadow .2s ease, transform .2s ease;
}
.card-hover:hover{
  box-shadow: 0 10px 24px -12px rgba(15,23,42,.35);
  transform: translateY(-1px);
}

/* Utility for underline offset on text links in content */
.content-link{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Brand mark (crop left part of logo.png so the wordmark inside image is hidden) */
.brand-mark{
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: left center;
  border-radius: 6px;
}

/* Consistent product logo slot */
.product-logo{
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: #f1f5f9; /* slate-100 */
  border: 1px solid rgba(148,163,184,.3); /* slate-400/30 */
  object-fit: contain;
  object-position: center;
  flex: 0 0 56px;
}

/* Store badges layout */
.store-badges{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.store-badges img{
  height: 32px;
  width: auto;
}

/* On narrow screens where badges stack vertically, standardize width instead */
@media (max-width: 480px){
  .store-badges img{
    width: 150px;
    max-width: 100%;
    height: auto;
  }
}

