.ct-vs-section {
  --ct-blue: #061a5f;
  --ct-green: #10a957;
  --ct-green-dark: #078f45;
  --ct-red: #ef2b2b;
  --ct-red-dark: #d71920;
  --ct-text: #102047;
  --ct-white: #ffffff;

  width: 100%; /* Corrected from 80% */
  padding: clamp(56px, 6vw, 90px) 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 169, 87, 0.05), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  overflow: hidden;
}

.ct-vs-container {
  max-width: 1280px;
  margin: 0 auto;
}

.ct-vs-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.ct-vs-header h2 {
  margin: 0;
  color: var(--ct-blue);
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.ct-vs-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 6vw, 80px);
  align-items: stretch;
}

.ct-vs-card {
  position: relative;
  min-height: 330px;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(6, 26, 95, 0.08);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease;
}

.ct-animate-cards {
  opacity: 0;
  transform: translateY(26px);
}

.ct-vs-card.ct-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Editor forces visibility */
.elementor-editor-active .ct-animate-cards {
  opacity: 1;
  transform: none;
}

.ct-vs-card:hover {
  box-shadow: 0 30px 72px rgba(6, 26, 95, 0.13);
}

.ct-vs-card-red {
  background:
    linear-gradient(135deg, rgba(239, 43, 43, 0.075), rgba(255, 255, 255, 0.94));
  border: 2px solid rgba(239, 43, 43, 0.15);
}

.ct-vs-card-green {
  background:
    linear-gradient(135deg, rgba(16, 169, 87, 0.09), rgba(255, 255, 255, 0.95));
  border: 2px solid rgba(16, 169, 87, 0.17);
}

.ct-vs-card h3 {
  margin: 0 0 34px;
  font-size: clamp(31px, 3.6vw, 50px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ct-vs-card-red h3 {
  color: var(--ct-red);
}

.ct-vs-card-green h3 {
  color: var(--ct-green);
}

.ct-vs-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-vs-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ct-text);
  font-size: clamp(22px, 2.35vw, 36px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.ct-vs-icon {
  flex: 0 0 auto;
  width: clamp(38px, 4vw, 52px);
  height: clamp(38px, 4vw, 52px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ct-vs-icon svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-vs-icon-red {
  background: linear-gradient(145deg, var(--ct-red), var(--ct-red-dark));
}

.ct-vs-icon-green {
  background: linear-gradient(145deg, var(--ct-green), var(--ct-green-dark));
}

.ct-vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: clamp(112px, 10vw, 150px);
  height: clamp(112px, 10vw, 150px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #ffffff, #f7f9fc);
  border: 3px solid rgba(6, 26, 95, 0.08);
  box-shadow:
    0 18px 40px rgba(6, 26, 95, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
}

.ct-vs-badge span {
  color: var(--ct-blue);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

@media (max-width: 980px) {
  .ct-vs-wrapper {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ct-vs-badge {
    position: relative;
    top: auto;
    left: auto;
    margin: -8px auto;
    transform: none;
    width: 96px;
    height: 96px;
    order: 2;
  }

  .ct-vs-badge span {
    font-size: 42px;
  }

  .ct-vs-card-red {
    order: 1;
  }

  .ct-vs-card-green {
    order: 3;
  }

  .ct-vs-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .ct-vs-section {
    padding: 50px 16px;
  }

  .ct-vs-header {
    margin-bottom: 30px;
  }

  .ct-vs-card {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .ct-vs-card h3 {
    margin-bottom: 26px;
    text-align: center;
  }

  .ct-vs-list {
    gap: 18px;
  }

  .ct-vs-list li {
    gap: 14px;
    font-size: 20px;
    letter-spacing: -0.02em;
  }

  .ct-vs-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .ct-vs-list li {
    align-items: flex-start;
    font-size: 18px;
  }

  .ct-vs-icon {
    margin-top: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-animate-cards {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
