/* ==========================================================================
   Section Imagery — Per-section product visuals and asymmetric layouts
   ========================================================================== */

/* --------------------------------------------------------------------------
   Text wrapper (for flexbox layout with imagery)
   -------------------------------------------------------------------------- */
.scroll-section-text {
  flex: 1;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Initial hidden state — JS drives all animation via inline styles.
   CSS animations (floating, pulsing) are paused until JS sets opacity > 0.
   -------------------------------------------------------------------------- */
.si-doc-pile-wrap,
.si-file-cards-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.doc-page {
  will-change: opacity, transform;
}

.file-card {
  will-change: opacity, transform;
}

.doc-fragment {
  will-change: opacity;
}

/* --------------------------------------------------------------------------
   Asymmetric Layout Override
   -------------------------------------------------------------------------- */
.scroll-section--asymmetric .scroll-section-inner {
  text-align: left;
  max-width: 1200px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  gap: 60px;
}

.scroll-section--asymmetric .scroll-section-headline {
  max-width: 480px;
}

.scroll-section--asymmetric .scroll-section-body {
  margin: 0;
  max-width: 480px;
}

/* On smaller screens, stack vertically */
@media (max-width: 1024px) {
  .scroll-section--asymmetric .scroll-section-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 32px;
    gap: 40px;
  }

  .scroll-section--asymmetric .scroll-section-body {
    margin: 0 auto;
    max-width: 520px;
  }
}


/* ==========================================================================
   Section 0 — Document Chaos (Rich Design)
   ========================================================================== */

.si-doc-pile-wrap.doc-chaos {
  position: relative;
  width: 380px;
  height: 440px;
  flex-shrink: 0;
}

/* ── Ambient glow behind the pile ── */
.si-doc-pile-wrap.doc-chaos::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 45%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(35, 131, 226, 0.1) 0%,
    rgba(35, 131, 226, 0.04) 50%,
    transparent 75%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: chaos-glow-pulse 6s ease-in-out infinite;
}

@keyframes chaos-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Individual document pages ── */
.doc-page {
  position: absolute;
  border-radius: 5px;
  padding: 16px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle inner glow on each page */
.doc-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 40%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Corner fold */
.doc-page::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(
    135deg,
    rgba(6, 8, 16, 0.8) 0%,
    rgba(6, 8, 16, 0.5) 42%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.025) 100%
  );
  border-bottom-left-radius: 3px;
  z-index: 1;
}

/* ── Page 0: Ghost page peeking from behind (adds depth) ── */
.doc-page--0 {
  width: 200px;
  height: 260px;
  bottom: 10px;
  left: -15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  filter: blur(1.2px);
  opacity: 0.5;
  animation: doc-float-0 10s ease-in-out infinite;
}

/* ── Page 1: Back invoice ── */
.doc-page--1 {
  width: 210px;
  height: 275px;
  bottom: 30px;
  left: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 6px rgba(0, 0, 0, 0.25);
  filter: blur(0.5px);
  opacity: 0.7;
  animation: doc-float-1 8s ease-in-out infinite;
}

/* ── Page 2: Contract (mid-layer) ── */
.doc-page--2 {
  width: 218px;
  height: 285px;
  bottom: 55px;
  left: 60px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.25);
  animation: doc-float-2 9s ease-in-out infinite;
}

/* ── Page 3: Purchase order with OVERDUE stamp ── */
.doc-page--3 {
  width: 215px;
  height: 280px;
  bottom: 35px;
  left: 120px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.3);
  animation: doc-float-3 7s ease-in-out infinite;
}

/* ── Page 4: Top-most NDA form ── */
.doc-page--4 {
  width: 195px;
  height: 255px;
  bottom: 80px;
  left: 155px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 6px 18px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(255, 255, 255, 0.07);
  animation: doc-float-4 6.5s ease-in-out infinite;
}

/* Floating animations — each drifts on its own axis/timing */
@keyframes doc-float-0 {
  0%, 100% { transform: rotate(-10deg) translate(0, 0); }
  40% { transform: rotate(-9.5deg) translate(-2px, -4px); }
  70% { transform: rotate(-10.5deg) translate(1px, -2px); }
}

@keyframes doc-float-1 {
  0%, 100% { transform: rotate(-7deg) translate(0, 0); }
  35% { transform: rotate(-6deg) translate(-3px, -7px); }
  65% { transform: rotate(-7.5deg) translate(2px, -3px); }
}

@keyframes doc-float-2 {
  0%, 100% { transform: rotate(4deg) translate(0, 0); }
  40% { transform: rotate(5deg) translate(5px, -10px); }
  70% { transform: rotate(3.5deg) translate(-2px, -4px); }
}

@keyframes doc-float-3 {
  0%, 100% { transform: rotate(-2.5deg) translate(0, 0); }
  30% { transform: rotate(-1.5deg) translate(-5px, -8px); }
  60% { transform: rotate(-3deg) translate(3px, -12px); }
}

@keyframes doc-float-4 {
  0%, 100% { transform: rotate(6deg) translate(0, 0); }
  45% { transform: rotate(7.5deg) translate(7px, -11px); }
  75% { transform: rotate(5.5deg) translate(-3px, -5px); }
}

/* ======================================================================
   Document Interior Details
   ====================================================================== */

/* ── Header block (logo area + company name) ── */
.doc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.doc-logo-block {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
}

.doc-company-name {
  height: 4px;
  border-radius: 2px;
}

.doc-page--1 .doc-logo-block { background: rgba(227, 66, 52, 0.35); }
.doc-page--1 .doc-company-name { background: rgba(255, 255, 255, 0.18); width: 60%; }

.doc-page--2 .doc-logo-block { background: rgba(74, 155, 232, 0.35); }
.doc-page--2 .doc-company-name { background: rgba(255, 255, 255, 0.16); width: 48%; }

.doc-page--3 .doc-logo-block { background: rgba(232, 168, 48, 0.4); }
.doc-page--3 .doc-company-name { background: rgba(255, 255, 255, 0.16); width: 55%; }

.doc-page--4 .doc-logo-block { background: rgba(123, 97, 255, 0.35); }
.doc-page--4 .doc-company-name { background: rgba(255, 255, 255, 0.18); width: 65%; }

/* ── Title lines ── */
.doc-title-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2.5px;
  margin-bottom: 4px;
}

/* ── Separator rule ── */
.doc-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.11);
  margin: 8px 0;
}

/* ── Body text lines ── */
.doc-text-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.5px;
  margin-bottom: 5px;
}

/* ── Table grid ── */
.doc-table {
  margin: 6px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.doc-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.doc-table-cell {
  height: 13px;
  padding: 3px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
}

.doc-table-cell:last-child { border-right: none; }
.doc-table-row:last-child .doc-table-cell { border-bottom: none; }

.doc-table-cell-bar {
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.doc-table-header .doc-table-cell {
  background: rgba(255, 255, 255, 0.06);
}

.doc-table-header .doc-table-cell-bar {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Signature area ── */
.doc-signature-area {
  margin-top: auto;
  padding-top: 8px;
}

.doc-sig-label {
  height: 2px;
  width: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  margin-bottom: 3px;
}

.doc-sig-line {
  width: 75px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 2px;
}

.doc-sig-scrawl {
  width: 55px;
  height: 12px;
  opacity: 0.25;
}

.doc-sig-scrawl svg {
  width: 100%;
  height: 100%;
}

.doc-sig-scrawl path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* ── Data values ON documents ── */
.doc-inline-value {
  font-family: 'IBM Plex Mono', 'SF Mono', monospace;
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  margin: 2px 0;
  white-space: nowrap;
}

.doc-inline-value--highlight {
  color: rgba(232, 168, 48, 0.6);
}

.doc-inline-value--blue {
  color: rgba(74, 155, 232, 0.55);
}

/* ── Total/amount block ── */
.doc-total-block {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.doc-total-label {
  height: 3px;
  width: 26px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1.5px;
}

.doc-total-value {
  font-family: 'IBM Plex Mono', 'SF Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2px;
}

/* ── Checkbox rows ── */
.doc-checkbox-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.doc-checkbox {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1px;
  flex-shrink: 0;
  position: relative;
}

.doc-checkbox--checked {
  background: rgba(255, 255, 255, 0.1);
}

.doc-checkbox--checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0.5px;
}

.doc-checkbox-label {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  flex: 1;
}

/* ======================================================================
   OVERDUE Stamp
   ====================================================================== */
.doc-stamp {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(227, 66, 52, 0.5);
  border: 2.5px solid rgba(227, 66, 52, 0.4);
  border-radius: 4px;
  padding: 4px 14px 3px;
  pointer-events: none;
  animation: stamp-pulse 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes stamp-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* ======================================================================
   Scanning Line — sweeps across the pile
   ====================================================================== */
.doc-scan-line {
  position: absolute;
  top: 0;
  left: -15%;
  width: 1.5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(74, 155, 232, 0.0) 10%,
    rgba(74, 155, 232, 0.5) 35%,
    rgba(74, 155, 232, 0.7) 50%,
    rgba(74, 155, 232, 0.5) 65%,
    rgba(74, 155, 232, 0.0) 90%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
  animation: scan-sweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  opacity: 0;
}

/* Wide glow halo */
.doc-scan-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 42px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(74, 155, 232, 0.0) 10%,
    rgba(74, 155, 232, 0.06) 35%,
    rgba(74, 155, 232, 0.1) 50%,
    rgba(74, 155, 232, 0.06) 65%,
    rgba(74, 155, 232, 0.0) 90%,
    transparent 100%
  );
  filter: blur(8px);
}

/* Tighter bright core */
.doc-scan-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(74, 155, 232, 0.0) 20%,
    rgba(74, 155, 232, 0.15) 40%,
    rgba(74, 155, 232, 0.2) 50%,
    rgba(74, 155, 232, 0.15) 60%,
    rgba(74, 155, 232, 0.0) 80%,
    transparent 100%
  );
  filter: blur(3px);
}

@keyframes scan-sweep {
  0% { left: -15%; opacity: 0; }
  3% { opacity: 0; }
  8% { opacity: 0.9; }
  50% { opacity: 1; }
  88% { opacity: 0.9; }
  93% { opacity: 0; }
  100% { left: 115%; opacity: 0; }
}

/* ======================================================================
   Floating Data Fragments
   ====================================================================== */
.doc-fragment {
  position: absolute;
  font-family: 'IBM Plex Mono', 'SF Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

.doc-fragment--blue {
  color: rgba(74, 155, 232, 0.6);
  text-shadow: 0 0 20px rgba(74, 155, 232, 0.22);
}

.doc-fragment--amber {
  color: rgba(232, 168, 48, 0.55);
  text-shadow: 0 0 20px rgba(232, 168, 48, 0.18);
}

.doc-fragment--white {
  color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

.doc-fragment--red {
  color: rgba(227, 66, 52, 0.5);
  text-shadow: 0 0 18px rgba(227, 66, 52, 0.15);
}

.doc-fragment--dim {
  font-size: 9px;
  opacity: 0.6;
}

/* Each fragment gets unique drift animation */
.doc-fragment:nth-child(6) { animation: frag-drift-a 9s ease-in-out infinite; }
.doc-fragment:nth-child(7) { animation: frag-drift-b 11s ease-in-out 1.5s infinite; }
.doc-fragment:nth-child(8) { animation: frag-drift-c 8s ease-in-out 0.8s infinite; }
.doc-fragment:nth-child(9) { animation: frag-drift-d 10s ease-in-out 2s infinite; }
.doc-fragment:nth-child(10) { animation: frag-drift-e 12s ease-in-out 0.5s infinite; }
.doc-fragment:nth-child(11) { animation: frag-drift-f 7.5s ease-in-out 3s infinite; }
.doc-fragment:nth-child(12) { animation: frag-drift-a 10s ease-in-out 1s infinite; }
.doc-fragment:nth-child(13) { animation: frag-drift-c 9s ease-in-out 2.5s infinite; }
.doc-fragment:nth-child(14) { animation: frag-drift-b 8.5s ease-in-out 0.3s infinite; }

@keyframes frag-drift-a {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  30% { transform: translate(5px, -7px); opacity: 0.65; }
  60% { transform: translate(-3px, -11px); opacity: 1; }
}

@keyframes frag-drift-b {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  40% { transform: translate(-7px, 4px); opacity: 0.7; }
  70% { transform: translate(4px, -6px); opacity: 1; }
}

@keyframes frag-drift-c {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  25% { transform: translate(8px, -3px); opacity: 0.7; }
  55% { transform: translate(-2px, -9px); opacity: 1; }
  80% { transform: translate(3px, 2px); opacity: 0.8; }
}

@keyframes frag-drift-d {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  35% { transform: translate(-5px, -8px); opacity: 0.65; }
  65% { transform: translate(7px, -2px); opacity: 1; }
}

@keyframes frag-drift-e {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  20% { transform: translate(4px, 5px); opacity: 0.75; }
  50% { transform: translate(-5px, -7px); opacity: 1; }
  80% { transform: translate(2px, -3px); opacity: 0.7; }
}

@keyframes frag-drift-f {
  0%, 100% { transform: translate(0, 0); opacity: 1; }
  45% { transform: translate(-8px, -5px); opacity: 0.65; }
  75% { transform: translate(3px, -10px); opacity: 1; }
}

/* ======================================================================
   Highlight pings — value briefly glows as if cursor found it
   ====================================================================== */
.doc-highlight-ping {
  position: absolute;
  width: 68px;
  height: 12px;
  border-radius: 2px;
  background: rgba(74, 155, 232, 0.15);
  border: 1px solid rgba(74, 155, 232, 0.3);
  pointer-events: none;
  z-index: 8;
  opacity: 0;
}

.doc-highlight-ping--1 {
  top: 200px;
  left: 85px;
  animation: highlight-blink-a 7s ease-in-out 1.5s infinite;
}

.doc-highlight-ping--2 {
  top: 140px;
  left: 185px;
  width: 52px;
  animation: highlight-blink-a 7s ease-in-out 4s infinite;
}

.doc-highlight-ping--3 {
  top: 275px;
  left: 145px;
  width: 58px;
  animation: highlight-blink-a 7s ease-in-out 2.5s infinite;
}

@keyframes highlight-blink-a {
  0%, 100% { opacity: 0; }
  6% { opacity: 0; }
  10% { opacity: 1; }
  14% { opacity: 0.85; }
  22% { opacity: 0.6; }
  30% { opacity: 0; }
}

/* ── Section 0 Responsive ── */
@media (max-width: 1024px) {
  .si-doc-pile-wrap.doc-chaos {
    width: 280px;
    height: 340px;
    transform: scale(0.75);
    transform-origin: center center;
  }

  .doc-fragment {
    display: none;
  }
}

@media (max-width: 767px) {
  .si-doc-pile-wrap.doc-chaos {
    width: 240px;
    height: 300px;
    transform: scale(0.65);
  }
}


/* ==========================================================================
   Section 1 — Drop Zone (Rich Design)
   ========================================================================== */

.si-file-cards-wrap.drop-zone-component {
  position: relative;
  width: 380px;
  height: 350px;
  flex-shrink: 0;
}

/* ── Background grid pattern — subtle structure ── */
.drop-zone-grid {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(74, 155, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 155, 232, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events: none;
  animation: grid-breathe 6s ease-in-out infinite;
}

@keyframes grid-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Drop zone glow ring — the "landing pad" ── */
.drop-zone-ring {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 155, 232, 0.12) 0%, transparent 70%);
  border: 1px solid rgba(74, 155, 232, 0.1);
  animation: ring-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.drop-zone-ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(74, 155, 232, 0.07);
}

@keyframes ring-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) scaleX(1) scaleY(1);
    box-shadow: 0 0 40px rgba(74, 155, 232, 0.03);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.02) scaleY(1.04);
    box-shadow: 0 0 60px rgba(74, 155, 232, 0.06);
  }
}

/* ── File card base ── */
.file-card {
  position: absolute;
  width: 310px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: default;
  transition: border-color 0.4s ease;

  /* Glass surface */
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0.06) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);

  /* Deep layered shadow for floating effect */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Inner highlight line at top of card */
.file-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent
  );
  border-radius: 1px;
}

/* ── Stagger positions — cascading flow ── */
.file-card--pdf {
  top: 16px;
  transform: translateX(-55%) rotate(-1.2deg);
  z-index: 3;
  animation: float-pdf 7s ease-in-out infinite;
}

.file-card--docx {
  top: 114px;
  transform: translateX(-48%) rotate(0.8deg);
  z-index: 2;
  animation: float-docx 8s ease-in-out 0.8s infinite;
}

.file-card--img {
  top: 212px;
  transform: translateX(-52%) rotate(-0.5deg);
  z-index: 1;
  animation: float-img 6.5s ease-in-out 1.6s infinite;
}

/* ── Independent floating animations ── */
@keyframes float-pdf {
  0%, 100% {
    transform: translateX(-55%) rotate(-1.2deg) translateY(0px);
  }
  33% {
    transform: translateX(-55%) rotate(-0.8deg) translateY(-6px);
  }
  66% {
    transform: translateX(-56%) rotate(-1.5deg) translateY(-2px);
  }
}

@keyframes float-docx {
  0%, 100% {
    transform: translateX(-48%) rotate(0.8deg) translateY(0px);
  }
  40% {
    transform: translateX(-47%) rotate(1.2deg) translateY(-5px);
  }
  70% {
    transform: translateX(-49%) rotate(0.4deg) translateY(-1px);
  }
}

@keyframes float-img {
  0%, 100% {
    transform: translateX(-52%) rotate(-0.5deg) translateY(0px);
  }
  25% {
    transform: translateX(-51%) rotate(-0.2deg) translateY(-3px);
  }
  55% {
    transform: translateX(-53%) rotate(-0.8deg) translateY(-7px);
  }
}

/* ── Type-specific accent borders on hover ── */
.file-card--pdf:hover { border-color: rgba(227, 66, 52, 0.2); }
.file-card--docx:hover { border-color: rgba(35, 131, 226, 0.2); }
.file-card--img:hover { border-color: rgba(123, 97, 255, 0.2); }

/* ── File type icon ── */
.file-icon {
  width: 40px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Corner fold */
.file-icon::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-bottom-left-radius: 3px;
}

/* Scan lines on icon (subtle texture) */
.file-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.02) 3px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.file-icon-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* PDF icon */
.file-icon--pdf {
  background: linear-gradient(145deg, rgba(227, 66, 52, 0.18) 0%, rgba(227, 66, 52, 0.08) 100%);
  border: 1px solid rgba(227, 66, 52, 0.2);
  box-shadow: 0 0 20px rgba(227, 66, 52, 0.05);
}
.file-icon--pdf::before { background: rgba(227, 66, 52, 0.3); }
.file-icon--pdf .file-icon-label { color: #E34234; }

/* DOCX icon */
.file-icon--docx {
  background: linear-gradient(145deg, rgba(35, 131, 226, 0.18) 0%, rgba(35, 131, 226, 0.08) 100%);
  border: 1px solid rgba(35, 131, 226, 0.2);
  box-shadow: 0 0 20px rgba(35, 131, 226, 0.05);
}
.file-icon--docx::before { background: rgba(35, 131, 226, 0.3); }
.file-icon--docx .file-icon-label { color: #4A9BE8; }

/* IMG icon */
.file-icon--img {
  background: linear-gradient(145deg, rgba(123, 97, 255, 0.18) 0%, rgba(123, 97, 255, 0.08) 100%);
  border: 1px solid rgba(123, 97, 255, 0.2);
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.05);
}
.file-icon--img::before { background: rgba(123, 97, 255, 0.3); }
.file-icon--img .file-icon-label { color: #7B61FF; }

/* Mini doc lines inside icon */
.file-icon-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 60%;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.file-icon-line {
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.25;
}

.file-icon-line:nth-child(2) { width: 80%; }
.file-icon-line:nth-child(3) { width: 60%; }

/* Image icon gets a landscape/mountain icon instead of lines */
.file-icon--img .file-icon-lines { display: none; }

.file-icon-image-art {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 14px;
  margin-bottom: 3px;
  border: 1px solid rgba(123, 97, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

/* Mountain shape */
.file-icon-image-art::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid rgba(123, 97, 255, 0.25);
}

/* Sun circle */
.file-icon-image-art::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(123, 97, 255, 0.35);
}

/* ── File info text ── */
.file-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.file-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.file-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ── Ready badge with shimmer ── */
.file-badge {
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(52, 168, 83, 0.15);
  color: #34A853;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

/* Badge glow */
.file-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 8px rgba(52, 168, 83, 0.08);
}

/* Shimmer sweep across badge */
.file-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 168, 83, 0.15),
    transparent
  );
  animation: badge-shimmer 4s ease-in-out infinite;
}

.file-card--pdf .file-badge::after { animation-delay: 0s; }
.file-card--docx .file-badge::after { animation-delay: 1.3s; }
.file-card--img .file-badge::after { animation-delay: 2.6s; }

@keyframes badge-shimmer {
  0%, 70%, 100% { left: -100%; }
  35% { left: 200%; }
}

/* ── Sparkle particles near badges ── */
.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(52, 168, 83, 0.5);
  pointer-events: none;
}

.sparkle--1 {
  top: -4px;
  right: 6px;
  animation: sparkle-pop 3s ease-in-out infinite;
}

.sparkle--2 {
  bottom: -3px;
  right: 14px;
  width: 2px;
  height: 2px;
  animation: sparkle-pop 3s ease-in-out 1s infinite;
}

.sparkle--3 {
  top: 2px;
  right: -3px;
  width: 2px;
  height: 2px;
  animation: sparkle-pop 3s ease-in-out 2s infinite;
}

@keyframes sparkle-pop {
  0%, 80%, 100% { opacity: 0; transform: scale(0.5); }
  40% { opacity: 1; transform: scale(1.2); }
  60% { opacity: 0.6; transform: scale(0.8); }
}

/* ── Ambient light particles floating around the component ── */
.ambient-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(74, 155, 232, 0.2);
  filter: blur(1px);
}

.ambient-particle--1 {
  width: 4px;
  height: 4px;
  top: 10%;
  right: 8%;
  animation: particle-drift-1 12s ease-in-out infinite;
}

.ambient-particle--2 {
  width: 3px;
  height: 3px;
  top: 45%;
  left: 3%;
  background: rgba(123, 97, 255, 0.15);
  animation: particle-drift-2 15s ease-in-out 2s infinite;
}

.ambient-particle--3 {
  width: 2px;
  height: 2px;
  bottom: 20%;
  right: 12%;
  background: rgba(227, 66, 52, 0.15);
  animation: particle-drift-3 10s ease-in-out 4s infinite;
}

.ambient-particle--4 {
  width: 3px;
  height: 3px;
  top: 25%;
  left: 10%;
  animation: particle-drift-4 14s ease-in-out 1s infinite;
}

.ambient-particle--5 {
  width: 2px;
  height: 2px;
  bottom: 35%;
  left: 15%;
  background: rgba(52, 168, 83, 0.15);
  animation: particle-drift-5 11s ease-in-out 3s infinite;
}

@keyframes particle-drift-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25% { transform: translate(-8px, 12px); opacity: 0.6; }
  50% { transform: translate(4px, -6px); opacity: 0.2; }
  75% { transform: translate(-4px, 4px); opacity: 0.5; }
}

@keyframes particle-drift-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  30% { transform: translate(10px, -8px); opacity: 0.5; }
  60% { transform: translate(-6px, 6px); opacity: 0.15; }
}

@keyframes particle-drift-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  40% { transform: translate(-12px, -10px); opacity: 0.5; }
  70% { transform: translate(6px, 4px); opacity: 0.2; }
}

@keyframes particle-drift-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  35% { transform: translate(6px, 10px); opacity: 0.45; }
  65% { transform: translate(-8px, -4px); opacity: 0.15; }
}

@keyframes particle-drift-5 {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  50% { transform: translate(8px, -12px); opacity: 0.4; }
}

/* ── Connection lines between cards (subtle visual flow) ── */
.flow-connector {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 16px;
  background: linear-gradient(
    180deg,
    rgba(74, 155, 232, 0.22),
    rgba(74, 155, 232, 0.05)
  );
  pointer-events: none;
  animation: connector-pulse 5s ease-in-out infinite;
}

.flow-connector--1 {
  top: 96px;
  transform: translateX(8px);
}

.flow-connector--2 {
  top: 194px;
  transform: translateX(-4px);
  animation-delay: 1.5s;
}

@keyframes connector-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ── Section 1 Responsive ── */
@media (max-width: 1024px) {
  .si-file-cards-wrap.drop-zone-component {
    width: 340px;
    height: 320px;
  }

  .file-card {
    width: 280px;
  }
}

@media (max-width: 767px) {
  .si-file-cards-wrap.drop-zone-component {
    width: 300px;
    height: 300px;
  }

  .file-card {
    width: 260px;
    padding: 12px 14px;
    gap: 10px;
  }

  .file-icon {
    width: 34px;
    height: 42px;
  }

  .file-name { font-size: 12.5px; }
  .file-meta { font-size: 10px; }

  .ambient-particle { display: none; }
}


/* ==========================================================================
   Section 2 — Intelligence (AI Comprehension)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section2-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section2-wrap.intel-component {
  position: relative;
  width: 380px;
  height: 420px;
  flex-shrink: 0;
}

/* ── Ambient glow behind document ── */
.si-section2-wrap.intel-component::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 42%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(35, 131, 226, 0.09) 0%,
    rgba(35, 131, 226, 0.035) 50%,
    transparent 75%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: intel-glow 7s ease-in-out infinite;
}

@keyframes intel-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ── The Document Fragment — ghostly invoice ── */
.doc-fragment-page {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 228px;
  height: 380px;
  border-radius: 4px;
  padding: 20px 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(249, 249, 247, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.doc-fragment-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.025) 0%, transparent 30%);
  pointer-events: none;
  border-radius: inherit;
}

.doc-fragment-page::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg,
    rgba(6, 8, 16, 0.7) 0%, rgba(6, 8, 16, 0.4) 42%,
    rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%
  );
  border-bottom-left-radius: 3px;
}

/* ── Company header area ── */
.inv-header { margin-bottom: 12px; position: relative; }

.inv-company {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  line-height: 1.3;
  position: relative;
}

.inv-company-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 7.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

/* ── Invoice title line ── */
.inv-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.inv-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.16);
  margin-bottom: 6px;
}

/* ── Separator ── */
.inv-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 6px 0;
}

/* ── Faint body text lines ── */
.inv-text-line {
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5px;
  margin-bottom: 4px;
}

/* ── Table area ── */
.inv-table {
  margin: 8px 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.inv-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.inv-table-cell {
  height: 13px;
  padding: 3px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.inv-table-cell:last-child { border-right: none; }
.inv-table-row:last-child .inv-table-cell { border-bottom: none; }

.inv-table-bar {
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.inv-table-header .inv-table-cell { background: rgba(255, 255, 255, 0.04); }
.inv-table-header .inv-table-bar { background: rgba(255, 255, 255, 0.15); }

/* ── Total row ── */
.inv-total-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  position: relative;
}

.inv-total-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.inv-total-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.02em;
  position: relative;
}

/* ── Payment terms ── */
.inv-terms {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  position: relative;
}

.inv-terms-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.3px;
}

.inv-terms-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  position: relative;
}

/* ── Bottom filler ── */
.inv-footer-lines { margin-top: auto; }

/* ── AI Reading Cursor ── */
.reading-cursor {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 228px;
  height: 1px;
  pointer-events: none;
  z-index: 2;
  animation: cursor-sweep 8s linear infinite;
}

.reading-cursor::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 8%;
  width: 84%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(74, 155, 232, 0.035) 15%,
    rgba(74, 155, 232, 0.05) 50%, rgba(74, 155, 232, 0.035) 85%,
    transparent 100%
  );
  border-radius: 1px;
  filter: blur(1px);
}

@keyframes cursor-sweep {
  0% { transform: translateY(0px); opacity: 0; }
  3% { opacity: 1; }
  85% { opacity: 1; }
  95% { opacity: 0; }
  100% { transform: translateY(380px); opacity: 0; }
}

/* ── Highlight Glows ── */
.highlight-glow {
  position: absolute;
  border-radius: 3px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

.highlight-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 5px;
  background: rgba(74, 155, 232, 0.15);
  filter: blur(6px);
}

.highlight-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: rgba(74, 155, 232, 0.1);
  border: 1px solid rgba(74, 155, 232, 0.25);
}

.highlight-glow--vendor {
  top: 38px; left: 26px; width: 130px; height: 16px;
  animation: highlight-appear-1 12s ease-in-out infinite;
}
.highlight-glow--vendor::before { animation: glow-bloom-1 12s ease-in-out infinite; }

.highlight-glow--total {
  top: 217px; left: 148px; width: 78px; height: 16px;
  animation: highlight-appear-2 12s ease-in-out infinite;
}
.highlight-glow--total::before { animation: glow-bloom-2 12s ease-in-out infinite; }

.highlight-glow--terms {
  top: 244px; left: 80px; width: 46px; height: 14px;
  animation: highlight-appear-3 12s ease-in-out infinite;
}
.highlight-glow--terms::before { animation: glow-bloom-3 12s ease-in-out infinite; }

@keyframes highlight-appear-1 {
  0%, 7% { opacity: 0; }
  8.3% { opacity: 1; }
  11% { opacity: 0.8; }
  46% { opacity: 0.8; }
  54% { opacity: 0.55; }
  82% { opacity: 0.55; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes highlight-appear-2 {
  0%, 19% { opacity: 0; }
  20.8% { opacity: 1; }
  24% { opacity: 0.8; }
  46% { opacity: 0.8; }
  54% { opacity: 0.55; }
  82% { opacity: 0.55; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes highlight-appear-3 {
  0%, 31.5% { opacity: 0; }
  33.3% { opacity: 1; }
  36% { opacity: 0.8; }
  46% { opacity: 0.8; }
  54% { opacity: 0.55; }
  82% { opacity: 0.55; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes glow-bloom-1 {
  0%, 7% { opacity: 0; }
  8.3% { opacity: 1; }
  14% { opacity: 0.3; }
  82% { opacity: 0.3; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes glow-bloom-2 {
  0%, 19% { opacity: 0; }
  20.8% { opacity: 1; }
  27% { opacity: 0.3; }
  82% { opacity: 0.3; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes glow-bloom-3 {
  0%, 31.5% { opacity: 0; }
  33.3% { opacity: 1; }
  39% { opacity: 0.3; }
  82% { opacity: 0.3; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Connection Lines ── */
.connection-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}

.connection-lines svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: visible;
}

.conn-path {
  fill: none;
  stroke: rgba(74, 155, 232, 0.4);
  stroke-width: 1;
  stroke-linecap: round;
}

.conn-path--vendor {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: intel-draw-line-1 12s ease-in-out infinite;
}

.conn-path--total {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: intel-draw-line-2 12s ease-in-out infinite;
}

.conn-path--terms {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: intel-draw-line-3 12s ease-in-out infinite;
}

.conn-pulse {
  fill: rgba(74, 155, 232, 0.7);
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(74, 155, 232, 0.5));
}

.conn-pulse--vendor {
  offset-path: path('M156,46 C190,42 230,30 262,36');
  animation: intel-pulse-travel-1 12s ease-in-out infinite;
}

.conn-pulse--total {
  offset-path: path('M226,225 C246,222 258,216 272,212');
  animation: intel-pulse-travel-2 12s ease-in-out infinite;
}

.conn-pulse--terms {
  offset-path: path('M126,251 C165,255 220,280 262,298');
  animation: intel-pulse-travel-3 12s ease-in-out infinite;
}

@keyframes intel-draw-line-1 {
  0%, 10% { stroke-dashoffset: 200; opacity: 0; }
  11% { opacity: 1; }
  16% { stroke-dashoffset: 0; }
  82% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes intel-draw-line-2 {
  0%, 22% { stroke-dashoffset: 200; opacity: 0; }
  23% { opacity: 1; }
  28% { stroke-dashoffset: 0; }
  82% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes intel-draw-line-3 {
  0%, 34% { stroke-dashoffset: 200; opacity: 0; }
  35% { opacity: 1; }
  40% { stroke-dashoffset: 0; }
  82% { stroke-dashoffset: 0; opacity: 1; }
  92% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes intel-pulse-travel-1 {
  0%, 10% { offset-distance: 0%; opacity: 0; }
  11% { opacity: 1; }
  16% { offset-distance: 100%; opacity: 0.7; }
  18% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes intel-pulse-travel-2 {
  0%, 22% { offset-distance: 0%; opacity: 0; }
  23% { opacity: 1; }
  28% { offset-distance: 100%; opacity: 0.7; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes intel-pulse-travel-3 {
  0%, 34% { offset-distance: 0%; opacity: 0; }
  35% { opacity: 1; }
  40% { offset-distance: 100%; opacity: 0.7; }
  42% { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Callout Labels ── */
.callout-label {
  position: absolute;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(74, 155, 232, 0.9);
  background: rgba(35, 131, 226, 0.14);
  border: 1px solid rgba(35, 131, 226, 0.28);
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: translateX(4px);
}

.callout-label::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  background: rgba(35, 131, 226, 0.06);
  filter: blur(8px);
  z-index: -1;
  opacity: 0;
}

.callout-label--vendor { top: 28px; left: 262px; animation: label-appear-1 12s ease-in-out infinite; }
.callout-label--vendor::before { animation: label-glow-1 12s ease-in-out infinite; }

.callout-label--total { top: 202px; left: 272px; animation: label-appear-2 12s ease-in-out infinite; }
.callout-label--total::before { animation: label-glow-2 12s ease-in-out infinite; }

.callout-label--terms { top: 290px; left: 262px; animation: label-appear-3 12s ease-in-out infinite; }
.callout-label--terms::before { animation: label-glow-3 12s ease-in-out infinite; }

@keyframes label-appear-1 {
  0%, 13% { opacity: 0; transform: translateX(6px); }
  17% { opacity: 1; transform: translateX(0); }
  82% { opacity: 1; transform: translateX(0); }
  92% { opacity: 0; transform: translateX(2px); }
  100% { opacity: 0; transform: translateX(6px); }
}

@keyframes label-appear-2 {
  0%, 25% { opacity: 0; transform: translateX(6px); }
  29% { opacity: 1; transform: translateX(0); }
  82% { opacity: 1; transform: translateX(0); }
  92% { opacity: 0; transform: translateX(2px); }
  100% { opacity: 0; transform: translateX(6px); }
}

@keyframes label-appear-3 {
  0%, 37% { opacity: 0; transform: translateX(6px); }
  41% { opacity: 1; transform: translateX(0); }
  82% { opacity: 1; transform: translateX(0); }
  92% { opacity: 0; transform: translateX(2px); }
  100% { opacity: 0; transform: translateX(6px); }
}

@keyframes label-glow-1 {
  0%, 13% { opacity: 0; }
  15% { opacity: 1; }
  22% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes label-glow-2 {
  0%, 25% { opacity: 0; }
  27% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes label-glow-3 {
  0%, 37% { opacity: 0; }
  39% { opacity: 1; }
  46% { opacity: 0; }
  100% { opacity: 0; }
}

/* ── Intel Ambient Particles ── */
.intel-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(74, 155, 232, 0.2);
  filter: blur(1px);
}

.intel-particle--1 {
  width: 3px; height: 3px;
  top: 8%; right: 5%;
  animation: intel-drift-1 13s ease-in-out infinite;
}

.intel-particle--2 {
  width: 2px; height: 2px;
  top: 55%; right: 2%;
  background: rgba(74, 155, 232, 0.15);
  animation: intel-drift-2 11s ease-in-out 2s infinite;
}

.intel-particle--3 {
  width: 3px; height: 3px;
  bottom: 15%; left: 3%;
  background: rgba(74, 155, 232, 0.12);
  animation: intel-drift-3 14s ease-in-out 1s infinite;
}

.intel-particle--4 {
  width: 2px; height: 2px;
  top: 30%; left: 0%;
  background: rgba(74, 155, 232, 0.18);
  animation: intel-drift-4 10s ease-in-out 3s infinite;
}

@keyframes intel-drift-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  30% { transform: translate(-6px, 10px); opacity: 0.55; }
  60% { transform: translate(3px, -5px); opacity: 0.2; }
}

@keyframes intel-drift-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  40% { transform: translate(-8px, -6px); opacity: 0.5; }
  70% { transform: translate(4px, 3px); opacity: 0.15; }
}

@keyframes intel-drift-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  35% { transform: translate(7px, -9px); opacity: 0.45; }
  65% { transform: translate(-4px, 4px); opacity: 0.2; }
}

@keyframes intel-drift-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  50% { transform: translate(5px, -8px); opacity: 0.4; }
}

/* ── Section 2 Responsive ── */
@media (max-width: 1024px) {
  .si-section2-wrap.intel-component {
    width: 360px;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .si-section2-wrap.intel-component {
    width: 320px;
    height: 380px;
  }

  .doc-fragment-page {
    width: 195px;
    height: 340px;
    padding: 16px 14px 14px;
  }

  .callout-label {
    font-size: 10px;
    padding: 4px 8px;
  }

  .callout-label--vendor { left: 220px; }
  .callout-label--total { left: 230px; }
  .callout-label--terms { left: 220px; }

  .intel-particle { display: none; }
}


/* ==========================================================================
   Section 3 — Extraction (Data Takes Shape)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section3-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section3-wrap.extraction-component {
  position: relative;
  width: 400px;
  height: 440px;
  flex-shrink: 0;
}

/* ── Energy flow gradient ── */
.si-section3-wrap.extraction-component::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse 55% 50% at 35% 50%,
    rgba(74, 155, 232, 0.055) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: energy-flow 8s ease-in-out infinite;
}

@keyframes energy-flow {
  0%, 100% {
    background: radial-gradient(
      ellipse 55% 50% at 30% 50%,
      rgba(74, 155, 232, 0.055) 0%,
      transparent 70%
    );
  }
  50% {
    background: radial-gradient(
      ellipse 60% 55% at 55% 50%,
      rgba(74, 155, 232, 0.08) 0%,
      transparent 70%
    );
  }
}

/* ── Source Document ── */
.source-doc {
  position: absolute;
  left: 0;
  top: 20px;
  width: 150px;
  height: 395px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 6px rgba(0, 0, 0, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  animation: doc-dim 8s ease-in-out infinite;
}

.source-doc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.025) 0%, transparent 35%);
  pointer-events: none;
  border-radius: inherit;
}

.source-doc::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg,
    rgba(6,8,16,0.8) 0%, rgba(6,8,16,0.5) 42%,
    rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.025) 100%
  );
  border-bottom-left-radius: 3px;
  z-index: 1;
}

@keyframes doc-dim {
  0%, 5% { opacity: 1; }
  55%, 80% { opacity: 0.6; }
  90%, 100% { opacity: 1; }
}

/* ── Doc interior elements ── */
.src-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.src-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(74, 155, 232, 0.3);
  flex-shrink: 0;
}

.src-company {
  height: 3.5px;
  width: 58%;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
}

.src-title {
  height: 4.5px;
  width: 68%;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 2px;
  margin-bottom: 3px;
}

.src-subtitle {
  height: 3px;
  width: 42%;
  background: rgba(255, 255, 255, 0.11);
  border-radius: 1.5px;
  margin-bottom: 8px;
}

.src-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.src-line {
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5px;
  margin-bottom: 4px;
}

.src-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

/* ── Mini table ── */
.src-table {
  margin: 6px 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  overflow: hidden;
}

.src-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.src-table-cell {
  height: 11px;
  padding: 2px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
}

.src-table-cell:last-child { border-right: none; }
.src-table-row:last-child .src-table-cell { border-bottom: none; }

.src-table-bar {
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.src-table-header .src-table-cell { background: rgba(255, 255, 255, 0.04); }
.src-table-header .src-table-bar { background: rgba(255, 255, 255, 0.16); }

/* ── Source highlight spots ── */
.source-spot {
  position: absolute;
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}

.source-spot--vendor {
  top: 28px; left: 10px; width: 92px; height: 14px;
  background: rgba(74, 155, 232, 0.09);
  border: 1px solid rgba(74, 155, 232, 0.18);
  box-shadow: 0 0 12px rgba(74, 155, 232, 0.09);
  animation: spot-1 8s ease-in-out infinite;
}

.source-spot--po {
  top: 62px; left: 8px; width: 84px; height: 14px;
  background: rgba(232, 168, 48, 0.09);
  border: 1px solid rgba(232, 168, 48, 0.16);
  box-shadow: 0 0 12px rgba(232, 168, 48, 0.09);
  animation: spot-4 8s ease-in-out infinite;
}

.source-spot--total {
  top: 198px; left: 50px; width: 80px; height: 14px;
  background: rgba(52, 168, 83, 0.09);
  border: 1px solid rgba(52, 168, 83, 0.18);
  box-shadow: 0 0 12px rgba(52, 168, 83, 0.09);
  animation: spot-2 8s ease-in-out infinite;
}

.source-spot--date {
  top: 264px; left: 8px; width: 72px; height: 14px;
  background: rgba(123, 97, 255, 0.09);
  border: 1px solid rgba(123, 97, 255, 0.18);
  box-shadow: 0 0 12px rgba(123, 97, 255, 0.09);
  animation: spot-3 8s ease-in-out infinite;
}

.source-spot--terms {
  top: 322px; left: 20px; width: 64px; height: 14px;
  background: rgba(232, 168, 48, 0.08);
  border: 1px solid rgba(232, 168, 48, 0.14);
  box-shadow: 0 0 10px rgba(232, 168, 48, 0.07);
  animation: spot-5 8s ease-in-out infinite;
}

@keyframes spot-1 {
  0%     { opacity: 0.4; box-shadow: 0 0 8px rgba(74,155,232,0.04); background: rgba(74,155,232,0.05); }
  4%     { opacity: 1;   box-shadow: 0 0 28px rgba(74,155,232,0.18); background: rgba(74,155,232,0.22); }
  9%     { opacity: 0.9; box-shadow: 0 0 20px rgba(74,155,232,0.12); background: rgba(74,155,232,0.15); }
  16%    { opacity: 0.3; box-shadow: 0 0 4px rgba(74,155,232,0.02); background: rgba(74,155,232,0.02); }
  75%    { opacity: 0.3; }
  90%,100% { opacity: 0.4; box-shadow: 0 0 8px rgba(74,155,232,0.04); background: rgba(74,155,232,0.05); }
}

@keyframes spot-2 {
  0%,11% { opacity: 0.4; box-shadow: 0 0 8px rgba(52,168,83,0.04); background: rgba(52,168,83,0.05); }
  16%    { opacity: 1;   box-shadow: 0 0 28px rgba(52,168,83,0.18); background: rgba(52,168,83,0.24); }
  21%    { opacity: 0.9; box-shadow: 0 0 20px rgba(52,168,83,0.12); background: rgba(52,168,83,0.15); }
  28%    { opacity: 0.25; box-shadow: 0 0 4px rgba(52,168,83,0.02); background: rgba(52,168,83,0.02); }
  75%    { opacity: 0.25; }
  90%,100% { opacity: 0.4; box-shadow: 0 0 8px rgba(52,168,83,0.04); background: rgba(52,168,83,0.05); }
}

@keyframes spot-3 {
  0%,23% { opacity: 0.4; box-shadow: 0 0 8px rgba(123,97,255,0.04); background: rgba(123,97,255,0.05); }
  28%    { opacity: 1;   box-shadow: 0 0 28px rgba(123,97,255,0.18); background: rgba(123,97,255,0.24); }
  33%    { opacity: 0.9; box-shadow: 0 0 20px rgba(123,97,255,0.12); background: rgba(123,97,255,0.15); }
  40%    { opacity: 0.25; box-shadow: 0 0 4px rgba(123,97,255,0.02); background: rgba(123,97,255,0.02); }
  75%    { opacity: 0.25; }
  90%,100% { opacity: 0.4; box-shadow: 0 0 8px rgba(123,97,255,0.04); background: rgba(123,97,255,0.05); }
}

@keyframes spot-4 {
  0%,35% { opacity: 0.4; box-shadow: 0 0 8px rgba(232,168,48,0.04); background: rgba(232,168,48,0.05); }
  40%    { opacity: 1;   box-shadow: 0 0 28px rgba(232,168,48,0.18); background: rgba(232,168,48,0.24); }
  45%    { opacity: 0.9; box-shadow: 0 0 20px rgba(232,168,48,0.12); background: rgba(232,168,48,0.15); }
  52%    { opacity: 0.25; box-shadow: 0 0 4px rgba(232,168,48,0.02); background: rgba(232,168,48,0.02); }
  75%    { opacity: 0.25; }
  90%,100% { opacity: 0.4; box-shadow: 0 0 8px rgba(232,168,48,0.04); background: rgba(232,168,48,0.05); }
}

@keyframes spot-5 {
  0%,47% { opacity: 0.4; box-shadow: 0 0 8px rgba(232,168,48,0.03); background: rgba(232,168,48,0.04); }
  52%    { opacity: 1;   box-shadow: 0 0 24px rgba(232,168,48,0.15); background: rgba(232,168,48,0.2); }
  57%    { opacity: 0.85; box-shadow: 0 0 18px rgba(232,168,48,0.1); background: rgba(232,168,48,0.13); }
  64%    { opacity: 0.25; box-shadow: 0 0 4px rgba(232,168,48,0.02); background: rgba(232,168,48,0.02); }
  75%    { opacity: 0.25; }
  90%,100% { opacity: 0.4; box-shadow: 0 0 8px rgba(232,168,48,0.03); background: rgba(232,168,48,0.04); }
}

/* ── SVG Extraction Lines ── */
.extraction-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 5;
}

.extraction-path {
  fill: none;
  stroke: rgba(74, 155, 232, 0.32);
  stroke-width: 1;
  stroke-linecap: round;
}

.extraction-path--1 {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: ext-draw-line-1 8s linear infinite;
}

.extraction-path--2 {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: ext-draw-line-2 8s linear infinite;
}

.extraction-path--3 {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: ext-draw-line-3 8s linear infinite;
}

.extraction-path--4 {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: ext-draw-line-4 8s linear infinite;
}

.extraction-path--5 {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: ext-draw-line-5 8s linear infinite;
}

@keyframes ext-draw-line-1 {
  0%     { stroke-dashoffset: 80;  opacity: 0; }
  2%     { opacity: 0.8; }
  10%    { stroke-dashoffset: 0;   opacity: 0.8; }
  62%    { stroke-dashoffset: 0;   opacity: 0.5; }
  87%    { stroke-dashoffset: 0;   opacity: 0; }
  100%   { stroke-dashoffset: 80;  opacity: 0; }
}

@keyframes ext-draw-line-2 {
  0%,11% { stroke-dashoffset: 130; opacity: 0; }
  14%    { opacity: 0.8; }
  22%    { stroke-dashoffset: 0;   opacity: 0.8; }
  62%    { stroke-dashoffset: 0;   opacity: 0.5; }
  87%    { stroke-dashoffset: 0;   opacity: 0; }
  100%   { stroke-dashoffset: 130; opacity: 0; }
}

@keyframes ext-draw-line-3 {
  0%,23% { stroke-dashoffset: 110; opacity: 0; }
  26%    { opacity: 0.8; }
  34%    { stroke-dashoffset: 0;   opacity: 0.8; }
  62%    { stroke-dashoffset: 0;   opacity: 0.5; }
  87%    { stroke-dashoffset: 0;   opacity: 0; }
  100%   { stroke-dashoffset: 110; opacity: 0; }
}

@keyframes ext-draw-line-4 {
  0%,35% { stroke-dashoffset: 240; opacity: 0; }
  38%    { opacity: 0.8; }
  46%    { stroke-dashoffset: 0;   opacity: 0.8; }
  62%    { stroke-dashoffset: 0;   opacity: 0.5; }
  87%    { stroke-dashoffset: 0;   opacity: 0; }
  100%   { stroke-dashoffset: 240; opacity: 0; }
}

@keyframes ext-draw-line-5 {
  0%,47% { stroke-dashoffset: 70;  opacity: 0; }
  50%    { opacity: 0.8; }
  58%    { stroke-dashoffset: 0;   opacity: 0.8; }
  62%    { stroke-dashoffset: 0;   opacity: 0.5; }
  87%    { stroke-dashoffset: 0;   opacity: 0; }
  100%   { stroke-dashoffset: 70;  opacity: 0; }
}

/* ── Traveling dot glow ── */
.travel-dot {
  fill: #4A9BE8;
  opacity: 0;
}

/* ── Field Cards ── */
.field-cards {
  position: absolute;
  right: 0;
  top: 20px;
  width: 195px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  opacity: 0;
  transform: scale(0.95) translateX(-4px);
}

.field-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(255,255,255,0.09) 30%,
    rgba(255,255,255,0.13) 50%, rgba(255,255,255,0.09) 70%,
    transparent
  );
  border-radius: 1px;
}

.field-card--1 { animation: card-appear-1 8s ease-out infinite; }
.field-card--2 { animation: card-appear-2 8s ease-out infinite; }
.field-card--3 { animation: card-appear-3 8s ease-out infinite; }
.field-card--4 { animation: card-appear-4 8s ease-out infinite; }
.field-card--5 { animation: card-appear-5 8s ease-out infinite; }

@keyframes card-appear-1 {
  0%,2%  { opacity: 0; transform: scale(0.95) translateX(-4px); }
  7%     { opacity: 1; transform: scale(1.01) translateX(0); }
  10%    { opacity: 1; transform: scale(1) translateX(0); }
  68%    { opacity: 1; transform: scale(1) translateX(0); }
  88%    { opacity: 0; transform: scale(0.98) translateX(-2px); }
  100%   { opacity: 0; transform: scale(0.95) translateX(-4px); }
}

@keyframes card-appear-2 {
  0%,11% { opacity: 0; transform: scale(0.95) translateX(-4px); }
  17%    { opacity: 1; transform: scale(1.01) translateX(0); }
  20%    { opacity: 1; transform: scale(1) translateX(0); }
  68%    { opacity: 1; transform: scale(1) translateX(0); }
  88%    { opacity: 0; transform: scale(0.98) translateX(-2px); }
  100%   { opacity: 0; transform: scale(0.95) translateX(-4px); }
}

@keyframes card-appear-3 {
  0%,23% { opacity: 0; transform: scale(0.95) translateX(-4px); }
  29%    { opacity: 1; transform: scale(1.01) translateX(0); }
  32%    { opacity: 1; transform: scale(1) translateX(0); }
  68%    { opacity: 1; transform: scale(1) translateX(0); }
  88%    { opacity: 0; transform: scale(0.98) translateX(-2px); }
  100%   { opacity: 0; transform: scale(0.95) translateX(-4px); }
}

@keyframes card-appear-4 {
  0%,35% { opacity: 0; transform: scale(0.95) translateX(-4px); }
  41%    { opacity: 1; transform: scale(1.01) translateX(0); }
  44%    { opacity: 1; transform: scale(1) translateX(0); }
  68%    { opacity: 1; transform: scale(1) translateX(0); }
  88%    { opacity: 0; transform: scale(0.98) translateX(-2px); }
  100%   { opacity: 0; transform: scale(0.95) translateX(-4px); }
}

@keyframes card-appear-5 {
  0%,47% { opacity: 0; transform: scale(0.95) translateX(-4px); }
  53%    { opacity: 1; transform: scale(1.01) translateX(0); }
  56%    { opacity: 1; transform: scale(1) translateX(0); }
  68%    { opacity: 1; transform: scale(1) translateX(0); }
  88%    { opacity: 0; transform: scale(0.98) translateX(-2px); }
  100%   { opacity: 0; transform: scale(0.95) translateX(-4px); }
}

/* ── Card interior ── */
.field-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

.field-confidence {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.field-confidence--green {
  background: rgba(52, 168, 83, 0.16);
  color: #34A853;
  border: 1px solid rgba(52, 168, 83, 0.22);
}

.field-confidence--amber {
  background: rgba(232, 168, 48, 0.16);
  color: #E8A830;
  border: 1px solid rgba(232, 168, 48, 0.22);
}

.field-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

/* ── Provenance tick ── */
.field-card-provenance {
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 12px;
  border-radius: 1px;
}

.field-card--1 .field-card-provenance { background: rgba(74, 155, 232, 0.5); }
.field-card--2 .field-card-provenance { background: rgba(52, 168, 83, 0.5); }
.field-card--3 .field-card-provenance { background: rgba(123, 97, 255, 0.5); }
.field-card--4 .field-card-provenance { background: rgba(232, 168, 48, 0.45); }
.field-card--5 .field-card-provenance { background: rgba(232, 168, 48, 0.4); }

/* ── Section 3 Ambient Particles (override Section 1 positions) ── */
.si-section3-wrap .ambient-particle {
  z-index: 3;
}

.si-section3-wrap .ambient-particle--1 {
  width: 3px;
  height: 3px;
  background: rgba(74, 155, 232, 0.25);
  top: 8%;
  left: 38%;
  right: auto;
  bottom: auto;
  filter: blur(0.5px);
  animation: ext-amb-1 11s ease-in-out infinite;
}

.si-section3-wrap .ambient-particle--2 {
  width: 2px;
  height: 2px;
  background: rgba(52, 168, 83, 0.2);
  top: 55%;
  left: 42%;
  right: auto;
  bottom: auto;
  filter: blur(0.5px);
  animation: ext-amb-2 13s ease-in-out 2s infinite;
}

.si-section3-wrap .ambient-particle--3 {
  width: 2.5px;
  height: 2.5px;
  background: rgba(123, 97, 255, 0.2);
  top: 78%;
  left: 36%;
  right: auto;
  bottom: auto;
  filter: blur(0.5px);
  animation: ext-amb-3 9s ease-in-out 1s infinite;
}

.si-section3-wrap .ambient-particle--4 {
  width: 2px;
  height: 2px;
  background: rgba(232, 168, 48, 0.18);
  top: 30%;
  left: 44%;
  right: auto;
  bottom: auto;
  filter: blur(1px);
  animation: ext-amb-4 14s ease-in-out 3s infinite;
}

.si-section3-wrap .ambient-particle--5 {
  width: 1.5px;
  height: 1.5px;
  background: rgba(74, 155, 232, 0.3);
  top: 92%;
  left: 40%;
  right: auto;
  bottom: auto;
  filter: blur(0.5px);
  animation: ext-amb-5 10s ease-in-out 0.5s infinite;
}

@keyframes ext-amb-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  30% { transform: translate(12px, -6px); opacity: 0.6; }
  60% { transform: translate(-4px, 8px); opacity: 0.2; }
}

@keyframes ext-amb-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  40% { transform: translate(-8px, -10px); opacity: 0.5; }
  70% { transform: translate(6px, 4px); opacity: 0.15; }
}

@keyframes ext-amb-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  35% { transform: translate(10px, 6px); opacity: 0.5; }
  65% { transform: translate(-6px, -8px); opacity: 0.2; }
}

@keyframes ext-amb-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  50% { transform: translate(-10px, -5px); opacity: 0.4; }
}

@keyframes ext-amb-5 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  25% { transform: translate(8px, -4px); opacity: 0.45; }
  55% { transform: translate(-5px, -7px); opacity: 0.15; }
}

/* ── Section 3 Responsive ── */
@media (max-width: 767px) {
  .si-section3-wrap.extraction-component {
    transform: scale(0.85);
    transform-origin: center;
  }

  .si-section3-wrap .ambient-particle { display: none; }
}


/* ==========================================================================
   Section 4 — Traceability (Every Value Has a Source)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section4-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section4-wrap.trace-component {
  position: relative;
  width: 380px;
  height: 400px;
  flex-shrink: 0;
}

/* Ambient glow behind the component */
.si-section4-wrap.trace-component::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: radial-gradient(
    ellipse 50% 45% at 50% 45%,
    rgba(74, 155, 232, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: trace-ambient 6s ease-in-out infinite;
}

@keyframes trace-ambient {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ── Mini Document (Top Half) ── */
.trace-mini-doc {
  position: absolute;
  top: 0;
  left: 30px;
  width: 320px;
  height: 178px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 1px 6px rgba(0, 0, 0, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 14px 16px;
}

.trace-mini-doc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.025) 0%, transparent 35%);
  pointer-events: none;
  border-radius: inherit;
}

.trace-mini-doc::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg,
    rgba(6,8,16,0.85) 0%, rgba(6,8,16,0.5) 42%,
    rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.025) 100%
  );
  border-bottom-left-radius: 3px;
  z-index: 2;
}

/* Doc content lines */
.trace-doc-line {
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5px;
  margin-bottom: 4px;
}

.trace-doc-line--header {
  height: 4px;
  background: rgba(255, 255, 255, 0.13);
  margin-bottom: 6px;
}

.trace-doc-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 6px 0;
}

.trace-page-indicator {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

/* Source highlights on the document */
.trace-source-highlight {
  position: absolute;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
  transition: none;
}

.trace-source-highlight--vendor {
  top: 14px;
  left: 14px;
  width: 120px;
  height: 16px;
  background: rgba(74, 155, 232, 0.08);
  border: 1px solid rgba(74, 155, 232, 0.16);
  box-shadow: 0 0 10px rgba(74, 155, 232, 0.06);
  animation: trace-highlight-1 4s ease-in-out infinite;
}

.trace-source-highlight--total {
  top: 92px;
  right: 14px;
  width: 88px;
  height: 16px;
  background: rgba(52, 168, 83, 0.08);
  border: 1px solid rgba(52, 168, 83, 0.16);
  box-shadow: 0 0 10px rgba(52, 168, 83, 0.06);
  animation: trace-highlight-2 4s ease-in-out infinite;
}

.trace-source-highlight--date {
  top: 126px;
  left: 14px;
  width: 82px;
  height: 16px;
  background: rgba(74, 155, 232, 0.08);
  border: 1px solid rgba(74, 155, 232, 0.16);
  box-shadow: 0 0 10px rgba(74, 155, 232, 0.06);
  animation: trace-highlight-3 4s ease-in-out infinite;
}

@keyframes trace-highlight-1 {
  0%      { background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.12); box-shadow: 0 0 8px rgba(74,155,232,0.05); }
  5%      { background: rgba(74,155,232,0.2);  border-color: rgba(74,155,232,0.35); box-shadow: 0 0 24px rgba(74,155,232,0.15), inset 0 0 8px rgba(74,155,232,0.08); }
  16%     { background: rgba(74,155,232,0.18); border-color: rgba(74,155,232,0.3);  box-shadow: 0 0 20px rgba(74,155,232,0.12), inset 0 0 6px rgba(74,155,232,0.06); }
  28%     { background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.1);  box-shadow: 0 0 6px rgba(74,155,232,0.04); }
  33%,100%{ background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.1);  box-shadow: 0 0 6px rgba(74,155,232,0.04); }
}

@keyframes trace-highlight-2 {
  0%,32%  { background: rgba(52,168,83,0.06);  border-color: rgba(52,168,83,0.1);   box-shadow: 0 0 6px rgba(52,168,83,0.04); }
  38%     { background: rgba(52,168,83,0.2);   border-color: rgba(52,168,83,0.35);  box-shadow: 0 0 24px rgba(52,168,83,0.15), inset 0 0 8px rgba(52,168,83,0.08); }
  50%     { background: rgba(52,168,83,0.18);  border-color: rgba(52,168,83,0.3);   box-shadow: 0 0 20px rgba(52,168,83,0.12), inset 0 0 6px rgba(52,168,83,0.06); }
  61%     { background: rgba(52,168,83,0.06);  border-color: rgba(52,168,83,0.1);   box-shadow: 0 0 6px rgba(52,168,83,0.04); }
  66%,100%{ background: rgba(52,168,83,0.06);  border-color: rgba(52,168,83,0.1);   box-shadow: 0 0 6px rgba(52,168,83,0.04); }
}

@keyframes trace-highlight-3 {
  0%,65%  { background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.1);  box-shadow: 0 0 6px rgba(74,155,232,0.04); }
  72%     { background: rgba(74,155,232,0.2);  border-color: rgba(74,155,232,0.35); box-shadow: 0 0 24px rgba(74,155,232,0.15), inset 0 0 8px rgba(74,155,232,0.08); }
  83%     { background: rgba(74,155,232,0.18); border-color: rgba(74,155,232,0.3);  box-shadow: 0 0 20px rgba(74,155,232,0.12), inset 0 0 6px rgba(74,155,232,0.06); }
  94%     { background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.1);  box-shadow: 0 0 6px rgba(74,155,232,0.04); }
  100%    { background: rgba(74,155,232,0.06); border-color: rgba(74,155,232,0.1);  box-shadow: 0 0 6px rgba(74,155,232,0.04); }
}

/* Doc text values */
.trace-doc-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  position: relative;
  z-index: 3;
}

/* Two-column layout rows */
.trace-doc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.trace-doc-row--spaced {
  justify-content: space-between;
}

/* Mini table */
.trace-doc-table {
  margin: 4px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.trace-doc-table-row {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr;
}

.trace-doc-table-cell {
  height: 10px;
  padding: 2px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
}

.trace-doc-table-cell:last-child { border-right: none; }
.trace-doc-table-row:last-child .trace-doc-table-cell { border-bottom: none; }

.trace-doc-table-bar {
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.trace-doc-table-header .trace-doc-table-cell {
  background: rgba(255, 255, 255, 0.04);
}

.trace-doc-table-header .trace-doc-table-bar {
  background: rgba(255, 255, 255, 0.14);
}

/* SVG Provenance Lines */
.trace-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.trace-provenance-line {
  fill: none;
  stroke: rgba(74, 155, 232, 0.28);
  stroke-width: 1;
  stroke-linecap: round;
}

.trace-provenance-line--1 {
  animation: trace-prov-line-1 4s ease-in-out infinite;
}

.trace-provenance-line--2 {
  stroke: rgba(52, 168, 83, 0.28);
  animation: trace-prov-line-2 4s ease-in-out infinite;
}

.trace-provenance-line--3 {
  animation: trace-prov-line-3 4s ease-in-out infinite;
}

@keyframes trace-prov-line-1 {
  0%      { stroke: rgba(74,155,232,0.18); stroke-width: 1; }
  5%      { stroke: rgba(74,155,232,0.55); stroke-width: 1.5; filter: drop-shadow(0 0 4px rgba(74,155,232,0.3)); }
  16%     { stroke: rgba(74,155,232,0.45); stroke-width: 1.3; filter: drop-shadow(0 0 3px rgba(74,155,232,0.2)); }
  28%     { stroke: rgba(74,155,232,0.15); stroke-width: 1; filter: none; }
  33%,100%{ stroke: rgba(74,155,232,0.15); stroke-width: 1; filter: none; }
}

@keyframes trace-prov-line-2 {
  0%,32%  { stroke: rgba(52,168,83,0.15); stroke-width: 1; filter: none; }
  38%     { stroke: rgba(52,168,83,0.55); stroke-width: 1.5; filter: drop-shadow(0 0 4px rgba(52,168,83,0.3)); }
  50%     { stroke: rgba(52,168,83,0.45); stroke-width: 1.3; filter: drop-shadow(0 0 3px rgba(52,168,83,0.2)); }
  61%     { stroke: rgba(52,168,83,0.15); stroke-width: 1; filter: none; }
  66%,100%{ stroke: rgba(52,168,83,0.15); stroke-width: 1; filter: none; }
}

@keyframes trace-prov-line-3 {
  0%,65%  { stroke: rgba(74,155,232,0.15); stroke-width: 1; filter: none; }
  72%     { stroke: rgba(74,155,232,0.55); stroke-width: 1.5; filter: drop-shadow(0 0 4px rgba(74,155,232,0.3)); }
  83%     { stroke: rgba(74,155,232,0.45); stroke-width: 1.3; filter: drop-shadow(0 0 3px rgba(74,155,232,0.2)); }
  94%     { stroke: rgba(74,155,232,0.15); stroke-width: 1; filter: none; }
  100%    { stroke: rgba(74,155,232,0.15); stroke-width: 1; filter: none; }
}

/* Traveling dot on provenance lines */
.trace-prov-dot {
  fill: #4A9BE8;
  opacity: 0;
}

.trace-prov-dot--green {
  fill: #34A853;
}

/* Field Cards (Bottom Half) */
.trace-field-cards {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trace-field-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.trace-field-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.05) 30%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.05) 70%,
    transparent
  );
  border-radius: 1px;
}

.trace-field-card--1 { animation: trace-card-glow-1 4s ease-in-out infinite; }
.trace-field-card--2 { animation: trace-card-glow-2 4s ease-in-out infinite; }
.trace-field-card--3 { animation: trace-card-glow-3 4s ease-in-out infinite; }

@keyframes trace-card-glow-1 {
  0%      { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  5%      { border-color: rgba(74,155,232,0.25);  box-shadow: 0 0 16px rgba(74,155,232,0.08), inset 0 0 12px rgba(74,155,232,0.03); }
  16%     { border-color: rgba(74,155,232,0.2);   box-shadow: 0 0 12px rgba(74,155,232,0.06), inset 0 0 8px rgba(74,155,232,0.02); }
  28%     { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  33%,100%{ border-color: rgba(255,255,255,0.06); box-shadow: none; }
}

@keyframes trace-card-glow-2 {
  0%,32%  { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  38%     { border-color: rgba(52,168,83,0.25);   box-shadow: 0 0 16px rgba(52,168,83,0.08), inset 0 0 12px rgba(52,168,83,0.03); }
  50%     { border-color: rgba(52,168,83,0.2);    box-shadow: 0 0 12px rgba(52,168,83,0.06), inset 0 0 8px rgba(52,168,83,0.02); }
  61%     { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  66%,100%{ border-color: rgba(255,255,255,0.06); box-shadow: none; }
}

@keyframes trace-card-glow-3 {
  0%,65%  { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  72%     { border-color: rgba(74,155,232,0.25);  box-shadow: 0 0 16px rgba(74,155,232,0.08), inset 0 0 12px rgba(74,155,232,0.03); }
  83%     { border-color: rgba(74,155,232,0.2);   box-shadow: 0 0 12px rgba(74,155,232,0.06), inset 0 0 8px rgba(74,155,232,0.02); }
  94%     { border-color: rgba(255,255,255,0.06); box-shadow: none; }
  100%    { border-color: rgba(255,255,255,0.06); box-shadow: none; }
}

/* Provenance tick (left edge) */
.trace-field-card-tick {
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 14px;
  border-radius: 1px;
}

.trace-field-card--1 .trace-field-card-tick { background: rgba(74, 155, 232, 0.45); }
.trace-field-card--2 .trace-field-card-tick { background: rgba(52, 168, 83, 0.45); }
.trace-field-card--3 .trace-field-card-tick { background: rgba(74, 155, 232, 0.45); }

/* Card row layout */
.trace-field-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trace-field-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

.trace-field-source-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  font-weight: 500;
  color: rgba(74, 155, 232, 0.5);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.trace-field-card--1 .trace-field-source-link { animation: trace-src-link-1 4s ease-in-out infinite; }
.trace-field-card--2 .trace-field-source-link { animation: trace-src-link-2 4s ease-in-out infinite; }
.trace-field-card--3 .trace-field-source-link { animation: trace-src-link-3 4s ease-in-out infinite; }

@keyframes trace-src-link-1 {
  0%      { color: rgba(74,155,232,0.35); }
  5%      { color: rgba(74,155,232,0.85); text-shadow: 0 0 6px rgba(74,155,232,0.3); }
  16%     { color: rgba(74,155,232,0.7);  text-shadow: 0 0 4px rgba(74,155,232,0.2); }
  28%     { color: rgba(74,155,232,0.35); text-shadow: none; }
  33%,100%{ color: rgba(74,155,232,0.35); text-shadow: none; }
}

@keyframes trace-src-link-2 {
  0%,32%  { color: rgba(52,168,83,0.35); }
  38%     { color: rgba(52,168,83,0.85); text-shadow: 0 0 6px rgba(52,168,83,0.3); }
  50%     { color: rgba(52,168,83,0.7);  text-shadow: 0 0 4px rgba(52,168,83,0.2); }
  61%     { color: rgba(52,168,83,0.35); text-shadow: none; }
  66%,100%{ color: rgba(52,168,83,0.35); text-shadow: none; }
}

@keyframes trace-src-link-3 {
  0%,65%  { color: rgba(74,155,232,0.35); }
  72%     { color: rgba(74,155,232,0.85); text-shadow: 0 0 6px rgba(74,155,232,0.3); }
  83%     { color: rgba(74,155,232,0.7);  text-shadow: 0 0 4px rgba(74,155,232,0.2); }
  94%     { color: rgba(74,155,232,0.35); text-shadow: none; }
  100%    { color: rgba(74,155,232,0.35); text-shadow: none; }
}

/* Value row with confidence bar */
.trace-field-value-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trace-field-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

/* Confidence bar */
.trace-confidence-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.trace-confidence-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.trace-confidence-bar-fill {
  height: 100%;
  border-radius: 2px;
  position: relative;
}

.trace-confidence-bar-fill--blue {
  background: linear-gradient(90deg, rgba(74,155,232,0.7), rgba(35,131,226,0.9));
  box-shadow: inset 0 0 4px rgba(74,155,232,0.4), 0 0 8px rgba(74,155,232,0.2);
}

.trace-confidence-bar-fill--green {
  background: linear-gradient(90deg, rgba(52,168,83,0.7), rgba(52,168,83,0.9));
  box-shadow: inset 0 0 4px rgba(52,168,83,0.4), 0 0 8px rgba(52,168,83,0.2);
}

.trace-confidence-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), transparent);
  border-radius: 2px 2px 0 0;
}

.trace-confidence-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
  flex-shrink: 0;
  width: 24px;
  text-align: right;
}

/* Verified checkmark */
.trace-verified-check {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  opacity: 0;
}

.trace-verified-check svg {
  width: 100%;
  height: 100%;
}

.trace-field-card--1 .trace-verified-check { animation: trace-check-appear-1 4s ease-out infinite; }
.trace-field-card--2 .trace-verified-check { animation: trace-check-appear-2 4s ease-out infinite; }
.trace-field-card--3 .trace-verified-check { animation: trace-check-appear-3 4s ease-out infinite; }

@keyframes trace-check-appear-1 {
  0%,14%  { opacity: 0; transform: translateY(-50%) scale(0.6); }
  18%     { opacity: 1; transform: translateY(-50%) scale(1.1); }
  22%     { opacity: 0.8; transform: translateY(-50%) scale(1); }
  28%     { opacity: 0; transform: translateY(-50%) scale(0.9); }
  33%,100%{ opacity: 0; transform: translateY(-50%) scale(0.6); }
}

@keyframes trace-check-appear-2 {
  0%,47%  { opacity: 0; transform: translateY(-50%) scale(0.6); }
  51%     { opacity: 1; transform: translateY(-50%) scale(1.1); }
  55%     { opacity: 0.8; transform: translateY(-50%) scale(1); }
  61%     { opacity: 0; transform: translateY(-50%) scale(0.9); }
  66%,100%{ opacity: 0; transform: translateY(-50%) scale(0.6); }
}

@keyframes trace-check-appear-3 {
  0%,80%  { opacity: 0; transform: translateY(-50%) scale(0.6); }
  84%     { opacity: 1; transform: translateY(-50%) scale(1.1); }
  88%     { opacity: 0.8; transform: translateY(-50%) scale(1); }
  94%     { opacity: 0; transform: translateY(-50%) scale(0.9); }
  100%    { opacity: 0; transform: translateY(-50%) scale(0.6); }
}

/* Section 4 Responsive */
@media (max-width: 767px) {
  .si-section4-wrap.trace-component {
    transform: scale(0.85);
    transform-origin: center;
  }
}


/* ==========================================================================
   Section 5 — Outcomes (You Define What Matters)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section5-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section5-wrap.outcomes-component {
  position: relative;
  width: 380px;
  height: 420px;
  flex-shrink: 0;
}

.si-section5-wrap.outcomes-component::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(
    ellipse 60% 45% at 50% 45%,
    rgba(74, 155, 232, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: outcome-glow 8s ease-in-out infinite;
}

@keyframes outcome-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Rule Cards — Top section */
.outcome-rules-zone {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outcome-rule-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.outcome-rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent
  );
  border-radius: 1px;
}

/* Color indicator pip */
.outcome-rule-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.outcome-rule-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(3px);
}

.outcome-rule-indicator--amber {
  background: #E8A830;
  box-shadow: 0 0 8px rgba(232, 168, 48, 0.4);
}
.outcome-rule-indicator--amber::after { background: #E8A830; }

.outcome-rule-indicator--red {
  background: #E34234;
  box-shadow: 0 0 8px rgba(227, 66, 52, 0.4);
}
.outcome-rule-indicator--red::after { background: #E34234; }

.outcome-rule-indicator--blue {
  background: #4A9BE8;
  box-shadow: 0 0 8px rgba(74, 155, 232, 0.4);
}
.outcome-rule-indicator--blue::after { background: #4A9BE8; }

/* Condition (left side) */
.outcome-rule-condition {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.outcome-rule-keyword {
  color: rgba(255, 255, 255, 0.40);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.outcome-rule-field {
  color: rgba(74, 155, 232, 0.8);
}

.outcome-rule-operator {
  color: rgba(255, 255, 255, 0.40);
}

.outcome-rule-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Arrow connector */
.outcome-rule-arrow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  opacity: 0.50;
}

.outcome-rule-arrow-line {
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.40)
  );
}

.outcome-rule-arrow-head {
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid rgba(255, 255, 255, 0.40);
}

/* Action (right side) */
.outcome-rule-action {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.outcome-rule-action--amber {
  background: rgba(232, 168, 48, 0.16);
  color: rgba(232, 168, 48, 0.95);
  border: 1px solid rgba(232, 168, 48, 0.25);
}

.outcome-rule-action--red {
  background: rgba(227, 66, 52, 0.16);
  color: rgba(227, 66, 52, 0.95);
  border: 1px solid rgba(227, 66, 52, 0.25);
}

.outcome-rule-action--blue {
  background: rgba(74, 155, 232, 0.16);
  color: rgba(74, 155, 232, 0.95);
  border: 1px solid rgba(74, 155, 232, 0.25);
}

/* Rule pulse animation */
.outcome-rule-card--1 { animation: outcome-fire-1 7s ease-in-out infinite; }
.outcome-rule-card--2 { animation: outcome-fire-2 7s ease-in-out infinite; }
.outcome-rule-card--3 { animation: outcome-fire-3 7s ease-in-out infinite; }

@keyframes outcome-fire-1 {
  0%, 2%   { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  5%       { border-color: rgba(232, 168, 48, 0.30); background: rgba(232, 168, 48, 0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 20px rgba(232, 168, 48, 0.10); }
  12%      { border-color: rgba(232, 168, 48, 0.20); background: rgba(232, 168, 48, 0.05); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 10px rgba(232, 168, 48, 0.05); }
  20%      { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  70%, 100% { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
}

@keyframes outcome-fire-2 {
  0%, 18%  { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  22%      { border-color: rgba(227, 66, 52, 0.30); background: rgba(227, 66, 52, 0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 20px rgba(227, 66, 52, 0.10); }
  29%      { border-color: rgba(227, 66, 52, 0.20); background: rgba(227, 66, 52, 0.05); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 10px rgba(227, 66, 52, 0.05); }
  36%      { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  70%, 100% { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
}

@keyframes outcome-fire-3 {
  0%, 34%  { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  38%      { border-color: rgba(74, 155, 232, 0.30); background: rgba(74, 155, 232, 0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 20px rgba(74, 155, 232, 0.10); }
  45%      { border-color: rgba(74, 155, 232, 0.20); background: rgba(74, 155, 232, 0.05); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 10px rgba(74, 155, 232, 0.05); }
  52%      { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
  70%, 100% { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15); }
}

/* Divider */
.outcome-divider {
  position: absolute;
  top: 172px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.outcome-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.10) 20%,
    rgba(255, 255, 255, 0.10) 80%,
    transparent
  );
}

.outcome-divider-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* SVG Pulse Lines */
.outcome-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.outcome-pulse-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
}

.outcome-pulse-path--amber { stroke: rgba(232, 168, 48, 0.40); }
.outcome-pulse-path--red   { stroke: rgba(227, 66, 52, 0.40); }
.outcome-pulse-path--blue  { stroke: rgba(74, 155, 232, 0.40); }

.outcome-pulse-path--1 {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: outcome-pulse-draw-1 7s linear infinite;
}

.outcome-pulse-path--2 {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: outcome-pulse-draw-2 7s linear infinite;
}

.outcome-pulse-path--3 {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: outcome-pulse-draw-3 7s linear infinite;
}

@keyframes outcome-pulse-draw-1 {
  0%, 3%   { stroke-dashoffset: 300; opacity: 0; }
  6%       { opacity: 0.8; }
  15%      { stroke-dashoffset: 0; opacity: 0.7; }
  45%      { stroke-dashoffset: 0; opacity: 0.4; }
  65%      { stroke-dashoffset: 0; opacity: 0.15; }
  75%      { stroke-dashoffset: 0; opacity: 0; }
  100%     { stroke-dashoffset: 300; opacity: 0; }
}

@keyframes outcome-pulse-draw-2 {
  0%, 19%  { stroke-dashoffset: 200; opacity: 0; }
  22%      { opacity: 0.8; }
  32%      { stroke-dashoffset: 0; opacity: 0.7; }
  45%      { stroke-dashoffset: 0; opacity: 0.4; }
  65%      { stroke-dashoffset: 0; opacity: 0.15; }
  75%      { stroke-dashoffset: 0; opacity: 0; }
  100%     { stroke-dashoffset: 200; opacity: 0; }
}

@keyframes outcome-pulse-draw-3 {
  0%, 35%  { stroke-dashoffset: 260; opacity: 0; }
  38%      { opacity: 0.8; }
  48%      { stroke-dashoffset: 0; opacity: 0.7; }
  55%      { stroke-dashoffset: 0; opacity: 0.4; }
  65%      { stroke-dashoffset: 0; opacity: 0.15; }
  75%      { stroke-dashoffset: 0; opacity: 0; }
  100%     { stroke-dashoffset: 260; opacity: 0; }
}

/* Traveling dot */
.outcome-travel-dot {
  opacity: 0;
}

.outcome-travel-dot--amber { fill: #E8A830; }
.outcome-travel-dot--red   { fill: #E34234; }
.outcome-travel-dot--blue  { fill: #4A9BE8; }

/* Document Status Cards — Bottom section */
.outcome-docs-zone {
  position: absolute;
  top: 196px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outcome-doc-status-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  opacity: 0;
  transform: translateY(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.outcome-doc-status-card::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2.5px;
  border-radius: 1px;
}

.outcome-doc-status-card--green::before  { background: rgba(52, 168, 83, 0.55); }
.outcome-doc-status-card--amber::before  { background: rgba(232, 168, 48, 0.55); }
.outcome-doc-status-card--blue::before   { background: rgba(74, 155, 232, 0.55); }

.outcome-doc-status-card--1 { animation: outcome-doc-appear-1 7s ease-out infinite; }
.outcome-doc-status-card--2 { animation: outcome-doc-appear-2 7s ease-out infinite; }
.outcome-doc-status-card--3 { animation: outcome-doc-appear-3 7s ease-out infinite; }

@keyframes outcome-doc-appear-1 {
  0%, 8%   { opacity: 0; transform: translateY(4px); }
  14%      { opacity: 1; transform: translateY(-1px); }
  17%      { opacity: 1; transform: translateY(0); }
  68%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 0; transform: translateY(2px); }
  100%     { opacity: 0; transform: translateY(4px); }
}

@keyframes outcome-doc-appear-2 {
  0%, 6%   { opacity: 0; transform: translateY(4px); }
  12%      { opacity: 1; transform: translateY(-1px); }
  15%      { opacity: 1; transform: translateY(0); }
  68%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 0; transform: translateY(2px); }
  100%     { opacity: 0; transform: translateY(4px); }
}

@keyframes outcome-doc-appear-3 {
  0%, 38%  { opacity: 0; transform: translateY(4px); }
  44%      { opacity: 1; transform: translateY(-1px); }
  47%      { opacity: 1; transform: translateY(0); }
  68%      { opacity: 1; transform: translateY(0); }
  82%      { opacity: 0; transform: translateY(2px); }
  100%     { opacity: 0; transform: translateY(4px); }
}

/* Doc card interior */
.outcome-doc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.outcome-doc-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
}

.outcome-doc-reason {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

/* Status pill */
.outcome-doc-status-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.outcome-doc-status-pill--green {
  background: rgba(52, 168, 83, 0.16);
  color: #34A853;
  border: 1px solid rgba(52, 168, 83, 0.25);
}

.outcome-doc-status-pill--amber {
  background: rgba(232, 168, 48, 0.16);
  color: #E8A830;
  border: 1px solid rgba(232, 168, 48, 0.25);
}

.outcome-doc-status-pill--blue {
  background: rgba(74, 155, 232, 0.16);
  color: #4A9BE8;
  border: 1px solid rgba(74, 155, 232, 0.25);
}

.outcome-doc-status-icon {
  font-size: 10px;
  line-height: 1;
}

/* Audit timestamp */
.outcome-doc-timestamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.30);
  letter-spacing: 0.3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.outcome-doc-audit-icon {
  width: 8px;
  height: 9px;
  position: relative;
  opacity: 0.4;
}

.outcome-doc-audit-icon svg {
  width: 100%;
  height: 100%;
}

/* Status pill pulse */
.outcome-doc-status-card--1 .outcome-doc-status-pill { animation: outcome-pill-pulse-green 7s ease-in-out infinite; }
.outcome-doc-status-card--2 .outcome-doc-status-pill { animation: outcome-pill-pulse-amber 7s ease-in-out infinite; }
.outcome-doc-status-card--3 .outcome-doc-status-pill { animation: outcome-pill-pulse-blue 7s ease-in-out infinite; }

@keyframes outcome-pill-pulse-green {
  0%, 50%  { box-shadow: none; }
  55%      { box-shadow: 0 0 12px rgba(52, 168, 83, 0.25); background: rgba(52, 168, 83, 0.2); }
  62%      { box-shadow: none; background: rgba(52, 168, 83, 0.12); }
  100%     { box-shadow: none; }
}

@keyframes outcome-pill-pulse-amber {
  0%, 54%  { box-shadow: none; }
  59%      { box-shadow: 0 0 12px rgba(232, 168, 48, 0.25); background: rgba(232, 168, 48, 0.2); }
  66%      { box-shadow: none; background: rgba(232, 168, 48, 0.12); }
  100%     { box-shadow: none; }
}

@keyframes outcome-pill-pulse-blue {
  0%, 58%  { box-shadow: none; }
  63%      { box-shadow: 0 0 12px rgba(74, 155, 232, 0.25); background: rgba(74, 155, 232, 0.2); }
  70%      { box-shadow: none; background: rgba(74, 155, 232, 0.12); }
  100%     { box-shadow: none; }
}

/* Ambient particles */
.outcome-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.outcome-particle--1 {
  width: 2.5px;
  height: 2.5px;
  background: rgba(232, 168, 48, 0.2);
  top: 44%;
  left: 8%;
  filter: blur(0.5px);
  animation: outcome-part-1 11s ease-in-out infinite;
}

.outcome-particle--2 {
  width: 2px;
  height: 2px;
  background: rgba(74, 155, 232, 0.2);
  top: 52%;
  right: 6%;
  filter: blur(0.5px);
  animation: outcome-part-2 13s ease-in-out 2s infinite;
}

.outcome-particle--3 {
  width: 2px;
  height: 2px;
  background: rgba(52, 168, 83, 0.18);
  top: 90%;
  left: 30%;
  filter: blur(0.5px);
  animation: outcome-part-3 9s ease-in-out 1s infinite;
}

.outcome-particle--4 {
  width: 1.5px;
  height: 1.5px;
  background: rgba(227, 66, 52, 0.15);
  top: 15%;
  right: 4%;
  filter: blur(1px);
  animation: outcome-part-4 14s ease-in-out 3s infinite;
}

@keyframes outcome-part-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  30% { transform: translate(8px, -5px); opacity: 0.5; }
  60% { transform: translate(-4px, 6px); opacity: 0.2; }
}

@keyframes outcome-part-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  40% { transform: translate(-6px, -8px); opacity: 0.45; }
  70% { transform: translate(4px, 3px); opacity: 0.15; }
}

@keyframes outcome-part-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  35% { transform: translate(7px, -4px); opacity: 0.4; }
  65% { transform: translate(-5px, 3px); opacity: 0.2; }
}

@keyframes outcome-part-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  50% { transform: translate(-8px, 4px); opacity: 0.35; }
}

/* Section 5 Responsive */
@media (max-width: 767px) {
  .si-section5-wrap.outcomes-component {
    transform: scale(0.85);
    transform-origin: center;
  }

  .outcome-particle { display: none; }
}


/* ==========================================================================
   Copilot — DISTLR AI Operator Panel
   ========================================================================== */

.si-copilot-wrap.distlr-component {
  position: relative;
  width: 400px;
  height: 460px;
  flex-shrink: 0;
  opacity: 0;
  will-change: opacity, transform;
}

/* ── Ambient glow behind panel ── */
.si-copilot-wrap.distlr-component::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(35, 131, 226, 0.06) 0%,
    rgba(35, 131, 226, 0.02) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: distlr-ambient-glow 6s ease-in-out infinite;
}

@keyframes distlr-ambient-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* ======================================================================
   Chat Panel — glass container
   ====================================================================== */

.si-copilot-wrap .chat-panel {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.015) 40%,
      rgba(255, 255, 255, 0.025) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);

  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.15),
    0 32px 64px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Inner highlight line at top */
.si-copilot-wrap .chat-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 80%,
    transparent
  );
  border-radius: 1px;
  z-index: 1;
}

/* ── Panel header ── */
.si-copilot-wrap .chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

/* ── Crystal avatar ── */
.si-copilot-wrap .distlr-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(74, 155, 232, 0.2) 0%,
      rgba(35, 131, 226, 0.08) 100%
    );
  border: 1px solid rgba(74, 155, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

/* Outer glow ring */
.si-copilot-wrap .distlr-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, rgba(74, 155, 232, 0.15) 0%, transparent 70%);
  animation: distlr-avatar-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes distlr-avatar-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.si-copilot-wrap .distlr-avatar-crystal {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, #4A9BE8 0%, #2383E2 100%);
  transform: rotate(45deg);
  animation: distlr-crystal-breathe 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(74, 155, 232, 0.5);
  position: relative;
}

/* Inner crystal facet */
.si-copilot-wrap .distlr-avatar-crystal::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.25);
}

@keyframes distlr-crystal-breathe {
  0%, 100% {
    box-shadow: 0 0 8px rgba(74, 155, 232, 0.3);
    transform: rotate(45deg) scale(0.95);
  }
  50% {
    box-shadow: 0 0 16px rgba(74, 155, 232, 0.6);
    transform: rotate(45deg) scale(1.05);
  }
}

.si-copilot-wrap .chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.si-copilot-wrap .chat-header-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.03em;
}

.si-copilot-wrap .chat-header-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 400;
  color: rgba(52, 168, 83, 0.7);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.si-copilot-wrap .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34A853;
  animation: distlr-status-pulse 2.5s ease-in-out infinite;
}

@keyframes distlr-status-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Chat messages area ── */
.si-copilot-wrap .chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 16px 6px;
  overflow: hidden;
  position: relative;
}

/* ======================================================================
   Message styles — Claude.ai-inspired layout
   ====================================================================== */

.si-copilot-wrap .chat-msg {
  opacity: 0;
  transform: translateY(8px);
}

/* ── DISTLR message — left border accent ── */
.si-copilot-wrap .msg-distlr {
  padding: 6px 0 4px;
}

.si-copilot-wrap .msg-distlr-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.si-copilot-wrap .msg-distlr-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, #4A9BE8 0%, #2383E2 100%);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.si-copilot-wrap .msg-distlr-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(74, 155, 232, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.si-copilot-wrap .msg-distlr-content {
  border-left: 2px solid rgba(74, 155, 232, 0.15);
  padding-left: 12px;
}

.si-copilot-wrap .msg-distlr-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

/* Triage data highlights */
.si-copilot-wrap .triage-highlight {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.si-copilot-wrap .triage-pattern {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(52, 168, 83, 0.8);
  background: rgba(52, 168, 83, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(52, 168, 83, 0.1);
}

/* ── User message — minimal, indented ── */
.si-copilot-wrap .msg-user {
  padding: 6px 0 4px;
}

.si-copilot-wrap .msg-user-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.06);
}

/* ── Delegation message ── */
.si-copilot-wrap .msg-delegation.msg-distlr {
  padding: 3px 0 2px;
}

.si-copilot-wrap .msg-delegation-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.si-copilot-wrap .delegation-agent-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: rgba(74, 155, 232, 0.9);
}

/* ======================================================================
   Sub-agent card — Euclid
   ====================================================================== */

.si-copilot-wrap .subagent-card {
  margin: 6px 0 2px;
  background:
    linear-gradient(
      155deg,
      rgba(74, 155, 232, 0.04) 0%,
      rgba(255, 255, 255, 0.015) 100%
    );
  border: 1px solid rgba(74, 155, 232, 0.1);
  border-radius: 10px;
  padding: 10px 12px 8px;
  position: relative;
  overflow: hidden;
}

/* Left accent bar — Euclid's blue */
.si-copilot-wrap .subagent-card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  bottom: 8px;
  width: 2.5px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #4A9BE8 0%, rgba(74, 155, 232, 0.3) 100%);
}

/* Subtle energy pulse on spawn */
.si-copilot-wrap .subagent-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(74, 155, 232, 0.06);
  opacity: 0;
  pointer-events: none;
}

.si-copilot-wrap .subagent-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 8px;
  margin-bottom: 8px;
}

.si-copilot-wrap .subagent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4A9BE8;
  flex-shrink: 0;
  animation: distlr-subagent-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes distlr-subagent-dot-pulse {
  0%, 100% { opacity: 0.5; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 6px rgba(74, 155, 232, 0.4); }
}

.si-copilot-wrap .subagent-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(74, 155, 232, 0.9);
  letter-spacing: 0.01em;
}

.si-copilot-wrap .subagent-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  color: rgba(74, 155, 232, 0.45);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.si-copilot-wrap .subagent-separator {
  color: rgba(255, 255, 255, 0.15);
  font-size: 9px;
  margin: 0 1px;
}

/* ── Status line with progress indicator ── */
.si-copilot-wrap .subagent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  margin-bottom: 8px;
}

.si-copilot-wrap .subagent-status-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* Subtle animated progress bar */
.si-copilot-wrap .subagent-progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.si-copilot-wrap .subagent-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 1px;
  background: linear-gradient(90deg, #4A9BE8, rgba(74, 155, 232, 0.4));
  width: 0%;
}

/* ── Mini schema preview — fields appearing ── */
.si-copilot-wrap .schema-preview {
  padding: 6px 8px 4px;
  margin-left: 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.si-copilot-wrap .schema-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2.5px 0;
  opacity: 0;
}

.si-copilot-wrap .schema-field-key {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(74, 155, 232, 0.7);
  letter-spacing: 0.02em;
}

.si-copilot-wrap .schema-field-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
}

.si-copilot-wrap .schema-field-colon {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.15);
}

/* ======================================================================
   Animation keyframes — 8s cycle

   Timeline:
     0.0s   (  0%) — Triage greeting fades in
     1.0s   (12.5%) — Greeting settled
     1.5s   (18.75%) — User message appears
     2.5s   (31.25%) — User message settled
     3.0s   (37.5%) — DISTLR delegation response appears
     3.5s   (43.75%) — Sub-agent card spawns
     4.0s   (50%) — Schema fields start appearing
     4.5s   (56.25%) — Field 2
     5.0s   (62.5%) — Field 3
     5.5s   (68.75%) — Progress bar fills
     6.0s   (75%) — Hold everything visible
     7.5s   (93.75%) — Begin fade out
     8.0s   (100%) — Reset
   ====================================================================== */

.si-copilot-wrap {
  --distlr-cycle-duration: 8s;
}

/* Message 1: Triage greeting */
.si-copilot-wrap .msg-triage-greeting {
  animation: distlr-msg-triage-greeting var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-msg-triage-greeting {
  0% { opacity: 0; transform: translateY(8px); }
  5% { opacity: 0; transform: translateY(8px); }
  12% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* Message 2: User message */
.si-copilot-wrap .msg-user-anim {
  animation: distlr-msg-user-appear var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-msg-user-appear {
  0%, 18% { opacity: 0; transform: translateY(8px); }
  25% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* Message 3: DISTLR delegation response */
.si-copilot-wrap .msg-delegation-anim {
  animation: distlr-msg-delegation-appear var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-msg-delegation-appear {
  0%, 35% { opacity: 0; transform: translateY(6px); }
  42% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(6px); }
}

/* Sub-agent card spawn */
.si-copilot-wrap .subagent-card-anim {
  animation: distlr-subagent-spawn var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-subagent-spawn {
  0%, 42% { opacity: 0; transform: translateY(10px) scale(0.97); }
  48% { opacity: 1; transform: translateY(0) scale(1); }
  90% { opacity: 1; transform: translateY(0) scale(1); }
  96% { opacity: 0; transform: translateY(-2px) scale(0.98); }
  100% { opacity: 0; transform: translateY(10px) scale(0.97); }
}

/* Sub-agent spawn flash — energy pulse on ::after */
.si-copilot-wrap .subagent-flash::after {
  animation: distlr-subagent-flash-glow var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-subagent-flash-glow {
  0%, 42% { opacity: 0; }
  46% { opacity: 1; }
  54% { opacity: 0; }
  100% { opacity: 0; }
}

/* Schema fields appearing one by one */
.si-copilot-wrap .schema-field-1 {
  animation: distlr-schema-field-1-appear var(--distlr-cycle-duration) ease-out infinite;
}

.si-copilot-wrap .schema-field-2 {
  animation: distlr-schema-field-2-appear var(--distlr-cycle-duration) ease-out infinite;
}

.si-copilot-wrap .schema-field-3 {
  animation: distlr-schema-field-3-appear var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-schema-field-1-appear {
  0%, 50% { opacity: 0; transform: translateX(-4px); }
  55% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; transform: translateX(0); }
  96% { opacity: 0; }
  100% { opacity: 0; transform: translateX(-4px); }
}

@keyframes distlr-schema-field-2-appear {
  0%, 56% { opacity: 0; transform: translateX(-4px); }
  61% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; transform: translateX(0); }
  96% { opacity: 0; }
  100% { opacity: 0; transform: translateX(-4px); }
}

@keyframes distlr-schema-field-3-appear {
  0%, 62% { opacity: 0; transform: translateX(-4px); }
  67% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; transform: translateX(0); }
  96% { opacity: 0; }
  100% { opacity: 0; transform: translateX(-4px); }
}

/* Progress bar fill */
.si-copilot-wrap .progress-fill-anim {
  animation: distlr-progress-fill var(--distlr-cycle-duration) ease-out infinite;
}

@keyframes distlr-progress-fill {
  0%, 48% { width: 0%; }
  55% { width: 25%; }
  62% { width: 50%; }
  70% { width: 75%; }
  78% { width: 92%; }
  90% { width: 92%; }
  96% { width: 0%; }
  100% { width: 0%; }
}

/* ======================================================================
   Chat input bar
   ====================================================================== */

.si-copilot-wrap .chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.si-copilot-wrap .chat-input {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.si-copilot-wrap .chat-input-placeholder {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.01em;
}

.si-copilot-wrap .chat-send-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(74, 155, 232, 0.15) 0%, rgba(35, 131, 226, 0.08) 100%);
  border: 1px solid rgba(74, 155, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.si-copilot-wrap .chat-send-arrow {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(74, 155, 232, 0.5);
  border-top: 1.5px solid rgba(74, 155, 232, 0.5);
  transform: rotate(45deg) translate(-1px, 1px);
}

/* ======================================================================
   Ambient particles
   ====================================================================== */

.si-copilot-wrap .distlr-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(74, 155, 232, 0.2);
  filter: blur(1px);
}

.si-copilot-wrap .distlr-particle--1 {
  width: 3px;
  height: 3px;
  top: 6%;
  right: 4%;
  animation: distlr-drift-1 13s ease-in-out infinite;
}

.si-copilot-wrap .distlr-particle--2 {
  width: 2px;
  height: 2px;
  top: 40%;
  left: -3%;
  background: rgba(74, 155, 232, 0.15);
  animation: distlr-drift-2 11s ease-in-out 2s infinite;
}

.si-copilot-wrap .distlr-particle--3 {
  width: 3px;
  height: 3px;
  bottom: 12%;
  right: -2%;
  background: rgba(123, 97, 255, 0.12);
  animation: distlr-drift-3 14s ease-in-out 1s infinite;
}

.si-copilot-wrap .distlr-particle--4 {
  width: 2px;
  height: 2px;
  bottom: 30%;
  left: -1%;
  background: rgba(52, 168, 83, 0.15);
  animation: distlr-drift-4 10s ease-in-out 3s infinite;
}

@keyframes distlr-drift-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  30% { transform: translate(-6px, 10px); opacity: 0.55; }
  60% { transform: translate(3px, -5px); opacity: 0.2; }
}

@keyframes distlr-drift-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  40% { transform: translate(8px, -6px); opacity: 0.45; }
  70% { transform: translate(-4px, 3px); opacity: 0.15; }
}

@keyframes distlr-drift-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  35% { transform: translate(-7px, -9px); opacity: 0.45; }
  65% { transform: translate(4px, 4px); opacity: 0.2; }
}

@keyframes distlr-drift-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  50% { transform: translate(6px, -8px); opacity: 0.4; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .si-copilot-wrap.distlr-component {
    width: 380px;
    height: 440px;
  }
}

@media (max-width: 767px) {
  .si-copilot-wrap.distlr-component {
    width: 320px;
    height: 420px;
  }

  .si-copilot-wrap .msg-distlr-text,
  .si-copilot-wrap .msg-user-text,
  .si-copilot-wrap .msg-delegation-text {
    font-size: 11.5px;
  }

  .si-copilot-wrap .schema-field-key { font-size: 9px; }
  .si-copilot-wrap .schema-field-type { font-size: 8px; }

  .si-copilot-wrap .distlr-particle { display: none; }
}


/* ==========================================================================
   Section 6 — Scale (Thousands, Untouched)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section6-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section6-wrap.scale-component {
  position: relative;
  width: 380px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.4),
    0 1px 8px rgba(0, 0, 0, 0.25),
    0 8px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
}

.si-section6-wrap.scale-component::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.02) 0%,
    transparent 30%
  );
  pointer-events: none;
  border-radius: inherit;
}

.si-section6-wrap.scale-component::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  border-radius: inherit;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.4) 50%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.4) 50%, transparent 85%);
}

/* Counter / Metric Hero */
.scale-metric-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scale-metric-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 100px;
  transform: translate(-50%, -60%);
  background: radial-gradient(
    ellipse at center,
    rgba(74, 155, 232, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: scale-metric-glow 6s ease-in-out infinite;
}

@keyframes scale-metric-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.scale-metric-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  text-shadow: 0 0 40px rgba(74, 155, 232, 0.12);
}

.scale-digit-static {
  display: inline;
}

.scale-digit-odometer {
  display: inline-block;
  position: relative;
  width: 0.58em;
  height: 1em;
  overflow: hidden;
  vertical-align: baseline;
}

.scale-digit-odometer-inner {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: none;
}

.scale-digit-odometer-inner span {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.scale-odometer-tens .scale-digit-odometer-inner {
  animation: scale-odo-tens 35s steps(1) infinite;
}

.scale-odometer-ones .scale-digit-odometer-inner {
  animation: scale-odo-ones 35s steps(1) infinite;
}

@keyframes scale-odo-tens {
  0%    { transform: translateY(0); }
  30%   { transform: translateY(-1em); }
  100%  { transform: translateY(-1em); }
}

@keyframes scale-odo-ones {
  0%    { transform: translateY(0); }
  10%   { transform: translateY(-1em); }
  20%   { transform: translateY(-2em); }
  30%   { transform: translateY(-3em); }
  40%   { transform: translateY(-4em); }
  50%   { transform: translateY(-5em); }
  60%   { transform: translateY(-6em); }
  70%   { transform: translateY(-7em); }
  80%   { transform: translateY(-8em); }
  90%   { transform: translateY(-9em); }
  100%  { transform: translateY(0); }
}

.scale-metric-sublabel { 
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* Status Distribution Bar */
.scale-status-section {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.scale-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.scale-status-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scale-status-total {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

.scale-status-bar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: flex;
}

.scale-status-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.scale-status-bar-segment {
  height: 100%;
  position: relative;
  transition: width 0.6s ease;
}

.scale-status-bar-segment--complete {
  width: 94%;
  background: linear-gradient(90deg, #2d9148, #34A853);
  border-radius: 5px 0 0 5px;
}

.scale-status-bar-segment--review {
  width: 4%;
  background: linear-gradient(90deg, #d89520, #E8A830);
}

.scale-status-bar-segment--processing {
  width: 2%;
  background: linear-gradient(90deg, #3d8ad4, #4A9BE8);
  border-radius: 0 5px 5px 0;
  animation: scale-processing-pulse 2.5s ease-in-out infinite;
}

@keyframes scale-processing-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Labels below bar */
.scale-status-labels {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.scale-status-label-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scale-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.scale-status-dot--complete { background: #34A853; }
.scale-status-dot--review { background: #E8A830; }
.scale-status-dot--processing {
  background: #4A9BE8;
  animation: scale-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes scale-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 155, 232, 0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 4px 1px rgba(74, 155, 232, 0.2); }
}

.scale-status-label-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.scale-status-label-pct {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

/* Activity Feed */
.scale-activity-feed {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scale-activity-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-top: 8px;
}

.scale-activity-row {
  display: flex;
  align-items: center;
  padding: 6px 0;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
}

.scale-activity-row--1 { animation: scale-row-slide-in 10s ease-out infinite; }
.scale-activity-row--2 { animation: scale-row-slide-in 10s ease-out 0.3s infinite; }
.scale-activity-row--3 { animation: scale-row-slide-in 10s ease-out 0.6s infinite; }
.scale-activity-row--4 { animation: scale-row-slide-in 10s ease-out 0.9s infinite; }
.scale-activity-row--5 { animation: scale-row-slide-in 10s ease-out 1.2s infinite; }

@keyframes scale-row-slide-in {
  0%, 2% { opacity: 0; transform: translateY(6px); }
  5%, 85% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0); }
}

/* Status indicator */
.scale-activity-status-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 8px;
  line-height: 1;
}

.scale-activity-status-icon--complete {
  background: rgba(52, 168, 83, 0.12);
  color: #34A853;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.scale-activity-status-icon--processing {
  background: rgba(74, 155, 232, 0.1);
  border: 1px solid rgba(74, 155, 232, 0.2);
  animation: scale-icon-processing-pulse 2s ease-in-out infinite;
}

.scale-activity-status-icon--processing::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4A9BE8;
  animation: scale-icon-dot-pulse 2s ease-in-out infinite;
}

@keyframes scale-icon-processing-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 155, 232, 0); }
  50% { box-shadow: 0 0 6px 1px rgba(74, 155, 232, 0.15); }
}

@keyframes scale-icon-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.scale-activity-filename {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.scale-activity-status-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
}

.scale-activity-status-text--complete {
  color: rgba(52, 168, 83, 0.75);
}

.scale-activity-status-text--processing {
  color: rgba(74, 155, 232, 0.75);
}

.scale-activity-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  white-space: nowrap;
}

.scale-activity-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Section 6 Responsive */
@media (max-width: 767px) {
  .si-section6-wrap.scale-component {
    width: 340px;
    padding: 24px 18px 16px;
  }

  .scale-metric-number { font-size: 44px; }
  .scale-status-labels { gap: 10px; }
  .scale-status-label-text { font-size: 10px; }
}


/* ==========================================================================
   Section 7 — Integrations (Fits Into Your Stack)
   ========================================================================== */

/* ── Initial hidden state ── */
.si-section7-wrap {
  opacity: 0;
  will-change: opacity, transform;
}

.si-section7-wrap.integ-component {
  position: relative;
  width: 380px;
  height: 400px;
  flex-shrink: 0;
}

.si-section7-wrap.integ-component::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(74, 155, 232, 0.12) 0%,
    rgba(74, 155, 232, 0.05) 45%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: integ-hub-glow 8s ease-in-out infinite;
}

@keyframes integ-hub-glow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* Center Code Card */
.integ-code-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  padding: 16px 18px;
  border-radius: 10px;
  z-index: 10;
  background: rgba(12, 14, 24, 0.95);
  border: 1px solid rgba(74, 155, 232, 0.28);
  box-shadow:
    0 0 50px rgba(74, 155, 232, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: integ-card-pulse 6s ease-in-out infinite;
}

.integ-code-card-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.integ-code-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.integ-code-card-bar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
  margin-left: auto;
}

/* Syntax-highlighted JSON */
.integ-code-block {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  white-space: pre;
}

.integ-code-brace { color: rgba(255, 255, 255, 0.5); }
.integ-code-key { color: #6BB5EC; }
.integ-code-string { color: #4CC96F; }
.integ-code-number { color: #F2C04A; }
.integ-code-colon { color: rgba(255, 255, 255, 0.45); }
.integ-code-comma { color: rgba(255, 255, 255, 0.35); }

@keyframes integ-card-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(74,155,232,0.06), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); }
  15% { box-shadow: 0 0 50px rgba(74,155,232,0.12), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); }
  40% { box-shadow: 0 0 50px rgba(74,155,232,0.1), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); }
  60% { box-shadow: 0 0 40px rgba(74,155,232,0.06), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); }
}

/* SVG Connection Paths */
.integ-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.integ-conn-line {
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0;
}

.integ-conn-line--webhook { stroke: rgba(74, 155, 232, 0.35); }
.integ-conn-line--rest    { stroke: rgba(52, 168, 83, 0.35); }
.integ-conn-line--mcp     { stroke: rgba(123, 97, 255, 0.35); }
.integ-conn-line--csv     { stroke: rgba(232, 168, 48, 0.35); }

/* Protocol labels on paths */
.integ-path-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0;
}

.integ-path-label--webhook { fill: rgba(74, 155, 232, 0.6); }
.integ-path-label--rest    { fill: rgba(52, 168, 83, 0.6); }
.integ-path-label--mcp     { fill: rgba(123, 97, 255, 0.6); }
.integ-path-label--csv     { fill: rgba(232, 168, 48, 0.6); }

/* Connection line animations */
.integ-conn-line--webhook {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: integ-draw-webhook 6s ease-in-out infinite;
}

@keyframes integ-draw-webhook {
  0%     { stroke-dashoffset: 120; opacity: 0; }
  3%     { opacity: 0.8; }
  14%    { stroke-dashoffset: 0; opacity: 0.8; }
  55%    { stroke-dashoffset: 0; opacity: 0.5; }
  72%    { stroke-dashoffset: 0; opacity: 0.15; }
  82%    { opacity: 0; }
  100%   { stroke-dashoffset: 120; opacity: 0; }
}

.integ-conn-line--rest {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: integ-draw-rest 6s ease-in-out infinite;
}

@keyframes integ-draw-rest {
  0%,12% { stroke-dashoffset: 120; opacity: 0; }
  16%    { opacity: 0.8; }
  27%    { stroke-dashoffset: 0; opacity: 0.8; }
  55%    { stroke-dashoffset: 0; opacity: 0.5; }
  72%    { stroke-dashoffset: 0; opacity: 0.15; }
  82%    { opacity: 0; }
  100%   { stroke-dashoffset: 120; opacity: 0; }
}

.integ-conn-line--mcp {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: integ-draw-mcp 6s ease-in-out infinite;
}

@keyframes integ-draw-mcp {
  0%,24% { stroke-dashoffset: 120; opacity: 0; }
  28%    { opacity: 0.8; }
  39%    { stroke-dashoffset: 0; opacity: 0.8; }
  55%    { stroke-dashoffset: 0; opacity: 0.5; }
  72%    { stroke-dashoffset: 0; opacity: 0.15; }
  82%    { opacity: 0; }
  100%   { stroke-dashoffset: 120; opacity: 0; }
}

.integ-conn-line--csv {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
  animation: integ-draw-csv 6s ease-in-out infinite;
}

@keyframes integ-draw-csv {
  0%,36% { stroke-dashoffset: 110; opacity: 0; }
  40%    { opacity: 0.8; }
  51%    { stroke-dashoffset: 0; opacity: 0.8; }
  55%    { stroke-dashoffset: 0; opacity: 0.5; }
  72%    { stroke-dashoffset: 0; opacity: 0.15; }
  82%    { opacity: 0; }
  100%   { stroke-dashoffset: 110; opacity: 0; }
}

/* Path label animations */
.integ-path-label--webhook { animation: integ-label-fade-1 6s ease-in-out infinite; }
.integ-path-label--rest    { animation: integ-label-fade-2 6s ease-in-out infinite; }
.integ-path-label--mcp     { animation: integ-label-fade-3 6s ease-in-out infinite; }
.integ-path-label--csv     { animation: integ-label-fade-4 6s ease-in-out infinite; }

@keyframes integ-label-fade-1 {
  0%,8%  { opacity: 0; }
  16%    { opacity: 1; }
  55%    { opacity: 0.7; }
  72%    { opacity: 0.2; }
  82%,100% { opacity: 0; }
}

@keyframes integ-label-fade-2 {
  0%,20% { opacity: 0; }
  28%    { opacity: 1; }
  55%    { opacity: 0.7; }
  72%    { opacity: 0.2; }
  82%,100% { opacity: 0; }
}

@keyframes integ-label-fade-3 {
  0%,32% { opacity: 0; }
  40%    { opacity: 1; }
  55%    { opacity: 0.7; }
  72%    { opacity: 0.2; }
  82%,100% { opacity: 0; }
}

@keyframes integ-label-fade-4 {
  0%,44% { opacity: 0; }
  52%    { opacity: 1; }
  58%    { opacity: 0.7; }
  72%    { opacity: 0.2; }
  82%,100% { opacity: 0; }
}

/* Traveling pulse dots */
.integ-pulse-dot {
  opacity: 0;
}

/* Destination Nodes */
.integ-dest-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
}

.integ-dest-node-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.integ-dest-node-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.integ-dest-node-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.integ-dest-node-detail {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Destination 1: Webhook -- top-right */
.integ-dest-node--webhook {
  top: 18px;
  right: 2px;
  background: rgba(74, 155, 232, 0.12);
  border: 1px solid rgba(74, 155, 232, 0.22);
  animation: integ-dest-appear-1 6s ease-out infinite;
}

.integ-dest-node--webhook .integ-dest-node-icon {
  background: rgba(74, 155, 232, 0.18);
  color: #4A9BE8;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.integ-dest-node--webhook .integ-dest-node-name { color: rgba(74, 155, 232, 0.9); }
.integ-dest-node--webhook .integ-dest-node-detail { color: rgba(74, 155, 232, 0.55); }

/* Destination 2: REST API — top-left */
.integ-dest-node--rest {
  top: 22px;
  left: 2px;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.22);
  animation: integ-dest-appear-2 6s ease-out infinite;
}

.integ-dest-node--rest .integ-dest-node-icon {
  background: rgba(52, 168, 83, 0.18);
  color: #34A853;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
}

.integ-dest-node--rest .integ-dest-node-name { color: rgba(52, 168, 83, 0.9); }
.integ-dest-node--rest .integ-dest-node-detail { color: rgba(52, 168, 83, 0.55); }

/* Destination 3: MCP — bottom-left */
.integ-dest-node--mcp {
  bottom: 28px;
  left: 0;
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.22);
  animation: integ-dest-appear-3 6s ease-out infinite;
}

.integ-dest-node--mcp .integ-dest-node-icon {
  background: rgba(123, 97, 255, 0.18);
  color: #7B61FF;
}

.integ-dest-node--mcp .integ-dest-node-name { color: rgba(123, 97, 255, 0.9); }
.integ-dest-node--mcp .integ-dest-node-detail { color: rgba(123, 97, 255, 0.55); }

.integ-coming-soon-badge {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(123, 97, 255, 0.85);
  background: rgba(123, 97, 255, 0.14);
  border: 1px solid rgba(123, 97, 255, 0.25);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Destination 4: CSV Export — bottom-right */
.integ-dest-node--csv {
  bottom: 24px;
  right: 8px;
  background: rgba(232, 168, 48, 0.12);
  border: 1px solid rgba(232, 168, 48, 0.22);
  animation: integ-dest-appear-4 6s ease-out infinite;
}

.integ-dest-node--csv .integ-dest-node-icon {
  background: rgba(232, 168, 48, 0.18);
  color: #E8A830;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 10px;
}

.integ-dest-node--csv .integ-dest-node-name { color: rgba(232, 168, 48, 0.9); }
.integ-dest-node--csv .integ-dest-node-detail { color: rgba(232, 168, 48, 0.55); }

/* Destination appear animations */
@keyframes integ-dest-appear-1 {
  0%,8%   { opacity: 0; transform: scale(0.92); }
  15%     { opacity: 1; transform: scale(1.03); }
  19%     { opacity: 1; transform: scale(1); }
  55%     { opacity: 1; transform: scale(1); }
  68%     { opacity: 0.7; transform: scale(1); }
  82%     { opacity: 0; transform: scale(0.96); }
  100%    { opacity: 0; transform: scale(0.92); }
}

@keyframes integ-dest-appear-2 {
  0%,20%  { opacity: 0; transform: scale(0.92); }
  27%     { opacity: 1; transform: scale(1.03); }
  31%     { opacity: 1; transform: scale(1); }
  55%     { opacity: 1; transform: scale(1); }
  68%     { opacity: 0.7; transform: scale(1); }
  82%     { opacity: 0; transform: scale(0.96); }
  100%    { opacity: 0; transform: scale(0.92); }
}

@keyframes integ-dest-appear-3 {
  0%,32%  { opacity: 0; transform: scale(0.92); }
  39%     { opacity: 1; transform: scale(1.03); }
  43%     { opacity: 1; transform: scale(1); }
  55%     { opacity: 1; transform: scale(1); }
  68%     { opacity: 0.7; transform: scale(1); }
  82%     { opacity: 0; transform: scale(0.96); }
  100%    { opacity: 0; transform: scale(0.92); }
}

@keyframes integ-dest-appear-4 {
  0%,44%  { opacity: 0; transform: scale(0.92); }
  51%     { opacity: 1; transform: scale(1.03); }
  55%     { opacity: 1; transform: scale(1); }
  60%     { opacity: 1; transform: scale(1); }
  68%     { opacity: 0.7; transform: scale(1); }
  82%     { opacity: 0; transform: scale(0.96); }
  100%    { opacity: 0; transform: scale(0.92); }
}

/* Destination arrival glow */
.integ-dest-node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
}

.integ-dest-node--webhook::after {
  background: rgba(74, 155, 232, 0.16);
  filter: blur(8px);
  animation: integ-glow-arrive-1 6s ease-in-out infinite;
}

.integ-dest-node--rest::after {
  background: rgba(52, 168, 83, 0.16);
  filter: blur(8px);
  animation: integ-glow-arrive-2 6s ease-in-out infinite;
}

.integ-dest-node--mcp::after {
  background: rgba(123, 97, 255, 0.16);
  filter: blur(8px);
  animation: integ-glow-arrive-3 6s ease-in-out infinite;
}

.integ-dest-node--csv::after {
  background: rgba(232, 168, 48, 0.16);
  filter: blur(8px);
  animation: integ-glow-arrive-4 6s ease-in-out infinite;
}

@keyframes integ-glow-arrive-1 {
  0%,12% { opacity: 0; }
  17%    { opacity: 1; }
  27%    { opacity: 0; }
  100%   { opacity: 0; }
}

@keyframes integ-glow-arrive-2 {
  0%,24% { opacity: 0; }
  29%    { opacity: 1; }
  39%    { opacity: 0; }
  100%   { opacity: 0; }
}

@keyframes integ-glow-arrive-3 {
  0%,36% { opacity: 0; }
  41%    { opacity: 1; }
  51%    { opacity: 0; }
  100%   { opacity: 0; }
}

@keyframes integ-glow-arrive-4 {
  0%,48% { opacity: 0; }
  53%    { opacity: 1; }
  63%    { opacity: 0; }
  100%   { opacity: 0; }
}

/* Ambient Particles */
.integ-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.integ-particle--1 {
  width: 2.5px;
  height: 2.5px;
  background: rgba(74, 155, 232, 0.2);
  top: 12%;
  left: 48%;
  filter: blur(0.5px);
  animation: integ-drift-1 11s ease-in-out infinite;
}

.integ-particle--2 {
  width: 2px;
  height: 2px;
  background: rgba(52, 168, 83, 0.18);
  top: 42%;
  left: 8%;
  filter: blur(0.5px);
  animation: integ-drift-2 14s ease-in-out 2s infinite;
}

.integ-particle--3 {
  width: 2px;
  height: 2px;
  background: rgba(123, 97, 255, 0.15);
  bottom: 18%;
  right: 20%;
  filter: blur(0.5px);
  animation: integ-drift-3 9s ease-in-out 1s infinite;
}

.integ-particle--4 {
  width: 1.5px;
  height: 1.5px;
  background: rgba(232, 168, 48, 0.2);
  top: 65%;
  right: 12%;
  filter: blur(1px);
  animation: integ-drift-4 13s ease-in-out 3s infinite;
}

@keyframes integ-drift-1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.25; }
  35% { transform: translate(-8px, 10px); opacity: 0.5; }
  65% { transform: translate(5px, -4px); opacity: 0.15; }
}

@keyframes integ-drift-2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  40% { transform: translate(10px, -8px); opacity: 0.45; }
  70% { transform: translate(-3px, 5px); opacity: 0.12; }
}

@keyframes integ-drift-3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.2; }
  30% { transform: translate(-6px, -7px); opacity: 0.4; }
  60% { transform: translate(4px, 5px); opacity: 0.15; }
}

@keyframes integ-drift-4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  50% { transform: translate(-7px, -4px); opacity: 0.35; }
}

/* Section 7 Responsive */
@media (max-width: 767px) {
  .si-section7-wrap.integ-component {
    transform: scale(0.85);
    transform-origin: center;
  }

  .integ-particle { display: none; }
}


/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  /* Section 0 */
  .doc-page,
  .si-doc-pile-wrap.doc-chaos::before,
  .doc-fragment,
  .doc-scan-line,
  .doc-stamp,
  .doc-highlight-ping {
    animation: none !important;
  }
  .doc-scan-line { display: none; }

  /* Section 1 */
  .file-card,
  .drop-zone-ring,
  .drop-zone-grid,
  .file-badge::after,
  .sparkle,
  .flow-connector {
    animation: none !important;
  }

  .file-card--pdf { transform: translateX(-55%) rotate(-1.2deg); }
  .file-card--docx { transform: translateX(-48%) rotate(0.8deg); }
  .file-card--img { transform: translateX(-52%) rotate(-0.5deg); }

  /* Section 2 */
  .reading-cursor,
  .si-section2-wrap.intel-component::before,
  .highlight-glow,
  .highlight-glow::before,
  .conn-path,
  .conn-pulse,
  .callout-label,
  .callout-label::before,
  .intel-particle {
    animation: none !important;
  }

  .reading-cursor { display: none; }
  .highlight-glow { opacity: 0.6; }
  .highlight-glow::before { opacity: 0.3; }
  .conn-path { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .callout-label { opacity: 1; transform: translateX(0); }
  .conn-pulse { display: none; }

  /* Section 3 */
  .si-section3-wrap.extraction-component::before,
  .source-doc,
  .source-spot,
  .extraction-path,
  .field-card,
  .ambient-particle {
    animation: none !important;
  }

  .source-doc { opacity: 0.8; }
  .source-spot { opacity: 0.5; }
  .extraction-path { stroke-dashoffset: 0 !important; opacity: 0.35; }
  .field-card { opacity: 1; transform: scale(1) translateX(0); }
  .travel-dot, .travel-dot circle { display: none; }

  /* Section 4 */
  .si-section4-wrap.trace-component::before,
  .trace-source-highlight,
  .trace-provenance-line,
  .trace-field-card,
  .trace-field-source-link,
  .trace-verified-check,
  .trace-prov-dot {
    animation: none !important;
  }

  .trace-source-highlight--vendor {
    background: rgba(74,155,232,0.12);
    border-color: rgba(74,155,232,0.2);
  }

  .trace-source-highlight--total {
    background: rgba(52,168,83,0.12);
    border-color: rgba(52,168,83,0.2);
  }

  .trace-source-highlight--date {
    background: rgba(74,155,232,0.12);
    border-color: rgba(74,155,232,0.2);
  }

  .trace-provenance-line {
    stroke-opacity: 0.3 !important;
    filter: none !important;
  }

  .trace-provenance-line--2 {
    stroke: rgba(52,168,83,0.3) !important;
  }

  .trace-field-card {
    border-color: rgba(255,255,255,0.08);
  }

  .trace-field-source-link {
    color: rgba(74,155,232,0.5) !important;
  }

  .trace-field-card--2 .trace-field-source-link {
    color: rgba(52,168,83,0.5) !important;
  }

  .trace-verified-check {
    opacity: 0.5 !important;
    transform: translateY(-50%) scale(1) !important;
  }

  .trace-prov-dot { display: none; }

  /* Copilot */
  .si-copilot-wrap.distlr-component::before,
  .si-copilot-wrap .distlr-avatar-crystal,
  .si-copilot-wrap .distlr-avatar::before,
  .si-copilot-wrap .status-dot,
  .si-copilot-wrap .subagent-dot,
  .si-copilot-wrap .distlr-particle,
  .si-copilot-wrap .subagent-card::after {
    animation: none !important;
  }

  .si-copilot-wrap .chat-msg,
  .si-copilot-wrap .msg-triage-greeting,
  .si-copilot-wrap .msg-user-anim,
  .si-copilot-wrap .msg-delegation-anim,
  .si-copilot-wrap .subagent-card-anim,
  .si-copilot-wrap .schema-field-1,
  .si-copilot-wrap .schema-field-2,
  .si-copilot-wrap .schema-field-3,
  .si-copilot-wrap .progress-fill-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .si-copilot-wrap .schema-field { opacity: 1 !important; transform: none !important; }
  .si-copilot-wrap .subagent-progress-fill { width: 75% !important; }

  .si-copilot-wrap .distlr-avatar-crystal {
    opacity: 1;
    box-shadow: 0 0 10px rgba(74, 155, 232, 0.5);
    transform: rotate(45deg);
  }

  .si-copilot-wrap .status-dot { opacity: 1; }
  .si-copilot-wrap .subagent-dot { opacity: 1; }
  .si-copilot-wrap .distlr-particle { display: none; }

  /* Section 5 */
  .si-section5-wrap.outcomes-component::before,
  .outcome-rule-card,
  .outcome-pulse-path,
  .outcome-travel-dot,
  .outcome-doc-status-card,
  .outcome-doc-status-pill,
  .outcome-particle {
    animation: none !important;
  }

  .outcome-rule-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
  }

  .outcome-pulse-path {
    stroke-dashoffset: 0 !important;
    opacity: 0.25 !important;
  }

  .outcome-doc-status-card {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .outcome-travel-dot { display: none; }
  .outcome-particle { display: none; }

  /* Section 6 */
  .si-section6-wrap.scale-component::after,
  .scale-metric-hero::before,
  .scale-status-bar-segment--processing,
  .scale-status-dot--processing,
  .scale-activity-row,
  .scale-activity-status-icon--processing,
  .scale-activity-status-icon--processing::after,
  .scale-digit-odometer-inner {
    animation: none !important;
  }

  .scale-activity-row {
    opacity: 1;
    transform: translateY(0);
  }

  .scale-status-bar-segment--processing { opacity: 1; }
  .scale-status-dot--processing { opacity: 1; }
  .scale-activity-status-icon--processing::after { opacity: 1; }

  /* Section 7 */
  .si-section7-wrap.integ-component::before,
  .integ-code-card,
  .integ-conn-line,
  .integ-pulse-dot,
  .integ-dest-node,
  .integ-dest-node::after,
  .integ-path-label,
  .integ-particle {
    animation: none !important;
  }

  .si-section7-wrap.integ-component::before { opacity: 0.8; }

  .integ-code-card {
    box-shadow: 0 0 40px rgba(74,155,232,0.06), 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  }

  .integ-conn-line {
    stroke-dashoffset: 0 !important;
    opacity: 0.4 !important;
  }

  .integ-dest-node {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .integ-dest-node::after { opacity: 0 !important; }

  .integ-path-label { opacity: 0.6 !important; }

  .integ-pulse-dot { display: none; }
  .integ-particle { display: none; }

  /* General */
  .si-doc-pile-wrap,
  .si-file-cards-wrap,
  .si-section2-wrap,
  .si-section3-wrap,
  .si-section4-wrap,
  .si-copilot-wrap,
  .si-section5-wrap,
  .si-section6-wrap,
  .si-section7-wrap {
    opacity: 1 !important;
    transform: none !important;
  }

  .doc-page,
  .doc-fragment {
    opacity: 1 !important;
  }
}

/* ==========================================================================
   Animation Play-State Control — paused by default, .si-section-active unpauses
   ========================================================================== */
/* Section 0 paused */
.si-doc-pile-wrap.doc-chaos::before, .doc-page--0, .doc-page--1, .doc-page--2, .doc-page--3, .doc-page--4, .doc-stamp, .doc-scan-line, .doc-fragment:nth-child(6), .doc-fragment:nth-child(7), .doc-fragment:nth-child(8), .doc-fragment:nth-child(9), .doc-fragment:nth-child(10), .doc-fragment:nth-child(11), .doc-fragment:nth-child(12), .doc-fragment:nth-child(13), .doc-fragment:nth-child(14), .doc-highlight-ping--1, .doc-highlight-ping--2, .doc-highlight-ping--3 { animation-play-state: paused; }
/* Section 1 paused */
.drop-zone-grid, .drop-zone-ring, .file-card--pdf, .file-card--docx, .file-card--img, .file-badge::after, .file-card--pdf .file-badge::after, .file-card--docx .file-badge::after, .file-card--img .file-badge::after, .sparkle--1, .sparkle--2, .sparkle--3, .ambient-particle--1, .ambient-particle--2, .ambient-particle--3, .ambient-particle--4, .ambient-particle--5, .flow-connector { animation-play-state: paused; }
/* Section 2 paused */
.si-section2-wrap.intel-component::before, .reading-cursor, .highlight-glow--vendor, .highlight-glow--vendor::before, .highlight-glow--total, .highlight-glow--total::before, .highlight-glow--terms, .highlight-glow--terms::before, .conn-path--vendor, .conn-path--total, .conn-path--terms, .conn-pulse--vendor, .conn-pulse--total, .conn-pulse--terms, .callout-label--vendor, .callout-label--vendor::before, .callout-label--total, .callout-label--total::before, .callout-label--terms, .callout-label--terms::before, .intel-particle--1, .intel-particle--2, .intel-particle--3, .intel-particle--4 { animation-play-state: paused; }
/* Section 3 paused */
.si-section3-wrap.extraction-component::before, .source-doc, .source-spot--vendor, .source-spot--po, .source-spot--total, .source-spot--date, .source-spot--terms, .extraction-path--1, .extraction-path--2, .extraction-path--3, .extraction-path--4, .extraction-path--5, .field-card--1, .field-card--2, .field-card--3, .field-card--4, .field-card--5, .si-section3-wrap .ambient-particle--1, .si-section3-wrap .ambient-particle--2, .si-section3-wrap .ambient-particle--3, .si-section3-wrap .ambient-particle--4, .si-section3-wrap .ambient-particle--5 { animation-play-state: paused; }
/* Section 4 paused */
.si-section4-wrap.trace-component::before, .trace-source-highlight--vendor, .trace-source-highlight--total, .trace-source-highlight--date, .trace-provenance-line--1, .trace-provenance-line--2, .trace-provenance-line--3, .trace-field-card--1, .trace-field-card--2, .trace-field-card--3, .trace-field-card--1 .trace-field-source-link, .trace-field-card--2 .trace-field-source-link, .trace-field-card--3 .trace-field-source-link, .trace-field-card--1 .trace-verified-check, .trace-field-card--2 .trace-verified-check, .trace-field-card--3 .trace-verified-check { animation-play-state: paused; }
/* Copilot paused */
.si-copilot-wrap.distlr-component::before, .si-copilot-wrap .distlr-avatar-crystal, .si-copilot-wrap .distlr-avatar::before, .si-copilot-wrap .status-dot, .si-copilot-wrap .subagent-dot, .si-copilot-wrap .msg-triage-greeting, .si-copilot-wrap .msg-user-anim, .si-copilot-wrap .msg-delegation-anim, .si-copilot-wrap .subagent-card-anim, .si-copilot-wrap .subagent-flash::after, .si-copilot-wrap .schema-field-1, .si-copilot-wrap .schema-field-2, .si-copilot-wrap .schema-field-3, .si-copilot-wrap .progress-fill-anim, .si-copilot-wrap .distlr-particle--1, .si-copilot-wrap .distlr-particle--2, .si-copilot-wrap .distlr-particle--3, .si-copilot-wrap .distlr-particle--4 { animation-play-state: paused; }
/* Section 5 paused */
.si-section5-wrap.outcomes-component::before, .outcome-rule-card--1, .outcome-rule-card--2, .outcome-rule-card--3, .outcome-pulse-path--1, .outcome-pulse-path--2, .outcome-pulse-path--3, .outcome-doc-status-card--1, .outcome-doc-status-card--2, .outcome-doc-status-card--3, .outcome-doc-status-card--1 .outcome-doc-status-pill, .outcome-doc-status-card--2 .outcome-doc-status-pill, .outcome-doc-status-card--3 .outcome-doc-status-pill, .outcome-particle--1, .outcome-particle--2, .outcome-particle--3, .outcome-particle--4 { animation-play-state: paused; }
/* Section 6 paused */
.scale-metric-hero::before, .scale-odometer-tens .scale-digit-odometer-inner, .scale-odometer-ones .scale-digit-odometer-inner, .scale-status-bar-segment--processing, .scale-status-dot--processing, .scale-activity-row--1, .scale-activity-row--2, .scale-activity-row--3, .scale-activity-row--4, .scale-activity-row--5, .scale-activity-status-icon--processing, .scale-activity-status-icon--processing::after { animation-play-state: paused; }
/* Section 7 paused */
.si-section7-wrap.integ-component::before, .integ-code-card, .integ-conn-line--webhook, .integ-conn-line--rest, .integ-conn-line--mcp, .integ-conn-line--csv, .integ-path-label--webhook, .integ-path-label--rest, .integ-path-label--mcp, .integ-path-label--csv, .integ-dest-node--webhook, .integ-dest-node--rest, .integ-dest-node--mcp, .integ-dest-node--csv, .integ-dest-node--webhook::after, .integ-dest-node--rest::after, .integ-dest-node--mcp::after, .integ-dest-node--csv::after, .integ-particle--1, .integ-particle--2, .integ-particle--3, .integ-particle--4 { animation-play-state: paused; }
/* Section 0 active */
.si-section-active.si-doc-pile-wrap.doc-chaos::before, .si-section-active .doc-page--0, .si-section-active .doc-page--1, .si-section-active .doc-page--2, .si-section-active .doc-page--3, .si-section-active .doc-page--4, .si-section-active .doc-stamp, .si-section-active .doc-scan-line, .si-section-active .doc-fragment:nth-child(6), .si-section-active .doc-fragment:nth-child(7), .si-section-active .doc-fragment:nth-child(8), .si-section-active .doc-fragment:nth-child(9), .si-section-active .doc-fragment:nth-child(10), .si-section-active .doc-fragment:nth-child(11), .si-section-active .doc-fragment:nth-child(12), .si-section-active .doc-fragment:nth-child(13), .si-section-active .doc-fragment:nth-child(14), .si-section-active .doc-highlight-ping--1, .si-section-active .doc-highlight-ping--2, .si-section-active .doc-highlight-ping--3 { animation-play-state: running; }
/* Section 1 active */
.si-section-active .drop-zone-grid, .si-section-active .drop-zone-ring, .si-section-active .file-card--pdf, .si-section-active .file-card--docx, .si-section-active .file-card--img, .si-section-active .file-badge::after, .si-section-active .file-card--pdf .file-badge::after, .si-section-active .file-card--docx .file-badge::after, .si-section-active .file-card--img .file-badge::after, .si-section-active .sparkle--1, .si-section-active .sparkle--2, .si-section-active .sparkle--3, .si-section-active .ambient-particle--1, .si-section-active .ambient-particle--2, .si-section-active .ambient-particle--3, .si-section-active .ambient-particle--4, .si-section-active .ambient-particle--5, .si-section-active .flow-connector { animation-play-state: running; }
/* Section 2 active */
.si-section-active.si-section2-wrap.intel-component::before, .si-section-active .reading-cursor, .si-section-active .highlight-glow--vendor, .si-section-active .highlight-glow--vendor::before, .si-section-active .highlight-glow--total, .si-section-active .highlight-glow--total::before, .si-section-active .highlight-glow--terms, .si-section-active .highlight-glow--terms::before, .si-section-active .conn-path--vendor, .si-section-active .conn-path--total, .si-section-active .conn-path--terms, .si-section-active .conn-pulse--vendor, .si-section-active .conn-pulse--total, .si-section-active .conn-pulse--terms, .si-section-active .callout-label--vendor, .si-section-active .callout-label--vendor::before, .si-section-active .callout-label--total, .si-section-active .callout-label--total::before, .si-section-active .callout-label--terms, .si-section-active .callout-label--terms::before, .si-section-active .intel-particle--1, .si-section-active .intel-particle--2, .si-section-active .intel-particle--3, .si-section-active .intel-particle--4 { animation-play-state: running; }
/* Section 3 active */
.si-section-active.si-section3-wrap.extraction-component::before, .si-section-active .source-doc, .si-section-active .source-spot--vendor, .si-section-active .source-spot--po, .si-section-active .source-spot--total, .si-section-active .source-spot--date, .si-section-active .source-spot--terms, .si-section-active .extraction-path--1, .si-section-active .extraction-path--2, .si-section-active .extraction-path--3, .si-section-active .extraction-path--4, .si-section-active .extraction-path--5, .si-section-active .field-card--1, .si-section-active .field-card--2, .si-section-active .field-card--3, .si-section-active .field-card--4, .si-section-active .field-card--5, .si-section-active.si-section3-wrap .ambient-particle--1, .si-section-active.si-section3-wrap .ambient-particle--2, .si-section-active.si-section3-wrap .ambient-particle--3, .si-section-active.si-section3-wrap .ambient-particle--4, .si-section-active.si-section3-wrap .ambient-particle--5 { animation-play-state: running; }
/* Section 4 active */
.si-section-active.si-section4-wrap.trace-component::before, .si-section-active .trace-source-highlight--vendor, .si-section-active .trace-source-highlight--total, .si-section-active .trace-source-highlight--date, .si-section-active .trace-provenance-line--1, .si-section-active .trace-provenance-line--2, .si-section-active .trace-provenance-line--3, .si-section-active .trace-field-card--1, .si-section-active .trace-field-card--2, .si-section-active .trace-field-card--3, .si-section-active .trace-field-card--1 .trace-field-source-link, .si-section-active .trace-field-card--2 .trace-field-source-link, .si-section-active .trace-field-card--3 .trace-field-source-link, .si-section-active .trace-field-card--1 .trace-verified-check, .si-section-active .trace-field-card--2 .trace-verified-check, .si-section-active .trace-field-card--3 .trace-verified-check { animation-play-state: running; }
/* Copilot active */
.si-section-active.si-copilot-wrap.distlr-component::before, .si-section-active.si-copilot-wrap .distlr-avatar-crystal, .si-section-active.si-copilot-wrap .distlr-avatar::before, .si-section-active.si-copilot-wrap .status-dot, .si-section-active.si-copilot-wrap .subagent-dot, .si-section-active.si-copilot-wrap .msg-triage-greeting, .si-section-active.si-copilot-wrap .msg-user-anim, .si-section-active.si-copilot-wrap .msg-delegation-anim, .si-section-active.si-copilot-wrap .subagent-card-anim, .si-section-active.si-copilot-wrap .subagent-flash::after, .si-section-active.si-copilot-wrap .schema-field-1, .si-section-active.si-copilot-wrap .schema-field-2, .si-section-active.si-copilot-wrap .schema-field-3, .si-section-active.si-copilot-wrap .progress-fill-anim, .si-section-active.si-copilot-wrap .distlr-particle--1, .si-section-active.si-copilot-wrap .distlr-particle--2, .si-section-active.si-copilot-wrap .distlr-particle--3, .si-section-active.si-copilot-wrap .distlr-particle--4 { animation-play-state: running; }
/* Section 5 active */
.si-section-active.si-section5-wrap.outcomes-component::before, .si-section-active .outcome-rule-card--1, .si-section-active .outcome-rule-card--2, .si-section-active .outcome-rule-card--3, .si-section-active .outcome-pulse-path--1, .si-section-active .outcome-pulse-path--2, .si-section-active .outcome-pulse-path--3, .si-section-active .outcome-doc-status-card--1, .si-section-active .outcome-doc-status-card--2, .si-section-active .outcome-doc-status-card--3, .si-section-active .outcome-doc-status-card--1 .outcome-doc-status-pill, .si-section-active .outcome-doc-status-card--2 .outcome-doc-status-pill, .si-section-active .outcome-doc-status-card--3 .outcome-doc-status-pill, .si-section-active .outcome-particle--1, .si-section-active .outcome-particle--2, .si-section-active .outcome-particle--3, .si-section-active .outcome-particle--4 { animation-play-state: running; }
/* Section 6 active */
.si-section-active .scale-metric-hero::before, .si-section-active .scale-odometer-tens .scale-digit-odometer-inner, .si-section-active .scale-odometer-ones .scale-digit-odometer-inner, .si-section-active .scale-status-bar-segment--processing, .si-section-active .scale-status-dot--processing, .si-section-active .scale-activity-row--1, .si-section-active .scale-activity-row--2, .si-section-active .scale-activity-row--3, .si-section-active .scale-activity-row--4, .si-section-active .scale-activity-row--5, .si-section-active .scale-activity-status-icon--processing, .si-section-active .scale-activity-status-icon--processing::after { animation-play-state: running; }
/* Section 7 active */
.si-section-active.si-section7-wrap.integ-component::before, .si-section-active .integ-code-card, .si-section-active .integ-conn-line--webhook, .si-section-active .integ-conn-line--rest, .si-section-active .integ-conn-line--mcp, .si-section-active .integ-conn-line--csv, .si-section-active .integ-path-label--webhook, .si-section-active .integ-path-label--rest, .si-section-active .integ-path-label--mcp, .si-section-active .integ-path-label--csv, .si-section-active .integ-dest-node--webhook, .si-section-active .integ-dest-node--rest, .si-section-active .integ-dest-node--mcp, .si-section-active .integ-dest-node--csv, .si-section-active .integ-dest-node--webhook::after, .si-section-active .integ-dest-node--rest::after, .si-section-active .integ-dest-node--mcp::after, .si-section-active .integ-dest-node--csv::after, .si-section-active .integ-particle--1, .si-section-active .integ-particle--2, .si-section-active .integ-particle--3, .si-section-active .integ-particle--4 { animation-play-state: running; }
