/* ================================ */
/* COMPARISON PAGE                  */
/* ================================ */

/* ===== HERO ===== */

.cmp-hero {
  background: #fdeef2;
  padding-top: 160px;
  padding-bottom: 100px;
}

.cmp-hero__wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.cmp-hero__info {
  width: 50%;
}

.cmp-hero__info h1 {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 24px;
  text-transform: uppercase;
  line-height: normal;
}

.cmp-hero__image {
  width: 50%;
}

.cmp-hero__image img {
  width: 100%;
  height: auto;
}

.cmp-hero__image.show-for-mobile {
  display: none;
}

/* checklist box */
.cmp-hero__checklist {
  margin-bottom: 28px;
}

.cmp-hero__checklist-label {
  margin-bottom: 24px;
  display: block;
  padding: 10px 16px;
  border-radius: 4px;
  border-left: 6px solid #E5214C;
  background: rgba(229, 33, 76, 0.20);
  color: #E5214C;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.cmp-hero__checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.cmp-hero__checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #212F43;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.cmp-hero__checklist-item svg {}

/* ===== WHY SWITCH ===== */

.cmp-why {
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url(/assets/images/typ/comparison/why-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cmp-why__title {
  color: #212121;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  text-transform: capitalize;
  margin: 0 auto;
  margin-bottom: 50px;
  max-width: 710px;
}

.cmp-why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.cmp-why__card {
  background: transparent;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-radius: 20px;
  border: 1px solid #E5214C;
}

.cmp-why__card p {
  color: #334155;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.cmp-why__card-icon {}

.cmp-why__cta {
  display: flex;
  justify-content: center;
}

/* ===== SPLIT TITLE (red/green word) ===== */

.cmp-split-title {
  color: #212121;
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.cmp-split-title--red {
  color: #E53935;
}

.cmp-split-title--green {
  color: #32BC69;
}

/* ===== DARK SECTION (Stress-Free Migration) ===== */

.cmp-dark {
  background: #0C132B;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cmp-dark__wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cmp-dark__image {
  width: 55%;
  flex-shrink: 0;
}

.cmp-dark__image img {
  width: 100%;
  height: auto;
}

.cmp-dark__info {
  width: 45%;
}

.cmp-dark__title {
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cmp-dark__title--red {
  color: #e5214c;
}

.cmp-dark__text {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

/* ===== DIRECT COMPARISONS ===== */

.cmp-grid {
  background: #fdeef2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cmp-grid__title {
  color: #212121;
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  margin-bottom: 24px;
}

.cmp-grid__subtitle {
  color: #4E5C71;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 52px;
}

.cmp-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cmp-grid__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  border-left: 4px solid #E5214C;
  text-decoration: none;
  border-radius: 4px;
  color: #212F43;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 155.556%;
}

.cmp-grid__card svg path {
  transition: all 400ms ease-in-out;
}

.cmp-grid__card span {
  color: #69788E;
  text-transform: lowercase;
  transition: all 400ms ease-in-out;
}

.cmp-grid__card:hover {
  box-shadow: 0 2px 12px rgba(229, 33, 76, 0.1);
  text-decoration: none;
  background: #E5214C;
  color: #FFF;
}

.cmp-grid__card:hover span {
  color: #FFF;
}

.cmp-grid__card:hover svg path {
  fill: #FFF;
}

/* ===== CTA ===== */

.cmp-cta {
  position: relative;
  padding: 90px 20px;
  background-image: url(/assets/images/typ/comparison/cta-bg.png);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 16px;
  margin: 120px 40px;
}

.cmp-cta__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: linear-gradient(135deg, rgb(255 0 56) 0%, rgb(255 0 40) 100%);
  z-index: 0;
}

.cmp-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cmp-cta__title {
  max-width: 668px;
  margin: 0 auto;
  color: #FFF;
  text-align: center;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -3px;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.cmp-cta__text {
  max-width: 765px;
  margin: 0 auto;
  display: inline-block;
  padding: 16px;
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  font-family: "Inter", sans-serif;
  margin-bottom: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.30);
}

.cmp-cta__btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #E5214C !important;
  background: #fff !important;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.cmp-cta__btn:hover {
  text-decoration: none;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */

@media (max-width: 1100px) {
  .cmp-why__title {
    font-size: 32px;
  }
  .cmp-split-title {
    font-size: 32px;
  }
  .cmp-dark__title {
    font-size: 36px;
  }
  .cmp-cta__title {
    font-size: 32px;
  }
}

@media (max-width: 900px) {
  .cmp-hero {
    padding-top: 140px;
    padding-bottom: 70px;
  }
  .cmp-hero__info h1 {
    font-size: 28px;
  }
  .cmp-why__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cmp-dark__title {
    font-size: 30px;
  }
  .cmp-dark__text {
    font-size: 16px;
  }
  .cmp-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cmp-cta {
    margin: 60px 20px;
  }
  .cmp-cta__title {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  /* hero */
  .cmp-hero {
    padding-top: 125px;
    padding-bottom: 60px;
  }
  .cmp-hero__wrapper {
    flex-direction: column;
    gap: 0;
  }
  .cmp-hero__info {
    width: 100%;
  }
  .cmp-hero__image {
    width: 100%;
  }
  .cmp-hero__image.hide-for-mobile {
    display: none;
  }
  .cmp-hero__image.show-for-mobile {
    display: block;
    margin-bottom: 24px;
  }
  .cmp-hero__checklist-grid {
    grid-template-columns: 1fr;
  }

  /* why switch */
  .cmp-why {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .cmp-why__title {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .cmp-why__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cmp-why__card {
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }

  /* dark section */
  .cmp-dark {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .cmp-dark__wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .cmp-dark__image {
    width: 100%;
  }
  .cmp-dark__info {
    width: 100%;
  }
  .cmp-dark__title {
    font-size: 28px;
  }

  /* comparisons grid */
  .cmp-grid {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .cmp-grid__title {
    font-size: 28px;
  }
  .cmp-grid__cards {
    grid-template-columns: 1fr;
  }

  /* cta */
  .cmp-cta {
    margin: 60px 0;
    border-radius: 0;
    padding: 60px 20px;
  }
  .cmp-cta__title {
    font-size: 22px;
  }
  .cmp-cta__text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cmp-hero__info h1 {
    font-size: 22px;
  }
  .cmp-split-title {
    font-size: 24px;
  }
  .cmp-why__title {
    font-size: 22px;
  }
  .cmp-dark__title {
    font-size: 24px;
  }
  .cmp-grid__card {
    font-size: 14px;
    padding: 14px 16px;
  }
}

@media (max-width: 360px) {
  .cmp-hero {
    padding-top: 200px;
    padding-bottom: 40px;
  }
  .cmp-hero__info h1 {
    font-size: 19px;
  }
  .cmp-hero__checklist {
    padding: 14px 16px;
  }
  .cmp-hero__checklist-item {
    font-size: 13px;
  }
  .cmp-why__title {
    font-size: 19px;
  }
  .cmp-why__card p {
    font-size: 15px;
  }
  .cmp-split-title {
    font-size: 20px;
  }
  .cmp-dark__title {
    font-size: 22px;
  }
  .cmp-dark__text {
    font-size: 14px;
  }
  .cmp-grid__title {
    font-size: 22px;
  }
  .cmp-grid__card {
    font-size: 13px;
    padding: 12px 14px;
  }
  .cmp-cta__title {
    font-size: 19px;
  }
  .cmp-cta__text {
    font-size: 13px;
  }
  .cmp-cta__btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
