
.tabberfly-showcase-section {
  position: relative;
  background: #ffffff;
  padding-top: 15px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: padding 0.3s ease, background 0.3s ease;
}
@media (max-width: 767px) {
  .tabberfly-showcase-section {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 10px;
    padding-bottom: 40px;
  }
}
@media (min-width: 768px) {
  .tabberfly-showcase-section.fluid { max-width: 1640px; margin: 0 auto; }
  .tabberfly-showcase-section.full_width { width: 100vw; margin-left: calc(-50vw + 50%); }
  .tabberfly-showcase-section.full_container { padding-left: 0; padding-right: 0; }
}

/* ---------- Rounded container shell ---------- */
.tf-card-shell{
  background: #fcfcfc;
  border: 1px solid rgba(0,0,0,0);
  border-radius: 28px;
  padding: 56px;
  box-shadow: none;
  /* Width is controlled on the gray container ONLY (not the whole section). */
  max-width: 1640px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width:767px){
  .tf-card-shell{ padding: 16px; border-radius: 20px; }
}


/* ---------- HERO (image centered above headline) ---------- */
.tf-hero {
  text-align: center;
  position: relative;
}
#loud-template--26627298623825__collection_tab_KWWNQR,
#loud-template--26627298623825__collection_tab_KWWNQR * {
  animation: none !important;
  transition: none !important;
  transform: none !important; /* kills scroll/slide animations */
  opacity: 1 !important;      /* prevents fade-in/fade-out */
}
.tf-hero-media{
  display:flex;
  z-index: 0;
  justify-content:center;
  align-items:center;
  position:relative;
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .tf-hero-arrow {
    display: none !important;
  }
}
.tf-hero-media .tf-hero-img{
  display:block;
  margin-left: 8px;
  width: auto;
  height: 240px;
  transform: translateY(60px);
}
/* Number above headline (mirrors hero number style) */
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/landing/assets/poppins_n7.56758dcf284489feb014a026f3727f2f20a54626.c9fe7b60.woff2") format("woff2"),
       url("/landing/assets/poppins_n7.f34f55d9b3d3205d2cd6f64955ff4b36f0cfd8da.c9fe7b60.woff") format("woff");
}

.tf-hero-num{
  display:inline-flex;
  align-items:flex-start;
  line-height:.84;
  letter-spacing:-.02em;
  font-weight: 700;
  font-size: 180px;
  color: #1d1d1d;
  transform: translateY(60px);
  font-family: Poppins, sans-serif;
}
.tf-hero-num__plus{
  font-size:.42em;
  line-height:1;
  margin-left:.05em;
  margin-top:.12em;
  font-weight: 700;
  color: #1d1d1d;
  opacity:.78;
}
.tf-hero-num--fade .tf-hero-num__val{
  background: linear-gradient(180deg, #1d1d1d 0%, #1d1d1d 16%, rgba(29, 29, 29, 0.03) 66%, rgba(29, 29, 29, 0.03) 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
@media (max-width:767px){
  .tf-hero-num{ font-size: 134px; }
}
.tf-hero-title{
  position: relative;
  z-index: 1;
  margin: 0 0 36px 0;
  font-size: 40px;
  font-weight: 600;
  color: #111111;
}
.tf-hero-sub{
  margin: 0 0 32px 0;
  font-size: 16px;
  max-width: 920px;
  margin-left: auto; margin-right: auto;
  color: #333333;
}

/* Arrow (top-right) */
.tf-hero-arrow{
  position:absolute;
  right: 20px;
  top: 40px;
  width: 160px;
  pointer-events:none; user-select:none;
}

/* ---------- Tabs ---------- */
.tabberfly-tabs {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:12px; font-size:16.5px; margin-bottom:55px;
}
.tabberfly-tabs button {
  background: #f6f6f6;
  color: #4d4d4d;
  border: 1px solid #d8d8d8;
  border-radius: 50px;
  padding: 9px 21px;
  font-weight: 700;
  cursor:pointer; font-size:16.5px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.tabberfly-tabs button:not(.active):hover {
  background: #e6e6e6;
  color: #111111;
  border-color: #e6e6e6;
}
.tabberfly-tabs button.active {
  background: #3d66ff;
  color: #ffffff;
  border-color: #3d66ff;
}
/* Mobile: pills become a single horizontally-scrollable (touch-swipe) row. */
@media (max-width: 767px){
  .tabberfly-tabs{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: -28px;
    margin-right: -28px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .tabberfly-tabs::-webkit-scrollbar{ display: none; }
  .tabberfly-tabs button{ flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- Grid ---------- */
.tabberfly-grid {
  display:grid; grid-template-columns: repeat(3, 1fr); gap:24px;
}
@media (min-width:768px) and (max-width:1024px){ .tabberfly-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:767px){ .tabberfly-grid{ grid-template-columns:1fr;} }

/* ---------- Card ---------- */
.tabberfly-card {
  border: 12px solid #fff; background:#fff; border-radius:12px; overflow:hidden;
  text-decoration:none; color:inherit;
  display:block;
  transition: opacity .45s cubic-bezier(.22,.61,.36,1), transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
/* Base shadow on real cards only — peek (teaser) cards never get a shadow. */
.tabberfly-card:not(.tf-peek){ box-shadow:0 2px 8px rgba(0,0,0,.05); }
/* Entrance animation ONLY when JS marks the grid ready, so a JS hiccup or
   no-JS can never leave the cards invisible (they default to opacity:1). */
.tabberfly-grid.tf-anim .tabberfly-card { opacity:0 !important; transform: translateY(22px) scale(.97); will-change: opacity, transform; }
.tabberfly-grid.tf-anim .tabberfly-card.visible { opacity:1 !important; transform: translateY(0) scale(1); }
.tabberfly-card:hover { transform: translateY(-4px); box-shadow:0 6px 24px rgba(0,0,0,.1); }
/* hidden states (always win) */
.tabberfly-card[hidden],
.tabberfly-card.is-cat-hidden { display:none !important; }
.tabberfly-card.is-overflow-hidden { display:none !important; }
/* Faded "peek" of the next row — the card itself dissolves (via mask) into the
   container above Load More. No shadow, no overlay: smooth, clean, subtle. */
.tabberfly-card.tf-peek{
  position: relative;
  max-height: 140px;
  overflow: hidden;
  pointer-events: none;
  box-shadow: none !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.92) 20%, rgba(0,0,0,0.55) 52%, rgba(0,0,0,0.18) 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.92) 20%, rgba(0,0,0,0.55) 52%, rgba(0,0,0,0.18) 78%, transparent 100%);
}
@media (prefers-reduced-motion: reduce){
  .tabberfly-grid.tf-anim .tabberfly-card{ transition:none; opacity:1 !important; transform:none; }
}

/* ---------- Main image + full-page scrolling hover preview ---------- */
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  isolation: isolate;
  background: #f5f5f5;
  border-radius: 4px;
}

.image-container::before {
  display: none;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  border-radius: 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Normal card image. */
.image-container .tf-main-image {
  z-index: 0;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity .42s cubic-bezier(.22,.61,.36,1),
    transform .72s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

/* Tall website screenshot used only for the hover preview. */
.image-container .tf-scroll-image {
  z-index: 1;
  height: auto;
  object-fit: unset;
  object-position: top center;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity .36s cubic-bezier(.22,.61,.36,1),
    transform var(--tf-return-duration, 1.65s) cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
  pointer-events: none;
}

/* First crossfade from the main image into the scrolling screenshot. */
.tabberfly-card.is-preview-active .tf-main-image {
  opacity: 0;
  transform: scale(1.012);
}

.tabberfly-card.is-preview-active .tf-scroll-image {
  opacity: 1;
}

/* Then smoothly move the full-page screenshot to its calculated bottom point. */
.tabberfly-card.is-preview-scrolling .tf-scroll-image {
  transform: translate3d(0, var(--tf-scroll-y, 0px), 0);
  transition:
    opacity .36s cubic-bezier(.22,.61,.36,1),
    transform var(--tf-scroll-duration, 6.5s) cubic-bezier(.4,0,.2,1);
}

/* ---------- Bottom-centered hover CTA + subtle white fade ---------- */
.show-card-hover-btn .hover-view-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.show-card-hover-btn .hover-view-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.05) 34%,
    rgba(255,255,255,.18) 68%,
    rgba(255,255,255,.42) 100%
  );
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity .42s cubic-bezier(.22,.61,.36,1),
    transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.show-card-hover-btn .hover-view-btn {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.96);
  color: #111;
  border: 1px solid rgba(17,17,17,.06);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 10px, 0);
  transition:
    opacity .34s cubic-bezier(.22,.61,.36,1),
    transform .46s cubic-bezier(.22,.61,.36,1),
    box-shadow .3s ease;
  will-change: opacity, transform;
}

.show-card-hover-btn .hover-view-btn svg {
  flex: 0 0 auto;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}

.show-card-hover-btn .tabberfly-card:hover .hover-view-overlay::before,
.show-card-hover-btn .tabberfly-card:focus-within .hover-view-overlay::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.show-card-hover-btn .tabberfly-card:hover .hover-view-btn,
.show-card-hover-btn .tabberfly-card:focus-within .hover-view-btn {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.show-card-hover-btn .tabberfly-card:hover .hover-view-btn svg,
.show-card-hover-btn .tabberfly-card:focus-within .hover-view-btn svg {
  transform: translate3d(2px, -2px, 0);
}

@media (prefers-reduced-motion: reduce) {
  .image-container .tf-main-image,
  .image-container .tf-scroll-image {
    transition: none !important;
  }

  .tabberfly-card.is-preview-scrolling .tf-scroll-image {
    transform: translate3d(0, 0, 0) !important;
  }

  .show-card-hover-btn .hover-view-overlay::before,
  .show-card-hover-btn .hover-view-btn,
  .show-card-hover-btn .hover-view-btn svg {
    transition: none !important;
  }
}

.tabberfly-card .content{ padding:16px; }
.tabberfly-card .card-header{ display:flex; justify-content:space-between; align-items:center; }
.tabberfly-card .title{ font-size:18px; font-weight:500; margin:0; }
.tabberfly-card .labels{ font-size:14px; display:flex; gap:8px; }
.tabberfly-card .labels span{ padding:2px 13px; border-radius:999px; font-size:12px; font-weight:500; }
.tabberfly-card .labels .free{ background:#e8e8e8; }
.tabberfly-card .labels .hot{ background:#ff5a5a; color:#fff; }
.tabberfly-card .labels .coming-soon{ background:linear-gradient(135deg,#7d3cff,#a26dff); color:#fff; }
.tabberfly-card .labels .new{ background:linear-gradient(195deg,#5a4de0,#55a1f5)!important; color:#fff; }

/* ---------- Bottom CTA ---------- */
.section-cta-wrapper{ display:flex; justify-content:center; }
.section-cta-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 22px; font-weight:600; text-decoration:none; border:none;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition: filter .25s ease, transform .25s ease, box-shadow .25s ease;
}
.section-cta-btn:hover{ filter:brightness(.92); transform: translateY(-1px); box-shadow:0 10px 28px rgba(0,0,0,.14); }
.section-cta-btn:focus{ outline:2px solid rgba(0,0,0,.2); outline-offset:2px; }

/* ---------- Load More button ---------- */
.tf-loadmore-wrap{ display:flex; flex-direction:column; align-items:center; gap:10px; margin-top: 58px; }
.tf-loadmore-count{ font-size:13px; line-height:1; letter-spacing:.01em; color: #9ca3af; }
.tf-loadmore-count[hidden]{ display:none; }
.tf-loadmore-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 26px; border:none; cursor:pointer;
  font-weight:600; font-size:15px; line-height:1;
  background: #1b1b1b;
  color: #ffffff;
  border-radius: 7px;
  transition: background .25s ease, color .25s ease, transform .15s ease, box-shadow .25s ease;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.tf-loadmore-btn:hover{
  background: #333333;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.12);
}
.tf-loadmore-btn[hidden]{ display:none; }
