/* =========================================================
   Data Vendor Compare (Swipe Cards)
   ========================================================= */

.dav-wrapper.dav-wrapper--compare {
  width: 100%;
  position: relative;
  overflow-x: hidden;
  padding: 80px 0;
  margin-bottom: -10px;

  /* Cognism purple gradient (top-left to bottom-right) */
  background: linear-gradient(to bottom, rgba(106, 103, 255, 0.25), rgba(106, 103, 255, 0.1)) ;
  
}

/* Text above the card now white */
.dav-title,
.dav-subtitle {
  
}

.dav-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.dav-title {
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 600;
}

.dav-subtitle {
  font-size: 16px;
  margin: 0 0 40px;
}

@media (max-width: 767px) {
  .dav-title { font-size: 36px; }
  .dav-subtitle { font-size: 15px; }
}

/* =========================================================
   Card stage
   ========================================================= */

.dav-card-stage {
  position: relative;
  z-index: 2;
}

/* =========================================================
   Card
   ========================================================= */

.dav-card {
  width: 480px;
  padding: 0;
  border-radius: 24px;
  display: block;
  margin: 30px auto 0;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  /* Replaces jQuery .fadeIn(140) */
  opacity: 0;
  transition: opacity 0.14s linear;
}

.dav-card.is-visible {
  opacity: 1;
}

  background: linear-gradient(
    180deg,
    #d7d6ff 0%,
    #3A2AA8 100%
  );

  border: none;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.dav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 240px at 50% 0%,
    rgba(255,255,255,.30),
    rgba(255,255,255,0) 60%
  );
  pointer-events: none;
}

@media (max-width: 520px) {
  .dav-card {
    width: 100%;
    max-width: 440px;
  }
}

/* =========================================================
   Card header
   ========================================================= */

.dav-card__header {
  padding: 30px 30px 18px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.dav-card__title {
  color: #16162e;
  font-size: 30px;
  font-weight: 760;
  margin: 0 0 8px;
}

.dav-card__subtitle {
  color: #16162e;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 420;
  margin: 0;
}

.dav-card__divider {
  height: 1px;
  width: 100%;
  background: rgba(22,22,46,.14);
}

/* =========================================================
   Points as fully rounded panels
   ========================================================= */

.dav-card__body {
  padding: 36px 34px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.dav-panels {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

/* UPDATED: consistent pill heights (prevents CTA compression) */
.dav-panel {
  background: rgba(255,255,255,.75);
  border-radius: 999px;

  /* Keep all pills same height even if text wraps */
  min-height: 66px;
  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.dav-panel__text {
  color: #16162e;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 420;
  margin: 0;
  text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */

.dav-card__footer {
  padding: 18px 28px 24px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.dav-footer-grid {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 30px;
}

.dav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.25);
  color: #16162e;

  transition: transform .15s linear,
              box-shadow .15s linear,
              background .15s linear;
}

.dav-arrow i {
  font-size: 16px;
  line-height: 1;
}

.dav-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0,0,0,.14);
  background: rgba(255,255,255,.35);
}

/* =========================================================
   Primary CTA
   ========================================================= */

.dav-btn--view {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 26px 18px;
  font-size: 18px;
  line-height: 1;
  font-weight: 760;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  width: 100%;

  background: #B8EB4B;
  color: #16162e;

  box-shadow: 0 12px 22px rgba(0,0,0,.18);
  transition: transform .15s linear,
              box-shadow .15s linear,
              background .15s linear,
              color .15s linear;
}

.dav-btn--view i {
  font-size: 16px;
  color: #16162e;
}

.dav-btn--view:hover {
  background: #ffffff;
  color: #16162e;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0,0,0,.18);
}

.dav-btn--view:hover i {
  color: #16162e;
}

/* =========================================================
   Progress bar
   ========================================================= */

.dav-progress {
  margin-top: 56px;
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  overflow: hidden;
}

.dav-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #16162e;
}

/* =========================================================
   Swipe animations
   ========================================================= */

@keyframes swipeLeft {
  to {
    transform: translateX(-520px) rotate(-10deg);
    opacity: 0;
  }
}

@keyframes swipeRight {
  to {
    transform: translateX(520px) rotate(10deg);
    opacity: 0;
  }
}

.swipe-left {
  animation: swipeLeft 0.4s forwards;
}

.swipe-right {
  animation: swipeRight 0.4s forwards;
}

/* =========================================================
   BR26 STYLING – DATA VENDOR COMPARE (FULL OVERRIDE)
   Applies only when .s-br26 is present
========================================================= */

/* Full-width background: lighter purple → pink gradient */
.s-br26 .dav-wrapper.dav-wrapper--compare {
  background: linear-gradient(
    135deg,
    #f3f2ff 0%,
    #f7e9ff 100%
  ) !important;
}

/* Card: white → electric purple */
.s-br26 .dav-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #4c48f9 100%
  ) !important;
}

/* Soft glow overlay */
.s-br26 .dav-card::before {
  background: radial-gradient(
    700px 240px at 50% 0%,
    rgba(255,255,255,.45),
    rgba(255,255,255,0) 60%
  );
}

/* Divider */
.s-br26 .dav-card__divider {
  background: rgba(22,22,46,.12);
}

/* Title + subtitle above cards (ensure readable) */
.s-br26 .dav-title,
.s-br26 .dav-subtitle {
  color: #16162e !important;
}

/* Card text */
.s-br26 .dav-card__title,
.s-br26 .dav-card__subtitle,
.s-br26 .dav-panel__text {
  color: #16162e !important;
}

/* Arrows */
.s-br26 .dav-arrow {
  background: rgba(255,255,255,.35);
  color: #16162e;
}

.s-br26 .dav-arrow i {
  color: #16162e;
}

.s-br26 .dav-arrow:hover {
  background: rgba(255,255,255,.5);
}

/* CTA button (lighter pink tint) */
.s-br26 .dav-btn--view {
  background: #e9b8fd !important;
  color: #16162e !important;
  font-weight: 600 !important;
  font-size: 17px !important;
}

.s-br26 .dav-btn--view i {
  color: #16162e !important;
}

/* CTA hover */
.s-br26 .dav-btn--view:hover {
  background: #d39efd !important;
  color: #16162e !important;
}

.s-br26 .dav-btn--view:hover i {
  color: #16162e !important;
}

/* Progress bar */
.s-br26 .dav-progress__fill {
  background: #16162e;
}