/* ================= PRECIOS CSS ================= */

/* ================= PRICING DARK STYLE ================= */

.pricing-dark {
  padding: 100px 8%;
  background-color: #0b1a33; /* Respetando tu color base */
  color: white;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-subtitle {
  color: #94a3b8;
  margin-top: 15px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* Tarjetas Oscuras con Glassmorphism leve */
.price-card-dark {
  background: #1e293b; /* Color de tus cards originales */
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 45px 35px;
  transition: all 0.4s ease;
  position: relative;
  text-align: center;
}

/* =========================================
   MÓDULO: PLANES (ESTILO FORMAL SHADCN-UI)
   ========================================= */
.pricing-section {
  padding: 50px 8%;
  background-color: #0b1a33;
  color: white;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}

.pricing-subtitle {
  color: #94a3b8;
  font-size: 18px;
  margin-top: 15px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 450px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    max-width: 1100px;
    gap: 20px;
  }
}

.price-card {
  background: #020817; /* Slate-950 equivalent */
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  overflow: hidden; /* Necessary for glow-border clip */
}

.price-card:hover {
  transform: translateY(-10px);
}

.price-card.popular {
  border: 2px solid #2563eb; /* Primary color */
  transform: scale(1.03);
  z-index: 10;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

.price-card.popular:hover {
  transform: scale(1.03) translateY(-10px);
}

.popular-label {
  position: absolute;
  top: 0;
  right: 0;
  background: #2563eb;
  padding: 4px 12px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular-label svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.plan-tag {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  display: block;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.price-display .number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}

.price-display .time {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

.plan-intro {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 25px;
}

.feature-checklist {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-checklist li {
  font-size: 14px;
  color: #f8fafc;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-checklist svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 3px;
}

.card-divider {
  width: 100%;
  height: 1px;
  background-color: #1e293b;
  margin: 20px 0;
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-plan-outline {
  border: 1px solid #1e293b;
  background: transparent;
  color: white;
}

.btn-plan-outline:hover {
  background: #1e293b;
}

.btn-plan-primary {
  background: #2563eb;
  color: white;
}

.btn-plan-primary:hover {
  background: #1d4ed8;
}

.plan-target {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 20px;
  text-align: center;
}

.btn-plan-outline:hover {
  background: #334155;
}

/* Responsividad */
@media (max-width: 1023px) {
  .price-card.popular {
    transform: scale(1);
  }
  .price-card.popular:hover {
    transform: translateY(-10px);
  }
}
