/* ClearComplaint Generator Preview Decision Screen v1
   Purpose: protect commercial value of the free preview while improving trust.
   Scope: sales_v1 generator preview only. */

.cc-gen-cro-v15 .cc-gen-sales-preview__head small.cc-gen-ai-preview-meta {
  display: inline-flex;
  width: fit-content;
  margin-top: .45rem;
  padding: .32rem .52rem;
  border: 1px solid rgba(111,50,214,.18);
  border-radius: 999px;
  background: #fff;
  color: #5522b4;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.cc-gen-cro-v15 .cc-gen-letter-paper {
  min-height: 0;
  padding-bottom: 1.35rem;
}

.cc-gen-cro-v15 .cc-gen-ai-preview-text {
  max-width: 68ch;
  font-size: 1.01rem;
  line-height: 1.68;
}

.cc-gen-cro-v15 .cc-gen-ai-preview-text::after {
  width: 24%;
  opacity: .66;
}

.cc-gen-preview-rule {
  margin: .8rem 0 0;
  padding: .72rem .82rem;
  border: 1px solid rgba(111,50,214,.16);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(242,236,255,.8), #fff 78%);
  color: #4b5871;
  font-size: .88rem;
  line-height: 1.45;
  font-weight: 750;
}

.cc-gen-cro-v15 .cc-gen-letter-section-title--locked {
  margin-top: 1rem;
  color: #111a35;
}

.cc-gen-continuation-preview--fake,
.cc-gen-cro-v15 .cc-gen-continuation-preview {
  position: relative;
  gap: .7rem;
  max-height: 11rem;
  margin-top: .65rem;
  padding: .95rem;
  border: 1px solid rgba(111,50,214,.18);
  border-radius: 18px;
  background: linear-gradient(135deg,#fff 0%,#f2ecff 100%);
  -webkit-mask-image: none;
  mask-image: none;
}

.cc-gen-cro-v15 .cc-gen-letter-continuation-block {
  display: grid;
  gap: .48rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.cc-gen-cro-v15 .cc-gen-letter-continuation-block strong {
  display: none !important;
}

.cc-gen-cro-v15 .cc-gen-letter-continuation-block span {
  display: block;
  height: .62rem;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(85,34,180,.22), rgba(85,34,180,.08));
  filter: blur(1.1px);
  opacity: .76;
}

.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(1) span:nth-child(1) { width: 94%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(1) span:nth-child(2) { width: 88%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(1) span:nth-child(3) { width: 97%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(1) span:nth-child(4) { width: 76%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(2) span:nth-child(1) { width: 90%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(2) span:nth-child(2) { width: 82%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(2) span:nth-child(3) { width: 96%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(3) span:nth-child(1) { width: 92%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(3) span:nth-child(2) { width: 86%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(3) span:nth-child(3) { width: 98%; }
.cc-gen-cro-v15 .cc-gen-letter-continuation-block:nth-child(3) span:nth-child(4) { width: 72%; }

.cc-gen-cro-v15 .cc-gen-continuation-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(2.5px);
  pointer-events: none;
}

.cc-gen-cro-v15 .cc-gen-continuation-overlay {
  left: 50%;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 35rem);
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-color: rgba(111,50,214,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
}

.cc-gen-cro-v15 .cc-gen-continuation-overlay span {
  text-align: center;
}

.cc-gen-cro-v15 .cc-gen-letter-fade {
  position: static;
  margin-top: 1rem;
  padding-top: 0;
  background: transparent;
}

.cc-gen-cro-v15 .cc-gen-unlock-panel {
  position: static;
}

.cc-gen-cro-v15 .cc-gen-unlock-panel__action .cc-button,
.cc-review-actions--after-preview .cc-button[data-checkout],
.cc-gen-mobile-primary .cc-button[data-mobile-sticky-unlock] {
  font-weight: 950;
}

.cc-gen-cro-v15 .cc-gen-value-card:first-child li:last-child {
  color: #5522b4;
  font-weight: 900;
}

html[data-theme="dark"] .cc-gen-preview-rule {
  background: rgba(30,41,59,.88);
  border-color: rgba(255,255,255,.14);
  color: #d6dce9;
}

html[data-theme="dark"] .cc-gen-cro-v15 .cc-gen-continuation-preview {
  background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(55,38,91,.82));
  border-color: rgba(255,255,255,.14);
}

html[data-theme="dark"] .cc-gen-cro-v15 .cc-gen-continuation-overlay {
  background: rgba(15,23,42,.96);
}

@media (max-width: 720px) {
  .cc-gen-cro-v15 .cc-gen-continuation-overlay {
    position: absolute;
    align-items: center;
    margin-top: 0;
  }

  .cc-gen-cro-v15 .cc-gen-unlock-panel {
    display: grid;
  }

  .cc-gen-cro-v15 .cc-gen-unlock-panel__action {
    width: 100%;
  }
}
