/* ==========================================================================
   NTech Computers — locked-aspect hero + redesigned credits + live footer
   Appended last so it wins the cascade.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO: the photo frame can never distort.
   The artwork keeps its own aspect ratio at every viewport width — the frame
   takes its ratio from the image itself (set by JS as --hero-ratio) and the
   image fills it with object-fit, so nothing is ever stretched.
   -------------------------------------------------------------------------- */

.hero-visual { --hero-ratio: 1; }

.hero-device {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--hero-ratio, 1);
  object-fit: contain;
  object-position: center;
}

/* desktop + large tablet: framed, natural ratio */
@media (min-width: 768px) {
  .hero-device {
    max-width: 470px;
    margin-inline: auto;
  }
}

/* phones: the same locked ratio, used as a blurred band behind the copy */
@media (max-width: 767px) {
  .hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--hero-ratio, 1);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }

  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(130% 95% at 6% 48%, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .68) 44%, rgba(255, 255, 255, .14) 76%),
      linear-gradient(180deg, rgba(247, 250, 255, .62) 0%, rgba(247, 250, 255, .55) 55%, rgba(255, 255, 255, .88) 100%);
  }

  .hero-device {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;          /* the frame owns the ratio, not the image */
    object-fit: cover;            /* fills the frame without ever distorting */
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    filter: blur(24px) saturate(132%);
    opacity: .62;
    animation: none;
  }

  .hero-chip { display: none; }
  .hero-copy { position: relative; z-index: 2; }
}

@media (max-width: 767px) {
  /* a wash that blends the artwork into the page, independent of band height */
  .hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .78) 55%, #ffffff 100%);
    z-index: 1;
    pointer-events: none;
  }
}

@media (max-width: 430px) {
  .hero-device { filter: blur(26px) saturate(136%); opacity: .58; }
}

/* a calmer blur on very wide screens */
@media (min-width: 1400px) {
  .hero-device { filter: none; }
}

/* --------------------------------------------------------------------------
   DEVELOPMENT CREDITS — redesigned
   -------------------------------------------------------------------------- */

.footer-credit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 22px;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(47, 107, 243, .16), rgba(124, 58, 237, .13) 55%, rgba(14, 165, 233, .12));
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  flex-wrap: wrap;
}

/* slow-moving sheen so the strip feels alive */
.footer-credit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .16) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: creditSheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes creditSheen {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.credit-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 1;
}

/* monogram avatar with a live ring */
.credit-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4f8bff, #7c3aed);
  box-shadow: 0 10px 24px rgba(79, 139, 255, .38);
}
.credit-avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  border: 1px solid rgba(143, 180, 255, .5);
  opacity: .8;
  animation: avatarRing 2.8s ease-out infinite;
}
@keyframes avatarRing {
  0% { transform: scale(.94); opacity: .75; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.credit-avatar__dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0b1220;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: livePulse 2s infinite;
}

.credit-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.credit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8fa0bd;
  font-weight: 700;
}
.credit-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.credit-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  transition: .2s ease;
  background: linear-gradient(90deg, #ffffff, #cfe0ff 45%, #ffffff 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameShimmer 6s linear infinite;
}
@keyframes nameShimmer {
  from { background-position: 0% 0; }
  to { background-position: 220% 0; }
}
.credit-name i {
  font-size: 12px;
  color: #8fb4ff;
  -webkit-text-fill-color: #8fb4ff;
  transition: transform .2s ease;
}
.credit-name:hover i { transform: translate(2px, -2px); }

.credit-role {
  font-size: 11.5px;
  color: #93a0b8;
}

/* right-hand actions */
.credit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  flex-wrap: wrap;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 700;
  color: #e6eeff;
  transition: .2s ease;
}
.credit-link:hover {
  background: #fff;
  color: #0b1220;
  transform: translateY(-1px);
}
.credit-link i { font-size: 11px; }

.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  font-weight: 600;
  color: #93a0b8;
  transition: .2s ease;
}
.footer-admin:hover {
  color: #fff;
  border-color: rgba(79, 139, 255, .5);
  background: rgba(79, 139, 255, .14);
}

@media (max-width: 991px) {
  .footer-credit { flex-direction: column; align-items: flex-start; gap: 16px; }
  .credit-actions { width: 100%; }
  .credit-link { flex: 1 1 auto; justify-content: center; }
  .footer-admin { flex: 1 1 auto; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Live footer details
   -------------------------------------------------------------------------- */

.footer-live {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(22, 163, 74, .12);
  border: 1px solid rgba(22, 163, 74, .3);
  font-size: 11.5px;
  color: #86efac;
  font-weight: 600;
}
.footer-live strong { color: #bbf7d0; }

/* live catalogue counter sits in the bottom bar */
.footer-live-stats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #93a0b8;
}
.footer-live-stats .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: livePulse 2s infinite;
}
.footer-live-stats strong { color: #d6dfef; font-weight: 700; }

/* keeps the admin link from being the only thing on the right */
.footer-bottom { gap: 16px; }
.footer-bottom__right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .footer-credit::before,
  .credit-avatar::before,
  .credit-name { animation: none; }
}

/* --------------------------------------------------------------------------
   Fewer decorative icons: text-first tiles
   -------------------------------------------------------------------------- */

/* quick tiles without an icon: a colour dot leads the label */
.feature-tile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 6px;
}
.feature-tile-dot--orange { background: #ff7a00; box-shadow: 0 0 0 4px rgba(255, 122, 0, .14); }
.feature-tile-dot--blue { background: #2f6bf3; box-shadow: 0 0 0 4px rgba(47, 107, 243, .14); }
.feature-tile-dot--violet { background: #7c3aed; box-shadow: 0 0 0 4px rgba(124, 58, 237, .14); }
.feature-tile-dot--amber { background: #d97706; box-shadow: 0 0 0 4px rgba(217, 119, 6, .14); }

.feature-tile { align-items: flex-start; }

/* trust row: no icon column, tighter rhythm */
.trust-item { gap: 0; }
.trust-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.trust-text { font-size: 12px; color: var(--muted); margin-top: 3px; }
@media (min-width: 992px) {
  .trust-row { gap: 28px; }
  .trust-item { padding-left: 14px; border-left: 2px solid var(--blue-100); }
  .trust-item:first-child { padding-left: 0; border-left: 0; }
}

/* footer ticker: plain words, a touch more spacing */
.footer-ticker-track span { letter-spacing: .12em; }
.footer-ticker-track span + span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 42px;
  border-radius: 50%;
  background: rgba(143, 160, 189, .5);
  vertical-align: middle;
}

/* the search sidebar list reads cleaner without glyphs */
.filter-link span:first-child { gap: 0; }
.filter-link { padding-inline: 2px; }
