/**
 * Final CTA — Variant D "Product Reveal + Templates"
 * Scoped under #scv-cta-reveal (from stylingcv-cta-product-reveal_1.html)
 */
#scv-cta-reveal {
  --navy: #0a1c28;
  --teal: #34d6c6;
  --teal2: #7fe9dd;
  --cream: #f6efe3;
  --dim: rgba(246, 239, 227, 0.66);
  --line: rgba(127, 233, 221, 0.16);
  --amber: #f8b23a;
  --coral: #ee6c3a;
  --paper: #fbf7ef;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 130% at 50% 0%, #10293a 0%, var(--navy) 60%);
  padding: clamp(56px, 8vw, 100px) 24px;
  color: var(--cream);
  font-family: "Manrope", system-ui, sans-serif;
  text-align: center;
}

#scv-cta-reveal[dir="rtl"] {
  font-family: "Tajawal", system-ui, sans-serif;
}

#scv-cta-reveal * {
  box-sizing: border-box;
}

#scv-cta-reveal .scv-fc__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.42;
}

#scv-cta-reveal .scv-fc__glow--teal {
  width: 480px;
  height: 480px;
  top: -200px;
  inset-inline-start: 8%;
  background: #16b8a8;
}

#scv-cta-reveal .scv-fc__glow--amber {
  width: 440px;
  height: 440px;
  bottom: -220px;
  inset-inline-end: 8%;
  background: var(--coral);
  opacity: 0.3;
}

#scv-cta-reveal .scv-fc__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

#scv-cta-reveal .scv-fc__inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

#scv-cta-reveal .scv-fc__head {
  max-width: 920px;
  margin: 0 auto;
}

#scv-cta-reveal .scv-fc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

#scv-cta-reveal .scv-fc__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(52, 214, 198, 0.18);
}

#scv-cta-reveal .scv-fc__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(28px, 4.2vw, 52px);
  margin: 20px 0 0;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

#scv-cta-reveal .scv-fc__title-lead {
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
  display: block;
}

#scv-cta-reveal .scv-fc__title-rest {
  color: var(--teal2);
  font-style: italic;
  font-weight: 500;
  display: block;
}

#scv-cta-reveal .scv-fc__verb {
  display: inline-block;
  vertical-align: baseline;
  min-width: 0;
  text-align: center;
  margin: 0 0.08em;
}

#scv-cta-reveal .scv-fc__verb-word {
  display: inline-block;
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

#scv-cta-reveal .scv-fc__verb.is-swapping .scv-fc__verb-word {
  opacity: 0;
  transform: translateY(10px);
}

#scv-cta-reveal .scv-fc__hl {
  color: var(--coral);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

#scv-cta-reveal .scv-fc__hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C18 3, 36 11, 55 6 C74 1, 92 10, 118 5' stroke='%23e8885e' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.9;
  transition: opacity 0.28s ease;
}

#scv-cta-reveal .scv-fc__verb.is-swapping .scv-fc__hl::after {
  opacity: 0;
}

#scv-cta-reveal .scv-fc__sub {
  margin: 18px auto 0;
  color: var(--dim);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  max-width: 56ch;
}

#scv-cta-reveal .scv-fc__templates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 42px 0 0;
}

#scv-cta-reveal .scv-tpl {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.22s;
}

#scv-cta-reveal .scv-tpl:hover {
  transform: translateY(-6px);
}

#scv-cta-reveal .scv-tpl__doc {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--paper);
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.22s, transform 0.22s;
}

#scv-cta-reveal .scv-tpl:hover .scv-tpl__doc {
  box-shadow: 0 22px 46px -14px rgba(52, 214, 198, 0.35);
  transform: translateY(-4px);
}

#scv-cta-reveal .scv-tpl__doc--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
}

#scv-cta-reveal .scv-tpl__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.03em;
}

#scv-cta-reveal .scv-tpl:hover .scv-tpl__name {
  color: var(--teal2);
}

/* ── "View All" card ── */
#scv-cta-reveal .scv-tpl__doc--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(145deg, rgba(38, 133, 153, 0.14) 0%, rgba(232, 136, 94, 0.10) 100%);
  border: 1.5px dashed rgba(127, 233, 221, 0.35);
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}

#scv-cta-reveal .scv-tpl--more:hover .scv-tpl__doc--more {
  background: linear-gradient(145deg, rgba(38, 133, 153, 0.28) 0%, rgba(232, 136, 94, 0.18) 100%);
  border-color: rgba(127, 233, 221, 0.7);
  transform: translateY(-4px);
}

#scv-cta-reveal .scv-tpl__more-count {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--teal2);
  line-height: 1;
}

#scv-cta-reveal .scv-tpl__more-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

#scv-cta-reveal .scv-tpl__more-icon {
  margin-top: 10px;
  color: var(--teal2);
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
}

#scv-cta-reveal .scv-tpl--more:hover .scv-tpl__more-icon {
  opacity: 1;
  transform: translateX(4px);
}

#scv-cta-reveal .scv-tpl--more .scv-tpl__name {
  color: var(--teal2);
}

#scv-cta-reveal .scv-fc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: 42px;
}

#scv-cta-reveal .scv-fc__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: linear-gradient(100deg, var(--amber), var(--coral));
  color: #2a1402;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 14px;
  box-shadow: 0 10px 30px -8px rgba(238, 108, 58, 0.55);
  transition: transform 0.18s, box-shadow 0.18s;
}

#scv-cta-reveal .scv-fc__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(238, 108, 58, 0.65);
}

#scv-cta-reveal[dir="rtl"] .scv-fc__arrow {
  transform: scaleX(-1);
}

#scv-cta-reveal .scv-fc__btn:hover .scv-fc__arrow {
  transform: translateX(3px);
  transition: transform 0.2s;
}

#scv-cta-reveal[dir="rtl"] .scv-fc__btn:hover .scv-fc__arrow {
  transform: scaleX(-1) translateX(-3px);
}

#scv-cta-reveal .scv-fc__link {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.85;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: 0.2s;
}

#scv-cta-reveal .scv-fc__link:hover {
  opacity: 1;
  border-color: var(--teal);
}

#scv-cta-reveal .scv-fc__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  width: 100%;
}

#scv-cta-reveal .scv-fc__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dim);
  font-weight: 500;
}

#scv-cta-reveal .scv-fc__trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#scv-cta-reveal .scv-fc__head > *,
#scv-cta-reveal .scv-tpl,
#scv-cta-reveal .scv-fc__actions {
  animation: scvFcUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

#scv-cta-reveal .scv-fc__title {
  animation-delay: 0.05s;
}

#scv-cta-reveal .scv-fc__sub {
  animation-delay: 0.1s;
}

#scv-cta-reveal .scv-tpl:nth-child(1) {
  animation-delay: 0.16s;
}

#scv-cta-reveal .scv-tpl:nth-child(2) {
  animation-delay: 0.22s;
}

#scv-cta-reveal .scv-tpl:nth-child(3) {
  animation-delay: 0.28s;
}

#scv-cta-reveal .scv-tpl:nth-child(4) {
  animation-delay: 0.34s;
}

#scv-cta-reveal .scv-fc__actions {
  animation-delay: 0.4s;
}

@keyframes scvFcUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #scv-cta-reveal * {
    animation: none !important;
  }

  #scv-cta-reveal .scv-fc__verb-word {
    transition: none;
  }
}

@media (max-width: 900px) {
  #scv-cta-reveal .scv-fc__templates {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 560px) {
  #scv-cta-reveal .scv-fc__templates {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
