/* ── Comparison Table (course-comparison partial) ─────────────────────────── */
.comparison-table {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  position: relative;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-row.table-header {
  margin-bottom: 0;
}

.feature-col {
  border-radius: 20px;
  padding: 25px 0 25px 20px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #ffffff;
}

.center-col-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.center-col {
  padding: 25px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #ccc;
}

/* Zebra stripe */
.table-row:not(.table-header):nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.brototype-col {
  z-index: 2;
}

/* Highlight Column */
.brototype-col-header,
.brototype-col {
  background: linear-gradient(
    180deg,
    rgba(10, 45, 30, 0.8) 0%,
    rgba(5, 25, 15, 0.9) 100%
  );
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(46, 204, 113, 0.15);
  border-right: 1px solid rgba(46, 204, 113, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.brototype-col-header {
  border-top: 1px solid rgba(46, 204, 113, 0.15);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 20px 0;
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 10px 20px rgba(46, 204, 113, 0.05);
}

.brototype-col {
  border-top: 1px solid rgba(46, 204, 113, 0.1);
}

.table-row:last-child .brototype-col {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
}

.table-row:last-child {
  border-bottom: none;
}

.table-header .center-col {
  font-size: 1rem;
  font-weight: 600;
  align-items: flex-end;
  padding-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .comparison-table {
    padding: 5px;
    margin-top: 20px;
    border-radius: 12px;
  }

  .table-row {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .feature-col {
    font-size: 0.7rem;
    padding: 12px 5px;
    font-weight: 500;
  }
  .center-col-heading {
    font-size: 0.8rem;
  }
  .center-col {
    font-size: 0.85rem;
    padding: 12px 2px;
  }
  .center-col i,
  .brototype-col i {
    font-size: 0.9rem;
  }
  .brototype-col-header,
  .brototype-col {
    padding: 12px 4px;
  }
  .table-header .center-col {
    font-size: 0.55rem;
    padding-bottom: 8px;
    font-weight: 500;
    line-height: 1.1;
  }
  .brototype-col-header {
    font-size: 0.8rem;
    padding: 12px 4px;
    line-height: 1.1;
  }
}
