/* YouMind Compare Table — index.html home-section-6 Compare (sc320–sc404) + mobile sc744 */

.ymct-compare-table {
  font: 400 16px/1.5 Poppins, sans-serif;
  color: #021019;
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}
.ymct-compare-table.alignfull {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ymct-compare-table *,
.ymct-compare-table *::before,
.ymct-compare-table *::after { box-sizing: border-box; }
.ymct-compare-table p { margin: 0; }
.ymct-compare-table img {
  max-width: none;
  border: 0;
  display: block;
}

/* sc320 — full-bleed light blue → white */
.ymct-compare-table .ct-section {
  width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: linear-gradient(0deg, #cfeffb 16.895%, #fff 83.105%);
  padding: 80px;
}
.ymct-compare-table .ct-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(0deg, #cfeffb 16.895%, #fff 83.105%);
  pointer-events: none;
}

.ymct-compare-table .ct-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.ymct-compare-table .ct-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.ymct-compare-table .ct-heading {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  color: #0a0a0a;
  font-size: 48px;
  text-transform: uppercase;
  width: 100%;
}
.ymct-compare-table .ct-desc {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #565656;
  font-size: 20px;
  max-width: 769px;
  width: 100%;
}

/* sc325 — white panel */
.ymct-compare-table .ct-panel {
  background: #fff;
  border-radius: 28px;
  padding: 20px;
  width: 100%;
}
/* sc325 children: header stack + rows are siblings — only 12px between them
   (sc326 padding-bottom), NOT a 48px flex gap. */
.ymct-compare-table .ct-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding-bottom: 12px;
  width: 100%;
}

/* sc326 + sc327 */
.ymct-compare-table .ct-header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 12px;
}
.ymct-compare-table .ct-feature-label {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: #021019;
  font-size: 32px;
  white-space: nowrap;
}
/* Shared 2-col track so header labels line up with row cells (sc329 / sc337). */
.ymct-compare-table .ct-cols,
.ymct-compare-table .ct-row-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  width: 100%;
}
.ymct-compare-table .ct-cols {
  align-items: center;
}
.ymct-compare-table .ct-col-label {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.4;
  color: #021019;
  font-size: 24px;
  min-width: 0;
  width: 100%;
}
.ymct-compare-table .ct-cols-divider {
  display: block;
  width: 2px;
  align-self: stretch;
  min-height: 1.4em;
  opacity: 0.2;
  background-image: linear-gradient(180deg, #199a91 0%, #082725 100%);
  padding: 0;
}
.ymct-compare-table .ct-cols-divider span {
  display: none;
}

.ymct-compare-table .ct-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.ymct-compare-table .ct-row {
  background: #fff;
  box-shadow: inset 0 0 0 1px #f2f2f2;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}
.ymct-compare-table .ct-row-label {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #021019;
  font-size: 16px;
  letter-spacing: 0.32px;
  opacity: 0.9;
  width: 100%;
  max-width: 552px;
}
.ymct-compare-table .ct-cell {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.ymct-compare-table .ct-row-divider {
  width: 2px;
  align-self: stretch;
  opacity: 0.2;
  background-image: linear-gradient(180deg, #199a91 0%, #082725 100%);
}
.ymct-compare-table .ct-glyph {
  flex: none;
  display: flex;
  align-items: center;
  border-radius: 36px;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ymct-compare-table .ct-glyph-img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}
.ymct-compare-table .ct-cell-text {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.4;
  color: #021019;
  font-size: 18px;
  letter-spacing: -0.36px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
}

/* —— Tablet —— */
@media (max-width: 1439px) and (min-width: 768px) {
  .ymct-compare-table .ct-section {
    padding: 60px 32px;
  }
  .ymct-compare-table .ct-heading {
    font-size: 36px;
  }
  .ymct-compare-table .ct-desc {
    max-width: 100%;
    font-size: 18px;
  }
  .ymct-compare-table .ct-feature-label {
    font-size: 28px;
    white-space: normal;
  }
  .ymct-compare-table .ct-col-label {
    font-size: 20px;
  }
  .ymct-compare-table .ct-cell-text {
    font-size: 16px;
  }
  .ymct-compare-table .ct-row-body {
    width: 100%;
  }
  .ymct-compare-table .ct-cell {
    min-width: 0;
  }
}

/* —— Mobile (sc744+) —— */
@media (max-width: 767px) {
  .ymct-compare-table .ct-section {
    padding: 0 0 44px;
    gap: 0;
  }
  .ymct-compare-table .ct-inner {
    gap: 42px;
    max-width: none;
  }
  .ymct-compare-table .ct-intro {
    gap: 12px;
    padding: 44px 20px 0;
  }
  .ymct-compare-table .ct-heading {
    font-size: 32px;
    line-height: 1.2;
  }
  .ymct-compare-table .ct-desc {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
  }
  .ymct-compare-table .ct-panel {
    border-radius: 0;
    padding: 0 20px;
    background: transparent;
  }
  .ymct-compare-table .ct-panel-inner {
    gap: 24px;
    padding-bottom: 0;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
  }
  .ymct-compare-table .ct-header {
    gap: 20px;
  }
  .ymct-compare-table .ct-feature-label {
    font-size: 24px;
    white-space: normal;
  }
  .ymct-compare-table .ct-cols {
    flex-wrap: nowrap;
  }
  .ymct-compare-table .ct-col-label {
    font-size: 16px;
  }
  .ymct-compare-table .ct-rows {
    gap: 10px;
  }
  .ymct-compare-table .ct-row {
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
  }
  .ymct-compare-table .ct-row-label {
    font-size: 14px;
    max-width: 100%;
  }
  .ymct-compare-table .ct-row-body {
    grid-template-columns: 1fr;
    row-gap: 12px;
    column-gap: 0;
  }
  .ymct-compare-table .ct-row-divider,
  .ymct-compare-table .ct-cols-divider {
    display: none;
  }
  .ymct-compare-table .ct-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
  }
  .ymct-compare-table .ct-cell {
    width: 100%;
  }
  .ymct-compare-table .ct-cell-text {
    font-size: 16px;
    white-space: normal;
  }
  .ymct-compare-table .ct-glyph {
    width: 24px;
    height: 24px;
  }
  .ymct-compare-table .ct-glyph-img {
    width: 16px;
    height: 16px;
  }
}
