.benefits {
  min-height: auto;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  display: block;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 247, 255, 0.07), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(0, 247, 255, 0.05), transparent 28%);
  pointer-events: none;
}

.benefits .container {
  position: relative;
  z-index: 1;
}

.benefits-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.benefits h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.benefits h2 span {
  color: var(--neon);
}

.benefits-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ── STAGE ─────────────────────────────────── */
.benefits-scroll-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 56px;
  padding: 24px 0 32px;

  /* Fade nas bordas — cria ilusão de profundidade */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
}

/* ── TRACK ─────────────────────────────────── */
.benefits-scroll-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: bscrollAnim 20s linear infinite;
}

@keyframes bscrollAnim {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ITEM ─────────────────────────────────── */
.bscroll-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 240px;
  flex-shrink: 0;
  padding: 28px 20px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);

  /* Cada item começa pequeno e esmaecido */
  opacity: 0.5;
  transform: scale(0.88);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Item em destaque — controlado pelo JS */
.bscroll-item.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(0, 247, 255, 0.18);
  box-shadow:
    0 0 30px rgba(0, 247, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.2);
  animation: bscroll-zoom-pulse 1.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes bscroll-zoom-pulse {
  0%   { transform: scale(0.88); opacity: 0.5; }
  35%  { transform: scale(1.06); opacity: 1;   }
  65%  { transform: scale(1.02); opacity: 1;   }
  100% { transform: scale(1);    opacity: 1;   }
}

/* Item adjacente ao ativo */
.bscroll-item.is-near {
  opacity: 0.75;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease,
              border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Saída suave quando perde is-active (volta ao estado padrão) */
.bscroll-item:not(.is-active):not(.is-near) {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.bscroll-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 247, 255, 0.14), rgba(0, 217, 255, 0.04));
  border: 1px solid rgba(0, 247, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(0, 247, 255, 0.1);
  transition: box-shadow 0.4s ease;
}

.bscroll-item.is-active .bscroll-icon {
  box-shadow: 0 0 28px rgba(0, 247, 255, 0.25);
}

.bscroll-item h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}

.bscroll-item p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* CTA */
.benefits-cta {
  text-align: center;
}

.btn-benefits-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #041018;
  background: linear-gradient(90deg, var(--neon), var(--neon-strong));
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.35), 0 10px 30px rgba(0, 217, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-benefits-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 217, 255, 0.6), 0 16px 40px rgba(0, 217, 255, 0.2);
}

.benefits-cta-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .benefits { padding: 64px 0 72px; }
  .benefits-heading { margin-bottom: 36px; }
  .benefits h2 { font-size: clamp(24px, 8vw, 32px); }

  .benefits-scroll-stage {
    margin-bottom: 36px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .bscroll-item {
    width: 200px;
    padding: 22px 16px 20px;
    border-radius: 18px;
  }

  .bscroll-icon { width: 52px; height: 52px; font-size: 20px; }
  .bscroll-item h3 { font-size: 13px; }
  .bscroll-item p  { font-size: 12px; }
}