/* =========================================================
   09. Comparison
   ========================================================= */

.compare-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 97, 255, 0.07),
      transparent 24%
    ),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.compare-head {
  max-width: 1200px;
}

.compare-kicker {
  color: #0056d6;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.compare-kicker span {
  display: block;
  width: 54px;
  height: 2px;
  background: currentColor;
}

.text-dark-blue {
  color: #071333;
}

.compare-head h2 {
  font-size: 44px;
  line-height: 1.12;
}

.compare-head p {
  max-width: 1050px;
  font-size: 18px;
  line-height: 1.55;
}

/* =========================================================
   Comparison Table
   ========================================================= */

.compare-table {
  border-color: #d7e4f5 !important;
  box-shadow: 0 18px 40px rgba(17, 40, 80, 0.08);
}

.compare-th {
  min-height: 92px;
  padding: 22px 48px;
  font-size: 22px;
}

.compare-th-dark {
  background: #05143a;
}

.compare-th-light {
  color: #071333;
  background: #eef3fb;
}

.compare-th-blue {
  background: linear-gradient(135deg, #0878ff, #0057e8);
}

.compare-head-icon,
.compare-user-icon,
.compare-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.compare-head-icon {
  font-size: 34px;
}

.compare-user-icon {
  color: #071333;
  background: #ffffff;
  border: 1px solid #0056d6;
  font-size: 28px;
}

.compare-logo-icon {
  color: #0056d6;
  background: #ffffff;
  font-size: 26px;
}

.compare-row {
  border-top: 1px solid #d7e4f5;
}

.compare-td {
  min-height: 82px;
  padding: 18px 48px;
  color: #17213b;
  font-size: 18px;
}

.compare-td:not(:last-child) {
  border-right: 1px solid #d7e4f5;
}

.criteria-cell i {
  flex-shrink: 0;
  width: 28px;
  color: #0066ff;
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.criteria-cell strong {
  min-width: 0;
}

.minus-icon,
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

.minus-icon {
  background: #a8b2c4;
}

.check-icon {
  background: #0aa362;
}

.hapus-cell {
  color: #071333;
  background: #edf5ff;
}

.hapus-cell strong {
  font-weight: 800;
}

/* =========================================================
   Comparison CTA
   ========================================================= */

.compare-cta {
  background: linear-gradient(90deg, #eef6ff 0%, #ffffff 100%);
  border-color: #bfd8ff !important;
}

.compare-cta-left h3 {
  font-size: 26px;
}

.compare-cta-left p {
  font-size: 18px;
}

.compare-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 118px;
  width: 118px;
  height: 118px;
  color: #0056d6;
  background: #ffffff;
  border: 1px solid #bfd8ff;
  box-shadow: 0 15px 35px rgba(0, 86, 214, 0.12);
  font-size: 52px;
}

.compare-btn {
  min-width: 230px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  border: 0;
}

.compare-outline-btn {
  min-width: 250px;
  color: #0056d6;
  background: #ffffff;
  border: 2px solid #0056d6;
}

.compare-btn:hover,
.compare-btn:focus,
.compare-btn:active {
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
}

.compare-outline-btn:hover,
.compare-outline-btn:focus,
.compare-outline-btn:active {
  color: #0056d6;
  background: #ffffff;
  border-color: #0056d6;
}

/* =========================================================
   Comparison Mobile Cards
   ========================================================= */

.bg-dark-blue {
  background: #061a45;
}

.compare-mobile-cards .card {
  background: #ffffff;
}

.compare-mobile-cards .card-header {
  border: 0;
}

/*
  The criteria field outputs:
  <i class="..."></i><strong>Title</strong>

  Both elements are rendered directly inside
  .compare-mobile-heading.
*/
.compare-mobile-heading {
  width: 100%;
  min-width: 0;
}

.compare-mobile-heading > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.compare-mobile-heading > strong {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
}

.compare-mobile-content {
  flex: 1 1 auto;
  min-width: 0;
}

.compare-mobile-content small {
  line-height: 1.3;
}

.compare-mobile-content p {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}

.compare-minus,
.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.compare-minus {
  background: #9aa8bd;
}

.compare-check {
  background: #0877ff;
}

.compare-hapus-bg {
  background: #eef6ff;
}

/* =========================================================
   Responsive
   Largest max-width first, smallest last
   ========================================================= */

/* Screens up to 1600px */
@media (max-width: 1600px) {
  .compare-head {
    max-width: 960px;
  }

  .compare-head h2 {
    font-size: 32px;
  }

  .compare-head p {
    font-size: 16px;
  }

  .compare-th {
    font-size: 18px;
  }

  .compare-td {
    font-size: 16px;
  }

  .compare-cta-left h3 {
    font-size: 22px;
  }

  .compare-cta-left p {
    font-size: 16px;
  }

  .compare-btn,
  .compare-outline-btn {
    min-width: auto;
    font-size: 14px;
  }
}

/* Screens up to 1199.98px */
@media (max-width: 1199.98px) {
  .compare-th,
  .compare-td {
    padding-left: 26px;
    padding-right: 26px;
  }

  .compare-th {
    font-size: 17px;
  }

  .compare-td {
    font-size: 15px;
  }
}

/* Tablets and mobile */
@media (max-width: 991.98px) {
  .compare-table {
    display: none !important;
  }

  .compare-cta-left {
    flex-direction: column;
    text-align: center;
  }

  .compare-btn,
  .compare-outline-btn {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
    margin-bottom: 12px;
  }
}

/* Mobile devices */
/* =========================================================
   Mobile only: 767.98px and below
   ========================================================= */

@media (max-width: 767.98px) {
  .compare-head {
    margin-bottom: 32px !important;
  }

  .compare-head h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .compare-kicker {
    font-size: 13px;
  }

  .compare-kicker span {
    width: 34px;
  }

  .compare-head p {
    font-size: 15px;
    line-height: 1.55;
  }

  .compare-table {
    display: none !important;
  }

  .compare-mobile-cards .card {
    margin-bottom: 20px !important;
  }

  .compare-mobile-cards .card-header {
    padding: 18px !important;
  }

  .compare-mobile-cards .card-body > div {
    padding: 18px !important;
  }

  .compare-mobile-heading {
    width: 100%;
    min-width: 0;
    gap: 12px !important;
  }

  .compare-mobile-heading > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
  }

  .compare-mobile-heading > strong {
    flex: 1 1 auto;
    min-width: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: break-word;
  }

  .compare-mobile-content {
    flex: 1 1 auto;
    min-width: 0;
  }

  .compare-mobile-content small {
    font-size: 13px;
    line-height: 1.3;
  }

  .compare-mobile-content p {
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .compare-minus,
  .compare-check {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .compare-cta {
    padding: 20px !important;
  }

  .compare-cta-left {
    flex-direction: column;
    gap: 18px !important;
    text-align: center;
  }

  .compare-cta-icon {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    font-size: 36px;
  }

  .compare-cta-left h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .compare-cta-left p {
    font-size: 15px;
    line-height: 1.55;
  }

  .compare-btn,
  .compare-outline-btn {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
    margin-bottom: 10px;
    font-size: 14px;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
