/* ==========================================================================
   cards.css — icon boxes, logo/channel grids, testimonials, FAQ, security,
   case studies, and the comparison-table component (vs/ pages)
   ========================================================================== */

/* Hover-lift shadow used across cards/logo grids */
.hover-lift { transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 25px 45px -12px rgba(15, 98, 254, .25); }

/* Icon boxes (brand-gradient icon chips) */
.icon-box, .icon-circle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pm-blue), var(--pm-violet));
  color: #fff;
}
.icon-box { width: 3rem; height: 3rem; border-radius: .75rem; }
.icon-box-lg { width: 4rem; height: 4rem; border-radius: 1rem; }
.icon-circle { width: 4rem; height: 4rem; border-radius: 50%; }
.icon-circle-sm { width: 1.5rem; height: 1.5rem; border-radius: 50%; }

/* Logo / channel grids */
.logo-card {
  background: #fff; border-radius: .5rem; padding: 1.25rem;
  display: flex; align-items: center; justify-content: center; min-height: 90px;
}
.logo-card img { max-height: 44px; width: auto; object-fit: contain; transition: transform .3s ease; }
.logo-card:hover img { transform: scale(1.05); }

.channel-card {
  background: #fff; border: 1px solid #f1f1f4; border-radius: 1rem; padding: 1.5rem;
  text-align: center; min-height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.channel-card img { max-height: 44px; object-fit: contain; }
.channel-card .btn { margin-top: 1.5rem; }

/* Case study cards */
.case-study-card { border: 2px solid #e5e7eb; border-radius: 1rem; overflow: hidden; transition: all .3s ease; }
.case-study-card:hover { border-color: var(--pm-blue); box-shadow: 0 25px 45px -12px rgba(15,98,254,.25); transform: translateY(-4px); }
.case-study-emoji { font-size: 3.5rem; }

/* Testimonials */
.quote-mark { color: var(--pm-blue); opacity: .9; }
.testimonial-avatar {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--pm-blue), var(--pm-violet));
  color: #fff; font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.review-badge { background: rgba(10,10,10,.95); color: #fff; border-radius: 50rem; padding: .25rem .75rem; }
#pmTestimonials .carousel-control-prev,
#pmTestimonials .carousel-control-next {
  position: static; width: 3rem; height: 3rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--pm-blue); opacity: 1;
}
#pmTestimonials .carousel-control-prev:hover,
#pmTestimonials .carousel-control-next:hover { background: var(--pm-blue); }
#pmTestimonials .carousel-control-prev-icon,
#pmTestimonials .carousel-control-next-icon { filter: invert(37%) sepia(94%) saturate(3000%) hue-rotate(215deg); width: 1.25rem; height: 1.25rem; }
#pmTestimonials .carousel-control-prev:hover .carousel-control-prev-icon,
#pmTestimonials .carousel-control-next:hover .carousel-control-next-icon { filter: invert(100%); }
#pmTestimonials .carousel-indicators [data-bs-target] {
  width: .75rem; height: .75rem; border-radius: 50%; background-color: #d1d5db; opacity: 1; border: 0;
}
#pmTestimonials .carousel-indicators .active { background-color: var(--pm-blue); width: 2rem; border-radius: 50rem; }

/* FAQ accordion brand styling */
.pm-faq .accordion-item { border: 1px solid #e5e7eb; border-radius: .75rem !important; overflow: hidden; margin-bottom: 1rem; }
.pm-faq .accordion-button { font-weight: 700; color: var(--pm-deep); font-size: 1.05rem; }
.pm-faq .accordion-button:not(.collapsed) { color: var(--pm-blue); background-color: #f8f9fb; box-shadow: none; }
.pm-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.pm-faq .accordion-button::after { color: var(--pm-blue); }

/* Security badge tiles */
.badge-tile { width: 6rem; height: 6rem; border: 1px solid #d1d5db; border-radius: .75rem; display: flex; align-items: center; justify-content: center; }

/* Comparison table (vs/ pages) — new component, styled to match existing card language */
.pm-compare-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.pm-compare-table th, .pm-compare-table td { padding: 1rem; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.pm-compare-table thead th { background: #f8f9fb; font-family: 'Poppins', sans-serif; font-size: 1.05rem; border-bottom: 2px solid #e5e7eb; }
.pm-compare-table thead th.pm-compare-highlight { background: var(--pm-blue); color: #fff; border-radius: .75rem .75rem 0 0; }
.pm-compare-table tbody td.pm-compare-highlight { background: rgba(15,98,254,.06); font-weight: 600; }
.pm-compare-table .bi-check-circle-fill { color: #16a34a; }
.pm-compare-table .bi-x-circle { color: #d1d5db; }
