/* INFLUENCER.MK — Workflow Showcase V2 (flat, no shadows) */
.wf1 {
  --wf-ink: #0a0a0a;
  --wf-body: #4a4f57;
  --wf-muted: #8b909a;
  --wf-accent: #e20246;
  --wf-accent-soft: rgba(226, 2, 70, 0.08);
  --wf-border: #ebecee;
  --wf-surface: #f7f8fa;
  --wf-card: #ffffff;
  --wf-radius: 16px;
  --wf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--wf-ink);
  overflow-x: clip;
}

.wf1__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.wf1__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.wf1__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-accent);
}

.wf1__title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.wf1__title-line { display: block; }
.wf1__title-line--accent { color: var(--wf-accent); }

.wf1__subtitle {
  margin: 0 auto;
  max-width: 40em;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.65;
  color: #292e33;
}

.wf1__shell { display: grid; gap: 28px; }

.wf1__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  margin: 0 auto;
  max-width: 100%;
  border: 1px solid var(--wf-border);
  border-radius: 14px;
  background: var(--wf-surface);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.wf1__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 0 auto;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--wf-body);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.25s var(--wf-ease), color 0.25s var(--wf-ease), border-color 0.25s var(--wf-ease);
}

.wf1__tab:hover {
  color: var(--wf-ink);
  background: #fff;
  border-color: var(--wf-border);
}

.wf1__tab:focus-visible {
  outline: 2px solid var(--wf-accent);
  outline-offset: 2px;
}

.wf1__tab.is-active {
  color: #fff;
  background: var(--wf-accent);
  border-color: var(--wf-accent);
}

.wf1__tab-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.wf1__tab.is-active .wf1__tab-index { opacity: 1; }

.wf1__stage {
  position: relative;
  min-height: 440px;
}

.wf1__panel {
  display: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px 40px;
  align-items: center;
}

.wf1__panel.is-active { display: grid; }

.wf1__kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wf-accent);
}

.wf1__panel-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.wf1__panel-body {
  margin: 0 0 20px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--wf-body);
}

.wf1__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wf1__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--wf-ease), border-color 0.2s var(--wf-ease), color 0.2s var(--wf-ease);
}

.wf1__btn--primary {
  color: #fff;
  background: var(--wf-accent);
  border-color: var(--wf-accent);
}

.wf1__btn--primary:hover { background: #c4013b; border-color: #c4013b; }

.wf1__btn--ghost {
  color: var(--wf-ink);
  background: #fff;
  border-color: var(--wf-border);
}

.wf1__btn--ghost:hover { background: #f8f9fb; }

.wf1__scene { position: relative; }

.wf1-ui {
  position: relative;
  border: 1px solid var(--wf-border);
  border-radius: var(--wf-radius);
  background: #fff;
  overflow: hidden;
}

.wf1-ui__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--wf-border);
  background: var(--wf-surface);
}

.wf1-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d8de;
}

.wf1-ui__dot:nth-child(1) { background: #ff5f57; }
.wf1-ui__dot:nth-child(2) { background: #febc2e; }
.wf1-ui__dot:nth-child(3) { background: #28c840; }

.wf1-ui__url {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--wf-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf1-ui__body {
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
}

.wf1-ui__body--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 340px;
}

.wf1-ui__search,
.wf1-ui__input {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--wf-border);
  background: #fff;
  color: var(--wf-ink);
  font-size: 0.875rem;
  box-sizing: border-box;
}

.wf1-ui__search.is-focus,
.wf1-ui__input.is-focus {
  border-color: var(--wf-accent);
}

.wf1-ui__typed { white-space: pre; }
.wf1-ui__caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 1px;
  background: var(--wf-accent);
  opacity: 0;
}

.wf1-ui__caret.is-on {
  opacity: 1;
  animation: wf1-blink 1s steps(1) infinite;
}

.wf1-ui__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf1-ui__chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--wf-border);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wf-body);
  transition: background 0.25s var(--wf-ease), color 0.25s var(--wf-ease), border-color 0.25s var(--wf-ease);
}

.wf1-ui__chip.is-on {
  border-color: var(--wf-accent);
  color: #fff;
  background: var(--wf-accent);
}

.wf1-ui__card,
.wf1-ui__row,
.wf1-ui__project,
.wf1-ui__preview,
.wf1-ui__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--wf-border);
  background: #fff;
}

.wf1-ui__card,
.wf1-ui__row {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--wf-ease), transform 0.35s var(--wf-ease), border-color 0.25s var(--wf-ease);
}

.wf1-ui__card.is-in,
.wf1-ui__row.is-in {
  opacity: 1;
  transform: none;
}

.wf1-ui__card.is-active,
.wf1-ui__row.is-active {
  border-color: var(--wf-accent);
}

.wf1-ui__avatar,
.wf1-ui__preview-photo,
.wf1-ui__project-media {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--wf-border);
  background: var(--wf-surface);
}

.wf1-ui__avatar--sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.wf1-ui__preview-photo,
.wf1-ui__project-media {
  width: 56px;
  height: 56px;
}

.wf1-ui__card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.wf1-ui__card-text strong {
  font-size: 0.875rem;
  font-weight: 650;
}

.wf1-ui__card-text span {
  font-size: 0.75rem;
  color: var(--wf-muted);
}

.wf1-ui__pill {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--wf-border);
  background: #fff;
  color: var(--wf-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  transition: border-color 0.2s var(--wf-ease), background 0.2s var(--wf-ease), color 0.2s var(--wf-ease);
}

.wf1-ui__pill.is-click {
  border-color: var(--wf-accent);
  color: var(--wf-accent);
  background: var(--wf-accent-soft);
}

.wf1-ui__form-title {
  font-size: 1rem;
  font-weight: 700;
}

.wf1-ui__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wf-body);
}

.wf1-ui__form-cta {
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--wf-accent);
  background: var(--wf-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: default;
  transition: background 0.2s var(--wf-ease), transform 0.15s var(--wf-ease);
}

.wf1-ui__form-cta.is-click {
  transform: scale(0.97);
  background: #c4013b;
}

.wf1-ui__form-cta--ghost {
  background: #fff;
  color: var(--wf-ink);
  border-color: var(--wf-border);
}

.wf1-ui__success {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--wf-border);
  background: var(--wf-surface);
  color: var(--wf-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.wf1-ui__success.is-on,
.wf1-ui__success:not(.is-hidden).is-on {
  display: block;
}

.wf1-ui__hint {
  font-size: 0.75rem;
  color: var(--wf-muted);
  opacity: 0;
  transition: opacity 0.3s var(--wf-ease);
}

.wf1-ui__hint.is-on { opacity: 1; }

.wf1-ui__badge {
  display: inline-flex;
  margin-top: 4px;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--wf-border);
  background: #fff;
  color: var(--wf-body);
  font-size: 0.6875rem;
  font-weight: 700;
}

.wf1-ui__badge.is-pending {
  border-color: rgba(226, 2, 70, 0.35);
  color: var(--wf-accent);
  background: var(--wf-accent-soft);
}

.wf1-ui__badge.is-accepted {
  border-color: #c6e6cf;
  color: #1b7a3a;
  background: #f0faf3;
}

.wf1-ui__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wf1-ui__step {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--wf-border);
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--wf-body);
}

.wf1-ui__step.is-on {
  border-color: var(--wf-accent);
  background: var(--wf-accent);
  color: #fff;
}

.wf1-ui__preview,
.wf1-ui__detail {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
  overflow: hidden;
  transition: opacity 0.35s var(--wf-ease), transform 0.35s var(--wf-ease), max-height 0.35s var(--wf-ease), padding 0.35s var(--wf-ease);
}

.wf1-ui__preview.is-on,
.wf1-ui__detail.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  max-height: 160px;
  padding: 12px;
  border-width: 1px;
}

.wf1-ui__t-item {
  position: relative;
  padding: 10px 12px 10px 28px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--wf-border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wf-muted);
  transition: color 0.25s var(--wf-ease), border-color 0.25s var(--wf-ease), background 0.25s var(--wf-ease);
}

.wf1-ui__t-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #d5d8de;
}

.wf1-ui__t-item.is-done,
.wf1-ui__t-item.is-active {
  color: var(--wf-ink);
}

.wf1-ui__t-item.is-done::before,
.wf1-ui__t-item.is-active::before {
  background: var(--wf-accent);
}

.wf1-ui__t-item.is-active {
  border-color: rgba(226, 2, 70, 0.35);
  background: var(--wf-accent-soft);
}

.wf1-ui__bubble {
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: #fff;
  border: 1px solid var(--wf-border);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--wf-body);
  max-width: 95%;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--wf-ease), transform 0.3s var(--wf-ease);
}

.wf1-ui__bubble.is-in {
  opacity: 1;
  transform: none;
}

.wf1-ui__bubble--alt {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  background: var(--wf-accent-soft);
  border-color: transparent;
  color: #3a1520;
}

.wf1-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -2px 0 0 -2px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-35deg) scale(0);
  background: var(--wf-ink);
  border: 2px solid #fff;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s var(--wf-ease);
}

.wf1-cursor.is-on {
  opacity: 1;
  transform: rotate(-35deg) scale(1);
}

.wf1-cursor.is-click {
  transform: rotate(-35deg) scale(0.82);
}

.is-hidden { display: none !important; }

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

@media (max-width: 960px) {
  .wf1__panel.is-active { grid-template-columns: 1fr; }
  .wf1__stage { min-height: 0; }
  .wf1-ui__body,
  .wf1-ui__body--split { min-height: 0; }
  .wf1-ui__body--split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wf1__header { margin-bottom: 28px; text-align: left; }
  .wf1__tabs { justify-content: flex-start; }
  .wf1__tab { flex: 0 0 auto; }
}

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

  .wf1-ui__card,
  .wf1-ui__row,
  .wf1-ui__bubble {
    opacity: 1;
    transform: none;
  }

  .wf1-cursor { display: none !important; }
}
