/* =========================================
   PRICING SECTION — HOME PAGE
   Estilos escopados bajo .home-pricing
   para no pisar las variables de home_moises.css
   ========================================= */

.home-pricing {
  --hp-green:      #7fcc00;
  --hp-green-dark: #6ab300;
  --hp-green-glow: rgba(127, 204, 0, 0.25);
  --hp-card-bg:    #2a2a2a;
  --hp-card-border:#3a3a3a;
  --hp-muted:      rgba(255, 255, 255, 0.55);
  --hp-radius:     16px;
  --hp-t:          0.2s ease;
}

/* ─── SECCIÓN ──────────────────────────────────────────────── */
.home-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
}

/* ─── ENCABEZADO ───────────────────────────────────────────── */
.home-pricing .pricing-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 800px;
}

.home-pricing .pricing-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.home-pricing .pricing-subtitle {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--hp-muted);
  font-weight: 400;
  line-height: 1.5;
}

/* ─── TOGGLE USD / ARS ─────────────────────────────────────── */
.home-pricing .currency-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 44px;
}

.home-pricing .curr-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--hp-t), color var(--hp-t), box-shadow var(--hp-t);
  white-space: nowrap;
}

.home-pricing .curr-btn:hover {
  color: var(--text-primary);
}

.home-pricing .curr-btn--active {
  background: var(--hp-card-bg);
  color: var(--text-primary);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ─── GRID ─────────────────────────────────────────────────── */
.home-pricing .pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

/* ─── CARD ─────────────────────────────────────────────────── */
.home-pricing .plan-card {
  background: var(--hp-card-bg);
  border: 1px solid var(--hp-card-border);
  border-radius: var(--hp-radius);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--hp-t), box-shadow var(--hp-t), transform var(--hp-t);
  animation: hpCardIn 0.5s ease both;
}

.home-pricing .plan-card:nth-child(2) { animation-delay: 0.1s; }

@keyframes hpCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-pricing .plan-card:hover {
  border-color: rgba(127, 204, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(127, 204, 0, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.home-pricing .plan-card--promo {
  overflow: hidden;
  position: relative;
}
.home-pricing .plan-card--promo .promo-ribbon {
  position: absolute;
  top: 26px;
  left: -34px;
  width: 140px;
  text-align: center;
  background: #cc0000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 0;
  transform: rotate(-45deg);
  z-index: 2;
  pointer-events: none;
}

/* ─── NOMBRE ───────────────────────────────────────────────── */
.home-pricing .plan-name {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

/* ─── PRECIO ───────────────────────────────────────────────── */
.home-pricing .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}

.home-pricing .price-amount {
  font-size: clamp(44px, 8vw, 60px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
}

.home-pricing .price-symbol {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-top: -8px;
}

.home-pricing .price-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--hp-muted);
  margin-left: 2px;
}

/* ─── CTA ──────────────────────────────────────────────────── */
.home-pricing .plan-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.home-pricing .btn-subscribe {
  display: block;
  width: 100%;
  max-width: 260px;
  padding: 16px 24px;
  background: var(--hp-green);
  color: #000;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background var(--hp-t), transform var(--hp-t), box-shadow var(--hp-t);
}

.home-pricing .btn-subscribe:hover {
  background: var(--hp-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--hp-green-glow);
}

.home-pricing .btn-subscribe:active {
  transform: translateY(0);
  box-shadow: none;
}

.home-pricing .plan-cancel {
  font-size: 13px;
  color: var(--hp-green);
  font-weight: 400;
}

/* ─── SEPARADOR ─────────────────────────────────────────────── */
.home-pricing .plan-cta + .plan-features {
  border-top: 1px solid var(--hp-card-border);
  padding-top: 32px;
}

/* ─── FEATURES ──────────────────────────────────────────────── */
.home-pricing .plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-pricing .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.55;
  font-weight: 400;
}

.home-pricing .check-icon {
  color: var(--hp-green);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (min-width: 640px) {
  .home-pricing {
    padding: 80px 32px;
  }

  .home-pricing .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .home-pricing .plan-card {
    padding: 40px 36px 44px;
  }

  .home-pricing .btn-subscribe {
    max-width: 240px;
  }
}

@media (min-width: 1024px) {
  .home-pricing {
    padding: 100px 40px;
  }

  .home-pricing .pricing-grid {
    max-width: 860px;
    gap: 32px;
  }

  .home-pricing .plan-card {
    padding: 44px 40px 48px;
  }

  .home-pricing .plan-name {
    font-size: 24px;
  }
}
