/* =====================================================
   TURBOHOST — COMPARATIVA DE PLANES
   ===================================================== */

.plan-comparison {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;

}

.plan-comparison__head {
  max-width: 850px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.plan-comparison__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.plan-comparison__subtitle {
  margin: 1.25rem auto 0;
  color: #b9c8e3;
  font-size: 1.05rem;
  line-height: 1.7;
}

.plan-comparison__scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.32);
  scrollbar-width: thin;
  scrollbar-color: #1262fe #071631;
}

.plan-comparison__table {
  width: 100%;
  min-width: 1050px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 42, 102, 0.96) 0%, rgba(5, 16, 44, 0.98) 100%);
}

.plan-comparison__table th,
.plan-comparison__table td {
  padding: 1.25rem 1.4rem;
  border-right: 1px solid rgba(139, 174, 230, 0.08);
  border-bottom: 1px solid rgba(139, 174, 230, 0.16);
  font-size: 0.93rem;
  line-height: 1.45;
  text-align: center;
  vertical-align: middle;
}

.plan-comparison__table th:last-child,
.plan-comparison__table td:last-child {
  border-right: 0;
}

.plan-comparison__table tbody tr:last-child td,
.plan-comparison__table tbody tr:last-child th {
  border-bottom: 0;
}

/* Cabecera azul */
.plan-comparison__table thead th {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  background: linear-gradient(180deg, #063aa9 0%, #075de5 100%);
  color: #fff;
  font-weight: 700;
}

.plan-comparison__table thead th:first-child {
  width: 28%;
  border-top-left-radius: 28px;
  text-align: left;
}

.plan-comparison__table thead th:last-child {
  border-top-right-radius: 28px;
}

/* Primera columna */
.plan-comparison__feature {
  width: 28%;
  background: rgba(5, 20, 49, 0.5);
  color: #fff;
  font-weight: 500;
  text-align: left !important;
}

/* Filas alternadas */
.plan-comparison__table tbody tr:nth-child(even) td {
  background: rgba(4, 16, 40, 0.16);
}

.plan-comparison__table tbody tr:hover td,
.plan-comparison__table tbody tr:hover th {
  background-color: rgba(22, 98, 254, 0.08);
}

.plan-comparison__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1594ff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.plan-comparison__muted {
  color: #9eacc5;
}

.plan-comparison__highlight {
  color: #fff;
  font-weight: 700;
}

.plan-comparison__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .plan-comparison {
    padding: 4rem 0;
  }

  .plan-comparison__head {
    margin-bottom: 2.5rem;
  }

  .plan-comparison__scroll {
    border-radius: 20px;
  }

  .plan-comparison__table th,
  .plan-comparison__table td {
    padding: 1rem;
    font-size: 0.86rem;
  }

  .plan-comparison__table thead th:first-child {
    border-top-left-radius: 20px;
  }

  .plan-comparison__table thead th:last-child {
    border-top-right-radius: 20px;
  }

  .plan-comparison__feature,
  .plan-comparison__table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 190px;
  }

  .plan-comparison__table thead th:first-child {
    z-index: 3;
  }

  .plan-comparison__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-comparison__actions .btn {
    justify-content: center;
    text-align: center;
  }
}

/* Ancho consistente en todas las landings */
.plan-comparison > .container {
  width: calc(100% - 48px);
  max-width: 1312px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.plan-comparison__head {
  max-width: 1200px;
}

@media (max-width: 768px) {
  .plan-comparison > .container {
    width: calc(100% - 24px);
  }
}