/* Purple Cow homepage workflow — image-led, bilingual and cache-busted. */
body.pcow-site .marketing-v2-root .pcow-workflow {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 128px) clamp(16px, 4vw, 40px);
  background:
    radial-gradient(circle at 8% 18%, rgba(147, 51, 234, .09), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(6, 182, 212, .08), transparent 26%),
    #fbfaff;
}

body.pcow-site .marketing-v2-root .pcow-workflow .how-mascot {
  top: 90px;
  opacity: .035;
}

body.pcow-site .marketing-v2-root .pcow-workflow-shell {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

body.pcow-site .marketing-v2-root .pcow-workflow-head {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

body.pcow-site .marketing-v2-root .pcow-workflow-title {
  margin: 18px 0 0;
  font-family: var(--font-forma, var(--font-display-ui));
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}

body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-title {
  font-family: var(--font-arabic-ui);
  letter-spacing: normal;
  line-height: 1.2;
}

body.pcow-site .marketing-v2-root .pcow-workflow-intro {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--pc-public-text-body, #6b7280);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

body.pcow-site .marketing-v2-root .pcow-workflow-list {
  position: relative;
  display: grid;
  gap: clamp(76px, 10vw, 136px);
  margin-top: clamp(64px, 8vw, 100px);
}

body.pcow-site .marketing-v2-root .pcow-workflow-list::before {
  content: "";
  position: absolute;
  inset-block: 4%;
  inset-inline-start: 50%;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(147,51,234,.08), rgba(147,51,234,.62) 20%, rgba(6,182,212,.55) 80%, rgba(6,182,212,.08));
}

body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-list::before {
  transform: translateX(50%);
}

body.pcow-site .marketing-v2-root .pcow-workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) .pcow-workflow-visual {
  order: -1;
}

body.pcow-site .marketing-v2-root .pcow-workflow-step::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset-inline-start: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 4px solid #fbfaff;
  border-radius: 999px;
  background: linear-gradient(135deg, #9333ea, #06b6d4);
  box-shadow: 0 0 0 1px rgba(147, 51, 234, .18), 0 8px 24px rgba(124, 58, 237, .22);
}

body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-step::before {
  transform: translate(50%, -50%);
}

body.pcow-site .marketing-v2-root .pcow-workflow-copy {
  max-width: 430px;
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(odd) .pcow-workflow-copy {
  justify-self: end;
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) .pcow-workflow-copy {
  justify-self: start;
}

body.pcow-site .marketing-v2-root .pcow-workflow-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7e22ce;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-label {
  letter-spacing: normal;
  text-transform: none;
}

body.pcow-site .marketing-v2-root .pcow-workflow-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(147, 51, 234, .2);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 28px rgba(124,58,237,.1);
  color: #9333ea;
  font-size: 12px;
  letter-spacing: normal;
}

body.pcow-site .marketing-v2-root .pcow-workflow-copy h3 {
  margin: 20px 0 12px;
  color: #111827;
  font-family: var(--font-forma, var(--font-display-ui));
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-copy h3 {
  font-family: var(--font-arabic-ui);
  letter-spacing: normal;
  line-height: 1.35;
}

body.pcow-site .marketing-v2-root .pcow-workflow-copy p {
  margin: 0;
  color: var(--pc-public-text-body, #6b7280);
  font-size: 16px;
  line-height: 1.7;
}

body.pcow-site .marketing-v2-root .pcow-workflow-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px -36px rgba(76, 29, 149, .42), 0 8px 24px rgba(15,23,42,.06);
  transition: transform .24s ease, box-shadow .24s ease;
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(odd) .pcow-workflow-visual {
  transform: rotate(.45deg);
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) .pcow-workflow-visual {
  transform: rotate(-.45deg);
}

body.pcow-site .marketing-v2-root .pcow-workflow-visual:hover {
  transform: translateY(-4px) rotate(0);
  box-shadow: 0 34px 84px -36px rgba(76, 29, 149, .48), 0 12px 30px rgba(15,23,42,.08);
}

body.pcow-site .marketing-v2-root .pcow-screen-bar {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #ececf2;
  background: rgba(255,255,255,.94);
}

body.pcow-site .marketing-v2-root .pcow-screen-dots {
  display: inline-flex;
  gap: 6px;
}

body.pcow-site .marketing-v2-root .pcow-screen-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e9d5ff;
}

body.pcow-site .marketing-v2-root .pcow-screen-dots i:nth-child(2) { background: #bae6fd; }
body.pcow-site .marketing-v2-root .pcow-screen-dots i:nth-child(3) { background: #bbf7d0; }

body.pcow-site .marketing-v2-root .pcow-screen-domain {
  margin-inline: auto;
  color: #a1a1aa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
}

body.pcow-site .marketing-v2-root .pcow-screen-body {
  position: relative;
  aspect-ratio: 1160 / 660;
  overflow: hidden;
  background: #f8f8fb;
}

body.pcow-site .marketing-v2-root .pcow-screen-body > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

body.pcow-site .marketing-v2-root .pcow-screen-shield {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  inset-block-end: 0;
  min-height: 48%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 38px 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96) 30%, #fff 55%);
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(2) .pcow-screen-shield {
  min-height: 60%;
  align-items: center;
  padding: 0 20px;
  background: #fff;
}

body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(2) .pcow-screen-body::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 52%;
  width: 22%;
  height: 19%;
  background: #fff;
}

body.pcow-site .marketing-v2-root .pcow-screen-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(147,51,234,.14);
  border-radius: 999px;
  background: #faf5ff;
  color: #6b21a8;
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(124,58,237,.08);
}

body.pcow-site .marketing-v2-root .pcow-screen-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #a855f7;
}

body.pcow-site .marketing-v2-root .pcow-screen-shield--secure {
  min-height: 60%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  text-align: center;
  background: #fff;
}

body.pcow-site .marketing-v2-root .pcow-secure-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #06b6d4);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(124,58,237,.25);
}

body.pcow-site .marketing-v2-root .pcow-screen-shield--secure strong {
  color: #111827;
  font-size: 14px;
}

body.pcow-site .marketing-v2-root .pcow-screen-shield--secure small {
  color: #6b7280;
  font-size: 11px;
}

body.pcow-site .marketing-v2-root .pcow-workflow-footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(54px, 7vw, 82px);
}

body.pcow-site .marketing-v2-root .pcow-workflow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(147,51,234,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #7e22ce;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(124,58,237,.09);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.pcow-site .marketing-v2-root .pcow-workflow-link:hover {
  transform: translateY(-2px);
  border-color: rgba(147,51,234,.34);
  box-shadow: 0 16px 34px rgba(124,58,237,.13);
}

body.pcow-site .marketing-v2-root .pcow-workflow-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  body.pcow-site .marketing-v2-root .pcow-workflow-head { text-align: start; }
  body.pcow-site .marketing-v2-root .pcow-workflow-intro { margin-inline: 0; }
  body.pcow-site .marketing-v2-root .pcow-workflow-list { gap: 68px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-list::before {
    inset-inline-start: 17px;
    transform: none;
  }
  body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-list::before {
    transform: none;
  }
  body.pcow-site .marketing-v2-root .pcow-workflow-step,
  body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-inline-start: 52px;
  }
  body.pcow-site .marketing-v2-root .pcow-workflow-step::before,
  body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-step::before {
    inset-inline-start: 17px;
    top: 18px;
    transform: translate(-50%, -50%);
  }
  body.pcow-site .marketing-v2-root[dir="rtl"] .pcow-workflow-step::before {
    transform: translate(50%, -50%);
  }
  body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) .pcow-workflow-visual { order: initial; }
  body.pcow-site .marketing-v2-root .pcow-workflow-step .pcow-workflow-copy { max-width: 600px; justify-self: stretch; }
  body.pcow-site .marketing-v2-root .pcow-workflow-step .pcow-workflow-visual { transform: none; }
}

@media (max-width: 560px) {
  body.pcow-site .marketing-v2-root .pcow-workflow { padding-inline: 14px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-title { font-size: 34px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-intro { font-size: 15px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-step,
  body.pcow-site .marketing-v2-root .pcow-workflow-step:nth-child(even) { padding-inline-start: 42px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-list::before,
  body.pcow-site .marketing-v2-root .pcow-workflow-step::before { inset-inline-start: 12px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-copy h3 { margin-top: 16px; font-size: 27px; }
  body.pcow-site .marketing-v2-root .pcow-workflow-copy p { font-size: 14px; line-height: 1.65; }
  body.pcow-site .marketing-v2-root .pcow-workflow-visual { border-radius: 16px; }
  body.pcow-site .marketing-v2-root .pcow-screen-bar { min-height: 32px; padding: 0 10px; }
  body.pcow-site .marketing-v2-root .pcow-screen-dots i { width: 5px; height: 5px; }
  body.pcow-site .marketing-v2-root .pcow-screen-domain { font-size: 8px; }
  body.pcow-site .marketing-v2-root .pcow-screen-shield { gap: 5px; padding: 28px 8px 10px; }
  body.pcow-site .marketing-v2-root .pcow-screen-chip { padding: 6px 7px; font-size: 8px; }
  body.pcow-site .marketing-v2-root .pcow-screen-shield--secure strong { font-size: 11px; }
  body.pcow-site .marketing-v2-root .pcow-screen-shield--secure small { font-size: 8px; }
  body.pcow-site .marketing-v2-root .pcow-secure-icon { width: 28px; height: 28px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body.pcow-site .marketing-v2-root .pcow-workflow-visual,
  body.pcow-site .marketing-v2-root .pcow-workflow-link { transition: none; }
  body.pcow-site .marketing-v2-root .pcow-workflow-visual:hover,
  body.pcow-site .marketing-v2-root .pcow-workflow-link:hover { transform: none; }
}
