/* ==========================
   CTA SECTION STYLES
   ========================== */

.cta-section {
  background: #0b1220 !important;
  padding: 5rem 0 !important;
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

/* Remove any gap between CTA and footer */
.cta-section + footer,
.cta-section + * {
  margin-top: 0 !important;
  border-top: none !important;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Left Column */
.cta-left {
  padding-right: 1rem;
}

.cta-heading {
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin-bottom: 2rem !important;
}

.cta-button-wrapper {
  margin-top: 2rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #3b31f7 0%, #4338ca 100%);
  color: #ffffff;
  padding: 2px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 300;
text-align: center;
  display: inline-block;
  min-width: 280px;
}

.btn-cta-primary:hover {

  color: #ffffff;
  text-decoration: none;
}

/* Right Column - Badges */
.cta-right {
  padding-left: 2rem;
}

.cta-badges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Top Row - G2 & Teams Count */
.cta-top-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* G2 Rating Badge */
.g2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
}

.g2-icon {
  background: #ff492c;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.g2-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.g2-score {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Teams Text */
.cta-teams-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.cta-teams-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Badges and Grid Leader Row - Side by Side */
.cta-badges-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

/* Review Platform Badges Grid */
.cta-review-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  flex: 1;
}

.review-badge-card {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.badge-score-large {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-shrink: 0;
}

.score-number {
  font-weight: 300;
  font-size: 1rem;
  color: #1f2937;
  line-height: 1;
}

.score-base {
  font-weight: 300;
  font-size: 1rem;
  color: #6b7280;
  line-height: 1;
}

.badge-logo-stars {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
  gap: 0.5rem;
  flex: 1;
}

.badge-logo-img {
  height: 20px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.badge-stars-display {
  display: flex;
  gap: 1px;
  font-size: 0.9rem;
}

.badge-stars-display i {
  line-height: 1;
}

/* Grid Leader Badge */
.cta-grid-leader {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
}

.grid-leader-badge {
  height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.12));

}

/* Tablet and medium screens - Stack layout */
@media (max-width: 1199px) {
  .cta-left {
    padding-right: 1rem;
    text-align: center;
    margin-bottom: 3rem;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-right {
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    justify-content: center;
  }

  .cta-badges {
    align-items: center;
    max-width: 600px;
    width: 100%;
  }

  .cta-top-row {
    align-items: center;
  }

  .cta-teams-text {
    text-align: center;
  }

  .cta-badges-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .cta-review-badges-grid {
    max-width: 500px;
  }

  .cta-grid-leader {
    justify-content: center;
  }

  .grid-leader-badge {
    height: 140px;
  }
}

@media (max-width: 767px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .btn-cta-primary {
    /* padding: 0.875rem 2rem; */
    font-size: 1rem;
    width: 150%;
    max-width: 500px;
  }

  .cta-badges {
    max-width: 100%;
  }

  .cta-review-badges-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 400px;
    width: 100%;
  }

  .review-badge-card {
    padding: 1rem;
    min-height: 75px;
  }

  .badge-logo-img {
    height: 22px;
    max-width: 100px;
  }

  .score-number {
    font-size: 1.5rem;
  }

  .score-base {
    font-size: 0.875rem;
  }

  .grid-leader-badge {
    height: 120px;
  }

  .cta-badges-row {
    flex-direction: column;
    align-items: center;
  }

  .g2-badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .g2-icon {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .g2-stars {
    font-size: 0.85rem;
  }

  .g2-score {
    font-size: 0.85rem;
  }

  .cta-teams-text {
    font-size: 0.875rem;
  }

  .badge-stars-display {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .cta-heading {
    font-size: 1.5rem;
  }

  .btn-cta-primary {
    width: 100%;
    max-width: 100%;
  }

  .cta-left {
    margin-bottom: 2rem;
  }
}

