/* =========================================
   PALETA ESPECÍFICA PARA PLANES – FITBYDIANA
   (no toca otros estilos si usas estos nombres solo aquí)
========================================= */
:root {
  --plan-primary: #6a63ff;        /* Lila FitByDiana */
  --plan-primary-dark: #5147f8;
  --plan-bg-soft: #f7f5ff;        /* Fondo suave sección */
  --plan-ink: #1f2933;            /* Texto principal */
  --plan-muted: #6b7280;          /* Texto secundario */
  --plan-border: #e4e7f2;         /* Bordes suaves */
  --plan-card-bg: #ffffff;        /* Fondo tarjetas */
}

/* =========================================
   LAYOUT GENERAL
========================================= */

.section-plan-detail {
  background-color: var(--plan-bg-soft);
  overflow: hidden;
}

/* Columna de imagen (usa el background dinámico que ya tienes) */
.plan-image {
  background-size: cover;
  background-position: center center;
  min-height: 480px;
  transition: transform .6s ease, filter .6s ease;
}

.plan-image:hover {
  transform: scale(1.02);
  filter: brightness(1.04);
}

/* Columna de contenido */
.plan-content {
  background: #ffffff;
  border-left: 1px solid var(--plan-border);
  padding: 3rem;
  color: var(--plan-ink);
}

.plan-title {
  font-size: 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--plan-ink);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.plan-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: var(--plan-primary);
  margin-top: 0.7rem;
}

/* =========================================
   DESCRIPCIÓN DINÁMICA
========================================= */

.plan-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--plan-muted);
}

.plan-description p {
  margin-bottom: 1rem;
}

.plan-description strong {
  color: var(--plan-ink);
}

.plan-description .highlight {
  color: var(--plan-primary);
  font-weight: 700;
}

.plan-description .label {
  color: var(--plan-primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Listas normales dentro de la descripción */
.plan-description ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.plan-description li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--plan-ink);
}

.plan-description li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--plan-primary);
  font-weight: 900;
}

/* =========================================
   TARJETAS DE MODALIDADES (BASIC / PLUS / VIP)
========================================= */

.plan-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* En pantallas grandes: 3 columnas */
@media (min-width: 992px) {
  .plan-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tarjeta base */
.plan-list li {
  background: var(--plan-card-bg);
  border: 1px solid var(--plan-border);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: var(--plan-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Título BASIC / PLUS / VIP dentro de cada tarjeta */
.plan-list li > strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--plan-ink);
  display: block;
  margin-bottom: 0.6rem;
}

/* Hover general */
.plan-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  border-color: var(--plan-primary);
}

/* ===== Tarjeta central destacada (PLUS) ===== */
.plan-list li:nth-child(2) {
  border-color: var(--plan-primary);
  box-shadow: 0 18px 45px rgba(106, 99, 255, 0.25);
  background: linear-gradient(145deg, #ffffff 0%, #f8f6ff 100%);
}


/* Contenedor del botón dentro de la tarjeta */
.payment-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

/* Botón principal de cada modalidad */
.payment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-weight: 700 !important;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;

  background: var(--plan-primary);
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(106, 99, 255, 0.32);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  min-width: 160px;
}

/* Forzamos mismo estilo para BASIC / PLUS / VIP */
.payment-btn.basico,
.payment-btn.plus,
.payment-btn.vip {
  background: var(--plan-primary);
  color: #ffffff !important;
}

/* Hover de botón */
.payment-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(106, 99, 255, 0.40);
}

/* =========================================
   SECCIÓN DE BENEFICIOS (FIJA)
========================================= */

.features-section {
  border-top: 1px solid var(--plan-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--plan-ink);
  margin-bottom: 1.25rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature .icon-wrap {
  background: rgba(106, 99, 255, 0.10);
  color: var(--plan-primary);
  font-size: 1.2rem;
  padding: 0.6rem 0.7rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--plan-ink);
  margin-bottom: 0.25rem;
}

.feature p {
  margin-bottom: 0;
  color: var(--plan-muted);
  font-size: 0.95rem;
}

/* =========================================
   CTA (por si lo vuelves a usar)
========================================= */

.plan-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.btn-cta {
  display: inline-block;
  background: var(--plan-primary);
  color: #fff;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(106, 99, 255, 0.30);
}

.btn-cta:hover {
  background: var(--plan-primary-dark);
  box-shadow: 0 12px 32px rgba(106, 99, 255, 0.40);
  transform: translateY(-2px);
}

#plan-cta {
  color: white !important;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .plan-content {
    padding: 2.2rem 1.6rem 2.6rem;
    border-left: none;
    border-top: 1px solid var(--plan-border);
  }

  .plan-title {
    font-size: 1.7rem;
    text-align: left;
  }

  .plan-description {
    text-align: left;
  }

  .features-section {
    padding-top: 1.6rem;
  }

  .feature {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .payment-btn {
    width: 100%;
  }
}
/* ============================================================
   📱 MOBILE – ESTILO ELEGANTE FIT BY DIANA (≤ 768px)
   Corrección total: botones, spacing, layout, jerarquía visual
============================================================ */

@media (max-width: 768px) {

  /* Paleta explícita (no depende de variables externas) */
  :root {
    --accent: #4C6FFF;
    --accent-dark: #3A55CC;
    --bg-light: #FFFFFF;
    --ink: #1E2A38;
    --muted: #606B78;
    --border: #E8ECF2;
  }

  /* =============================
     LAYOUT GENERAL
  ============================= */
  .section-plan-detail {
    background: var(--bg-light);
    padding: 0;
  }

  .plan-image {
    min-height: 270px;
    background-position: center top;
    background-size: cover;
    border-radius: 0;
  }

  .plan-content {
    padding: 1.8rem 1.4rem;
    border-left: none;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
  }

  /* =============================
     TITULOS Y TEXTO
  ============================= */
  .plan-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 1.3rem;
    line-height: 1.2;
    text-align: left;
    color: var(--ink);
  }

  .plan-title::after {
    width: 50px;
    height: 3px;
  }

  .plan-description {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted);
  }

  .plan-description p {
    margin-bottom: 1rem;
  }

  .plan-description .highlight {
    color: var(--accent);
    font-weight: 700;
  }

  .plan-description .label {
    color: var(--accent-dark);
    font-weight: 700;
  }

  .plan-description ul {
    padding-left: 0;
    margin-bottom: 1.4rem;
  }

  .plan-description li {
    margin-bottom: 0.55rem;
    padding-left: 1.2rem;
    position: relative;
  }

  .plan-description li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
  }

  /* =============================
     BENEFICIOS (SECCIÓN DE ABAJO)
  ============================= */
  .section-subtitle {
    margin-top: 0rem;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    color: var(--ink);
  }

  .feature {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
  }

  .feature p {
    font-size: 0.95rem;
  }

  /* =============================
     MODALIDADES: TARJETAS
  ============================= */

  .plan-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.6rem;
    display: grid;
    gap: 1.3rem;
    grid-template-columns: 1fr; /* una sola columna */
  }

  .plan-list li {
    background: #ffffff;
    border: 1px solid #e7e8f3;
    border-radius: 16px;
    padding: 1.6rem 1.2rem;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .plan-list li strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.35;
  }

  /* ⭐ EL PLAN PLUS (medio) resalta */
  .plan-list li:nth-child(2) {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 22px rgba(76, 111, 255, 0.18);
    transform: translateY(-1px);
  }

  /* =============================
     BOTONES – CORRECCIÓN FINAL
  ============================= */
  .payment-buttons {
    margin-top: 1.3rem;
    display: flex;
    justify-content: center;
  }

  .payment-btn {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;

    border-radius: 12px !important;
    color: #fff !important;
    background: var(--accent) !important;

    box-shadow: 0 10px 20px rgba(76, 111, 255, 0.14);

    transition: all 0.25s ease;
  }

  .payment-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
}

/* ============================================================
   MOBILE EXTRA – OPTIMIZADO (≤ 576px)
============================================================ */

@media (max-width: 576px) {
  .cryptoAddress {
      display: block !important;
  }
  .plan-title {
    font-size: 1.45rem;
  }

  .plan-content {
    padding: 1.6rem 1.2rem;
  }

  .plan-description {
    font-size: 0.96rem;
  }

  .plan-list li {
    padding: 1.4rem 1rem;
  }

  .payment-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px !important;
  }
}

.cryptoAddress {
  display: none;
}
.cryptoAddress2 {
  display: none;
}