/* Ücretsiz araç — bayigram referansı, kutular köşeli (oval yok) */

.sp-free-page {
  --sp-ft-radius: 0;
  --sp-ft-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  --sp-ft-border: 1px solid #dde3ea;
  --sp-free-text: #19203f;
  --sp-free-muted: #64748b;
  --sp-free-white: #fff;
  --sp-free-plat: var(--platform-accent, #6366f1);
  --sp-ft-shelf-bg: #e6f6ff;
  --sp-free-tools-pill-bg: #e3f2fd;
  --sp-free-tools-pill-color: #1565c0;
  --sp-free-tools-pill-border: rgba(21, 101, 192, 0.22);
  position: relative;
  padding-bottom: 40px;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: var(--sp-ft-shelf-bg);
}

.sp-free-page .sp-ft-cover,
.sp-free-page .sp-ft-card-wrap,
.sp-free-page .sp-ft-popular,
.sp-free-page .sp-ft-howto,
.sp-free-page .sp-ft-faq {
  position: relative;
  z-index: 1;
}

.sp-free-page .sp-ft-cover {
  background: var(--sp-free-plat);
  padding: 18px 0;
  padding-bottom: calc(var(--sp-ft-overlap-pull, 42px) + var(--sp-ft-cover-below-gap, 0px));
  position: relative;
}

/* Pembe üst şerit — alttan renk süzülmesin: düz kesim, geçiş yok */

.sp-free-page .sp-ft-cover-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.sp-free-page .sp-ft-cover-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.sp-free-page .sp-ft-cover-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  box-shadow: none;
}

.sp-free-page .sp-ft-cover-ico i {
  color: #fff;
}

.sp-free-page .sp-ft-cover-title h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.sp-free-page .sp-ft-btn-paket {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--sp-free-text);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--sp-ft-radius);
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sp-free-page .sp-ft-btn-paket i:last-child {
  color: #94a3b8;
  margin-left: 8px;
}

.sp-free-page .sp-ft-card-wrap {
  margin-top: calc(-1 * var(--sp-ft-overlap-pull, 42px));
  position: relative;
  z-index: 2;
}

.sp-free-page .sp-ft-card {
  background: var(--sp-free-white);
  border-radius: var(--sp-ft-radius);
  box-shadow: var(--sp-ft-shadow);
  overflow: hidden;
  border: var(--sp-ft-border);
}

.sp-free-page .sp-ft-cat-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border-bottom: none;
  background-color: color-mix(in srgb, var(--sp-ft-shelf-bg) 38%, #fff);
  background-image: linear-gradient(to top, #e2e8f0, #e2e8f0);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

.sp-free-page .sp-ft-cat-chip {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--sp-free-text);
  padding: 8px 12px;
  position: relative;
  text-decoration: none !important;
  border-right: 1px solid #e2e8f0;
  border-bottom: none;
  margin-bottom: 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

/* Alt çizgi: satırın 1px gri hattıyla çakışır (chip alt kenarı = satır altı) */
.sp-free-page .sp-ft-cat-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.sp-free-page .sp-ft-cat-chip.active::after {
  background: var(--sp-free-plat);
}

.sp-free-page .sp-ft-cat-chip:hover {
  background: color-mix(in srgb, var(--sp-ft-shelf-bg) 52%, #fff);
  color: var(--sp-free-plat);
}

.sp-free-page .sp-ft-cat-chip.active {
  color: var(--sp-free-plat);
  background: #fff;
}

.sp-free-page .sp-ft-tabs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 2px;
  padding: 0 10px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  position: relative;
}

.sp-free-page .sp-ft-tabs-row .sp-ft-tabs {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  align-items: stretch;
}

.sp-free-page .sp-ft-tabs-row a.sp-ft-tab {
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-free-text);
  padding: 14px 12px;
  position: relative;
  white-space: nowrap;
}

/* Referans: aktif sekmenin altında ince platform çizgisi (sekme linki genişliğinde) */
.sp-free-page .sp-ft-tabs-row a.sp-ft-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.sp-free-page .sp-ft-tabs-row a.sp-ft-tab.active::after {
  background: var(--sp-free-plat);
}

.sp-free-page .sp-ft-tabs-row a.sp-ft-tab:hover,
.sp-free-page .sp-ft-tabs-row a.sp-ft-tab.active {
  color: var(--sp-free-plat);
}

.sp-free-page .sp-ft-btn-tools {
  margin: 8px 6px 8px auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sp-free-tools-pill-bg);
  color: var(--sp-free-tools-pill-color);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--sp-free-tools-pill-border);
  box-shadow: none;
}

.sp-free-page .sp-ft-cat-row .sp-ft-btn-tools {
  margin: 6px 10px 6px auto;
  align-self: center;
  flex-shrink: 0;
  border-left: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
}

.sp-free-page .sp-ft-btn-tools:hover {
  filter: brightness(0.98);
  color: var(--sp-free-tools-pill-color) !important;
}

.sp-free-page .sp-ft-body {
  padding: 16px 18px;
  background: #fff;
}

.sp-free-page .sp-ft-form-grid {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 12px;
  align-items: end;
}

@media (max-width: 991px) {
  .sp-free-page .sp-ft-form-grid {
    grid-template-columns: 1fr;
  }
}

.sp-free-page .sp-ft-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-free-text);
  margin-bottom: 6px;
}

.sp-free-page .sp-ft-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  border: var(--sp-ft-border);
  border-radius: var(--sp-ft-radius);
  padding: 2px 12px;
  height: 46px;
  background: #fff;
}

.sp-free-page .sp-ft-input-shell i {
  color: #94a3b8;
  font-size: 18px;
}

.sp-free-page .sp-ft-input-shell .ri-focus-3-line {
  color: var(--sp-free-plat);
}

.sp-free-page .sp-ft-input-shell input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  background: transparent;
}

.sp-free-page .sp-ft-submit {
  height: 46px;
  padding: 0 26px;
  background: var(--sp-free-plat);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: var(--sp-ft-radius);
  cursor: pointer;
  transition: filter 0.2s;
}

.sp-free-page .sp-ft-submit:hover {
  filter: brightness(1.05);
}

/* Popüler paketler / vitrin */
.sp-free-page .sp-ft-popular {
  margin-top: 28px;
}

.sp-free-page .sp-ft-popular .box {
  background: #fff;
  border-radius: var(--sp-ft-radius);
  box-shadow: var(--sp-ft-shadow);
  overflow: hidden;
  border: var(--sp-ft-border);
}

.sp-free-page .sp-ft-popular .head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: color-mix(in srgb, var(--sp-ft-shelf-bg) 24%, #fff);
}

.sp-free-page .sp-ft-popular .head .ico {
  width: 46px;
  height: 46px;
  border-radius: var(--sp-ft-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 22px;
  background: var(--sp-free-plat);
  border: none;
  box-shadow:
    0 4px 20px color-mix(in srgb, var(--sp-free-plat) 48%, transparent),
    0 2px 8px rgba(15, 23, 42, 0.14);
}

.sp-free-page .sp-ft-popular .head .ico i {
  color: #fff !important;
}

.sp-free-page .sp-ft-popular .head .text b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
  color: var(--sp-free-text);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.sp-free-page .sp-ft-popular .head .text small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--sp-free-muted);
  font-weight: 400;
  line-height: 1.4;
}

.sp-free-page .sp-ft-popular .head .btn-all {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: var(--sp-free-tools-pill-bg);
  color: var(--sp-free-tools-pill-color);
  border: 1px solid var(--sp-free-tools-pill-border);
  text-decoration: none !important;
  transition: filter 0.15s, box-shadow 0.15s;
  box-shadow: none;
}

.sp-free-page .sp-ft-popular .head .btn-all:hover {
  filter: brightness(0.98);
  color: var(--sp-free-tools-pill-color) !important;
}

.sp-free-page .sp-ft-popular .body {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .sp-free-page .sp-ft-popular .body {
    grid-template-columns: 1fr;
  }
}

.sp-free-page .sp-ft-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

@media (max-width: 1199px) {
  .sp-free-page .sp-ft-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sp-free-page .sp-ft-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.sp-free-page a.sp-ft-scard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px 12px;
  border: var(--sp-ft-border);
  border-radius: var(--sp-ft-radius);
  background: #fff;
  color: var(--sp-free-text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none !important;
  position: relative;
  min-height: 128px;
}

.sp-free-page a.sp-ft-scard:hover {
  background: var(--sp-free-plat);
  color: #fff;
  border-color: var(--sp-free-plat);
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-ico i {
  color: #fff !important;
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-title {
  color: #fff !important;
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-price,
.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-price strong {
  color: #fff !important;
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-price-ph {
  color: #fff !important;
  opacity: 0.85;
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-scard-icoimg {
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.sp-free-page .sp-ft-scard-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  line-height: 1;
}

.sp-free-page .sp-ft-scard-ico i {
  font-size: 26px;
  color: var(--sp-free-plat);
}

.sp-free-page .sp-ft-scard-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sp-free-text);
  margin-bottom: 6px;
  padding: 0 2px;
  max-width: 100%;
}

.sp-free-page .sp-ft-scard-icoimg {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--sp-ft-radius);
  border: 1px solid color-mix(in srgb, var(--sp-free-plat) 30%, #e2e8f0);
}

.sp-free-page .sp-ft-scard-price {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--sp-free-text);
  letter-spacing: -0.02em;
}

.sp-free-page .sp-ft-scard-price strong {
  color: var(--sp-free-plat);
  font-weight: 800;
}

.sp-free-page .sp-ft-scard-price .sp-ft-price-old {
  color: var(--sp-free-muted);
  opacity: 0.85;
}

.sp-free-page a.sp-ft-scard--pkg {
  padding: 12px 8px 10px;
  min-height: 130px;
}

.sp-free-page .sp-ft-price-old {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0.65;
  margin-top: 4px;
  margin-left: 0;
}

.sp-free-page a.sp-ft-scard:hover .sp-ft-price-old {
  opacity: 0.85;
  color: #fff !important;
}

.sp-free-page .sp-ft-pkg-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--sp-free-plat);
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--sp-ft-radius);
  line-height: 1;
}

.sp-free-page .sp-ft-showcase-empty {
  grid-column: 1 / -1;
  padding: 18px 14px;
  border: 1px dashed #e2e8f0;
  background: #fafbfc;
  text-align: center;
  font-size: 13px;
  color: var(--sp-free-muted);
  border-radius: var(--sp-ft-radius);
}

.sp-free-page .sp-ft-promo {
  border-radius: var(--sp-ft-radius);
  min-height: 240px;
  background: linear-gradient(145deg, #1e1b4b, #4c1d95 45%, #6d28d9);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  color: #fff;
  text-decoration: none !important;
  border: var(--sp-ft-border);
}

.sp-free-page .sp-ft-promo--media {
  padding: 0;
  min-height: 100%;
  background: #f8fafc;
  border: var(--sp-ft-border);
}

.sp-free-page .sp-ft-promo--media:hover {
  border-color: color-mix(in srgb, var(--sp-free-plat) 42%, #cbd5e1);
}

.sp-free-page .sp-ft-promo-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.sp-free-page .sp-ft-promo-big {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.sp-free-page .sp-ft-promo-sub {
  font-weight: 600;
  opacity: 0.92;
  font-size: 13px;
}

.sp-free-page .sp-ft-promo--media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.sp-free-page .sp-ft-promo .inner {
  position: relative;
  z-index: 1;
}

.sp-free-page .sp-ft-promo .kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.sp-free-page .sp-ft-howto {
  margin-top: 28px;
  background: var(--sp-free-plat);
  border: 1px solid color-mix(in srgb, var(--sp-free-plat) 68%, #000);
  border-radius: var(--sp-ft-radius);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr minmax(160px, 34%);
  gap: 20px;
  padding: 20px 22px;
  position: relative;
  align-items: center;
  box-shadow: var(--sp-ft-shadow);
}

@media (max-width: 991px) {
  .sp-free-page .sp-ft-howto {
    grid-template-columns: 1fr;
  }
}

.sp-free-page .sp-ft-howto h2 {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px;
}

.sp-free-page .sp-ft-howto .prose {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
}

.sp-free-page .sp-ft-howto .prose ul {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}

.sp-free-page .sp-ft-howto .prose li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.sp-free-page .sp-ft-howto .prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: var(--sp-ft-radius);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.sp-free-page .sp-ft-howto-img {
  border-radius: var(--sp-ft-radius);
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

/* FAQ */
.sp-free-page .sp-ft-faq {
  margin-top: 32px;
  padding: 6px 0 28px;
}

.sp-free-page .sp-ft-faq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sp-free-page .sp-ft-faq-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
}

.sp-free-page .sp-ft-faq-head p {
  margin: 4px 0 0;
  color: var(--sp-free-muted);
  font-size: 13px;
}

.sp-free-page .sp-ft-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 767px) {
  .sp-free-page .sp-ft-faq-grid {
    grid-template-columns: 1fr;
  }
}

.sp-free-page .sp-ft-faq-item {
  background: #fff;
  border: var(--sp-ft-border);
  border-radius: var(--sp-ft-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.sp-free-page .sp-ft-faq-item summary {
  padding: 12px 36px 12px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  position: relative;
  list-style: none;
}

.sp-free-page .sp-ft-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-free-page .sp-ft-faq-item summary::after {
  content: "\ea4e";
  font-family: "remixicon";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}

.sp-free-page .sp-ft-faq-item[open] summary::after {
  content: "\ea4e";
  transform: translateY(-50%) rotate(180deg);
}

.sp-free-page .sp-ft-faq-a {
  padding: 0 14px 12px;
  font-size: 13px;
  color: var(--sp-free-muted);
  line-height: 1.5;
}

.sp-free-page .sp-ft-btn-ghost {
  border: var(--sp-ft-border);
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--sp-ft-radius);
  font-size: 13px;
}

/* Kullanıcı alanı — profil foto yuvası */
.sp-free-page .sp-ft-avatar-slot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid color-mix(in srgb, var(--sp-free-plat, #6366f1) 18%, #e2e8f0);
}

.sp-free-page .sp-ft-avatar-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-free-page .sp-ft-avatar-ph {
  font-size: 20px;
  color: #94a3b8;
}

/* Gönder — profil kontrolü sırasında */
.sp-free-page .sp-ft-submit {
  position: relative;
  min-width: 160px;
}

.sp-free-page .sp-ft-submit--checking {
  opacity: 0.92;
  pointer-events: none;
  animation: sp-ft-pulse 1.1s ease-in-out infinite;
}

@keyframes sp-ft-pulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.08);
    transform: scale(1.01);
  }
}

.sp-free-page .sp-ft-submit-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sp-free-page .sp-ft-spin {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sp-ft-spin 0.65s linear infinite;
}

@keyframes sp-ft-spin {
  to {
    transform: rotate(360deg);
  }
}

.sp-free-page .sp-ft-loading-text {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

body.sp-ft-modal-open {
  overflow: hidden;
}

/* Upsell modal */
.sp-ft-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  backdrop-filter: blur(4px);
}

.sp-ft-modal-backdrop[hidden] {
  display: none !important;
}

.sp-ft-modal-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  pointer-events: auto;
}

.sp-ft-modal-loader-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.sp-ft-modal-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: sp-ft-spin 0.65s linear infinite;
}

.sp-ft-modal-loader-cancel {
  margin-top: 4px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp-ft-modal-loader-cancel:hover {
  background: rgba(255, 255, 255, 0.24);
}

.sp-ft-modal-backdrop--preparing {
  align-items: center;
  justify-content: center;
}

.sp-ft-modal-backdrop--preparing .sp-ft-modal-loader {
  display: flex;
}

.sp-ft-modal-backdrop--preparing .sp-ft-modal {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.sp-ft-modal-backdrop--preparing .sp-ft-modal-close {
  opacity: 0;
  pointer-events: none;
}

.sp-ft-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  padding: 48px 32px 26px;
  border: 1px solid #e8eef3;
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.16), 0 2px 10px rgba(15, 23, 42, 0.06);
  max-height: min(92vh, 92dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-ft-modal-steps--modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin: 0 0 18px;
}

.sp-ft-modal-steps--modern .sp-ft-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0;
  background: transparent;
}

.sp-ft-step-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  background: #e2e8f0;
  color: #64748b;
}

.sp-ft-step-txt {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
}

.sp-ft-modal-steps--modern .sp-ft-step--done .sp-ft-step-num {
  background: #22c55e;
  color: #fff;
}

.sp-ft-modal-steps--modern .sp-ft-step--done .sp-ft-step-txt {
  color: #166534;
}

.sp-ft-modal-steps--modern .sp-ft-step--active .sp-ft-step-num {
  background: var(--sp-free-plat, #6366f1);
  color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp-free-plat, #6366f1) 28%, transparent);
}

.sp-ft-modal-steps--modern .sp-ft-step--active .sp-ft-step-txt {
  color: var(--sp-free-plat, #6366f1);
}

.sp-ft-step-join {
  flex: 0 0 24px;
  height: 2px;
  background: #e2e8f0;
  margin-bottom: 22px;
  border-radius: 1px;
}

.sp-ft-modal-head--compact {
  border-bottom: 1px solid #e8eef3;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.sp-ft-modal-avatar-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sp-ft-modal-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-ft-modal-head--compact .sp-ft-modal-platico {
  font-size: 24px;
}

.sp-ft-modal-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.sp-ft-modal-platico {
  color: var(--sp-free-plat, #6366f1);
}

.sp-ft-modal-user strong {
  display: block;
  font-size: 17px;
  color: #0f172a;
}

.sp-ft-modal-handle {
  font-size: 14px;
  color: #64748b;
}

.sp-ft-modal-counts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-ft-cbox {
  flex: 1;
  min-width: 120px;
  border: 1px solid #e8eef3;
  border-radius: var(--sp-ft-radius, 0);
  padding: 8px 10px;
  text-align: center;
  background: #fafbfc;
}

.sp-ft-cbox small {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.sp-ft-cbox b {
  font-size: 14px;
  color: #0f172a;
}

.sp-ft-cbox--target {
  border-color: color-mix(in srgb, var(--sp-free-plat, #6366f1) 45%, #cbd5e1);
  background: color-mix(in srgb, var(--sp-free-plat, #6366f1) 8%, #fafbfc);
}

.sp-ft-carrow {
  color: var(--sp-free-plat, #6366f1);
  font-size: 22px;
}

.sp-ft-modal-wait {
  text-align: center;
  margin-bottom: 20px;
}

.sp-ft-wait-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.sp-ft-wait-sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.sp-ft-wait-progress {
  margin: 16px 0 14px;
  height: 8px;
  background: #e8eef3;
  border-radius: 99px;
  overflow: hidden;
}

.sp-ft-wait-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--sp-free-plat, #6366f1);
  transition: width 0.35s ease;
}

.sp-ft-timer-pill {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.sp-ft-timer-pill strong {
  font-variant-numeric: tabular-nums;
  margin-left: 8px;
  color: var(--sp-free-plat, #6366f1);
}

.sp-ft-wait-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.sp-ft-modal-upsell {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  margin-top: 8px;
  background: linear-gradient(145deg, #252528 0%, #121214 100%);
  color: #fff;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-ft-upsell-deco {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background:
    linear-gradient(118deg, color-mix(in srgb, var(--sp-free-plat, #6366f1) 35%, transparent) 0%, transparent 42%),
    linear-gradient(-18deg, color-mix(in srgb, var(--sp-free-plat, #6366f1) 22%, transparent) 0%, transparent 55%);
  opacity: 0.9;
}

.sp-ft-upsell-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 30%);
  gap: 8px 16px;
  align-items: end;
  padding: 22px 22px 24px;
}

.sp-ft-upsell-copy {
  padding-right: 8px;
}

.sp-ft-upsell-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sp-ft-upsell-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.sp-ft-coupon-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.sp-ft-coupon-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.sp-ft-coupon-row input {
  flex: 1;
  min-width: 0;
}

.sp-ft-copy-btn {
  width: 52px;
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.sp-ft-copy-btn:hover {
  filter: brightness(1.04);
  transform: scale(1.03);
}

.sp-ft-modal-upsell .sp-ft-coupon-row {
  margin-bottom: 16px;
}

.sp-ft-modal-upsell .sp-ft-coupon-row input {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(165deg, #ffffff 0%, #f3f4f6 55%, #e8eaee 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.07);
}

.sp-ft-modal-upsell .sp-ft-coupon-row input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--sp-free-plat, #6366f1) 45%, #cbd5e1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 3px color-mix(in srgb, var(--sp-free-plat, #6366f1) 22%, transparent);
}

.sp-ft-modal-upsell .sp-ft-copy-btn {
  border-radius: 12px;
  color: var(--sp-free-plat, #6366f1);
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.sp-ft-modal-upsell .sp-ft-copy-btn:hover {
  background: linear-gradient(165deg, #ffffff 0%, #e8ecf0 100%);
}

.sp-ft-upsell-mascot {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.sp-ft-upsell-mascot img {
  width: auto;
  max-width: 200px;
  height: clamp(200px, 28vh, 280px);
  object-fit: contain;
  object-position: bottom center;
  margin-top: -72px;
  margin-bottom: -8px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.sp-ft-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--sp-free-plat, #6366f1);
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--sp-free-plat, #6366f1) 40%, transparent);
}

.sp-ft-modal-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.sp-ft-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: #f1f5f9;
  border-radius: var(--sp-ft-radius, 0);
  font-size: 20px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-ft-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.sp-ft-copy-toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  z-index: 10060;
  padding: 10px 20px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(-50%, 16px, 0);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-ft-copy-toast.sp-ft-copy-toast--show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.sp-free-page .sp-ft-qty-cap-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--sp-free-muted, #64748b);
}

.sp-ft-modal-limitflow {
  padding-top: 4px;
}

.sp-ft-limit-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}

.sp-ft-limit-user {
  margin-bottom: 16px;
}

.sp-ft-limit-upsell {
  margin-top: 8px;
}

.sp-ft-upsell-grid--limit {
  grid-template-columns: minmax(0, 1fr) minmax(100px, 30%);
  gap: 8px 16px;
  align-items: end;
  padding: 22px 22px 24px;
}

.sp-ft-limit-mascot img {
  width: auto;
  max-width: 200px;
  height: clamp(200px, 28vh, 280px);
  object-fit: contain;
  object-position: bottom center;
  margin-top: -56px;
  margin-bottom: -8px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

@media (max-width: 575px) {
  .sp-ft-upsell-grid--limit {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
  }

  .sp-ft-limit-mascot {
    display: flex;
    justify-content: center;
    order: -1;
  }

  .sp-ft-limit-mascot img {
    margin-top: -40px;
    max-width: 160px;
    height: 200px;
  }

  .sp-ft-modal-backdrop {
    align-items: stretch;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }

  .sp-ft-modal {
    align-self: center;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    max-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
    padding: 44px 14px 18px;
    margin: 0 auto;
    border-radius: 14px;
  }

  .sp-ft-modal-close {
    top: max(8px, calc(env(safe-area-inset-top, 0px) + 6px));
    right: max(8px, calc(env(safe-area-inset-right, 0px) + 6px));
    width: 40px;
    height: 40px;
    font-size: 22px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  }

  .sp-ft-upsell-grid {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
  }

  .sp-ft-upsell-mascot {
    justify-content: center;
    order: -1;
  }

  .sp-ft-upsell-mascot img {
    margin-top: -48px;
    max-width: 180px;
    height: 220px;
  }
}
