body {
    overflow-x: hidden;
}


.hero {
    padding: 48px var(--pad) 24px;
    max-width: 1058px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }
}

.hero-main {
    padding: 26px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text);
    font-weight: 600;
    padding: 8px 10px;
    border: 1px solid color-mix(in oklab, var(--text) 22%, var(--border));
    border-radius: 999px;
    background: color-mix(in oklab, var(--panel) 98%, transparent);
}

.k-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
    display: inline-block;
}

.k-dot::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--accent) 35%, transparent);
    animation: kdot 1.6s ease-out infinite;
    animation-fill-mode: both;
}

@keyframes kdot {
    0% {
        transform: scale(.3);
        opacity: 0;
    }

    30% {
        opacity: .7;
    }

    70% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero h2 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.hero h1 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.hero p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 62ch;
}

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

.hero-side {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 10px 6px;
}

.demo-head h2 {
    margin: 0;
    font-size: 14px;
    letter-spacing: .2px;
}

.demo-head .mini {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    user-select: none;
}

.demo-body {
    padding: 12px;
    border-top: 1px dashed color-mix(in oklab, var(--border) 70%, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

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

label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
}

input,
select {
    width: 100%;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    color: var(--text);
    outline: none;
}

input::placeholder {
    color: color-mix(in oklab, var(--muted) 70%, transparent);
}

.verdict {
    padding: 14px 14px 16px;
    border-top: 1px dashed color-mix(in oklab, var(--border) 70%, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px;
    font-family: var(--mono);
    font-size: 12px;
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    width: fit-content;
}

.badge i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: var(--warn);
}

.meter {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--panel2) 86%, transparent);
    border: 1px solid var(--border);
    overflow: hidden;
}

.meter>div {
    height: 100%;
    background: linear-gradient(90deg, var(--good), var(--warn), var(--bad));
}

.kv {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    font-size: 12px;
    color: var(--muted);
}

.kv b {
    color: var(--text);
    font-weight: 600;
}

.section {
    margin: 24px auto 48px;
    max-width: 1058px;
    padding: 0 var(--pad);
}

.section .card {
    padding: 20px;
}

.section > .card > h2 {
    margin: 0 0 8px;
    font-size: clamp(18px, 2.2vw, 24px);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section > .card > p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    max-width: 72ch;
}

.section h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

.section p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

/* ======================================================
       PIPELINE VISUAL (CSS ONLY) — SEQUENCED IN PHASES
       Each phase = 3s. Total cycle = 12s.
       0–25%  : lane
       25–50% : split
       50–75% : analyze
       75–100%: AI + verdict
       ====================================================== */

.pipeviz {
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    padding: 14px;
    overflow: hidden;
    position: relative;

    --phase: 3s;
    --cycle: calc(var(--phase) * 4);
}

/* ✅ 2 ряда: 3 сверху / 2 снизу + центрирование */
.pipe {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

/* размещение блоков */
.pipe>.lane {
    grid-column: 1 / span 2;
}

.pipe>.split {
    grid-column: 3 / span 2;
}

.pipe>.analyze {
    grid-column: 5 / span 2;
}

/* нижний ряд по центру: занимают центральные 4 колонки */
.pipe>.ai {
    grid-column: 2 / span 2;
}

.pipe>.out {
    grid-column: 4 / span 2;
}

.pipe::before {
    content: "";
    position: absolute;
    inset: -80px;
    background:
        radial-gradient(600px 240px at 20% 30%,
            color-mix(in oklab, var(--accent) 10%, transparent), transparent 70%),
        radial-gradient(520px 260px at 80% 40%,
            color-mix(in oklab, var(--accent2) 10%, transparent), transparent 72%);
    filter: blur(2px);
    opacity: .8;
    pointer-events: none;
    z-index: 0;
    animation: bg-drift var(--cycle) ease-in-out infinite alternate;
}

@keyframes bg-drift {
    from {
        transform: translate3d(-18px, -8px, 0) scale(1.03);
    }

    to {
        transform: translate3d(18px, 10px, 0) scale(1.04);
    }
}

.pipe>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .pipe {
        grid-template-columns: 1fr;
    }

    .pipe>.lane,
    .pipe>.split,
    .pipe>.analyze,
    .pipe>.ai,
    .pipe>.out {
        grid-column: auto;
    }

    .lane,
    .split,
    .analyze,
    .ai,
    .out {
        min-height: 220px;
    }

    .pipeviz {
        padding: 16px;
    }
}

/* ---- shared shell ---- */
.lane,
.split,
.analyze,
.ai,
.out {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in oklab, var(--panel) 92%, transparent);
    box-shadow: var(--shadow);
    min-height: 230px;
    position: relative;
    overflow: hidden;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ptitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ptitle .tag {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ptitle h3 {
    margin: 0;
    font-size: 13px;
    letter-spacing: .2px;
}

.pdesc {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

/* ---- Phase gates (CSS only) ---- */
@keyframes on1 {

    0%,
    1% {
        opacity: 0
    }

    2%,
    24% {
        opacity: 1
    }

    25%,
    100% {
        opacity: 0
    }
}

@keyframes on2 {

    0%,
    24% {
        opacity: 0
    }

    27%,
    48% {
        opacity: 1
    }

    50%,
    100% {
        opacity: 0
    }
}

@keyframes on3 {

    0%,
    49% {
        opacity: 0
    }

    52%,
    74% {
        opacity: 1
    }

    75%,
    100% {
        opacity: 0
    }
}

@keyframes on4 {

    0%,
    74% {
        opacity: 0
    }

    77%,
    100% {
        opacity: 1
    }
}

/* ===============================
       PHASE 1: lane (0–25%)
       =============================== */
.lane .line {
    margin-top: auto;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            color-mix(in oklab, var(--accent) 55%, transparent),
            color-mix(in oklab, var(--accent2) 45%, transparent),
            transparent);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: on1 var(--cycle) linear infinite;
    position: relative;
    display: flex;
    align-items: center;
}

.pulse {
    position: absolute;
    top: calc(50% - 6px);
    left: -20px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    filter: drop-shadow(0 0 10px color-mix(in oklab, var(--accent) 55%, transparent));
    animation: pulse-seq var(--cycle) linear infinite;
    animation-fill-mode: both;
}

.pulse::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: color-mix(in oklab, var(--accent) 30%, transparent);
    opacity: .4;
    animation: bloom-seq var(--cycle) ease-out infinite;
    animation-fill-mode: both;
}

.p1 {
    animation-delay: 0s;
}

.p2 {
    animation-delay: .35s;
    opacity: .85;
    transform: scale(.92);
}

.p3 {
    animation-delay: .7s;
    opacity: .75;
    transform: scale(.88);
}

.p1::before {
    animation-delay: 0s;
}

.p2::before {
    animation-delay: .35s;
}

.p3::before {
    animation-delay: .7s;
}

@keyframes pulse-seq {
    0% {
        left: -20px;
        opacity: 0;
    }

    2% {
        opacity: 1;
    }

    23% {
        opacity: 1;
    }

    25% {
        left: calc(100% + 20px);
        opacity: 0;
    }

    100% {
        left: calc(100% + 20px);
        opacity: 0;
    }
}

@keyframes bloom-seq {
    0% {
        transform: scale(.3);
        opacity: 0;
    }

    6% {
        opacity: .55;
    }

    25% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ===============================
       PHASE 2: split (25–50%)
       =============================== */
.split .groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    opacity: 0;
    animation: on2 var(--cycle) linear infinite;
}

.node {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 8px;
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    opacity: 0;
    transform: translateY(10px) scale(.98);
    animation: node-seq var(--cycle) ease-in-out infinite;
    animation-fill-mode: both;
}

.n1 {
    animation-delay: 0s;
}

.n2 {
    animation-delay: .18s;
}

.n3 {
    animation-delay: .36s;
}

@keyframes node-seq {

    0%,
    24% {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    28% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    48% {
        opacity: 1;
    }

    50% {
        opacity: 0;
        transform: translateY(6px) scale(.99);
    }

    100% {
        opacity: 0;
    }
}

.split .branch {
    margin-top: auto;
    position: relative;
    height: 28px;
    opacity: 0;
    animation: on2 var(--cycle) linear infinite;
}

.split .branch::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 26%;
    height: 2px;
    background: color-mix(in oklab, var(--accent) 60%, transparent);
    opacity: .9;
    transform: translateY(-50%);
    border-radius: 999px;
}

.split .branch::after {
    content: "";
    position: absolute;
    left: 24%;
    right: 0;
    top: 50%;
    height: 2px;
    background: color-mix(in oklab, var(--accent2) 55%, transparent);
    opacity: .55;
    transform: translateY(-50%);
    border-radius: 999px;
    mask: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.split .flow {
    position: absolute;
    top: 50%;
    left: -35%;
    width: 35%;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg,
            transparent,
            color-mix(in oklab, var(--accent) 35%, transparent),
            color-mix(in oklab, var(--accent2) 40%, transparent),
            transparent);
    filter: blur(.1px);
    opacity: 0;
    animation: split-flow var(--cycle) ease-in-out infinite;
    animation-fill-mode: both;
}

@keyframes split-flow {

    0%,
    24% {
        opacity: 0;
        left: -35%;
    }

    28% {
        opacity: 1;
    }

    48% {
        opacity: 1;
        left: 105%;
    }

    50% {
        opacity: 0;
        left: 105%;
    }

    100% {
        opacity: 0;
        left: 105%;
    }
}

/* ===============================
       PHASE 3: analyze (50–75%)
       =============================== */
.tracks {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    animation: on3 var(--cycle) linear infinite;
}

.track {
    height: 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--panel2) 86%, transparent);
    overflow: hidden;
    position: relative;
}

.scan {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    background: linear-gradient(90deg,
            transparent,
            color-mix(in oklab, var(--accent2) 40%, transparent),
            color-mix(in oklab, var(--accent) 35%, transparent),
            transparent);
    opacity: 0;
    animation: scan-seq var(--cycle) ease-in-out infinite;
    animation-fill-mode: both;
}

.t2 .scan {
    animation-delay: .12s;
}

.t3 .scan {
    animation-delay: .24s;
}

@keyframes scan-seq {

    0%,
    49% {
        opacity: 0;
        transform: translateX(0);
    }

    52% {
        opacity: 1;
    }

    74% {
        opacity: 1;
        transform: translateX(360%);
    }

    75% {
        opacity: 0;
        transform: translateX(360%);
    }

    100% {
        opacity: 0;
        transform: translateX(360%);
    }
}

/* ===============================
       PHASE 4: AI (75–100%)
       =============================== */
.ai {
    justify-content: flex-start;
}

.core {
    margin-bottom: 10px;
    margin-top: auto;
    align-self: center;
    /* ✅ центр по горизонтали */
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    position: relative;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);

    opacity: 0;
    animation: core-seq var(--cycle) ease-in-out infinite;
}

@keyframes core-seq {

    0%,
    74% {
        opacity: 0;
        transform: scale(.98);
        filter: none;
    }

    78% {
        opacity: 1;
        transform: scale(1.06);
    }

    92% {
        opacity: 1;
        transform: scale(1.03);
    }

    100% {
        opacity: 1;
        transform: scale(1.0);
    }
}

.chip {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--text);
    opacity: .9;
}

.ring {
    position: absolute;
    inset: -10px;
    border-radius: 26px;
    border: 1px solid color-mix(in oklab, var(--accent) 38%, transparent);
    opacity: 0;
    transform: scale(.6);
    animation: ring-seq var(--cycle) ease-out infinite;
    animation-fill-mode: both;
}

.r2 {
    inset: -18px;
    border-color: color-mix(in oklab, var(--accent2) 34%, transparent);
    animation-delay: .12s;
}

.r3 {
    inset: -26px;
    border-color: color-mix(in oklab, var(--accent) 24%, transparent);
    animation-delay: .24s;
}

@keyframes ring-seq {

    0%,
    74% {
        opacity: 0;
        transform: scale(.6);
    }

    80% {
        opacity: .55;
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

/* ===============================
       PHASE 5: Verdict (75–100%)
       =============================== */
.out {
    justify-content: flex-start;
}

.stamp {
    margin-top: auto;
    align-self: center;
    /* ✅ центр по горизонтали */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 12px;
    font-family: var(--mono);
    font-size: 12px;
    background: color-mix(in oklab, var(--panel2) 96%, transparent);
    width: fit-content;

    opacity: 0;
    transform: translateY(10px) scale(.98);
    animation: stamp-seq var(--cycle) ease-in-out infinite;
    animation-fill-mode: both;
}

.stamp .dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--good), var(--warn));
    box-shadow: 0 0 18px color-mix(in oklab, var(--accent2) 35%, transparent);
}

.stamp .txt {
    letter-spacing: .08em;
}

.out .mini {
    margin-top: 10px;
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    opacity: 0;
    animation: on4 var(--cycle) linear infinite;
}

@keyframes stamp-seq {

    0%,
    82% {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    90% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
    }

    100% {
        opacity: 0;
        transform: translateY(6px) scale(.99);
    }
}

@media (prefers-reduced-motion: reduce) {

    .pipe::before,
    .pulse,
    .pulse::before,
    .node,
    .split .flow,
    .scan,
    .core,
    .ring,
    .stamp,
    .k-dot::before {
        animation: none !important;
    }

    .lane .line,
    .split .groups,
    .split .branch,
    .tracks,
    .out .mini {
        opacity: 1 !important;
    }
}

/* ======================================================
   BOTGUARD ANIMATION LAYER
   ====================================================== */

/* =========================
   SECTION LAYOUT
   ========================= */
.who-need {
  padding-top: 0;
}

.wn-row {
  margin: 64px 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .wn-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   TEXT
   ========================= */
.wn-text h3 {
  margin: 10px 0 14px;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}

.wn-text p {
  margin: 0 0 12px;
  max-width: 62ch;
  line-height: 1.7;
  color: var(--text-dim);
  font-size: 15px;
}

.wn-text p strong, .wn-text p b {
  color: var(--text);
  font-weight: 600;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--text) 22%, var(--border));
  background: color-mix(in oklab, var(--panel) 98%, transparent);
}

/* =========================
   K-DOT PULSE (CSS only)
   ========================= */
.k-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cff, #00e5a8);
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.k-dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: radial-gradient(circle,
      rgba(124, 92, 255, .45) 0%,
      rgba(0, 229, 168, .25) 35%,
      transparent 65%);
  animation: kdot-pulse 1.6s ease-out infinite;
}

@keyframes kdot-pulse {
  0% {
    transform: scale(.3);
    opacity: 0;
  }

  25% {
    opacity: .7;
  }

  70% {
    transform: scale(1);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* =========================
   GAMBLING VISUAL — BOT EYES + CHIPS
   ========================= */
.wn-visual.gambling {
  position: relative;
  height: 240px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.slot-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  --slot-cycle: 3.4s;
}

.slot-head {
  position: relative;
  width: 220px;
  height: 140px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
  animation: headFloat 3s ease-in-out infinite;
  z-index: 2;
}

.slot-head .antenna {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 3px;
  height: 18px;
  transform: translateX(-50%);
  background: color-mix(in oklab, var(--text) 40%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--border) 80%, transparent) inset;
}

.slot-head .antenna::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, color-mix(in oklab, var(--warn) 80%, transparent), color-mix(in oklab, var(--bad) 75%, transparent));
  box-shadow: 0 0 16px color-mix(in oklab, var(--bad) 45%, transparent);
}

.slot-head .eye {
  position: absolute;
  top: 46px;
  width: 56px;
  height: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel2) 90%, transparent);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--panel2) 70%, transparent);
}

.slot-head .eye.e1 {
  left: 46px;
}

.slot-head .eye.e2 {
  right: 46px;
}

.slot-head .eye .reel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  animation: reelSpin var(--slot-cycle) linear infinite;
}

.slot-head .eye .reel::after {
  content: "🍒 • 🍌 • 🍋 • ";
  white-space: nowrap;
}

.slot-head .eye.e2 .reel::after {
  content: "🍉 • 🍋 • 🍌 • ";
  white-space: nowrap;
}

.slot-head .mouth {
  position: absolute;
  left: 82px;
  bottom: 28px;
  width: 56px;
  height: 8px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--panel2) 80%, transparent);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--panel2) 60%, transparent);
}

.chips {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.chips .chip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, .82);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, .26),
    0 0 0 2px color-mix(in oklab, var(--panel2) 70%, transparent) inset,
    0 0 12px color-mix(in oklab, var(--chip-base, var(--accent)) 38%, transparent);
  transform-origin: 50% 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .96) 0% 26%, transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0% 54%, rgba(0, 0, 0, .22) 56%, transparent 58%),
    repeating-conic-gradient(rgba(255, 255, 255, .92) 0deg 18deg,
      color-mix(in oklab, var(--chip-base, var(--accent)) 78%, transparent) 18deg 36deg),
    color-mix(in oklab, var(--chip-base, var(--accent)) 76%, transparent);
}

.chips .chip::before {
  content: attr(data-val);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.chips .chip::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset;
}

.chips .chip.red {
  --chip-base: var(--bad);
}

.chips .chip.blue {
  --chip-base: var(--accent);
}

.chips .chip.green {
  --chip-base: var(--good);
}

.chips .chip.c1 {
  animation: chipDriftA 9.8s linear infinite;
  animation-delay: -7.35s;
}

.chips .chip.c2 {
  animation: chipDriftB 10.6s linear infinite;
  animation-delay: -1.8s;
}

.chips .chip.c3 {
  animation: chipDriftC 11.4s linear infinite;
  animation-delay: -1.9s;
}

.chips .chip.c4 {
  animation: chipDriftD 9.4s linear infinite;
  animation-delay: -7.05s;
}

.chips .chip.c5 {
  animation: chipDriftE 12s linear infinite;
  animation-delay: -3s;
}

.chips .chip.c6 {
  animation: chipDriftF 10.8s linear infinite;
  animation-delay: -5.4s;
}

@keyframes headFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes reelSpin {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-30%);
  }

  50% {
    transform: translateX(-60%);
  }

  76% {
    transform: translateX(-85%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes chipDriftA {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(118px) translateY(-10px) rotate(10deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(90deg) translateX(124px) translateY(12px) rotate(4deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(116px) translateY(-4px) rotate(-6deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(270deg) translateX(122px) translateY(-16px) rotate(6deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(118px) translateY(-10px) rotate(10deg);
  }
}

@keyframes chipDriftB {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(106px) translateY(-22px) rotate(-6deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(-90deg) translateX(112px) translateY(8px) rotate(10deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-180deg) translateX(100px) translateY(-12px) rotate(-8deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(-270deg) translateX(116px) translateY(18px) rotate(6deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg) translateX(106px) translateY(-22px) rotate(-6deg);
  }
}

@keyframes chipDriftC {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(130px) translateY(8px) rotate(8deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(90deg) translateX(134px) translateY(-18px) rotate(-6deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(120px) translateY(6px) rotate(6deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(270deg) translateX(136px) translateY(-12px) rotate(-4deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(130px) translateY(8px) rotate(8deg);
  }
}

@keyframes chipDriftD {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(112px) translateY(-32px) rotate(12deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(-90deg) translateX(120px) translateY(6px) rotate(-8deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-180deg) translateX(108px) translateY(-18px) rotate(10deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(-270deg) translateX(122px) translateY(16px) rotate(-6deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg) translateX(112px) translateY(-32px) rotate(12deg);
  }
}

@keyframes chipDriftE {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(124px) translateY(-6px) rotate(-10deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(90deg) translateX(132px) translateY(20px) rotate(6deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(118px) translateY(-12px) rotate(-8deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(270deg) translateX(128px) translateY(-22px) rotate(4deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(124px) translateY(-6px) rotate(-10deg);
  }
}

@keyframes chipDriftF {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(116px) translateY(-26px) rotate(10deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(-90deg) translateX(126px) translateY(14px) rotate(-6deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-180deg) translateX(110px) translateY(-18px) rotate(8deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(-270deg) translateX(120px) translateY(10px) rotate(-4deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg) translateX(116px) translateY(-26px) rotate(10deg);
  }
}

/* =========================
   FINTECH VISUAL — CHAT BOT
   ========================= */
.wn-visual.fintech-vis {
  position: relative;
  height: 240px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.wn-visual.fintech-vis::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
}

.wn-visual.fintech-vis::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}

.fintech-vis .fintech-rail {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.fintech-vis .slot-head.slot-kyc {
  --slot-cycle: 4s;
  background: color-mix(in oklab, var(--panel) 94%, transparent);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, .26),
    0 0 0 1px color-mix(in oklab, var(--panel2) 60%, transparent) inset,
    0 0 22px color-mix(in oklab, var(--accent) 12%, transparent);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
}

.fintech-vis .slot-head.slot-kyc .eye .reel::after {
  content: " • Dating scam • Identy thelf • ";
}

.fintech-vis .slot-head.slot-kyc .eye.e2 .reel::after {
  content: " • Bank fraud • Gambling • ";
}

.fintech-vis .slot-head.slot-kyc .mouth {
  background: color-mix(in oklab, var(--panel2) 78%, transparent);
  border-color: color-mix(in oklab, var(--accent) 24%, var(--border));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--panel2) 60%, transparent);
}

.fintech-vis .slot-head.slot-kyc .mouth-bubble {
  position: absolute;
  top: 15%;
  right: -50%;
  bottom: -8px;
  width: 170px;
  height: 90px;
  pointer-events: none;
}

.fintech-vis .mouth-bubble .bubble {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(0, 12px) scale(.94);
  padding: 11px 14px 12px;
  border-radius: 18px 18px 18px 0px;
  background: linear-gradient(135deg,
      color-mix(in oklab, var(--accent) 65%, transparent),
      color-mix(in oklab, var(--accent2) 52%, transparent));
  color: #f8fcff;
  font-size: 12.5px;
  letter-spacing: -.01em;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--border));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .25),
    0 0 0 1px color-mix(in oklab, var(--panel2) 60%, transparent) inset;
  opacity: 0;
  animation: bubbleCycle 12s ease-in-out infinite;
}

.fintech-vis .mouth-bubble .b1 {
  animation-delay: 0s;
}

.fintech-vis .mouth-bubble .b2 {
  animation-delay: 3s;
}

.fintech-vis .mouth-bubble .b3 {
  animation-delay: 6s;
}

.fintech-vis .mouth-bubble .b4 {
  animation-delay: 9s;
}

@media (max-width: 720px) {
  .wn-visual.fintech-vis {
    height: 220px;
  }

  .fintech-vis .slot-head.slot-kyc {
    transform: scale(.9);
  }
}

@keyframes bubbleCycle {
  0% {
    opacity: 0;
    transform: translate(0, 14px) scale(.94);
  }

  8% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  22% {
    opacity: 1;
    transform: translate(0, -2px) scale(1);
  }

  28% {
    opacity: 0;
    transform: translate(0, -8px) scale(.98);
  }

  100% {
    opacity: 0;
    transform: translate(0, 14px) scale(.94);
  }
}

@keyframes qmPulse {
  0% {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(.9);
    opacity: .35;
  }

  30% {
    transform: translate3d(4px, -6px, 0) rotate(2deg) scale(1);
    opacity: .7;
  }

  60% {
    transform: translate3d(-4px, 4px, 0) rotate(-1deg) scale(1.06);
    opacity: .8;
  }

  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(.9);
    opacity: .35;
  }
}

/* ========== ADS block layout helper ========== */
.wn-row.reverse {
  grid-template-columns: .9fr 1.1fr;
}

.wn-row.reverse .wn-text {
  order: 2;
}

.wn-row.reverse .wn-visual-placeholder {
  order: 1;
}

@media (max-width: 900px) {
  .wn-row.reverse {
    grid-template-columns: 1fr;
  }

  .wn-row.reverse .wn-text,
  .wn-row.reverse .wn-visual-placeholder {
    order: initial;
  }
}

@media (max-width: 640px) {
  .demo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .demo-card-grid {
    grid-template-columns: 1fr;
  }

  .demo-metrics {
    grid-template-columns: 1fr;
  }
}

/* ========== visual base ========== */
.wn-visual-placeholder.demo-animation-act {
  position: relative;
  height: 260px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  --demo-cycle: 3.2s;
}

/* ========== "dashboard" UI ========== */
.demo-ui {
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel2) 94%, transparent);
  backdrop-filter: blur(10px);
  padding: 12px;
  z-index: 1;
}

.demo-topline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.demo-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel2) 94%, transparent);
  opacity: .9;
}

.demo-pill b {
  opacity: 1;
}

.demo-pill.danger {
  border-color: color-mix(in oklab, var(--bad) 60%, transparent);
  box-shadow: 0 0 18px color-mix(in oklab, var(--bad) 28%, transparent);
  animation: dangerBlink 1.2s ease-in-out infinite;
}

@keyframes dangerBlink {

  0%,
  100% {
    opacity: .7;
  }

  50% {
    opacity: 1;
  }
}

.demo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.demo-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel2) 92%, transparent);
  padding: 8px;
  overflow: hidden;
}

.demo-card .thumb {
  height: 44px;
  border-radius: 10px;
  background:
    radial-gradient(50px 30px at 30% 30%, color-mix(in oklab, var(--accent2) 35%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--panel) 60%, transparent), color-mix(in oklab, var(--panel2) 40%, transparent));
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.demo-card .lines .l {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--panel) 70%, transparent);
  margin-bottom: 6px;
}

.demo-card .lines .l.short {
  width: 70%;
}

.demo-card .cta {
  height: 18px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--accent2) 42%, var(--border));
  background: color-mix(in oklab, var(--accent2) 16%, transparent);
  box-shadow: 0 0 18px color-mix(in oklab, var(--accent2) 18%, transparent);
}

/* ========== metrics ========== */
.demo-metrics {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 10px;
}

.metric {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel2) 96%, transparent);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.metric .k {
  font-size: 11px;
  opacity: .7;
}

.metric .v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  opacity: .95;
}

.metric .v.bad {
  color: var(--bad);
}

/* animated clicks digits (CSS-only) */
.digits {
  display: inline-grid;
  overflow: hidden;
  height: 16px;
}

.digits>span {
  line-height: 16px;
  height: 16px;
  display: block;
  animation: digitsRoll 3.2s steps(6) infinite;
}

@keyframes digitsRoll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-96px);
  }

  /* 6 steps * 16px */
}

/* ========== ROBOT + CURSOR CLICKING ========== */
.bot {
  position: absolute;
  width: 44px;
  height: 30px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
  z-index: 4;
  left: 14%;
  top: 44%;
  animation: botMove var(--demo-cycle) ease-in-out infinite;
  animation-fill-mode: both;
}

@keyframes botMove {

  0%,
  24% {
    left: 14%;
    top: 44%;
  }

  32%,
  58% {
    left: 46%;
    top: 44%;
  }

  66%,
  92% {
    left: 78%;
    top: 44%;
  }

  100% {
    left: 14%;
    top: 44%;
  }
}

.bot-eye {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  top: 10px;
  background: rgba(0, 229, 168, .9);
  box-shadow: 0 0 14px rgba(0, 229, 168, .35);
  animation: eyeBlink 1.1s ease-in-out infinite;
}

.bot-eye.e1 {
  left: 12px;
}

.bot-eye.e2 {
  left: 24px;
  animation-delay: .2s;
}

@keyframes eyeBlink {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  45% {
    transform: scaleY(.2);
    opacity: .75;
  }

  60% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.bot-mouth {
  position: absolute;
  left: 14px;
  top: 20px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  opacity: .7;
}

/* cursor moves between CTAs */
.cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 3px 12px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
  z-index: 5;
  left: 20%;
  top: 64%;
  transform: rotate(-18deg);
  animation: cursorMove var(--demo-cycle) ease-in-out infinite;
  animation-fill-mode: both;
}

@keyframes cursorMove {

  0%,
  24% {
    left: 20%;
    top: 64%;
  }

  32%,
  58% {
    left: 50%;
    top: 64%;
  }

  66%,
  92% {
    left: 80%;
    top: 64%;
  }

  100% {
    left: 20%;
    top: 64%;
  }
}

/* click rings appear on CTA positions */
.click-ring {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(0, 229, 168, .55);
  z-index: 5;
  opacity: 0;
  transform: scale(.3);
}

.click-ring.r1 {
  left: 20%;
  top: 64%;
  animation: clickSync var(--demo-cycle) ease-in-out infinite;
  animation-fill-mode: both;
}

.click-ring.r2 {
  left: 50%;
  top: 64%;
  animation: clickSync var(--demo-cycle) ease-in-out infinite 1.05s;
  animation-fill-mode: both;
}

.click-ring.r3 {
  left: 80%;
  top: 64%;
  animation: clickSync var(--demo-cycle) ease-in-out infinite 2.1s;
  animation-fill-mode: both;
}

@keyframes clickSync {

  0%,
  16% {
    opacity: 0;
    transform: scale(.3);
  }

  20% {
    opacity: .9;
    transform: scale(1.6);
  }

  28% {
    opacity: .4;
    transform: scale(2.1);
  }

  32% {
    opacity: 0;
    transform: scale(2.35);
  }

  100% {
    opacity: 0;
    transform: scale(.3);
  }
}

/* invalid badges pop on different cards */
.invalid-badge {
  position: absolute;
  z-index: 3;
  padding: 4px 6px;
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .3px;
  border: 1px solid rgba(255, 92, 122, .45);
  background: rgba(255, 92, 122, .10);
  box-shadow: 0 0 18px rgba(255, 92, 122, .12);
  opacity: 0;
  transform: translateY(6px) scale(.98);
}

.invalid-badge.b1 {
  left: 20%;
  top: 38%;
  animation: invalidPop var(--demo-cycle) ease-in-out infinite;
  z-index: 8;
}

.invalid-badge.b2 {
  left: 36%;
  top: 34%;
  animation: invalidPop var(--demo-cycle) ease-in-out infinite 1.05s;
}

.invalid-badge.b3 {
  left: 82%;
  top: 34%;
  animation: invalidPop var(--demo-cycle) ease-in-out infinite 2.1s;
}

@keyframes invalidPop {
  0% {
    opacity: 0;
  }

  12% {
    opacity: 0;
  }

  18% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  32% {
    opacity: .0;
    transform: translateY(-6px) scale(1.02);
  }

  100% {
    opacity: 0;
  }
}
