.tw-compare {
  background: #fff;
  padding: 60px 56px;
  font-family: "Poppins", sans-serif;
  color: #190750;
}
.tw-compare *, .tw-compare *::before, .tw-compare *::after {
  box-sizing: border-box;
}
.tw-compare .tw-compare-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.tw-compare .tw-compare-head {
  text-align: center;
  margin-bottom: 48px;
}
.tw-compare .tw-compare-head .tw-eyebrow {
  display: block;
  text-align: center;
  font: 700 12px/1 "Poppins", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3E5EE2;
}
.tw-compare .tw-compare-head h2 {
  text-align: center;
  font: 600 44px/1.15 "Poppins", sans-serif;
  letter-spacing: -0.01em;
  color: #190750;
  margin: 14px auto 16px;
  text-wrap: balance;
}
.tw-compare .tw-compare-head p {
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: #190750;
  opacity: 0.78;
  max-width: 720px;
  margin: 0 auto;
}
.tw-compare .tw-compare-table {
  background: #fff;
  border: 1px solid #EFEFEF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(25, 7, 80, 0.06);
}
.tw-compare .tw-cmp-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-bottom: 1px solid #EFEFEF;
}
.tw-compare .tw-cmp-row:last-child {
  border-bottom: 0;
}
.tw-compare .tw-cmp-row:hover .tw-cmp-cell {
  background: transparent;
}
.tw-compare .tw-cmp-row:hover .tw-cmp-cell.col-tw {
  background: #EDE3F8;
}
.tw-compare .tw-cmp-cell {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 500 15px/1.4 "Poppins";
  color: #190750;
  border-left: 1px solid rgba(25, 7, 80, 0.08);
}
.tw-compare .tw-cmp-cell:first-child {
  border-left: 0;
}
.tw-compare .tw-cmp-cell.col-tw {
  background: #F5EEFC;
}
.tw-compare .tw-cmp-row.head .tw-cmp-cell {
  font: 600 14px/1.3 "Poppins";
  color: #190750;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
}
.tw-compare .tw-cmp-row.head .tw-cmp-cell.tw {
  background: linear-gradient(135deg, #3E5EE2 0%, #7526C5 100%);
  color: #fff;
  border-left: 0;
}
.tw-compare .tw-cmp-row.head .tw-cmp-cell.tw .pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font: 700 10px/1 "Poppins";
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tw-compare .tw-cmp-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.tw-compare .tw-cmp-mark.yes {
  background: #E7F5EA;
  color: #15803D;
}
.tw-compare .tw-cmp-mark.no {
  background: #FCE7E5;
  color: #B91C1C;
}
.tw-compare .tw-cmp-mark.warn {
  background: #FEF3C7;
  color: #B45309;
}
.tw-compare .tw-cmp-foot {
  text-align: center;
  margin-top: 32px;
}
.tw-compare .tw-btn {
  font: 600 14px/1 "Poppins";
  border: 0;
  padding: 14px 26px;
  border-radius: 999px;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}
.tw-compare .tw-btn svg {
  display: inline-block;
}
.tw-compare .tw-btn-primary {
  background: #3E5EE2;
  color: #fff;
  box-shadow: 0 2px 6px rgba(25, 7, 80, 0.08);
}
.tw-compare .tw-btn-primary:hover {
  background: #3452CC;
  color: #fff;
  box-shadow: 0 10px 24px rgba(62, 94, 226, 0.28);
}

@media (max-width: 760px) {
  .tw-compare {
    padding: 56px 24px;
  }
  .tw-compare .tw-compare-head,
  .tw-compare .tw-compare-head .tw-eyebrow,
  .tw-compare .tw-compare-head h2,
  .tw-compare .tw-compare-head p {
    text-align: center;
  }
  .tw-compare .tw-compare-head h2 {
    font-size: 32px;
  }
  .tw-compare .tw-compare-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .tw-compare .tw-cmp-row.head {
    display: none;
  }
  .tw-compare .tw-cmp-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(25, 7, 80, 0.04);
  }
  .tw-compare .tw-cmp-cell {
    border: 0;
    padding: 14px 18px;
    background: transparent !important;
    justify-content: flex-start;
    text-align: left;
    display: flex;
    align-items: center;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell:first-child {
    background: #F5EEFC !important;
    font: 600 15px/1.35 "Poppins";
    color: #190750;
    padding: 14px 18px;
    border-bottom: 1px solid #EFEFEF;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell:not(:first-child) {
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px;
    font: 500 14px/1.35 "Poppins";
    color: #190750;
    border-bottom: 1px solid #F2F2F4;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell:not(:first-child)::before {
    content: attr(data-col-label);
    flex: 1;
    min-width: 0;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell:not(:first-child):last-child {
    border-bottom: 0;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell.col-tw {
    background: linear-gradient(135deg, rgba(62, 94, 226, 0.06) 0%, rgba(117, 38, 197, 0.08) 100%) !important;
  }
  .tw-compare .tw-cmp-row > .tw-cmp-cell.col-tw::before {
    color: #190750;
    font-weight: 600;
  }
  .tw-compare .tw-cmp-row .tw-cmp-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}
