/* =========================================================
   SERVIZUP COMPARISON SECTION
   ========================================================= */

.compare-section {
  position: relative;
  overflow: hidden;

  padding: 110px 0;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(47, 127, 224, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(99, 102, 241, 0.10),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f3f8ff 0%,
      #ffffff 50%,
      #f7f9ff 100%
    );
}


/* =========================================================
   BACKGROUND SHAPES
   ========================================================= */

.compare-bg-shape {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.compare-bg-shape--one {
  width: 300px;
  height: 300px;

  top: 40px;
  left: -170px;

  background: rgba(47, 127, 224, 0.07);

  filter: blur(5px);
}

.compare-bg-shape--two {
  width: 380px;
  height: 380px;

  right: -200px;
  bottom: 30px;

  background: rgba(129, 140, 248, 0.07);

  filter: blur(5px);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.compare-container {
  position: relative;

  z-index: 2;

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 20px;
}


/* =========================================================
   HEADING
   ========================================================= */

.compare-heading {
  max-width: 720px;

  margin: 0 auto 55px;

  text-align: center;
}

.compare-badge {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  padding: 8px 16px;

  margin-bottom: 18px;

  border: 1px solid rgba(47, 127, 224, 0.14);

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.75);

  color: #2f7fe0;

  font-size: 13px;

  font-weight: 750;

  box-shadow:
    0 7px 22px rgba(47, 127, 224, 0.07);

  backdrop-filter: blur(10px);
}

.compare-badge-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #2f7fe0;

  box-shadow:
    0 0 0 5px rgba(47, 127, 224, 0.10);
}

.compare-heading h2 {
  margin: 0;

  color: #172033;

  font-size: 42px;

  line-height: 1.25;

  font-weight: 850;

  letter-spacing: -0.8px;
}

.compare-heading h2 span {
  display: block;

  margin-top: 4px;

  color: #2f7fe0;
}

.compare-heading p {
  max-width: 620px;

  margin: 18px auto 0;

  color: #667085;

  font-size: 16px;

  line-height: 1.85;
}


/* =========================================================
   MAIN COMPARISON CARD
   ========================================================= */

.servizup-compare {
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.9);

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.88);

  box-shadow:
    0 25px 70px rgba(31, 64, 104, 0.10),
    0 5px 20px rgba(31, 64, 104, 0.04);

  backdrop-filter: blur(14px);
}


/* =========================================================
   HEADER
   ========================================================= */

.servizup-compare__header {
  display: grid;

  grid-template-columns: 1fr 1fr;

  border-bottom: 1px solid #e9eef5;
}

.servizup-compare__header-col {
  display: flex;

  align-items: center;

  gap: 12px;

  min-height: 70px;

  padding: 0 28px;

  font-size: 16px;

  font-weight: 800;
}

.servizup-compare__header-col--brand {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #2f7fe0,
      #4f91e8
    );
}

.servizup-compare__header-col--other {
  color: #475467;

  background: #f7f9fc;
}

.servizup-compare__badge {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.20);

  color: #ffffff;

  font-size: 16px;

  font-weight: 900;
}


/* =========================================================
   ROWS
   ========================================================= */

.servizup-compare__row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  border-bottom: 1px solid #edf1f6;
}

.servizup-compare__row:last-child {
  border-bottom: none;
}


/* =========================================================
   CELLS
   ========================================================= */

.servizup-compare__cell {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  min-height: 110px;

  padding: 24px 28px;
}

.servizup-compare__cell--good {
  background:
    linear-gradient(
      90deg,
      rgba(47, 127, 224, 0.035),
      rgba(255, 255, 255, 0.60)
    );
}

.servizup-compare__cell--other {
  background: #fcfdff;
}

.servizup-compare__icon {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  width: 31px;
  height: 31px;

  margin-top: 2px;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 900;
}

.servizup-compare__icon--good {
  background: rgba(47, 127, 224, 0.11);

  color: #2f7fe0;
}

.servizup-compare__icon--other {
  background: #f0f2f5;

  color: #98a2b3;
}


/* =========================================================
   TEXT
   ========================================================= */

.servizup-compare__cell div {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.servizup-compare__cell strong {
  color: #172033;

  font-size: 15px;

  line-height: 1.5;

  font-weight: 800;
}

.servizup-compare__cell span:not(.servizup-compare__icon) {
  color: #667085;

  font-size: 13px;

  line-height: 1.75;
}


/* =========================================================
   HOVER
   ========================================================= */

.servizup-compare__row:hover
.servizup-compare__cell--good {
  background:
    linear-gradient(
      90deg,
      rgba(47, 127, 224, 0.07),
      rgba(255, 255, 255, 0.75)
    );
}

.servizup-compare__row:hover
.servizup-compare__icon--good {
  transform: scale(1.08);
}


/* =========================================================
   CTA
   ========================================================= */

.compare-cta {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  margin: 25px;

  padding: 23px 25px;

  border: 1px solid rgba(47, 127, 224, 0.13);

  border-radius: 20px;

  background:
    linear-gradient(
      110deg,
      rgba(47, 127, 224, 0.07),
      rgba(248, 251, 255, 0.90)
    );
}

.compare-cta-content {
  display: flex;

  align-items: center;

  gap: 14px;
}

.compare-cta-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  width: 45px;
  height: 45px;

  border-radius: 13px;

  background: #2f7fe0;

  color: #ffffff;

  font-size: 19px;

  font-weight: 900;

  box-shadow:
    0 8px 20px rgba(47, 127, 224, 0.22);
}

.compare-cta-content h3 {
  margin: 0 0 4px;

  color: #172033;

  font-size: 16px;

  font-weight: 800;
}

.compare-cta-content p {
  margin: 0;

  color: #667085;

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.compare-cta-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  flex-shrink: 0;

  min-height: 50px;

  padding: 0 21px;

  border-radius: 13px;

  background: #2f7fe0;

  color: #ffffff;

  text-decoration: none;

  font-size: 13px;

  font-weight: 750;

  box-shadow:
    0 9px 22px rgba(47, 127, 224, 0.20);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.compare-cta-button span {
  font-size: 19px;

  line-height: 1;

  transition: transform 0.25s ease;
}

.compare-cta-button:hover {
  background: #256fc9;

  transform: translateY(-2px);

  box-shadow:
    0 13px 28px rgba(47, 127, 224, 0.27);
}

.compare-cta-button:hover span {
  transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

  .compare-section {
    padding: 85px 0;
  }

  .compare-heading h2 {
    font-size: 37px;
  }

  .servizup-compare__header-col {
    padding: 0 20px;
  }

  .servizup-compare__cell {
    padding: 21px 20px;
  }

  .compare-cta {
    flex-direction: column;

    align-items: stretch;
  }

  .compare-cta-button {
    width: 100%;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .compare-section {
    padding: 70px 0;
  }

  .compare-container {
    padding: 0 16px;
  }

  .compare-heading {
    margin-bottom: 38px;
  }

  .compare-heading h2 {
    font-size: 30px;

    letter-spacing: -0.4px;
  }

  .compare-heading p {
    margin-top: 14px;

    font-size: 14px;

    line-height: 1.8;
  }

  .compare-badge {
    font-size: 12px;
  }


  /* Header */

  .servizup-compare {
    border-radius: 20px;
  }

  .servizup-compare__header {
    grid-template-columns: 1fr 1fr;
  }

  .servizup-compare__header-col {
    min-height: 62px;

    padding: 0 12px;

    gap: 7px;

    font-size: 12px;

    line-height: 1.4;
  }

  .servizup-compare__badge {
    width: 27px;
    height: 27px;

    border-radius: 8px;

    font-size: 13px;
  }


  /* Rows */

  .servizup-compare__row {
    grid-template-columns: 1fr;
  }

  .servizup-compare__cell {
    min-height: auto;

    padding: 18px 15px;

    gap: 11px;
  }

  .servizup-compare__cell--other {
    border-top: 1px dashed #e4e8ee;

    background: #f9fafc;
  }

  .servizup-compare__icon {
    width: 28px;
    height: 28px;

    border-radius: 8px;

    font-size: 12px;
  }

  .servizup-compare__cell strong {
    font-size: 13px;
  }

  .servizup-compare__cell span:not(.servizup-compare__icon) {
    font-size: 12px;

    line-height: 1.7;
  }


  /* CTA */

  .compare-cta {
    margin: 15px;

    padding: 18px;

    border-radius: 17px;
  }

  .compare-cta-content {
    align-items: flex-start;
  }

  .compare-cta-icon {
    width: 39px;
    height: 39px;

    border-radius: 11px;

    font-size: 16px;
  }

  .compare-cta-content h3 {
    font-size: 14px;
  }

  .compare-cta-content p {
    font-size: 12px;
  }

  .compare-cta-button {
    min-height: 48px;

    font-size: 13px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

  .compare-heading h2 {
    font-size: 27px;
  }

  .servizup-compare__header-col {
    font-size: 11px;
  }

  .servizup-compare__cell {
    padding: 16px 13px;
  }

}