/* Vital SEO: Copywriting partner animated hero */
.copywriting-hero-art {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.copywriting-hero-art .cw-orbit {
  position: absolute;
  width: 320px;
  height: 230px;
  border: 1px dashed rgba(77, 170, 216, .3);
  border-radius: 50%;
  transform: rotate(-25deg);
  pointer-events: none;
}

.copywriting-hero-art .cw-orbit-two {
  width: 270px;
  height: 280px;
  transform: rotate(32deg);
  border-color: rgba(77, 170, 216, .2);
}

.copywriting-hero-art .cw-document {
  position: relative;
  width: min(75%, 310px);
  min-height: 285px;
  background: linear-gradient(155deg, #fff, #e9f7ff);
  border: 1px solid #a9d9ed;
  border-radius: 17px;
  box-shadow: 0 24px 50px rgba(3, 48, 99, .22);
  overflow: hidden;
  transform: rotate(-5deg);
  animation: cw-document-float 5s ease-in-out infinite;
}

.copywriting-hero-art .cw-document-header {
  height: 34px;
  background: #1266ac;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.copywriting-hero-art .cw-document-header > span {
  width: 6px;
  height: 6px;
  background: #d5f3ff;
  border-radius: 50%;
}

.copywriting-hero-art .cw-document-header strong {
  margin-left: auto;
  color: #fff;
  font-size: 9px;
  letter-spacing: .1em;
}

.copywriting-hero-art .cw-document-body {
  padding: 22px 24px;
}

.copywriting-hero-art .cw-document-title {
  display: flex;
  align-items: center;
  color: #145c91;
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 800;
  margin-bottom: 22px;
  white-space: nowrap;
}

.copywriting-hero-art .cw-cursor {
  display: inline-block;
  width: 2px;
  height: 22px;
  margin-left: 4px;
  background: #087fbd;
  animation: cw-blink .85s steps(1) infinite;
}

.copywriting-hero-art .cw-writing-line {
  height: 7px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: linear-gradient(90deg, #83c4e3, #c3e5f3);
  transform-origin: left;
  animation: cw-write 5.5s ease-in-out infinite;
}

.copywriting-hero-art .cw-line-one { width: 95%; animation-delay: 0s; }
.copywriting-hero-art .cw-line-two { width: 77%; animation-delay: .35s; }
.copywriting-hero-art .cw-line-three { width: 87%; animation-delay: .7s; }
.copywriting-hero-art .cw-line-four { width: 91%; animation-delay: 1.05s; }
.copywriting-hero-art .cw-line-five { width: 68%; animation-delay: 1.4s; }
.copywriting-hero-art .cw-line-six { width: 83%; animation-delay: 1.75s; }

.copywriting-hero-art .cw-keyword {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 2px 0 14px;
  border-radius: 7px;
  background: #d4effb;
  color: #11699d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  animation: cw-highlight 4s ease-in-out infinite;
}

.copywriting-hero-art .cw-keyword span {
  font-size: 14px;
}

.copywriting-hero-art .cw-document-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #25759e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
}

.copywriting-hero-art .cw-status-dot {
  width: 7px;
  height: 7px;
  background: #16a6c8;
  border-radius: 50%;
  animation: cw-status-pulse 2.5s ease-in-out infinite;
}

.copywriting-hero-art .cw-pencil {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 160px;
  right: 10%;
  top: 21%;
  transform: rotate(35deg);
  transform-origin: center 85%;
  filter: drop-shadow(5px 8px 5px rgba(2, 42, 90, .2));
  animation: cw-pencil-write 4s ease-in-out infinite;
}

.copywriting-hero-art .cw-pencil-body {
  height: 125px;
  background: linear-gradient(90deg, #0d70b1 0 24%, #5bc5e8 25% 72%, #1179b8 73%);
  border-radius: 3px 3px 0 0;
  border: 1px solid #09679e;
}

.copywriting-hero-art .cw-pencil-eraser {
  height: 13px;
  background: #c8e7f5;
  border: 3px solid #187eb4;
  border-radius: 6px 6px 2px 2px;
  box-sizing: border-box;
}

.copywriting-hero-art .cw-pencil-tip {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 23px solid #78a7bc;
  position: relative;
}

.copywriting-hero-art .cw-pencil-tip::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -9px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 9px solid #124d75;
}

.copywriting-hero-art .cw-floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #fff;
  color: #116fa8;
  border: 1px solid #acdceb;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(0, 53, 105, .16);
  font-size: 18px;
  font-weight: 800;
  animation: cw-badge-float 4s ease-in-out infinite;
}

.copywriting-hero-art .cw-floating-badge span {
  font-size: 9px;
  letter-spacing: .07em;
}

.copywriting-hero-art .cw-badge-ideas {
  top: 8%;
  left: 0;
}

.copywriting-hero-art .cw-badge-edit {
  bottom: 13%;
  left: 0;
  animation-delay: -1.5s;
}

.copywriting-hero-art .cw-badge-seo {
  bottom: 6%;
  right: 0;
  animation-delay: -2.7s;
}

@keyframes cw-document-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

@keyframes cw-write {
  0%, 8% { transform: scaleX(.08); opacity: .25; }
  48%, 82% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.08); opacity: .25; }
}

@keyframes cw-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes cw-highlight {
  0%, 100% { background: #d4effb; box-shadow: none; }
  50% { background: #9bdaf3; box-shadow: 0 0 16px rgba(25, 149, 204, .3); }
}

@keyframes cw-pencil-write {
  0%, 100% { transform: translate(0, 0) rotate(35deg); }
  25% { transform: translate(-9px, 7px) rotate(32deg); }
  50% { transform: translate(5px, 14px) rotate(38deg); }
  75% { transform: translate(-7px, 5px) rotate(33deg); }
}

@keyframes cw-badge-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-11px) rotate(3deg); }
}

@keyframes cw-status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.35); }
}

@media (max-width: 640px) {
  .copywriting-hero-art {
    min-height: 300px;
    width: 100%;
  }

  .copywriting-hero-art .cw-document {
    width: 72%;
    min-height: 255px;
  }

  .copywriting-hero-art .cw-document-body {
    padding: 18px;
  }

  .copywriting-hero-art .cw-pencil {
    height: 125px;
    right: 3%;
    top: 24%;
    transform: scale(.75) rotate(35deg);
  }

  .copywriting-hero-art .cw-floating-badge {
    padding: 6px 8px;
    font-size: 14px;
  }

  .copywriting-hero-art .cw-floating-badge span {
    font-size: 8px;
  }

  .copywriting-hero-art .cw-orbit {
    width: 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copywriting-hero-art *,
  .copywriting-hero-art *::before,
  .copywriting-hero-art *::after {
    animation: none !important;
    transition: none !important;
  }

  .copywriting-hero-art .cw-writing-line {
    transform: scaleX(1);
    opacity: 1;
  }

  .copywriting-hero-art .cw-cursor {
    opacity: 1;
  }
}
