/* stylelint-disable */
html,
body {
  width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}

.app-bg {
  --bg: #ffffff;
  --dot-grid: #d1d5db;
  --muted: #9ca3af;
  --text-muted: #6b7280;
  --line-muted: rgba(148, 163, 184, 0.6);
  --panel-border: #e2e8f0;
  --panel-border-strong: #e5e7eb;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --panel-bg-soft: rgba(255, 255, 255, 0.75);
  --node-bg: #f8fafc;
  --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.1);
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.app-bg-grid,
.app-bg-dot,
.app-bg-workflow,
.app-bg-line,
.app-bg-cursor,
.app-bg-steps,
.app-bg-incoming,
.app-bg-dotflow,
.app-bg-reasoning,
.app-bg-ring,
.app-bg-bot,
.app-bg-enriching,
.app-bg-node-circle,
.app-bg-ripple,
.app-bg-bits,
.app-bg-engaging,
.app-bg-engage-line,
.app-bg-engage-node,
.app-bg-message,
.app-bg-pipeline,
.app-bg-column,
.app-bg-check,
.app-bg-card {
  position: absolute;
}

.app-bg-grid,
.app-bg-ring,
.app-bg-dot,
.app-bg-dotflow,
.app-bg-cursor,
.app-bg-node-circle,
.app-bg-ripple,
.app-bg-bits,
.app-bg-message,
.app-bg-check {
  border-radius: 999px;
}

.app-bg-grid {
  inset: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, transparent 30%, black 100%);
}

.app-bg-dot,
.app-bg-dotflow,
.app-bg-bits {
  width: 8px;
  height: 8px;
  background: var(--muted);
}

.app-bg-dot {
  opacity: 0.6;
  animation: dotDrift 6s ease-in-out infinite;
}

.app-bg-dot.dot-1 {
  top: 12%;
  right: 12%;
}

.app-bg-dot.dot-2 {
  top: 22%;
  left: 18%;
  animation-delay: 1.2s;
}

.app-bg-dot.dot-3 {
  bottom: 18%;
  left: 8%;
  animation-delay: 2.2s;
}

.app-bg-dot.dot-4 {
  right: 16%;
  bottom: 20%;
  animation-delay: 3s;
}

.app-bg-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.app-bg-workflow {
  top: 5%;
  left: 20%;
  width: 260px;
  height: 170px;
  display: none;
}

.app-bg-workflow .app-bg-node {
  position: absolute;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid var(--panel-border-strong);
  border-radius: 10px;
  background: var(--panel-bg);
  box-shadow: var(--shadow-md);
  color: var(--text-muted);
  font-size: 10px;
}

.app-bg-workflow .node-start {
  top: 4px;
  left: 18px;
}

.app-bg-workflow .node-trigger {
  top: 54px;
  left: 18px;
}

.app-bg-workflow .node-condition {
  top: 54px;
  left: 100px;
}

.app-bg-workflow .node-action {
  top: 112px;
  left: 110px;
}

.app-bg-line {
  background: repeating-linear-gradient(
    to right,
    var(--line-muted),
    var(--line-muted) 4px,
    transparent 4px,
    transparent 8px
  );
  animation: dashMove 2.8s linear infinite;
}

.app-bg-line.line-1,
.app-bg-line.line-3 {
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--line-muted),
    var(--line-muted) 4px,
    transparent 4px,
    transparent 8px
  );
}

.app-bg-line.line-1 {
  top: 28px;
  left: 40px;
  height: 26px;
}

.app-bg-line.line-2 {
  top: 65px;
  left: 72px;
  width: 38px;
  height: 2px;
}

.app-bg-line.line-3 {
  top: 78px;
  left: 134px;
  height: 34px;
}

.app-bg-cursor {
  z-index: 1;
  width: 6px;
  height: 6px;
  background: #111827;
  animation: workflowCursor 6s ease-in-out infinite;
}

.app-bg-steps {
  top: 28%;
  left: 4%;
  width: 220px;
  display: none;
}

.app-bg-step {
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  background: var(--panel-bg-soft);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 10px;
  animation: stepFade 6s ease-in-out infinite;
}

.app-bg-step:nth-child(2) {
  animation-delay: 0s;
}

.app-bg-step:nth-child(3) {
  animation-delay: 1.2s;
}

.app-bg-step:nth-child(4) {
  animation-delay: 2.4s;
}

.app-bg-step:nth-child(5) {
  animation-delay: 3.6s;
}

.app-bg-incoming {
  top: 18%;
  right: 4%;
  width: 220px;
  height: 140px;
  display: none;
}

.app-bg-incoming .app-bg-label {
  right: 0;
  bottom: 8px;
}

.app-bg-dotflow {
  animation: dotFlow 6s ease-in-out infinite;
}

.app-bg-dotflow.flow-1 {
  top: 20px;
  left: 180px;
}

.app-bg-dotflow.flow-2 {
  top: 30px;
  left: 190px;
  animation-delay: 2s;
}

.app-bg-dotflow.flow-3 {
  top: 70px;
  left: 190px;
  animation-delay: 1s;
}

.app-bg-reasoning {
  top: 5%;
  left: 66%;
  width: 120px;
  height: 120px;
  display: none;
}

.app-bg-reasoning .app-bg-label {
  position: absolute;
  bottom: -18px;
  left: 10px;
}

.app-bg-ring {
  inset: 0;
  border: 1px solid var(--line-muted);
  animation: ringPulse 4s ease-in-out infinite;
}

.app-bg-ring.ring-outer {
  border-style: dashed;
  animation: ringSpin 18s linear infinite;
}

.app-bg-bot {
  inset: 36px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.app-bg-enriching {
  top: 48%;
  right: 10%;
  width: 140px;
  height: 140px;
  display: none;
}

.app-bg-enriching .app-bg-label {
  bottom: -16px;
  left: 10px;
}

.app-bg-node-circle {
  top: 48px;
  left: 48px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--muted);
  background: var(--bg);
  animation: nodePulse 3s ease-in-out infinite;
}

.app-bg-ripple {
  top: 42px;
  left: 42px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-muted);
  animation: ripple 2.5s ease-in-out infinite;
}

.app-bg-bits {
  width: 6px;
  height: 6px;
  animation: bitOrbit 3s ease-in-out infinite;
}

.app-bg-bits.bit-1 {
  top: 30px;
  left: 70px;
}

.app-bg-bits.bit-2 {
  top: 70px;
  left: 22px;
  animation-delay: 0.6s;
}

.app-bg-bits.bit-3 {
  top: 20px;
  left: 40px;
  animation-delay: 1.2s;
}

.app-bg-bits.bit-4 {
  top: 86px;
  left: 78px;
  animation-delay: 1.8s;
}

.app-bg-engaging {
  bottom: 12%;
  left: 6%;
  width: 200px;
  height: 100px;
  display: none;
}

.app-bg-engage-line {
  top: 44px;
  right: 24px;
  left: 24px;
  height: 1px;
  background: var(--panel-border);
}

.app-bg-engage-node {
  top: 36px;
  width: 16px;
  height: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: var(--node-bg);
}

.app-bg-engage-node.ai {
  left: 10px;
}

.app-bg-engage-node.lead {
  right: 10px;
  border-radius: 999px;
}

.app-bg-message {
  top: 34px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--panel-border);
  background: var(--bg);
  animation: messageSwap 4s ease-in-out infinite;
}

.app-bg-message.msg-ai {
  left: 28px;
}

.app-bg-message.msg-lead {
  right: 28px;
  background: #f1f5f9;
  animation-delay: 2s;
}

.app-bg-engaging .app-bg-label {
  bottom: 0;
  left: 0;
}

.app-bg-pipeline {
  right: 6%;
  bottom: 10%;
  width: 240px;
  height: 140px;
  display: none;
}

.app-bg-column {
  bottom: 18px;
  width: 60px;
  height: 80px;
  border: 1px solid var(--panel-border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: rgba(248, 250, 252, 0.6);
}

.app-bg-column:nth-child(1) {
  left: 6px;
}

.app-bg-column:nth-child(2) {
  left: 86px;
}

.app-bg-column:nth-child(3) {
  left: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-bg-check {
  width: 28px;
  height: 28px;
  border: 1px solid var(--panel-border);
  background: var(--bg);
  animation: checkPulse 3s ease-in-out infinite;
}

.app-bg-card {
  bottom: 44px;
  left: 12px;
  width: 44px;
  height: 20px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: var(--bg);
  box-shadow: 0 6px 10px rgba(15, 23, 42, 0.08);
  animation: cardMove 4s ease-in-out infinite;
}

.app-bg-pipeline .app-bg-label {
  bottom: 0;
  left: 24px;
}

@media (min-width: 1100px) {
  .app-bg-workflow,
  .app-bg-steps,
  .app-bg-incoming,
  .app-bg-reasoning,
  .app-bg-enriching,
  .app-bg-engaging,
  .app-bg-pipeline {
    display: block;
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.04);
  }
}

@keyframes dotDrift {
  0%,
  100% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(14px, -10px, 0);
  }
}

@keyframes dashMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 16px 0;
  }
}

@keyframes workflowCursor {
  0% {
    opacity: 0;
    transform: translate(38px, 12px);
  }
  20%,
  80% {
    opacity: 1;
  }
  40% {
    transform: translate(42px, 63px);
  }
  60% {
    transform: translate(132px, 63px);
  }
  100% {
    opacity: 0;
    transform: translate(132px, 121px);
  }
}

@keyframes stepFade {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-4px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dotFlow {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(-140px, 90px, 0);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

@keyframes ringSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    border-color: var(--muted);
    transform: scale(1);
  }
  50% {
    border-color: #111827;
    transform: scale(1.12);
  }
}

@keyframes ripple {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes bitOrbit {
  0%,
  100% {
    opacity: 0.2;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(8px, -6px, 0);
  }
}

@keyframes messageSwap {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translateX(120px);
  }
  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes cardMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(150px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes checkPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
