/* ==========================================================================
   Fast Launch — "See what your website could look like" showcase.
   A filterable Swiper carousel (mobile AND desktop) of browser-window mock-ups
   that float above the page with soft shadows. Scoped to #fl-showcase.
   ========================================================================== */

/* ---------- Filter chips ---------- */
#fl-showcase .sc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

#fl-showcase .sc-filter {
  padding: 10px 22px;
  border-radius: 62px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(23, 23, 23, 0.6);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#fl-showcase .sc-filter:hover {
  border-color: rgba(87, 166, 251, 0.6);
}

#fl-showcase .sc-filter.is-active {
  background: rgba(87, 166, 251, 0.9);
  border-color: rgba(87, 166, 251, 0.9);
}

/* ---------- Carousel ---------- */
#fl-showcase .sc-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
}

#fl-showcase .sc-swiper {
  /* Vertical padding so the floating card shadows aren't clipped by the
     carousel's overflow. Pagination lives outside this viewport so it can
     never cover the cards. */
  padding: 16px 6px 48px;
}

#fl-showcase .sc-slide {
  height: auto;
  display: flex;
}

#fl-showcase .sc-slide.is-hidden {
  display: none;
}

/* ---------- Browser-window card (floating) ---------- */
#fl-showcase .sc-card {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0e1420;
  border: 1px solid rgba(255, 255, 255, 0.10);
  /* Lift the card off the background — it should read as floating in the air. */
  box-shadow:
    0 34px 60px rgba(0, 0, 0, 0.55),
    0 12px 24px rgba(0, 0, 0, 0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#fl-showcase .sc-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 44px 80px rgba(0, 0, 0, 0.6),
    0 16px 30px rgba(0, 0, 0, 0.45);
}

/* Browser chrome bar */
#fl-showcase .sc-card__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#fl-showcase .sc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
#fl-showcase .sc-dot--r { background: #ff5f57; }
#fl-showcase .sc-dot--y { background: #febc2e; }
#fl-showcase .sc-dot--g { background: #28c840; }

/* Placeholder screen */
#fl-showcase .sc-card__screen {
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, #1b2740 0%, #0d1526 100%);
}

#fl-showcase .sc-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

#fl-showcase .sc-card__screen--image {
  padding: 0;
}

#fl-showcase .sc-card__caption {
  display: flex;
  align-items: center;
  min-height: 62px;
  margin: 0;
  padding: 14px 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

/* Category-tinted gradients so the placeholders feel distinct. */
#fl-showcase .sc-screen--services   { background: linear-gradient(135deg, #16324f 0%, #0c1524 100%); }
#fl-showcase .sc-screen--medical    { background: linear-gradient(135deg, #12414a 0%, #0b1a20 100%); }
#fl-showcase .sc-screen--restaurant { background: linear-gradient(135deg, #4a2c1a 0%, #1f110a 100%); }
#fl-showcase .sc-screen--ecommerce  { background: linear-gradient(135deg, #3a2350 0%, #150d24 100%); }

#fl-showcase .sc-card__emoji {
  font-size: 44px;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

#fl-showcase .sc-card__name {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

#fl-showcase .sc-card__skeleton {
  width: 62%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
#fl-showcase .sc-card__skeleton--short {
  width: 40%;
  background: rgba(255, 255, 255, 0.09);
}

/* ---------- Navigation arrows ---------- */
#fl-showcase .sc-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

#fl-showcase .sc-nav:hover {
  background: rgba(87, 166, 251, 0.85);
  border-color: rgba(87, 166, 251, 0.9);
}

/* The #arrow-right sprite actually points left, so the left/prev arrow uses it
   as-is and the right/next arrow is the one that gets flipped. */
#fl-showcase .sc-nav--prev {
  left: -8px;
}
#fl-showcase .sc-nav--next {
  right: -8px;
  transform: translateY(-50%) rotate(180deg);
}

#fl-showcase .sc-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 620px) {
  #fl-showcase .sc-nav {
    display: none; /* swipe on mobile; keep it clean */
  }
}

/* ---------- Pagination ---------- */
#fl-showcase .sc-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 22px;
  margin: 0 auto;
  transform: none;
}

#fl-showcase .sc-pagination .swiper-pagination-bullet {
  flex: 0 0 auto;
  margin: 0;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: width 0.2s ease, background 0.2s ease;
}

#fl-showcase .sc-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: #57a6fb;
}
