/* Closing CTA "CLICK. CONNECT. CONVERT." · typed headline, click on CONVERT -> red-to-blue wave splash of engagement reactions,
   tagline rises on the wave, rotating-gradient "Let's Grow Your Brand" button (Enzo) · Boss approved Oct 18 2026 (PHT)
   SVG/CSS/canvas only. No inline styles (CSSOM only), no innerHTML. Reduced motion: static final state, no splash. */
@property --cwz-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.cwz { --cwz-red: #EC0911; --cwz-blue: #0189F7; --cwz-cyan: #2CCBFF; position: relative; isolation: isolate; }
.cwz-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.cwz-fly { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.cwz-inner { position: relative; z-index: 2; }
.cwz-title { position: relative; }
.cwz .cwz-w { white-space: nowrap; }   /* split letters must never break inside a word */
.cwz .cwz-w--3 { color: var(--cwz-red); -webkit-text-stroke: 2px var(--cwz-red); cursor: pointer; display: inline-block; transform-origin: 30% 60%;
  -webkit-tap-highlight-color: transparent; transition: color .32s ease, -webkit-text-stroke-color .32s ease, transform .32s cubic-bezier(.3,1.6,.5,1), text-shadow .6s ease; }

/* ---------- tagline ---------- */
.cwz .cwz-row p.cwz-tag { margin: 0; max-width: 21ch; font-size: clamp(1.55rem, 3.1vw, 2.55rem); font-weight: 800; line-height: 1.12; letter-spacing: -.012em; color: #fff; }
.cwz-tag__accent { background: linear-gradient(90deg, #FF3B3F 0%, #EC0911 28%, #0189F7 72%, #2CCBFF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; }

/* ---------- button: big pill, rotating conic red->blue border, magnetic ---------- */
.cwz-btn { --cwz-mx: 0px; --cwz-my: 0px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 70px; padding: 0 2.1rem 0 1.05rem; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap;
  font: 800 1.2rem/1 var(--font, Montserrat, sans-serif); letter-spacing: .01em;
  translate: var(--cwz-mx) var(--cwz-my); transition: translate .45s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  box-shadow: 0 10px 34px rgba(1,137,247,.22), 0 4px 18px rgba(236,9,17,.18); -webkit-tap-highlight-color: transparent; }
.cwz-btn__ring { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2.5px;
  background: conic-gradient(from var(--cwz-a), #EC0911, #FF3B3F 14%, #0189F7 38%, #2CCBFF 50%, #0189F7 62%, #EC0911 86%, #EC0911);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.cwz-btn::before { content: ""; position: absolute; inset: 2.5px; z-index: -2; border-radius: inherit;
  background: radial-gradient(120% 140% at 0% 50%, rgba(236,9,17,.26), transparent 55%), radial-gradient(120% 140% at 100% 50%, rgba(1,137,247,.3), transparent 55%), #0B111B;
  transition: background-color .3s ease; }
.cwz-btn::after { content: ""; position: absolute; inset: -6px; z-index: -3; border-radius: inherit; opacity: .55; filter: blur(14px);
  background: conic-gradient(from var(--cwz-a), rgba(236,9,17,.7), rgba(1,137,247,.7), rgba(44,203,255,.55), rgba(236,9,17,.7)); transition: opacity .35s ease; }
.cwz-btn__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #EC0911, #0189F7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.cwz-btn__icon svg { width: 24px; height: 24px; fill: #fff; transform-origin: 50% 55%; }
.cwz-btn__arrow { display: inline-block; font-weight: 800; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cwz-btn:hover::after, .cwz-btn:focus-visible::after { opacity: .95; }
.cwz-btn:hover, .cwz-btn:focus-visible { box-shadow: 0 14px 44px rgba(1,137,247,.34), 0 6px 26px rgba(236,9,17,.3); }
.cwz-btn:hover .cwz-btn__arrow, .cwz-btn:focus-visible .cwz-btn__arrow { transform: translateX(5px); }
.cwz-btn:focus-visible { outline: 2px solid #2CCBFF; outline-offset: 5px; }
.cwz-btn:active { transform: scale(.98); }

/* ---------- "Free consultation" chip under the button (Boss-approved line) ---------- */
.cwz-act { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.cwz .cwz-row p.cwz-note { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .32rem .75rem .32rem .4rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; line-height: 1; letter-spacing: .04em; color: #DCE6F2; max-width: none;
  background: rgba(1,137,247,.08); border: 1px solid rgba(44,203,255,.28); }
.cwz-note svg { width: 16px; height: 16px; flex: none; padding: 2px; border-radius: 50%; fill: #fff; background: linear-gradient(135deg, #EC0911, #0189F7); }

/* ---------- fake pointer used only in the intro ---------- */
.cwz-pointer { position: absolute; left: 0; top: 0; z-index: 4; width: 30px; height: 34px; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.cwz-pointer svg { width: 100%; height: 100%; fill: #fff; stroke: #0189F7; stroke-width: 1.6; stroke-linejoin: round; overflow: visible; filter: drop-shadow(0 0 6px rgba(1,137,247,.8)) drop-shadow(0 0 2px rgba(236,9,17,.8)); }

/* ---------- reaction chips (built by JS) ---------- */
.cwz-chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem .5rem .55rem; border-radius: 999px; white-space: nowrap;
  font: 800 .95rem/1 var(--font, Montserrat, sans-serif); letter-spacing: .02em; color: #fff; opacity: 0; will-change: transform, opacity;
  background: linear-gradient(#0B111B, #0B111B) padding-box, linear-gradient(120deg, #EC0911, #0189F7 70%, #2CCBFF) border-box; border: 1.5px solid transparent;
  box-shadow: 0 6px 22px rgba(1,137,247,.35), 0 0 16px rgba(236,9,17,.2); }
.cwz-chip svg { width: 22px; height: 22px; flex: none; fill: #fff; padding: 4px; box-sizing: content-box; border-radius: 50%; background: linear-gradient(135deg, #EC0911, #0189F7); }
.cwz-chip--bubble { padding: 0; width: 50px; height: 50px; justify-content: center; border: 0; background: linear-gradient(135deg, var(--c1, #EC0911), var(--c2, #0189F7)); box-shadow: 0 8px 26px rgba(1,137,247,.38), inset 0 0 0 1.5px rgba(255,255,255,.28); }
.cwz-chip--bubble svg { width: 26px; height: 26px; padding: 0; background: none; }
.cwz-chip--red { --c1: #FF3B3F; --c2: #EC0911; }
.cwz-chip--blue { --c1: #2CCBFF; --c2: #0189F7; }

/* ---------- intro states (only when JS armed it and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cwz.is-armed .cwz-l { display: inline-block; opacity: 0; transform: translateY(.08em) scale(.92); -webkit-text-stroke-color: #2CCBFF;
    transition: opacity .16s ease, transform .3s cubic-bezier(.2,.9,.3,1.3), -webkit-text-stroke-color .7s ease .1s; }
  .cwz.is-armed .cwz-l.is-on { opacity: 1; transform: none; -webkit-text-stroke-color: var(--text, #F5F6F7); }
  .cwz-caret { display: inline-block; width: .06em; height: .78em; margin-left: .04em; vertical-align: -.02em; border-radius: 2px; background: #2CCBFF;
    box-shadow: 0 0 12px rgba(44,203,255,.8); animation: cwz-caret 1s ease-in-out infinite; transition: opacity .3s ease; }
  .cwz-caret.is-off { opacity: 0; animation: none; }
  .cwz.is-armed .cwz-w--3 { color: transparent; opacity: 0; transition: color .32s ease, opacity .45s ease, -webkit-text-stroke-color .32s ease, transform .32s cubic-bezier(.3,1.6,.5,1), text-shadow .6s ease; }
  .cwz.is-armed .cwz-w--3.is-ready { opacity: .85; }
  .cwz.is-armed .cwz-w--3.is-filled { color: var(--cwz-red); opacity: 1; }
  .cwz .cwz-w--3.is-press { transform: scale(.955); text-shadow: 0 0 34px rgba(236,9,17,.65); }
  .cwz.is-armed .cwz-tag { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,1,.3,1); }
  .cwz.is-armed .cwz-tag.is-on { opacity: 1; transform: none; }
  .cwz-btn__ring, .cwz-btn::after { animation: cwz-spin 3.2s linear infinite; }
  .cwz-btn:hover .cwz-btn__ring, .cwz-btn:hover::after { animation-duration: 1.6s; }
  .cwz-btn:hover .cwz-btn__icon svg, .cwz-btn:focus-visible .cwz-btn__icon svg { animation: cwz-hop .75s cubic-bezier(.3,1.4,.5,1) both; }
}
@keyframes cwz-spin { to { --cwz-a: 360deg; } }
@keyframes cwz-caret { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes cwz-hop { 0% { transform: none; } 35% { transform: translateY(-5px) rotate(-14deg) scale(1.08); } 65% { transform: translateY(0) rotate(10deg); } 100% { transform: rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .cwz-fx, .cwz-fly, .cwz-pointer { display: none; }
  .cwz-btn { transition: none; translate: none; }
}

@media (max-width: 600px) {
  .cwz .cwz-row { gap: 1.4rem; }
  .cwz .cwz-row p.cwz-tag { font-size: clamp(1.5rem, 7.4vw, 1.9rem); max-width: none; }
  .cwz-act { width: 100%; }
  .cwz-btn { width: 100%; min-height: 64px; font-size: 1.08rem; padding: 0 1.4rem 0 .8rem; }
  .cwz-btn__icon { width: 42px; height: 42px; }
  .cwz .cwz-w--3 { -webkit-text-stroke-width: 1.5px; }
  .cwz-chip { font-size: .8rem; padding: .4rem .7rem .4rem .45rem; }
  .cwz-chip svg { width: 18px; height: 18px; }
  .cwz-chip--bubble { width: 40px; height: 40px; }
  .cwz-chip--bubble svg { width: 21px; height: 21px; }
  .cwz-pointer { width: 24px; height: 27px; }
}
