.precios-generales-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

.precios-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.precios-header p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 400;
}

.currency-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0 40px;
}

.currency-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.label-botones {
  font-size: 0.95rem;
  color: #ffff;
  font-weight: 500;
}

.precios-h2 {
  color: #ffff;
}


.currency-toggle {
  display: flex;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.currency-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #666;
}

.currency-btn:hover {
  color: #ff5900;
}

.currency-btn.active {
  background: #ff5900;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 89, 0, 0.25);
}

.currency-loading {
  display: none;
  font-size: 0.85rem;
  color: #9267DC;
  margin-left: 8px;
}

.currency-loading.show {
  display: inline-block;
}

.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.precio-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.precio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff5900 0%, #9267DC 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.precio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 89, 0, 0.15);
}

.precio-card:hover::before {
  transform: scaleX(1);
}

.precio-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #9267dc, #b799f0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.precio-card:nth-child(2) .precio-icon {
  background: linear-gradient(135deg, #5D428C 0%, #9267DC 100%);
}

.precio-card:nth-child(3) .precio-icon {
  background: linear-gradient(135deg, #9267DC 0%, #b799f0 100%);
}

.precio-titulo {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.precio-descripcion {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 60px;
}

.precio-monto {
  font-size: 28px;
  font-weight: 700;
  color: #ff5900;
  margin-bottom: 8px;
  letter-spacing: -1px;
  transition: opacity 0.3s ease;
}

.precio-monto.loading {
  opacity: 0.5;
}

.precio-periodo {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

.precio-badge {
  display: inline-block;
  background: #fff5f0;
  color: #ff5900;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 16px;
}

.precio-card:nth-child(3) .precio-badge {
  background: #f5f0ff;
  color: #5D428C;
}

@media (max-width: 768px) {
  .precios-generales-wrapper {
    padding: 40px 16px;
  }

  

  .currency-selector {
    flex-direction: column;
    gap: 12px;
  }

  .precios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .precio-card {
    padding: 32px 24px;
  }

  .precio-monto {
    font-size: 2.4rem;
  }
}

@media (prefers-color-scheme: dark) {
  .precios-generales-wrapper {
    background: #0f0f0f;
  }

  .precios-header h2 {
    color: #ffff; !important
  }

  .precios-header p {
    color: #ffff;
  }

  .currency-toggle {
    background: #1a1a1a;
  }

  .currency-btn {
    color: #999;
  }

  .precio-card {
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .precio-card:hover {
    box-shadow: 0 12px 40px rgba(255, 89, 0, 0.2);
  }

  .precio-titulo {
    color: #fff;
  }

  .precio-descripcion {
    color: #aaa;
  }

  .precio-periodo {
    color: #777;
  }
}