/* =====================================================
   Resume Builder Workflow — Pixel-Perfect (matches image)
   ===================================================== */

.scv-rbw,
.scv-rbw * {
  box-sizing: border-box;
}

.scv-rbw {
  --rbw-navy: #16344c;
  --rbw-teal: #268599;
  --rbw-coral: #e8885e;
  --rbw-mid: #618480;
  --rbw-ink: #1a3a52;
  --rbw-muted: rgba(22, 52, 76, 0.62);

  position: relative;
  overflow: hidden;
  padding: clamp(86px, 9vw, 132px) 0;
  /* Same background system as the .scv-ai-resume-system section below */
  background:
    radial-gradient(circle at 8% 18%, rgba(38, 133, 153, 0.14), transparent 30%),
    radial-gradient(circle at 94% 72%, rgba(232, 136, 94, 0.18), transparent 32%),
    linear-gradient(180deg, #fbfcfb 0%, #f7f3ed 100%);
  color: var(--rbw-navy);
 
}

/* Decorative background */
.scv-rbw .rbw-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Square grid lines — same as .airs-grid */
.scv-rbw .rbw-grid-dots {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(22, 52, 76, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 52, 76, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}

/* Soft blurred orbs — same placement as .airs-orb */
.scv-rbw .rbw-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.52;
}

.scv-rbw .rbw-glow-left {
  top: 2%;
  left: -180px;
  background: rgba(38, 133, 153, 0.28);
}

.scv-rbw .rbw-glow-right {
  right: -180px;
  bottom: 0;
  background: rgba(232, 136, 94, 0.28);
}

.scv-rbw .rbw-container {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* =================== HEADER =================== */
.scv-rbw .rbw-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 3;
}

.scv-rbw .rbw-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
}

.scv-rbw .rbw-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2fa0b7, #268599);
  display: inline-grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px rgba(38, 133, 153, 0.35);
}

.scv-rbw .rbw-logo-mark svg {
  width: 18px;
  height: 18px;
}

.scv-rbw .rbw-logo strong {
 
  font-weight: 700;
  color: var(--rbw-navy);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.scv-rbw .rbw-headline,
.scv-rbw h2.rbw-headline {
  margin: 0 0 18px !important;
 
  font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
  color: var(--rbw-navy) !important;
  text-align: center !important;
  text-transform: none !important;
  background: none !important;
  -webkit-text-fill-color: var(--rbw-navy) !important;
  position: relative;
}

.scv-rbw .rbw-spark-deco {
  display: inline-block;
  margin-left: 10px;
  color: var(--rbw-coral);
  font-size: 0.5em;
  vertical-align: top;
  animation: rbw-twinkle 2.4s ease-in-out infinite;
}

@keyframes rbw-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.4; transform: scale(0.85) rotate(15deg); }
}

.scv-rbw .rbw-subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(22, 52, 76, 0.65);
  line-height: 1.6;
  text-align: center;
}

.scv-rbw .rbw-brand {
  color: var(--rbw-teal);
  font-weight: 600;
}

/* =================== STAGE =================== */
.scv-rbw .rbw-stage {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  column-gap: 40px;
  align-items: start;
  justify-items: center;
  min-height: 760px;
}

/* Curved Arrows — sit ON TOP of the resume so the flow is always visible */
.scv-rbw .rbw-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 7;
  overflow: visible;
}

.scv-rbw .rbw-line-teal { stroke: #268599; }
.scv-rbw .rbw-line-coral { stroke: #e8885e; }

/* =================== STEPS =================== */
.scv-rbw .rbw-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  z-index: 4;
  width: 100%;
}

.scv-rbw .rbw-col-left {
  padding-top: 10px;
  align-self: start;
  justify-self: end;
  max-width: 240px;
}

.scv-rbw .rbw-col-right {
  padding-top: 10px;
  align-self: start;
  justify-self: start;
  max-width: 240px;
}

.scv-rbw .rbw-col-center {
  width: 100%;
  justify-self: stretch;
}

.scv-rbw .rbw-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
  animation: rbw-float 6s ease-in-out infinite;
  animation-delay: var(--delay, 0ms);
}

.scv-rbw .rbw-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rbw-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.scv-rbw .rbw-step-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
}

.scv-rbw .rbw-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
 
}

.scv-rbw .rbw-num-teal {
  background: var(--rbw-teal);
  box-shadow: 0 6px 14px rgba(38, 133, 153, 0.35);
}

.scv-rbw .rbw-num-coral {
  background: var(--rbw-coral);
  box-shadow: 0 6px 14px rgba(232, 136, 94, 0.35);
}

.scv-rbw .rbw-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 6px 14px rgba(22, 52, 76, 0.08);
}

.scv-rbw .rbw-step-icon svg {
  width: 20px;
  height: 20px;
}

.scv-rbw .rbw-icon-teal { color: var(--rbw-teal); }
.scv-rbw .rbw-icon-coral { color: var(--rbw-coral); }

.scv-rbw .rbw-step-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.18;
  color: var(--rbw-navy);
}

/* =================== MINI CARDS =================== */
.scv-rbw .rbw-mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(22, 52, 76, 0.08);
  border: 1px solid rgba(22, 52, 76, 0.05);
}

.scv-rbw .rbw-mini-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(22, 52, 76, 0.55);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.scv-rbw .rbw-spark {
  color: var(--rbw-teal);
  font-style: normal;
  animation: rbw-twinkle 2s ease-in-out infinite;
}

/* Step 1: Role Input */
.scv-rbw .rbw-mini-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border: 1.5px solid rgba(38, 133, 153, 0.4);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rbw-navy);
  margin-bottom: 10px;
}

.scv-rbw .rbw-mini-field svg {
  width: 13px;
  height: 13px;
}

.scv-rbw .rbw-mini-progress {
  height: 4px;
  background: rgba(22, 52, 76, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.scv-rbw .rbw-mini-progress i {
  display: block;
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, #268599, #4ab1c4);
  border-radius: inherit;
  animation: rbw-pulse 2.4s ease-in-out infinite;
}

@keyframes rbw-pulse {
  0%, 100% { width: 75%; }
  50% { width: 92%; }
}

/* Step 2: Market Scout */
.scv-rbw .rbw-scan-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ec27e;
  box-shadow: 0 0 0 3px rgba(46, 194, 126, 0.2);
  animation: rbw-scan-pulse 1.6s ease-in-out infinite;
}

@keyframes rbw-scan-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46, 194, 126, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(46, 194, 126, 0); }
}

.scv-rbw .rbw-scout-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(38, 133, 153, 0.18);
  background: rgba(38, 133, 153, 0.04);
  border-radius: 7px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--rbw-navy);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.scv-rbw .rbw-scout-url::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(38, 133, 153, 0.18), transparent);
  animation: rbw-scout-scan 2.4s linear infinite;
}

@keyframes rbw-scout-scan {
  to { left: 130%; }
}

.scv-rbw .rbw-scout-globe {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M2 12h20'/><path d='M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20z'/></svg>") no-repeat center / contain;
  flex-shrink: 0;
}

.scv-rbw .rbw-scout-status {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(22, 52, 76, 0.55);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.scv-rbw .rbw-scout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.scv-rbw .rbw-scout-pill {
  padding: 3px 8px;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  animation: rbw-pill-in 0.4s ease-out forwards;
}

.scv-rbw .rbw-scout-pill:nth-child(1) { animation-delay: 0.6s; }
.scv-rbw .rbw-scout-pill:nth-child(2) { animation-delay: 0.9s; }
.scv-rbw .rbw-scout-pill:nth-child(3) { animation-delay: 1.2s; }
.scv-rbw .rbw-scout-pill:nth-child(4) { animation-delay: 1.5s; }

@keyframes rbw-pill-in {
  to { opacity: 1; transform: translateY(0); }
}

.scv-rbw .rbw-pill-teal {
  background: rgba(38, 133, 153, 0.12);
  color: var(--rbw-teal);
}

.scv-rbw .rbw-pill-coral {
  background: rgba(232, 136, 94, 0.14);
  color: var(--rbw-coral);
}

.scv-rbw .rbw-pill-soft {
  background: rgba(22, 52, 76, 0.06);
  color: rgba(22, 52, 76, 0.7);
}

/* Step 3: AI Writing (elaborate generation UI) */
.scv-rbw .rbw-card-writing { padding: 12px 14px; }

.scv-rbw .rbw-write-block {
  background: rgba(38, 133, 153, 0.05);
  border: 1px solid rgba(38, 133, 153, 0.12);
  border-radius: 7px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.scv-rbw .rbw-write-block-soft {
  background: rgba(22, 52, 76, 0.025);
  border-color: rgba(22, 52, 76, 0.08);
}

.scv-rbw .rbw-write-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--rbw-navy);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.scv-rbw .rbw-write-title .rbw-dot {
  width: 5px;
  height: 5px;
}

.scv-rbw .rbw-dot-teal { background: var(--rbw-teal); }

.scv-rbw .rbw-write-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scv-rbw .rbw-write-lines i {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #268599 0%, rgba(38, 133, 153, 0.2) 100%);
  border-radius: 999px;
  animation: rbw-line-pulse 2.4s ease-in-out infinite;
  transform-origin: left;
}

.scv-rbw .rbw-write-lines i:nth-child(1) { animation-delay: 0s; }
.scv-rbw .rbw-write-lines i:nth-child(2) { animation-delay: 0.2s; }
.scv-rbw .rbw-write-lines i:nth-child(3) { animation-delay: 0.4s; }
.scv-rbw .rbw-write-lines i:nth-child(4) { animation-delay: 0.6s; }

@keyframes rbw-line-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* Last line still being typed — has a blinking caret at the end */
.scv-rbw .rbw-write-lines i.rbw-typing {
  position: relative;
  animation: rbw-typewriter 2.6s ease-in-out infinite;
}

.scv-rbw .rbw-write-lines i.rbw-typing::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 1.5px;
  height: 10px;
  background: var(--rbw-teal);
  animation: rbw-caret-blink 0.8s steps(2) infinite;
}

@keyframes rbw-typewriter {
  0%   { width: 20% !important; opacity: 1; }
  60%  { width: 62% !important; opacity: 1; }
  100% { width: 62% !important; opacity: 0.6; }
}

@keyframes rbw-caret-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Skills chips with new arrival pop */
.scv-rbw .rbw-write-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.scv-rbw .rbw-write-chips span {
  padding: 2px 6px;
  font-size: 0.5rem;
  font-weight: 700;
  background: rgba(38, 133, 153, 0.1);
  color: var(--rbw-teal);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(3px);
  animation: rbw-chip-arrive 0.5s ease-out forwards;
}

.scv-rbw .rbw-write-chips span:nth-child(1) { animation-delay: 0.3s; }
.scv-rbw .rbw-write-chips span:nth-child(2) { animation-delay: 0.7s; }
.scv-rbw .rbw-write-chips span:nth-child(3) { animation-delay: 1.1s; }
.scv-rbw .rbw-write-chips span:nth-child(4) { animation-delay: 1.5s; }

@keyframes rbw-chip-arrive {
  to { opacity: 1; transform: translateY(0); }
}

.scv-rbw .rbw-chip-new {
  background: rgba(232, 136, 94, 0.16) !important;
  color: var(--rbw-coral) !important;
}

/* Footer status row */
.scv-rbw .rbw-write-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(22, 52, 76, 0.1);
  font-size: 0.55rem;
}

.scv-rbw .rbw-write-foot span {
  flex: 1;
  color: rgba(22, 52, 76, 0.6);
  font-weight: 600;
}

.scv-rbw .rbw-write-foot strong {
  color: var(--rbw-teal);
  font-weight: 800;
  font-size: 0.55rem;
}

/* Step 4: ATS */
.scv-rbw .rbw-ats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.scv-rbw .rbw-ats-circle {
  width: 50px;
  height: 50px;
  position: relative;
  display: grid;
  place-items: center;
}

.scv-rbw .rbw-ats-circle svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  fill: none;
  transform: rotate(-90deg);
}

.scv-rbw .rbw-ats-circle svg .bg {
  stroke: rgba(38, 133, 153, 0.15);
  stroke-width: 3.2;
  fill: none;
}

.scv-rbw .rbw-ats-circle svg .fg {
  stroke: var(--rbw-teal);
  stroke-width: 3.2;
  fill: none;
  stroke-linecap: round;
  animation: rbw-ats-fill 2s ease-out forwards;
}

@keyframes rbw-ats-fill {
  from { stroke-dasharray: 0 100; }
  to { stroke-dasharray: 95 100; }
}

.scv-rbw .rbw-ats-circle span {
  position: relative;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rbw-teal);
}

.scv-rbw .rbw-ats-text {
  font-style: normal;
  color: var(--rbw-teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.scv-rbw .rbw-ats-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scv-rbw .rbw-ats-checks li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.68rem;
  color: rgba(22, 52, 76, 0.7);
  border-bottom: 1px dashed rgba(22, 52, 76, 0.06);
}

.scv-rbw .rbw-ats-checks li:last-child { border-bottom: none; }

.scv-rbw .rbw-ats-checks i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ec27e url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') no-repeat center / 9px 9px;
}

/* Step 5: Design */
.scv-rbw .rbw-skeleton {
  border: 1px solid rgba(22, 52, 76, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: #fafbfc;
  margin-bottom: 12px;
}

.scv-rbw .rbw-sk-head {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.scv-rbw .rbw-sk-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cdd9dc, #e6eef0);
  flex-shrink: 0;
}

.scv-rbw .rbw-sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scv-rbw .rbw-sk-lines i {
  display: block;
  height: 4px;
  border-radius: 999px;
}

.scv-rbw .rbw-sk-lines i:nth-child(1) { width: 60%; background: var(--rbw-navy); }
.scv-rbw .rbw-sk-lines i:nth-child(2) { width: 40%; background: rgba(22, 52, 76, 0.2); }

.scv-rbw .rbw-sk-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scv-rbw .rbw-sk-body i {
  display: block;
  height: 3px;
  background: rgba(22, 52, 76, 0.12);
  border-radius: 999px;
}

.scv-rbw .rbw-colors {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.scv-rbw .rbw-colors span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Step 6: Export */
.scv-rbw .rbw-export-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(22, 52, 76, 0.08);
  border-radius: 7px;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rbw-navy);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}

.scv-rbw .rbw-export-btn:hover {
  border-color: var(--rbw-coral);
  transform: translateX(-2px);
}

.scv-rbw .rbw-export-btn:last-child { margin-bottom: 0; }

.scv-rbw .rbw-doc-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.scv-rbw .rbw-pdf { background: #e8885e; }
.scv-rbw .rbw-word { background: #2b579a; }
.scv-rbw .rbw-gdoc { background: #4285f4; }

/* =================== CENTER RESUME (PRO) =================== */
.scv-rbw .rbw-col-center {
  --mx: 0;
  --my: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding-top: 8px;
  padding-bottom: 50px;
  perspective: 1800px;
}

/* The floating wrapper carries the whole card + pill together so they move as one unit */
.scv-rbw .rbw-resume-float {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.32, 0.72, 0, 1),
              transform 1.1s cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: 250ms;
  transform-style: preserve-3d;
  will-change: transform;
}

.scv-rbw .rbw-resume-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: rbw-float-idle 7s ease-in-out 1.4s infinite;
}

/* Subtle "breathing" idle animation on the whole stack */
@keyframes rbw-float-idle {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1); }
}

/* Drop shadow behind the resume — same style as ai-resume-system */
.scv-rbw .rbw-resume-shadow {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: min(440px, 86%);
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(22, 52, 76, 0.28), transparent 72%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* The resume card — clean, slight tilt, smooth interactive 3D */
.scv-rbw .rbw-resume-pro {
  background: #fdfdfb;
  border-radius: 10px;
  padding: 18px 18px 0;
  position: relative;
 
  color: #1a3a52;
  box-shadow:
    0 42px 90px rgba(22, 52, 76, 0.18),
    0 18px 36px rgba(22, 52, 76, 0.08),
    0 0 0 1px rgba(22, 52, 76, 0.06);
  /* Mouse-driven 3D tilt (very subtle so the bottom never collides with the pill or surrounding cards) */
  transform:
    rotateX(calc(var(--my) * -4deg))
    rotateY(calc(var(--mx) * 6deg))
    rotateZ(1.2deg);
  transform-origin: center;
  transition:
    transform 700ms cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 500ms ease;
  will-change: transform;
}

/* On hover: lift slightly, deepen the shadow, straighten a touch */
.scv-rbw .rbw-stage:hover .rbw-resume-pro {
  box-shadow:
    0 56px 120px rgba(22, 52, 76, 0.24),
    0 22px 44px rgba(22, 52, 76, 0.12),
    0 0 0 1px rgba(38, 133, 153, 0.18);
}

.scv-rbw .rbw-resume-float:hover .rbw-resume-shadow {
  transform: translateX(-50%) scale(1.08);
  opacity: 0.85;
}

/* Top sheen gradient overlay — adds the elegant printed-paper highlight */
.scv-rbw .rbw-resume-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.4) 0%, transparent 25%),
    linear-gradient(90deg, rgba(38, 133, 153, 0.05), transparent 22%);
}

/* HEADER */
.scv-rbw .rbw-res-header {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(22, 52, 76, 0.08);
  margin-bottom: 12px;
}

.scv-rbw .rbw-res-header--noats {
  grid-template-columns: 56px 1fr;
}

.scv-rbw .rbw-res-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(22, 52, 76, 0.15);
}

.scv-rbw .rbw-res-identity h3 {
  margin: 0 0 2px;
 
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rbw-navy);
  letter-spacing: 0.01em;
  line-height: 1;
}

.scv-rbw .rbw-res-role {
  display: block;
  color: var(--rbw-teal);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.scv-rbw .rbw-res-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 0.46rem;
  color: rgba(22, 52, 76, 0.6);
  line-height: 1.2;
}

.scv-rbw .rbw-res-contact span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.scv-rbw .rbw-ci {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;
}

.scv-rbw .rbw-ci-mail { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='2'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>"); }
.scv-rbw .rbw-ci-phone { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='2'><path d='M22 16.92v3a2 2 0 0 1-2.18 2A19.79 19.79 0 0 1 2.07 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.72 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.35 1.85.59 2.81.72A2 2 0 0 1 22 16.92Z'/></svg>"); }
.scv-rbw .rbw-ci-pin { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='2'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.scv-rbw .rbw-ci-link { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='2'><path d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/><path d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/></svg>"); }
.scv-rbw .rbw-ci-check { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268599' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>"); width: 9px; height: 9px; }

/* ATS BADGE */
.scv-rbw .rbw-res-ats {
  text-align: center;
  padding: 4px;
}

.scv-rbw .rbw-ats-label {
  display: block;
  font-size: 0.4rem;
  font-weight: 800;
  color: rgba(22, 52, 76, 0.55);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.scv-rbw .rbw-ats-ring {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--rbw-teal);
  border-right-color: rgba(38, 133, 153, 0.15);
  display: grid;
  place-items: center;
  transform: rotate(35deg);
}

.scv-rbw .rbw-ats-ring strong {
 
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rbw-teal);
  transform: rotate(-35deg);
}

.scv-rbw .rbw-res-ats em {
  display: block;
  font-style: normal;
  font-size: 0.4rem;
  font-weight: 800;
  color: var(--rbw-teal);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* SECTIONS */
.scv-rbw .rbw-res-section {
  margin-bottom: 12px;
}

.scv-rbw .rbw-res-section h4,
.scv-rbw .rbw-res-bottom h5,
.scv-rbw .rbw-side-block h5 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 6px;
  font-size: 0.56rem;
  font-weight: 800;
  color: var(--rbw-navy);
  letter-spacing: 0.07em;
}

.scv-rbw .rbw-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rbw-teal);
}

.scv-rbw .rbw-dot-coral { background: var(--rbw-coral); }

.scv-rbw .rbw-res-section p {
  margin: 0 0 6px;
  font-size: 0.52rem;
  line-height: 1.55;
  color: rgba(22, 52, 76, 0.72);
}

/* TAG ROWS */
.scv-rbw .rbw-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}

.scv-rbw .rbw-tag-row span {
  padding: 2px 6px;
  font-size: 0.46rem;
  font-weight: 600;
  background: rgba(38, 133, 153, 0.1);
  color: var(--rbw-teal);
  border-radius: 3px;
}

/* TWO-COLUMN BODY */
.scv-rbw .rbw-res-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}

/* EXPERIENCE */
.scv-rbw .rbw-job {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(22, 52, 76, 0.08);
}

.scv-rbw .rbw-job:last-child {
  border-bottom: none;
}

.scv-rbw .rbw-job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.scv-rbw .rbw-job-head strong {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--rbw-navy);
  line-height: 1.2;
}

.scv-rbw .rbw-job-head em {
  display: block;
  font-style: normal;
  font-size: 0.5rem;
  color: var(--rbw-teal);
  font-weight: 600;
  margin-top: 1px;
}

.scv-rbw .rbw-job-meta {
  text-align: right;
  flex-shrink: 0;
}

.scv-rbw .rbw-job-meta span {
  display: block;
  font-size: 0.46rem;
  color: rgba(22, 52, 76, 0.7);
  font-weight: 600;
}

.scv-rbw .rbw-job-meta small {
  display: block;
  font-size: 0.42rem;
  color: rgba(22, 52, 76, 0.5);
  margin-top: 1px;
}

.scv-rbw .rbw-job-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.scv-rbw .rbw-job-bullets li {
  position: relative;
  padding-left: 8px;
  margin-bottom: 3px;
  font-size: 0.48rem;
  line-height: 1.45;
  color: rgba(22, 52, 76, 0.72);
}

.scv-rbw .rbw-job-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rbw-teal);
}

.scv-rbw .rbw-job-bullets b {
  color: var(--rbw-coral);
  font-weight: 700;
}

/* SIDEBAR */
.scv-rbw .rbw-res-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scv-rbw .rbw-side-block {
  background: rgba(38, 133, 153, 0.04);
  border: 1px solid rgba(38, 133, 153, 0.1);
  border-radius: 6px;
  padding: 8px 10px;
}

.scv-rbw .rbw-side-block h5 {
  font-size: 0.46rem;
  margin-bottom: 5px;
}

/* MARKET ALIGNMENT RING */
.scv-rbw .rbw-market-ring {
  width: 60px;
  height: 60px;
  margin: 4px auto;
  position: relative;
  display: grid;
  place-items: center;
}

.scv-rbw .rbw-market-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  transform: rotate(-90deg);
}

.scv-rbw .rbw-market-ring svg .bg {
  stroke: rgba(38, 133, 153, 0.15);
  stroke-width: 3;
}

.scv-rbw .rbw-market-ring svg .fg {
  stroke: var(--rbw-teal);
  stroke-width: 3;
  stroke-dasharray: 95, 100;
  animation: rbw-ring-fill 2.5s ease-out forwards;
}

@keyframes rbw-ring-fill {
  from { stroke-dasharray: 0, 100; }
  to { stroke-dasharray: 95, 100; }
}

.scv-rbw .rbw-market-ring span {
  position: relative;
 
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rbw-teal);
}

.scv-rbw .rbw-side-block > em {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 0.42rem;
  font-weight: 800;
  color: var(--rbw-teal);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* KEYWORDS COL */
.scv-rbw .rbw-tag-col {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.scv-rbw .rbw-tag-col span {
  padding: 2px 5px;
  font-size: 0.42rem;
  font-weight: 600;
  background: rgba(38, 133, 153, 0.12);
  color: var(--rbw-teal);
  border-radius: 3px;
}

.scv-rbw .rbw-found {
  margin-top: 5px;
  font-size: 0.38rem;
  font-weight: 700;
  color: #2ec27e;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.05em;
}

.scv-rbw .rbw-found i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ec27e;
}

/* LANGUAGES */
.scv-rbw .rbw-lang {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scv-rbw .rbw-lang li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 0.46rem;
  border-bottom: 1px dashed rgba(22, 52, 76, 0.08);
}

.scv-rbw .rbw-lang li:last-child { border-bottom: none; }

.scv-rbw .rbw-lang b {
  color: var(--rbw-navy);
  font-weight: 700;
}

.scv-rbw .rbw-lang em {
  font-style: normal;
  color: var(--rbw-teal);
  font-weight: 600;
  font-size: 0.42rem;
}

/* PROUD OF */
.scv-rbw .rbw-proud-block {
  background: transparent;
  border: none;
  padding: 0;
}

.scv-rbw .rbw-proud-block h5 {
  font-size: 0.46rem;
  color: rgba(22, 52, 76, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.scv-rbw .rbw-proud-card {
  background: rgba(38, 133, 153, 0.05);
  border: 1px solid rgba(38, 133, 153, 0.12);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scv-rbw .rbw-proud-card:last-child { margin-bottom: 0; }

.scv-rbw .rbw-proud-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(38, 133, 153, 0.12);
}

.scv-rbw .rbw-proud-card strong {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--rbw-navy);
  margin-bottom: 3px;
  line-height: 1.2;
}

.scv-rbw .rbw-proud-card p {
  margin: 0;
  font-size: 0.42rem;
  line-height: 1.45;
  color: rgba(22, 52, 76, 0.7);
}

/* BOTTOM ROW */
.scv-rbw .rbw-res-bottom {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(22, 52, 76, 0.08);
}

.scv-rbw .rbw-bot-col h5 {
  margin-bottom: 4px;
}

.scv-rbw .rbw-bot-col strong {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--rbw-navy);
  line-height: 1.2;
}

.scv-rbw .rbw-bot-col small {
  display: block;
  font-size: 0.44rem;
  color: rgba(22, 52, 76, 0.55);
  margin-top: 1px;
}

.scv-rbw .rbw-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.scv-rbw .rbw-tools span {
  padding: 2px 5px;
  font-size: 0.42rem;
  font-weight: 600;
  background: rgba(38, 133, 153, 0.1);
  color: var(--rbw-teal);
  border-radius: 3px;
}

/* DESIGN SYSTEM */
.scv-rbw .rbw-design-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scv-rbw .rbw-swatches {
  display: flex;
  gap: 3px;
}

.scv-rbw .rbw-swatches i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.scv-rbw .rbw-typeset {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scv-rbw .rbw-typeset strong {
 
  font-size: 1rem;
  font-weight: 700;
  color: var(--rbw-navy);
  line-height: 1;
}

.scv-rbw .rbw-typeset span {
  font-size: 0.38rem;
  color: rgba(22, 52, 76, 0.6);
  font-weight: 600;
  line-height: 1.1;
}

/* FOOTER STRIP */
.scv-rbw .rbw-res-footer {
  margin: 12px -18px 0;
  padding: 8px 18px;
  background: linear-gradient(90deg, rgba(38, 133, 153, 0.08), rgba(232, 136, 94, 0.08));
  border-top: 1px solid rgba(22, 52, 76, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 6px 6px;
}

.scv-rbw .rbw-res-footer span {
  font-size: 0.44rem;
  font-weight: 600;
  color: var(--rbw-navy);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.scv-rbw .rbw-res-footer small {
  font-size: 0.4rem;
  font-weight: 700;
  color: var(--rbw-teal);
  letter-spacing: 0.02em;
}

/* =================== SEQUENCED WORKFLOW ANIMATION =================== */

/* Step "active" state — when JS highlights this step in the workflow sequence */
.scv-rbw .rbw-step {
  transition:
    transform 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    filter 0.6s ease;
}

.scv-rbw .rbw-step.is-active {
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 18px 32px rgba(22, 52, 76, 0.18));
  z-index: 8;
}

.scv-rbw .rbw-step.is-active .rbw-mini-card {
  box-shadow: 0 22px 44px rgba(22, 52, 76, 0.14), 0 0 0 1px rgba(38, 133, 153, 0.18);
}

/* Active step number — glowing pulse */
.scv-rbw .rbw-step.is-active .rbw-step-num {
  animation: rbw-num-pulse 1.4s ease-in-out infinite;
}

.scv-rbw .rbw-step.is-active .rbw-num-teal {
  box-shadow: 0 0 0 6px rgba(38, 133, 153, 0.18), 0 6px 14px rgba(38, 133, 153, 0.4);
}

.scv-rbw .rbw-step.is-active .rbw-num-coral {
  box-shadow: 0 0 0 6px rgba(232, 136, 94, 0.18), 0 6px 14px rgba(232, 136, 94, 0.4);
}

@keyframes rbw-num-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* Active step icon — colored tint */
.scv-rbw .rbw-step.is-active .rbw-step-icon {
  background: linear-gradient(135deg, #fff, #f0f7f8);
  transform: rotate(-6deg) scale(1.05);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), background 0.5s ease;
}

.scv-rbw .rbw-step:not(.is-active) .rbw-step-icon {
  transition: transform 0.5s ease, background 0.5s ease;
}

/* Active step title gets emphasis */
.scv-rbw .rbw-step.is-active .rbw-step-title {
  color: var(--rbw-teal);
}

.scv-rbw .rbw-step.is-active .rbw-side-right .rbw-step-title,
.scv-rbw .rbw-col-right .rbw-step.is-active .rbw-step-title {
  color: var(--rbw-coral);
}

/* Arrows — base + flowing state */
.scv-rbw .rbw-line {
  stroke-width: 2;
  opacity: 0.25;
  stroke-dasharray: 6 6;
  fill: none;
  transition: opacity 0.5s ease, stroke-width 0.5s ease;
  animation: none; /* override the old global flow */
}

.scv-rbw .rbw-line.is-flowing {
  opacity: 1;
  stroke-width: 2.6;
  filter: drop-shadow(0 0 4px currentColor);
  animation: rbw-arrow-flow 0.9s linear infinite;
}

.scv-rbw .rbw-line-teal.is-flowing { color: #268599; }
.scv-rbw .rbw-line-coral.is-flowing { color: #e8885e; }

@keyframes rbw-arrow-flow {
  to { stroke-dashoffset: -24; }
}

/* Reverse arrow flows the other direction */
.scv-rbw .rbw-line-reverse.is-flowing {
  animation-direction: reverse;
}

/* Resume building state */
.scv-rbw .rbw-resume-pro.is-building {
  box-shadow:
    0 56px 120px rgba(22, 52, 76, 0.22),
    0 22px 44px rgba(22, 52, 76, 0.12),
    0 0 0 2px rgba(38, 133, 153, 0.25);
}

/* Resume section "writing" pulse */
.scv-rbw [data-res-section] {
  transition: background 0.6s ease;
  border-radius: 6px;
  padding: 4px 6px;
  margin-left: -6px;
  margin-right: -6px;
}

.scv-rbw [data-res-section].is-writing {
  background: linear-gradient(90deg, rgba(38, 133, 153, 0.08), rgba(38, 133, 153, 0.02));
  animation: rbw-section-glow 1.4s ease-out;
}

@keyframes rbw-section-glow {
  0%   { background: rgba(38, 133, 153, 0); }
  30%  { background: rgba(38, 133, 153, 0.16); }
  100% { background: rgba(38, 133, 153, 0); }
}

/* Step 5 — Color swatch focus cycle */
.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw {
  animation: rbw-sw-focus 2.2s ease-in-out;
}

.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw:nth-child(1) { animation-delay: 0s; }
.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw:nth-child(2) { animation-delay: 0.35s; }
.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw:nth-child(3) { animation-delay: 0.7s; }
.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw:nth-child(4) { animation-delay: 1.05s; }
.scv-rbw .rbw-step[data-step="5"].is-active .rbw-sw:nth-child(5) { animation-delay: 1.4s; }

@keyframes rbw-sw-focus {
  0%, 100% { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
  20%      { transform: scale(1.5) translateY(-3px); box-shadow: 0 8px 18px rgba(22, 52, 76, 0.25), 0 0 0 2px #fff; }
  40%      { transform: scale(1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
}

/* Step 6 — Export buttons cascade highlight */
.scv-rbw .rbw-step[data-step="6"].is-active .rbw-export-btn {
  animation: rbw-export-flash 0.9s ease-out;
}

.scv-rbw .rbw-step[data-step="6"].is-active .rbw-export-btn:nth-child(2) { animation-delay: 0.25s; }
.scv-rbw .rbw-step[data-step="6"].is-active .rbw-export-btn:nth-child(3) { animation-delay: 0.5s; }
.scv-rbw .rbw-step[data-step="6"].is-active .rbw-export-btn:nth-child(4) { animation-delay: 0.75s; }

@keyframes rbw-export-flash {
  0%, 100% { transform: translateX(0); border-color: rgba(22, 52, 76, 0.08); background: #fff; }
  40%      { transform: translateX(-4px); border-color: var(--rbw-coral); background: rgba(232, 136, 94, 0.06); }
}

/* =================== FOOTER =================== */
.scv-rbw .rbw-footer {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tight variant — CTA sits much closer to the resume */
.scv-rbw .rbw-footer--tight {
  margin-top: 24px;
}

.scv-rbw .rbw-footer--tight .rbw-metrics {
  margin-top: 48px;
}

.scv-rbw .rbw-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c95ab 0%, #268599 100%);
  color: #fff !important;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(38, 133, 153, 0.35), 0 4px 8px rgba(38, 133, 153, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease;
}

.scv-rbw .rbw-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scv-rbw .rbw-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(38, 133, 153, 0.4);
}

.scv-rbw .rbw-cta svg {
  width: 20px;
  height: 20px;
}

[dir="rtl"] .scv-rbw .rbw-cta svg { transform: rotate(180deg); }

.scv-rbw .rbw-trust {
  list-style: none;
  padding: 0;
  margin: 22px 0 50px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.scv-rbw .rbw-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(22, 52, 76, 0.7);
}

.scv-rbw .rbw-trust svg {
  width: 16px;
  height: 16px;
  color: var(--rbw-teal);
}

/* =================== METRICS BAR =================== */
.scv-rbw .rbw-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-radius: 18px;
  background: #fefefe;
  box-shadow:
    0 18px 36px rgba(22, 52, 76, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 0 1px rgba(22, 52, 76, 0.08);
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scv-rbw .rbw-metrics.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scv-rbw .rbw-metrics::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -30px;
  height: 58px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 16% 52%, rgba(38, 133, 153, 0.42), transparent 56%),
    radial-gradient(ellipse at 84% 52%, rgba(232, 136, 94, 0.42), transparent 56%);
  filter: blur(16px);
  opacity: 0.96;
  pointer-events: none;
  z-index: -1;
}

.scv-rbw .rbw-metric {
  min-height: 108px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: transparent;
}

.scv-rbw .rbw-metric + .rbw-metric {
  border-left: 1px solid rgba(22, 52, 76, 0.12);
}

[dir="rtl"] .scv-rbw .rbw-metric + .rbw-metric {
  border-left: none;
  border-right: 1px solid rgba(22, 52, 76, 0.12);
}

.scv-rbw .rbw-metric-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.scv-rbw .rbw-metric-icon svg {
  width: 64px;
  height: 64px;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(22, 52, 76, 0.18));
}

.scv-rbw .rbw-i-ring { stroke: var(--rbw-teal); stroke-width: 5; fill: rgba(38, 133, 153, 0.12); }
.scv-rbw .rbw-i-ring-soft { stroke: rgba(38, 133, 153, 0.48); stroke-width: 3.5; fill: #fff; }
.scv-rbw .rbw-i-dot, .scv-rbw .rbw-i-fill { fill: var(--rbw-teal); }
.scv-rbw .rbw-i-stroke { stroke: var(--rbw-teal); stroke-width: 3.8; stroke-linecap: round; stroke-linejoin: round; }
.scv-rbw .rbw-i-shield { fill: #1a8ca0; stroke: #0f6f81; stroke-width: 2; }
.scv-rbw .rbw-i-shield-coral { fill: #ef9a72; stroke: #d97a56; stroke-width: 2; }
.scv-rbw .rbw-i-shield-light { fill: rgba(255, 255, 255, 0.14); }
.scv-rbw .rbw-i-check { stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.scv-rbw .rbw-i-lens { stroke: var(--rbw-navy); stroke-width: 3.6; fill: rgba(255, 255, 255, 0.66); }
.scv-rbw .rbw-i-handle { stroke: var(--rbw-navy); stroke-width: 4.4; stroke-linecap: round; }
.scv-rbw .rbw-i-arc { stroke: var(--rbw-teal); stroke-width: 5.5; stroke-linecap: round; }
.scv-rbw .rbw-i-ats { fill: var(--rbw-teal);  font-size: 13px; font-weight: 900; letter-spacing: -0.04em; }

.scv-rbw .rbw-metric-copy { min-width: 0; }

.scv-rbw .rbw-metric-copy span {
  display: block;
  color: rgba(22, 52, 76, 0.56);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scv-rbw .rbw-metric-copy strong {
  display: block;
  margin-top: 1px;
  color: var(--rbw-teal);

  font-size: clamp(2.1rem, 3vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.scv-rbw .rbw-metric-copy em {
  display: block;
  margin-top: 4px;
  color: rgba(22, 52, 76, 0.62);
  font-size: 0.69rem;
  font-style: normal;
  line-height: 1.1;
}

.scv-rbw .rbw-metric--truth .rbw-metric-copy strong {
  color: var(--rbw-coral);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1140px) {
  .scv-rbw .rbw-stage {
    grid-template-columns: 230px 1fr 230px;
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .scv-rbw .rbw-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    min-height: auto;
  }

  .scv-rbw .rbw-arrows { display: none; }

  .scv-rbw .rbw-col-center { order: -1; }

  .scv-rbw .rbw-col {
    width: 100%;
    max-width: 340px;
    gap: 30px;
  }

  .scv-rbw .rbw-resume-float {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .scv-rbw .rbw-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .scv-rbw .rbw-metric:nth-child(2) {
    border-left: 1px solid rgba(22, 52, 76, 0.12);
  }

  .scv-rbw .rbw-metric:nth-child(3),
  .scv-rbw .rbw-metric:nth-child(4) {
    border-top: 1px solid rgba(22, 52, 76, 0.12);
  }

  .scv-rbw .rbw-metric:nth-child(3) {
    border-left: none;
  }

  .scv-rbw .rbw-trust {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .scv-rbw .rbw-metrics {
    grid-template-columns: 1fr;
  }

  .scv-rbw .rbw-metric + .rbw-metric {
    border-left: none !important;
    border-top: 1px solid rgba(22, 52, 76, 0.12);
  }

  .scv-rbw .rbw-headline,
  .scv-rbw h2.rbw-headline {
    font-size: 2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scv-rbw .rbw-line,
  .scv-rbw .rbw-step,
  .scv-rbw .rbw-resume-float,
  .scv-rbw .rbw-writing-lines i,
  .scv-rbw .rbw-mini-progress i,
  .scv-rbw .rbw-pp-bar i,
  .scv-rbw .rbw-spark,
  .scv-rbw .rbw-spark-deco {
    animation: none !important;
    transition: none !important;
  }
}
