/* ==========================================================================
   features.css — sticky-stack of 4 two-column feature cards
   ========================================================================== */

.feature {
  background: var(--color-bg);
  padding-block: var(--section-py);
}
.feature__inner { display: block; }

/* ---- Section header ---- */
.feature__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto var(--gap-head-body);
  max-width: 880px;
}
.feature__head-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill);
  background: rgba(36, 36, 38, 0.06);
  font-size: var(--eyebrow-fs);
  font-weight: var(--eyebrow-fw);
  letter-spacing: var(--eyebrow-ls);
  text-transform: uppercase;
  color: var(--color-text);
}
.feature__head-chip i,
.feature__head-chip [data-lucide] {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 4px;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
}
.feature__head-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.feature__head-accent {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0 12px 4px;
  border-radius: 10px;
  transform: rotate(-0.6deg);
}
.feature__head-lede {
  font-size: var(--fs-section-lede);
  line-height: var(--lh-section-lede);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 56ch;
}

/* Sticky stack: each card sticks at the top, next card slides over */
.feature__stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Each card sticks below the site header */
.feature__row {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: #fff;
  border: 1.5px solid var(--color-primary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(28, 0, 88, 0.18);
  margin-bottom: 32px;
  /* Each card sits a touch lower than the previous so the stack reveals */
  transform: translateY(calc(var(--i, 0) * 0px));
  z-index: calc(10 + var(--i, 0));
}

/* Reversed layout — image left, copy right (alternating rows).
   Desktop only; on mobile every card stacks copy-on-top via the
   max-width:960px rules further down. */
@media (min-width: 961px) {
  .feature__row--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
  .feature__row--reverse > .feature__media { order: 0; }
  .feature__row--reverse > .feature__copy  { order: 1; }
}

/* Add scroll-driven height so the stack has room to scroll through */
.feature__stack::after {
  content: "";
  display: block;
  height: 320px; /* extra runway after the last card */
}

/* ---- LEFT side: copy ---- */
.feature__copy {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  position: relative;
}

.feature__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(36, 36, 38, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.005em;
  align-self: flex-start;
}
.feature__eyebrow svg {
  color: var(--color-text);
  opacity: 0.85;
}

.feature__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-text);
  margin: 12px 0 4px;
}

.feature__lede {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-mid);
  max-width: 56ch;
  margin: 0 0 4px;
}

.feature__bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature__bullets li {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.feature__bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--color-text);
  font-weight: 700;
}

/* Proof note pinned at the bottom of the left column */
.feature__proof {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-meta);
}
.feature__proof svg { color: var(--color-text-meta); }

/* Per-card CTA — same language as the hero .btn: dark "thunder" pill body
   with a chunky brand-purple square arrow on the left. Slightly downscaled
   so it fits naturally inside the card. */
.feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 22px 4px 4px;
  background: var(--color-text-thunder);
  color: #fff !important;
  border-radius: var(--r-xl);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 24px;
  align-self: flex-start;
  margin-top: 14px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: 0 12px 24px -10px rgba(36, 28, 110, 0.28);
}
.feature__cta:hover {
  transform: translateY(-1px);
  background: var(--color-text-thunder);
  color: #fff !important;
}
.feature__cta-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--color-primary);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.feature__cta-arrow i,
.feature__cta-arrow [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* ---- RIGHT side: purple illustration panel ---- */
.feature__media {
  position: relative;
  background:
    radial-gradient(circle at 70% 25%, rgba(167, 124, 255, 0.32), transparent 55%),
    radial-gradient(circle at 30% 75%, rgba(255, 255, 255, 0.10), transparent 55%),
    linear-gradient(135deg, var(--color-primary-deeper) 0%, var(--color-primary) 60%, var(--color-primary-dark) 100%);
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
}
/* Subtle dot grid overlay */
.feature__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Photo variant — replace the placeholder visualization with a real Figma export.
   The PNG already includes its own composition; the gradient stays as a fallback
   while the image loads, and the dot-grid is suppressed so it doesn't show through. */
.feature__media--photo::before { display: none; }
.feature__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

/* ---------------------------------------------------------------------------
   Animated workflow variant — used on the WhatsApp/Autopilot card.
   Adapted from the lite reference build (F1 "WhatsApp Automation"), redrawn
   to live on prod's dark-purple media panel and to use real brand-color
   logos (WhatsApp green, HubSpot orange, Google blue, Atlassian blue).
   --------------------------------------------------------------------------- */
.feature__media--anim::before { display: none; }
.feature__media--anim {
  /* Light pastel panel — overrides the default dark-purple gradient on
     .feature__media just for animated diagrams. */
  background: linear-gradient(145deg, #f8f7ff 0%, #ede9fe 100%);
  isolation: isolate;
}

.feature__media--anim .fa-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 45% 50%, rgba(124, 58, 237, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.feature__media--anim .fa-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

/* Floating brand-icon node */
.fa-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: fa-float 4.5s ease-in-out infinite;
}
.fa-node--ai     { animation-duration: 5s;   animation-delay: 0.5s; }
.fa-node--crm    { animation-duration: 4s;   animation-delay: 0.3s; }
.fa-node--cal    { animation-duration: 5.5s; animation-delay: 1s;   }
.fa-node--ticket { animation-duration: 4.2s; animation-delay: 0.7s; }

.fa-node__icon {
  width: var(--fa-w, 54px);
  height: var(--fa-w, 54px);
  border-radius: 14px;
  background: var(--fa-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--fa-bd, rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 26px var(--fa-shadow, rgba(167, 124, 255, 0.25));
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fa-node__icon img,
.fa-node__icon svg {
  width: 56%;
  height: 56%;
  object-fit: contain;
  display: block;
}

.fa-node__lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #475569;
  white-space: nowrap;
  line-height: 1;
}

/* Status chip — fades in when its corresponding particle finishes its run */
.fa-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(100, 80, 160, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
  transform: translate(-50%, -50%) translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.06);
  color: #1e1b4b;
}
.fa-chip.is-on { opacity: 1; transform: translate(-50%, -50%); }
.fa-chip[data-fa-chip="lead"]::before,
.fa-chip[data-fa-chip="meet"]::before,
.fa-chip[data-fa-chip="ticket"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}
.fa-chip[data-fa-chip="lead"]::before   { background: #FF7A59; box-shadow: 0 0 8px #FF7A59; }
.fa-chip[data-fa-chip="meet"]::before   { background: #4285F4; box-shadow: 0 0 8px #4285F4; }
.fa-chip[data-fa-chip="ticket"]::before { background: #5AAEFF; box-shadow: 0 0 8px #5AAEFF; }

/* Bottom WhatsApp message preview */
.fa-msg {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 230px;
  z-index: 4;
  box-shadow: 0 4px 18px rgba(36, 28, 110, 0.08);
}
.fa-msg img { width: 18px; height: 18px; flex-shrink: 0; }
.fa-msg__line {
  font-size: 11.5px;
  color: #1e1b4b;
  font-weight: 500;
}
.fa-msg__route {
  font-size: 10.5px;
  color: #16a34a;
  margin-top: 2px;
}
.fa-msg__cursor {
  display: inline-block;
  margin-left: 1px;
  animation: fa-cursor 0.8s step-end infinite;
}

@keyframes fa-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-7px); }
}
@keyframes fa-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes fa-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.3); }
}
@keyframes fa-orbit-blink {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 0.3; }
}

/* ───────── Email (F2) — counter + cycling classifier ───────── */
.fa-counter {
  position: absolute;
  top: 8%;
  right: 5%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(100, 80, 160, 0.14);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  color: #475569;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.06);
}
.fa-counter__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: fa-pulse 1.6s ease-in-out infinite;
}
.fa-counter__num { font-weight: 700; color: #1e1b4b; }

.fa-class {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.32);
  color: #5b21b6;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 5;
  transition: opacity 0.3s ease;
}

/* ───────── Recruit (F3) — pipeline track + queue pill ───────── */
.fa-pipe-track {
  position: absolute;
  left: calc(50% - 1px);
  top: 10%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(236, 72, 153, 0.18),
    rgba(167, 139, 250, 0.18),
    rgba(34, 211, 238, 0.18));
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}
.fa-queue {
  position: absolute;
  left: 50%;
  top: 7%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(100, 80, 160, 0.18);
  border-radius: 10px;
  padding: 6px 18px;
  z-index: 5;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.06);
}
.fa-queue__lbl { font-size: 11px; color: #475569; font-weight: 600; }
.fa-queue__num { font-size: 12px; font-weight: 700; color: #1e1b4b; }

/* ───────── Workflow (F4) — diamond decision node ───────── */
.fa-node__icon--diamond {
  transform: rotate(45deg);
  border-radius: 10px;
}
.fa-node__icon--diamond > svg { transform: rotate(-45deg); }

/* ───────── Copilot (F5) — orbital center orb + input chip ───────── */
.feature__media--copilot { min-height: 460px; }
.fa-orbit { animation: fa-orbit-blink 6s ease-in-out infinite; }
.fa-node--orb {
  z-index: 4; /* sit above the spoke lines */
}
.fa-node__orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #c4b1ff 0%, #8b5cf6 55%, #4D00F2 100%);
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.42), 0 0 72px rgba(77, 0, 242, 0.22);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.fa-node__orb img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.95);
}

.fa-cop-input {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(100, 80, 160, 0.16);
  border-radius: 12px;
  padding: 8px 16px;
  min-width: 240px;
  max-width: 80%;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.06);
}
.fa-cop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 8px #7c3aed;
  flex-shrink: 0;
  animation: fa-pulse 1.4s ease-in-out infinite;
}
.fa-cop-text {
  font-size: 12px;
  color: #475569;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fa-cop-cursor {
  color: #7c3aed;
  font-weight: 300;
  animation: fa-cursor 0.8s step-end infinite;
}

/* ───────── Lead Intelligence (F6) — hot leads panel ───────── */
.fa-leadpanel {
  position: absolute;
  right: 4%;
  top: 42%;
  width: 158px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 14px;
  padding: 11px 13px;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(36, 28, 110, 0.08);
}
.fa-leadpanel__hd {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fa-leadpanel__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb923c;
  box-shadow: 0 0 8px #fb923c;
  animation: fa-pulse 1.4s ease-in-out infinite;
}
.fa-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.fa-lead:last-child { margin-bottom: 0; }
.fa-lead__av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.fa-lead__name { font-size: 11px; font-weight: 600; color: #1e1b4b; flex: 1; }
.fa-lead__bar {
  width: 50px;
  height: 4px;
  background: rgba(100, 80, 160, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.fa-lead__bar > b {
  display: block;
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s ease;
}
.fa-lead__num {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  width: 22px;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .fa-node, .fa-msg__cursor, .fa-counter__dot, .fa-cop-dot,
  .fa-cop-cursor, .fa-orbit, .fa-leadpanel__pulse { animation: none; }
}

/* ---------------------------------------------------------------------------
   Clean variant — adopted across animation panels for the "elite" look:
   full-color official brand logos sitting on plain white cards, very minimal
   shadows, no glow halos, no backdrop-blur, no per-icon brand-color tinting.
   The colour comes from the logos themselves, not from the container.
   --------------------------------------------------------------------------- */
.feature__media--clean .fa-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124, 58, 237, 0.06), transparent 75%);
}

.feature__media--clean .fa-node__icon {
  background: #ffffff;
  border: 1px solid rgba(100, 80, 160, 0.14);
  box-shadow:
    0 1px 2px rgba(36, 28, 110, 0.04),
    0 4px 10px rgba(36, 28, 110, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.feature__media--clean .fa-node__icon img,
.feature__media--clean .fa-node__icon svg { width: 62%; height: 62%; }

/* AiFlo center stays subtly differentiated — slightly tinted card,
   one-step purple-tinged shadow, no glow halo. */
.feature__media--clean .fa-node__icon--brand {
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  box-shadow:
    0 2px 6px rgba(77, 0, 242, 0.10),
    0 8px 20px rgba(77, 0, 242, 0.06);
}

/* Copilot orb — drop the heavy radial halo for a clean drop shadow */
.feature__media--clean .fa-node__orb {
  box-shadow:
    0 4px 14px rgba(77, 0, 242, 0.22),
    0 12px 28px rgba(77, 0, 242, 0.10);
}

/* Hot Leads panel + bottom Copilot input chip — cleaner borders, lighter shadow */
.feature__media--clean .fa-leadpanel {
  background: #ffffff;
  border: 1px solid rgba(100, 80, 160, 0.14);
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.05);
}
.feature__media--clean .fa-cop-input {
  background: #ffffff;
  border: 1px solid rgba(100, 80, 160, 0.14);
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.05);
}
.feature__media--clean .fa-counter,
.feature__media--clean .fa-queue {
  border-color: rgba(100, 80, 160, 0.14);
  box-shadow: 0 2px 8px rgba(36, 28, 110, 0.05);
}
.feature__media--clean .fa-msg {
  background: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.32);
  box-shadow: 0 4px 14px rgba(36, 28, 110, 0.05);
}
/* Status chips — solid white in clean mode */
.feature__media--clean .fa-chip {
  background: #ffffff;
  border: 1px solid rgba(100, 80, 160, 0.14);
  box-shadow: 0 2px 8px rgba(36, 28, 110, 0.05);
}

/* Mobile — diagram stays legible at 280px tall */
@media (max-width: 960px) {
  .feature__media--anim { min-height: 300px; }
  .fa-node__icon { transform: scale(0.85); transform-origin: center; }
  .fa-node__lbl { font-size: 9.5px; }
  .fa-chip { font-size: 10px; padding: 3px 10px; }
  .fa-msg { min-width: 200px; padding: 6px 12px; bottom: 5%; }
  .fa-msg__line { font-size: 10.5px; }
  .fa-msg__route { font-size: 10px; }
}

/* ---- Placeholder visualization (replaceable with image) ---- */
.feature__viz {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.feature__viz-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(167, 124, 255, 0.55), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.feature__viz-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.feature__viz-card--center {
  position: relative;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  width: 180px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  z-index: 2;
  border-radius: 14px;
}
.feature__viz-ai {
  font-family: var(--font-ui);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}
.feature__viz-tick {
  width: 24px;
  height: 24px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  position: absolute;
  top: 16px;
  right: 16px;
}
.feature__viz-bars {
  position: absolute;
  bottom: 14px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feature__viz-bars i {
  display: block;
  width: 64px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}
.feature__viz-bars i:nth-child(2) { width: 40px; }

/* Floating cards around the center */
.feature__viz-card--tl { width: 110px; height: 64px; top: 12%;  left: 8%;  transform: rotate(-3deg); }
.feature__viz-card--tr { width: 130px; height: 76px; top: 8%;   right: 8%; transform: rotate(2deg); padding: 14px; display: flex; align-items: center; justify-content: flex-end; color: rgba(255,255,255,0.85); font-family: var(--font-ui); }
.feature__viz-card--tr b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.feature__viz-card--tr em { font-style: normal; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.65); margin-left: 2px; }
.feature__viz-card--bl { width: 96px;  height: 70px; bottom: 18%; left: 6%;   transform: rotate(4deg); }
.feature__viz-card--br { width: 120px; height: 64px; bottom: 14%; right: 6%;  transform: rotate(-2deg); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .feature__row {
    grid-template-columns: 1fr;
    /* sticky stacks still work, just one column */
  }
  .feature__media { min-height: 260px; order: 2; }
  .feature__copy  { order: 1; }
}
@media (max-width: 640px) {
  .feature__row { top: 80px; margin-bottom: 24px; border-radius: 18px; }
  .feature__title { font-size: 22px; }
  .feature__media { min-height: 220px; }
  .feature__viz-card--center { width: 140px; height: 88px; }
  .feature__viz-card--tl, .feature__viz-card--bl { left: 4%; }
  .feature__viz-card--tr, .feature__viz-card--br { right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .feature__row { position: static; }
  .feature__stack::after { display: none; }
}
