 /* ── Outer scroll wrapper ── */
 .comparison-outer {
  max-width: 1000px;
  margin: 0 auto;
}
.comparison-outer .table-body{
  margin-top:30px;
}
/* ── Header row: sits above the table, 3 equal cols ── */
.table-headers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-width: 700px;
  margin-bottom: 0;
}

.th-mm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 20px;
  background: #fff;
  border: 4px solid #3740FF;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  min-height: 88px;
}

.mm-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #051B2C;
}

.th-others {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  min-height: 88px;
}

.others-dot {
  width: 18px;
  height: 18px;
  background: #F2968E;
  border-radius: 5px;
  flex-shrink: 0;
}
.others-title {
  font-size: 17px;
  font-weight: 700;
  color: #686A6C;
}

/* ── Table body: 3 equal columns, no gap ── */
.table-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-width: 700px;
  overflow: visible;
  background: transparent;
  /* No outer border here — built from individual cell borders so
     the outer box ends at the left/right column height, not MM height */
}

/* ── Row ── */
.row-feat,
.row-mm,
.row-oth {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 20px;
  font-size: 15px;
  position: relative;
}

/* Inset row divider (left/right spacing) */
.row-feat::after,
.row-mm::after,
.row-oth::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: #E0E1FF;
  pointer-events: none;
}

/* MM column uses a subtle blue divider */
.row-mm::after {
  background: rgba(55, 64, 255, 0.18);
}

/* Last row: no divider line */
.row-feat.last-row::after,
.row-mm.last-row::after,
.row-oth.last-row::after {
  display: none;
}

/* MM last row: its own blue bottom border (not the generic row-divider) */
.row-mm.last-row {
  border-bottom: 2px solid #3740FF;
}

/* Left & right last cells stop at their natural height;
   the MM cell (with extra padding-bottom) extends lower.
   min-height syncs both to the same bottom level (feat icon 36px
   is taller than cross-circle 26px, so we lock both to feat height) */
.row-feat.last-row,
.row-oth.last-row {
  align-self: start;
  min-height: 76px;
}

/* ── Feature column rows ── */
.row-feat {
  background: #fff;
  font-weight: 500;
  color: #051B2C;
  border-left: 1px solid #E0E1FF;   /* outer-box left edge */
}
/* First child of the grid IS the first .row-feat — top-left corner */
.row-feat:first-child {
  border-top: 1px solid #E0E1FF;    /* outer-box top edge */
  border-radius: 16px 0 0 0;
}
/* Last feat row — bottom-left corner of outer box */
.row-feat.last-row {
  border-bottom: 1px solid #E0E1FF; /* outer-box bottom edge */
  border-radius: 0 0 0 16px;
}

.first-row.row-feat {
  border-top: 1px solid #E0E1FF;
  border-top-left-radius: 15px;
}


.first-row.row-oth {
  border-top: 1px solid #E0E1FF;
  border-top-right-radius: 15px;
}

/* ── MM column rows ── */
.row-mm {
  background: #fff;
  font-weight: 600;
  color: #051B2C;
  border-left: 4px solid #3740FF;
  border-right: 4px solid #3740FF;
  /* border-bottom: 1px solid #EAEBFF; */
}
.row-mm.last-row {
  border-bottom: 4px solid #3740FF;
  border-radius: 0 0 14px 14px;
  padding-bottom: 50px;
}

/* ── Others column rows ── */
.row-oth {
  background: #FAFAFA;
  font-weight: 400;
  color: #051B2C;
  border-left: 1px solid #EFEFEF;
  /* border-bottom: 1px solid #F0F1F5; */
  border-right: 1px solid #E0E1FF;  /* outer-box right edge */
}
/* First .row-oth is the 3rd child of the grid (feat, mm, oth, feat, mm, oth…) — top-right corner */
.row-oth:nth-child(3) {
  border-top: 1px solid #E0E1FF;    /* outer-box top edge */
  border-radius: 0 16px 0 0;
}
/* Last oth row — bottom-right corner of outer box */
.row-oth.last-row {
  border-bottom: 1px solid #E0E1FF; /* outer-box bottom edge */
  border-radius: 0 0 16px 0;
}

/* ── Feature icon badge ── */
.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Check circle (MM) ── */
.check-circle {
  width: 26px;
  height: 26px;
  background: #3740FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Cross circle (Others) ── */
.cross-circle {
  width: 26px;
  height: 26px;
  border: 1.5px solid #F2968E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Icon color themes ── */
.ic-blue   { background: #EEF0FF; color: #3740FF; }
.ic-green  { background: #E6F9EE; color: #22C55E; }
.ic-purple { background: #F3EEFF; color: #9B5DFF; }
.ic-teal   { background: #E5F5F8; color: #0EA5E9; }
.ic-red    { background: #FFEEEE; color: #EF4444; }
.ic-amber  { background: #FFF6E0; color: #D97706; }
.ic-indigo { background: #EDEEFF; color: #6366F1; }
.ic-slate  { background: #F0F4F8; color: #64748B; }
.ic-rose   { background: #FFF0F2; color: #F43F5E; }
.ic-sky    { background: #EFF8FF; color: #0284C7; }
.ic-lime   { background: #F0FFED; color: #65A30D; }
.ic-pink   { background: #FFF0F9; color: #EC4899; }
.ic-orange { background: #FFF5ED; color: #EA580C; }

@media (max-width: 767px) {
 
  .section-title { font-size: 20px; padding: 0 14px; margin-bottom: 22px; }

  /* Make the 3-column layout fit the phone width (no horizontal scroll) */
  .table-headers,
  .table-body {
    min-width: 0;
    width: 100%;
    /* column-gap: 8px; */
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
  }

  /* Header sizing on mobile */
  .table-headers { margin-bottom: 6px; }
  .th-mm, .th-others { min-height: 52px; padding: 8px 10px; }
  .th-mm { border-width: 2px; }
  .others-title { font-size: 13px; }
  .th-mm img {
    width: 112px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Row sizing on mobile */
  .row-feat, .row-mm, .row-oth { padding: 14px 12px; font-size: 12px; gap: 10px; }
  .feat-icon { width: 28px; height: 28px; border-radius: 9px; }
  .check-circle, .cross-circle { width: 20px; height: 20px; }

  /* Inset divider spacing matches new padding */
  .row-feat::after,
  .row-mm::after,
  .row-oth::after { left: 12px; right: 12px; }

  /* MM borders consistent on mobile (desktop untouched) */
  .row-mm { border-left-width: 2px; border-right-width: 2px; }
  .row-mm.last-row { border-bottom-width: 2px; padding-bottom: 56px; }
  .row-feat.last-row, .row-oth.last-row { min-height: 0; }
  .row-mm.last-row {padding-bottom: 30px;}
  .others-dot{
    width: 10px;
    height: 10px;
    border-radius: 3px;
  }
  .check-circle, .cross-circle {
    width: 15px;
    height: 15px;
  }
  /* Remove the marked icon box in feature column */
  .row-feat .feat-icon { display: none; }
}

/* Extra-small phones (e.g., 320px) */
@media (max-width: 360px) {
  
  .table-headers,
  .table-body {
    
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    /* column-gap: 6px; */
  }
  .comparison-outer .table-body {
    line-height:17px;
  }
  /* Smaller logo so header doesn't push layout */
  .th-mm img {
    width: 96px;
    margin: 0 auto;
    /* The logo PNG has uneven transparent padding; compensate visually */
    transform: translateX(4px);
  }
  .row-feat { gap: 0; }
  /* Slightly tighter padding/text */
  .row-feat, .row-mm, .row-oth { padding: 12px 8px; font-size: 11px; }
  .row-feat::after, .row-mm::after, .row-oth::after { left: 10px; right: 10px; }
}