body.web-apps-page {
  min-height: 100vh;
background: #222;
  color: rgba(255, 255, 255, 0.82);
}

.webapps-main {
  padding-top: 118px;
}

.webapps-hero {
  position: relative;
  padding: 3.5rem 0 2rem;
}

.webapps-hero::before,
.webapps-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.8;
}

.webapps-hero::before {
  width: 260px;
  height: 260px;
  top: 10px;
  left: -80px;
}

.webapps-hero::after {
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -40px;
  background: rgba(255, 255, 255, 0.04);
}

.webapps-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.webapps-hero-copy,
.webapps-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.webapps-hero-copy {
  padding: 2.25rem;
}

.webapps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bac964;
}

.webapps-hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.webapps-hero-copy p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.03rem;
}

.webapps-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.webapps-stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.webapps-stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: #bac964;
}

.webapps-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.webapps-panel {
  padding: 1.35rem;
}

.webapps-search-wrap {
  padding: 0.2rem;
}

.webapps-search-label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.webapps-search-field {
  position: relative;
}

.webapps-search-field i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bac964;
  transition: transform 0.25s ease, color 0.25s ease;
}

.webapps-search-field:focus-within i {
  transform: translateY(-50%) scale(1.08);
  color: #bac964;
}

.webapps-search-field input {
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 1rem 0.95rem 2.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.webapps-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.webapps-search-field input:focus {
  border-color: rgba(186, 201, 100, 0.4);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.06);
}

.webapps-filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.webapps-filter {
  padding: 0.74rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.webapps-filter:hover,
.webapps-filter:focus {
  transform: translateY(-2px);
  border-color: rgba(186, 201, 100, 0.35);
}

.webapps-filter.is-active {
  background: #bac964;
  color: #222;
  border-color: transparent;
  box-shadow: none;
}

.webapps-grid-section {
  padding: 1rem 0 4.5rem;
}

.webapps-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.webapps-results-label {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.58);
}

.webapps-results-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  color: #fff;
}

.webapps-results-count {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #bac964;
  font-size: 0.92rem;
  white-space: nowrap;
}

.webapps-empty-state {
  margin: 2rem auto 0;
  max-width: 28rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.webapps-empty-state i {
  font-size: 2rem;
  color: #bac964;
}

.webapps-empty-state h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.3rem;
  color: #fff;
}

.webapps-empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.webapps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.webapp-card {
  --accent: #bbdc00;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  /* -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.32s ease, box-shadow 0.32s ease, opacity 0.28s ease, max-height 0.32s ease, margin 0.32s ease, padding 0.32s ease;
  max-height: 40rem; */
  opacity: 1;
}

.webapp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.webapp-card.is-hidden {
  max-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  border-width: 0;
}

.webapp-card.is-visible {
  animation: webappCardIn 0.48s ease both;
  animation-delay: var(--card-delay, 0ms);
}

.webapp-card__art {
  position: relative;
  padding: 1.25rem;
  min-height: 158px;
  background: #222;
}

.webapp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #bac964;
  font-size: 1.7rem;
}

.webapp-card__art::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1rem 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(186, 201, 100, 0.5), transparent);
}

.webapp-card__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.webapp-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #bac964;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.webapp-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.3rem;
  flex: 1;
}

.webapp-card__title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  color: #fff;
}

.webapp-card__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.webapp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.webapp-card__tag {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.webapp-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.webapp-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.webapp-card__action--primary {
  color: #222;
  background: #bac964;
  box-shadow: none;
}

.webapp-card__action--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.webapp-card__action:hover,
.webapp-card__action:focus {
  color: inherit;
  transform: translateY(-2px);
}

@keyframes webappCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.webapps-brand {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.webapps-brand:hover,
.webapps-brand:focus {
  color: #bac964 !important;
}

@media (max-width: 991.98px) {
  .webapps-main {
    padding-top: 104px;
  }

  .web-apps-page #pb-navbar.site-navbar {
    top: 10px;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: calc(100vw - 2rem);
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box;
  }

  .web-apps-page #pb-navbar > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .webapps-hero-shell {
    grid-template-columns: 1fr;
  }

  .webapps-hero-copy,
  .webapps-panel {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .webapps-stats {
    grid-template-columns: 1fr;
  }

  .webapps-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .webapps-results-count {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .webapps-hero {
    padding-top: 2.5rem;
  }

  .webapps-grid {
    grid-template-columns: 1fr;
  }

  .webapps-filter-strip {
    gap: 0.5rem;
  }

  .webapps-filter {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
